Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: xfce4 wallpaper not changing #22646

Open
hansm629 opened this issue Dec 21, 2024 · 71 comments
Open

[Bug]: xfce4 wallpaper not changing #22646

hansm629 opened this issue Dec 21, 2024 · 71 comments
Labels
bug report Something is not working properly x11 Issue is related to stuff requiring X11 environment or x11-packages

Comments

@hansm629
Copy link

hansm629 commented Dec 21, 2024

Problem description

Since xfce4 updated to the latest version,

there is a shadow between the top panel and the wallpaper,

and the wallpaper does not change at all.

What steps will reproduce the bug?

Screen_Recording_20241222_032612_TermuxX11.mp4

What is the expected behavior?

No response

System information

Termux Variables:
TERMUX_APP_PACKAGE_MANAGER=apt
TERMUX_APP__AM_SOCKET_SERVER_ENABLED=true
TERMUX_APP__APK_PATH=/data/app/~~6Z9LBhRHojH7D6ORdoSiBg==/com.termux-H8tjtvsrFauigMCMUQ5FPg==/base.apk
TERMUX_APP__APK_RELEASE=GITHUB
TERMUX_APP__FILES_DIR=/data/user/0/com.termux/files
TERMUX_APP__IS_DEBUGGABLE_BUILD=true
TERMUX_APP__IS_INSTALLED_ON_EXTERNAL_STORAGE=false
TERMUX_APP__PACKAGE_MANAGER=apt
TERMUX_APP__PACKAGE_NAME=com.termux
TERMUX_APP__PACKAGE_VARIANT=apt-android-7
TERMUX_APP__PID=27918
TERMUX_APP__SE_FILE_CONTEXT=u:object_r:app_data_file:s0:c222,c257,c512,c768
TERMUX_APP__SE_INFO=default:targetSdkVersion=28:complete
TERMUX_APP__SE_PROCESS_CONTEXT=u:r:untrusted_app_27:s0:c222,c257,c512,c768
TERMUX_APP__TARGET_SDK=28
TERMUX_APP__UID=10478
TERMUX_APP__USER_ID=0
TERMUX_APP__VERSION_CODE=118
TERMUX_APP__VERSION_NAME=0.118.0+e59e5c1
TERMUX_MAIN_PACKAGE_FORMAT=debian
TERMUX_VERSION=0.118.0+e59e5c1
TERMUX__USER_ID=0
Packages CPU architecture:
aarch64
Subscribed repositories:
# sources.list
deb https://packages-cf.termux.org/apt/termux-main stable main
# tur-repo (sources.list.d/tur.list)
deb https://tur.kcubeterm.com tur-packages tur tur-on-device tur-continuous
# x11-repo (sources.list.d/x11.list)
deb https://packages-cf.termux.dev/apt/termux-x11/ x11 main
Updatable packages:
blender/tur-packages 1:3.6.16-1 aarch64 [upgradable from: 1:3.6.16]
darktable/tur-packages 5.0.0 aarch64 [upgradable from: 4.8.1]
nano/stable 8.3 aarch64 [upgradable from: 8.2]
openimageio/tur-packages 2.5.6.0-2 aarch64 [upgradable from: 2.5.6.0-1]
vkmark/tur-packages 2023.04.12-r139.ab6e6f3-0 aarch64 [upgradable from: 2017.08]
termux-tools version:
1.44.6
Android version:
14
Kernel build information:
Linux localhost 5.15.148-android13-8-29539737-abX916NKOU5BXKC #1 SMP PREEMPT Thu Nov 28 09:57:54 UTC 2024 aarch64 Android
Device manufacturer:
samsung
Device model:
SM-X916N
LD Variables:
LD_LIBRARY_PATH=
LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec.so
Installed termux plugins:
com.termux.widget versionCode:13
com.termux.x11 versionCode:15
com.termux.api versionCode:51
@hansm629 hansm629 added bug report Something is not working properly untriaged labels Dec 21, 2024
@Biswa96 Biswa96 added x11 Issue is related to stuff requiring X11 environment or x11-packages and removed untriaged labels Dec 21, 2024
@Biswa96
Copy link
Member

Biswa96 commented Dec 21, 2024

The similar issue has been reported in Discord but I can not reproduce it. Could you try to set things up from scratch - close xfce, move ~/{.cache,.config,.local} directories to a safe place, restart xfce.

@Biswa96
Copy link
Member

Biswa96 commented Dec 21, 2024

Is there any output in termux while changing wallpaper?

@hansm629
Copy link
Author

@Biswa96
Unfortunately, I deleted the xfce4 folder from the ~/{.cache,.config,.local} path and restarted the xfce4 desktop, but

there is still a shadow between the panel and the wallpaper,

and the wallpaper does not change.

And while changing the wallpaper, Termux does not display anything separately.

@hansm629
Copy link
Author

@Biswa96
Dies sind Testsymptome.

Screen_Recording_20241222_040423_TermuxX11.mp4

@Biswa96
Copy link
Member

Biswa96 commented Dec 21, 2024

I can reproduce the issue now after a clean termux reinstall.

@hansm629
Copy link
Author

@Biswa96
Oh!
I'm glad that your symptoms have been reproduced.

@Biswa96
Copy link
Member

Biswa96 commented Dec 21, 2024

Correction: That was not an issue in my setup. I just did not double click it. So, I have not yet able to reproduce the issue.

@hansm629
Copy link
Author

@Biswa96
After reinstalling termux as below, xfce4 was also reinstalled
The same symptom occurred.

~$ pkg install x11-repo
~$ pkg upgrade
~$ pkg install xfce4* termux-x11*
~$ termux-x11 :1 -xstartup "dbus-launch --exit-with-session xfce4-session"

And the termux-x11 version I use is as below.

https://github.com/termux/termux-x11/actions/runs/12447846023

@hansm629
Copy link
Author

@Biswa96

Screen_Recording_20241222_060650_TermuxX11.mp4

@FlipnotypicalRodent32
Copy link

FlipnotypicalRodent32 commented Dec 21, 2024

I can reproduce it as well.
Upon launching xfce4-session, these warnings appear on the terminal.
IMG_20241221_150048
Maybe it is related to libxfce4util? Because the messages appear below that one.

Here's termux-info output from my device if it proves useful:

Termux Variables:
TERMUX_API_VERSION=0.50.1
TERMUX_APK_RELEASE=F_DROID
TERMUX_APP_PACKAGE_MANAGER=apt
TERMUX_APP_PID=23079
TERMUX_IS_DEBUGGABLE_BUILD=0
TERMUX_MAIN_PACKAGE_FORMAT=debian
TERMUX_VERSION=0.118.1
TERMUX__USER_ID=0
Packages CPU architecture:
aarch64
Subscribed repositories:
# sources.list
deb https://packages.termux.dev/apt/termux-main stable main
# tur-repo (sources.list.d/tur.list)
deb https://tur.kcubeterm.com tur-packages tur tur-on-device tur-continuous tur-hacking tur-multilib
# x11-repo (sources.list.d/x11.list)
deb https://packages.termux.dev/apt/termux-x11 x11 main
Updatable packages:
firefox/x11 133.0.3 aarch64 [upgradable from: 133.0]
libwebp/stable 1.5.0 aarch64 [upgradable from: 1.4.0-rc1-0]
nano/stable 8.3 aarch64 [upgradable from: 8.2]
python-yt-dlp/tur-packages 2024.12.13 aarch64 [upgradable from: 2024.12.06]
termux-tools/stable 1.44.6 aarch64 [upgradable from: 1.44.5]
vulkan-loader-generic/stable 1.4.304 aarch64 [upgradable from: 1.4.303]
xfce4-screensaver/x11 4.18.4 aarch64 [upgradable from: 4.18.3]
termux-tools version:
1.44.5
Android version:
11
Kernel build information:
Linux localhost 4.14.180-perf-ge2a1322887a5 #1 SMP PREEMPT Thu Mar 24 00:55:18 CST 2022 aarch64 Android
Device manufacturer:
Xiaomi
Device model:
Redmi Note 9 Pro
LD Variables:
LD_LIBRARY_PATH=
LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec.so
Installed termux plugins:
com.termux.api versionCode:51
com.termux.x11 versionCode:15
com.termux.styling versionCode:1000
com.termux.widget versionCode:13
com.termux.window versionCode:15

@phoenixbyrd
Copy link

Temporary fix until issue resolved properly here ... script will list available wallpapers allowing you to choose the one you want then apply it. You do need to restart termux for it to take affect.

@ar37-rs
Copy link
Contributor

ar37-rs commented Dec 21, 2024

@hansm629 except for the panel's shadow, it's a feature, not a bug.

@hansm629
Copy link
Author

@ar37-rs
The shadow of that panel existed as an X11 bug in previous versions of xfce4.

When the shadow appeared like that, it would disappear when you restarted xfce4, but now it doesn't at all.

@phoenixbyrd
Copy link

phoenixbyrd commented Dec 21, 2024

@ar37-rs The shadow of that panel existed as an X11 bug in previous versions of xfce4.

When the shadow appeared like that, it would disappear when you restarted xfce4, but now it doesn't at all.

The bug was the shadow under docks disappearing ... sounds like the bug is resolved if it's staying this time. Go into compositor tab in window manager tweaks to remove shadows under dock windows if you want it gone.

[EDIT] Can confirm, that particular bug seems resolved and shadows under dock windows is persistent between restarts now. I guess the trade off was losing ability to change wallpaper easily.

@hansm629
Copy link
Author

@phoenixbyrd
Was it a bug that the shadows weren't displayed?

Which menu do I go into to turn off the shadows?

@FlipnotypicalRodent32
Copy link

FlipnotypicalRodent32 commented Dec 21, 2024

@hansm629
You mean this one?
Screenshot_2024-12-21_16-08-01
Screenshot_2024-12-21_16-08-28
Screenshot_2024-12-21_16-08-39
Just follow the cursor

@phoenixbyrd
Copy link

@hansm629 You mean this one?

Yea that's the one.

@hansm629
Copy link
Author

@phoenixbyrd @FlipnotypicalRodent32
Thank you!
It's been resolved.

I just need to fix the issue of not being able to change the wallpaper!

@phoenixbyrd
Copy link

@phoenixbyrd Was it a bug that the shadows weren't displayed?

Which menu do I go into to turn off the shadows?

Previous xfce version wasn't displaying the shadow properly or consistently ... personally I disabled it so never bothered me.

@FlipnotypicalRodent32
Copy link

FlipnotypicalRodent32 commented Dec 21, 2024

@phoenixbyrd @FlipnotypicalRodent32 Thank you! It's been resolved.

I just need to fix the issue of not being able to change the wallpaper!

I’m glad we helped you!
About the wallpaper, I think we have to wait for the bugfix, or use the script @phoenixbyrd mentioned (although it doesn’t work with custom wallpapers as I know).
EDIT: just edited my coment too late...

@phoenixbyrd
Copy link

@phoenixbyrd @FlipnotypicalRodent32 Thank you! It's been resolved.

I just need to fix the issue of not being able to change the wallpaper!

Until they update with a proper fix for the wallpaper issue you can always use the script posted earlier to get the job done.

#22646 (comment)

@hansm629 hansm629 changed the title [Bug]: xfce4-panel shadows & xfce4 wallpaper not changing [Bug]: xfce4 wallpaper not changing Dec 21, 2024
@phoenixbyrd
Copy link

@FlipnotypicalRodent32
I think we have to wait for the bugfix, or use the script @phoenixbyrd mentioned (although it doesn’t work with custom wallpapers as I know).

It does work for "custom" wallpapers, just make sure the wallpaper you want to use is moved to $PREFIX/usr/share/backgrounds/xfce first. Or if you have a different location just change it to that in the script to list the wallpapers you want to use.

@FlipnotypicalRodent32
Copy link

@FlipnotypicalRodent32
I think we have to wait for the bugfix, or use the script @phoenixbyrd mentioned (although it doesn’t work with custom wallpapers as I know).

It does work for "custom" wallpapers, just make sure the wallpaper you want to use is moved to $PREFIX/usr/share/backgrounds/xfce first. Or if you have a different location just change it to that in the script to list the wallpapers you want to use.

Oh, ok.

@813ethan
Copy link
Contributor

813ethan commented Dec 22, 2024

heres the logs i got while restarting xfdesktop in debug mode maybe it would help

u0_a333@localhost ~> xfdesktop -Q && xfdesktop -e
DBG[/home/builder/.termux-build/xfdesktop/src/common/xfdesktop-common.c:498] xfdesktop_debug_set(): debugging enabled
DBG[/home/builder/.termux-build/xfdesktop/src/src/xfce-desktop.c:1062] xfce_desktop_set_single_workspace_mode(): single_workspace_mode now TRUE
DBG[/home/builder/.termux-build/xfdesktop/src/src/xfce-desktop.c:972] update_backdrop_workspace(): new_active_workspace -1, new_backdrop_workspace -1
DBG[/home/builder/.termux-build/xfdesktop/src/src/xfce-desktop.c:1078] xfce_desktop_set_single_workspace_number(): single_workspace_num now 0
DBG[/home/builder/.termux-build/xfdesktop/src/src/xfce-desktop.c:972] update_backdrop_workspace(): new_active_workspace -1, new_backdrop_workspace -1
DBG[/home/builder/.termux-build/xfdesktop/src/src/xfce-desktop.c:972] update_backdrop_workspace(): new_active_workspace -1, new_backdrop_workspace -1
DBG[/home/builder/.termux-build/xfdesktop/src/src/xfdesktop-icon-view.c:2740] xfdesktop_icon_view_style_updated(): cell spacing is 2
DBG[/home/builder/.termux-build/xfdesktop/src/src/xfdesktop-icon-view.c:2741] xfdesktop_icon_view_style_updated(): cell padding is 6
DBG[/home/builder/.termux-build/xfdesktop/src/src/xfdesktop-icon-view.c:2742] xfdesktop_icon_view_style_updated(): cell text width proportion is 1.900000
DBG[/home/builder/.termux-build/xfdesktop/src/src/xfdesktop-icon-view.c:2743] xfdesktop_icon_view_style_updated(): ellipsize icon label is true
DBG[/home/builder/.termux-build/xfdesktop/src/src/xfdesktop-icon-view.c:2744] xfdesktop_icon_view_style_updated(): label radius is 4.000000
DBG[/home/builder/.termux-build/xfdesktop/src/src/xfdesktop-file-icon-model.c:580] add_icon(): adding icon Home to icon view
DBG[/home/builder/.termux-build/xfdesktop/src/src/xfdesktop-file-icon-model.c:580] add_icon(): adding icon File System to icon view
DBG[/home/builder/.termux-build/xfdesktop/src/src/xfdesktop-file-icon-model.c:580] add_icon(): adding icon Trash to icon view
DBG[/home/builder/.termux-build/xfdesktop/src/src/xfdesktop-file-icon-model.c:580] add_icon(): adding icon Aseprite to icon view
DBG[/home/builder/.termux-build/xfdesktop/src/common/xfdesktop-thumbnailer.c:283] xfdesktop_thumbnailer_queue_thumbnail(): file: /data/data/com.termux/files/home/Desktop/aseprite.desktop not supported
DBG[/home/builder/.termux-build/xfdesktop/src/src/xfdesktop-file-icon-model.c:580] add_icon(): adding icon Blender to icon view
DBG[/home/builder/.termux-build/xfdesktop/src/common/xfdesktop-thumbnailer.c:283] xfdesktop_thumbnailer_queue_thumbnail(): file: /data/data/com.termux/files/home/Desktop/blender.desktop not supported
DBG[/home/builder/.termux-build/xfdesktop/src/src/xfdesktop-file-icon-model.c:580] add_icon(): adding icon Dictionary to icon view
DBG[/home/builder/.termux-build/xfdesktop/src/common/xfdesktop-thumbnailer.c:283] xfdesktop_thumbnailer_queue_thumbnail(): file: /data/data/com.termux/files/home/Desktop/xfce4-dict.desktop not supported
DBG[/home/builder/.termux-build/xfdesktop/src/src/xfdesktop-file-icon-model.c:580] add_icon(): adding icon GVim to icon view
DBG[/home/builder/.termux-build/xfdesktop/src/common/xfdesktop-thumbnailer.c:283] xfdesktop_thumbnailer_queue_thumbnail(): file: /data/data/com.termux/files/home/Desktop/gvim.desktop not supported
DBG[/home/builder/.termux-build/xfdesktop/src/src/xfdesktop-file-icon-model.c:580] add_icon(): adding icon Gnumeric to icon view
DBG[/home/builder/.termux-build/xfdesktop/src/common/xfdesktop-thumbnailer.c:283] xfdesktop_thumbnailer_queue_thumbnail(): file: /data/data/com.termux/files/home/Desktop/org.gnumeric.gnumeric.desktop not supported
DBG[/home/builder/.termux-build/xfdesktop/src/src/xfdesktop-file-icon-model.c:580] add_icon(): adding icon Code - OSS to icon view
DBG[/home/builder/.termux-build/xfdesktop/src/common/xfdesktop-thumbnailer.c:283] xfdesktop_thumbnailer_queue_thumbnail(): file: /data/data/com.termux/files/home/Desktop/code-oss.desktop not supported
DBG[/home/builder/.termux-build/xfdesktop/src/src/xfdesktop-file-icon-model.c:580] add_icon(): adding icon VLC media player to icon view
DBG[/home/builder/.termux-build/xfdesktop/src/common/xfdesktop-thumbnailer.c:283] xfdesktop_thumbnailer_queue_thumbnail(): file: /data/data/com.termux/files/home/Desktop/vlc.desktop not supported
DBG[/home/builder/.termux-build/xfdesktop/src/src/xfdesktop-file-icon-model.c:580] add_icon(): adding icon Audacity to icon view
DBG[/home/builder/.termux-build/xfdesktop/src/common/xfdesktop-thumbnailer.c:283] xfdesktop_thumbnailer_queue_thumbnail(): file: /data/data/com.termux/files/home/Desktop/audacity.desktop not supported
DBG[/home/builder/.termux-build/xfdesktop/src/src/xfdesktop-file-icon-model.c:580] add_icon(): adding icon Firefox Web Browser to icon view
DBG[/home/builder/.termux-build/xfdesktop/src/common/xfdesktop-thumbnailer.c:283] xfdesktop_thumbnailer_queue_thumbnail(): file: /data/data/com.termux/files/home/Desktop/firefox.desktop not supported
DBG[/home/builder/.termux-build/xfdesktop/src/src/xfdesktop-icon-view.c:2740] xfdesktop_icon_view_style_updated(): cell spacing is 2
DBG[/home/builder/.termux-build/xfdesktop/src/src/xfdesktop-icon-view.c:2741] xfdesktop_icon_view_style_updated(): cell padding is 6
DBG[/home/builder/.termux-build/xfdesktop/src/src/xfdesktop-icon-view.c:2742] xfdesktop_icon_view_style_updated(): cell text width proportion is 1.900000
DBG[/home/builder/.termux-build/xfdesktop/src/src/xfdesktop-icon-view.c:2743] xfdesktop_icon_view_style_updated(): ellipsize icon label is true
DBG[/home/builder/.termux-build/xfdesktop/src/src/xfdesktop-icon-view.c:2744] xfdesktop_icon_view_style_updated(): label radius is 4.000000
DBG[/home/builder/.termux-build/xfdesktop/src/src/xfdesktop-icon-view.c:3788] xfdesktop_icon_view_size_grid(): created grid_layout with 96 positions
DBG[/home/builder/.termux-build/xfdesktop/src/src/xfce-desktop.c:972] update_backdrop_workspace(): new_active_workspace -1, new_backdrop_workspace 0
DBG[/home/builder/.termux-build/xfdesktop/src/src/xfdesktop-backdrop-renderer.c:609] xfdesktop_backdrop_render(): loading image /data/data/com.termux/files/usr/share/backgrounds/xfce/xfce-x.svg
DBG[/home/builder/.termux-build/xfdesktop/src/src/xfce-desktop.c:972] update_backdrop_workspace(): new_active_workspace 0, new_backdrop_workspace 0
DBG[/home/builder/.termux-build/xfdesktop/src/src/xfdesktop-backdrop-renderer.c:609] xfdesktop_backdrop_render(): loading image /data/data/com.termux/files/usr/share/backgrounds/xfce/xfce-x.svg

** (xfdesktop:9398): WARNING **: 12:38:24.904: Failed to get system bus: Could not connect: No such file or directory

@813ethan
Copy link
Contributor

for changing backgrounds

u0_a333@localhost ~> xfdesktop-settings -e
DBG[/home/builder/.termux-build/xfdesktop/src/common/xfdesktop-common.c:498] xfdesktop_debug_set(): debugging enabled
DBG[/home/builder/.termux-build/xfdesktop/src/settings/xfdesktop-background-settings.c:1588] cb_window_opened(): Found our window
DBG[/home/builder/.termux-build/xfdesktop/src/settings/xfdesktop-background-settings.c:1507] cb_workspace_changed(): active_workspace now 0
DBG[/home/builder/.termux-build/xfdesktop/src/settings/xfdesktop-background-settings.c:747] xfdesktop_settings_generate_per_workspace_binding_string(): name /backdrop/screen0/monitorBuiltinDisplay/workspace0/image-style
DBG[/home/builder/.termux-build/xfdesktop/src/settings/xfdesktop-background-settings.c:747] xfdesktop_settings_generate_per_workspace_binding_string(): name /backdrop/screen0/monitorBuiltinDisplay/workspace0/last-image
DBG[/home/builder/.termux-build/xfdesktop/src/settings/xfdesktop-background-settings.c:747] xfdesktop_settings_generate_per_workspace_binding_string(): name /backdrop/screen0/monitorBuiltinDisplay/workspace0/color-style
DBG[/home/builder/.termux-build/xfdesktop/src/settings/xfdesktop-background-settings.c:747] xfdesktop_settings_generate_per_workspace_binding_string(): name /backdrop/screen0/monitorBuiltinDisplay/workspace0/rgba1
DBG[/home/builder/.termux-build/xfdesktop/src/settings/xfdesktop-background-settings.c:747] xfdesktop_settings_generate_per_workspace_binding_string(): name /backdrop/screen0/monitorBuiltinDisplay/workspace0/rgba2
DBG[/home/builder/.termux-build/xfdesktop/src/settings/xfdesktop-background-settings.c:761] xfdesktop_settings_generate_old_binding_string(): name /backdrop/screen0/monitor0/rgba2
DBG[/home/builder/.termux-build/xfdesktop/src/settings/xfdesktop-background-settings.c:747] xfdesktop_settings_generate_per_workspace_binding_string(): name /backdrop/screen0/monitorBuiltinDisplay/workspace0/backdrop-cycle-enable
DBG[/home/builder/.termux-build/xfdesktop/src/settings/xfdesktop-background-settings.c:747] xfdesktop_settings_generate_per_workspace_binding_string(): name /backdrop/screen0/monitorBuiltinDisplay/workspace0/backdrop-cycle-period
DBG[/home/builder/.termux-build/xfdesktop/src/settings/xfdesktop-background-settings.c:747] xfdesktop_settings_generate_per_workspace_binding_string(): name /backdrop/screen0/monitorBuiltinDisplay/workspace0/backdrop-cycle-timer
DBG[/home/builder/.termux-build/xfdesktop/src/settings/xfdesktop-background-settings.c:747] xfdesktop_settings_generate_per_workspace_binding_string(): name /backdrop/screen0/monitorBuiltinDisplay/workspace0/backdrop-cycle-random-order
DBG[/home/builder/.termux-build/xfdesktop/src/settings/xfdesktop-background-settings.c:747] xfdesktop_settings_generate_per_workspace_binding_string(): name /backdrop/screen0/monitorBuiltinDisplay/workspace0/last-image
DBG[/home/builder/.termux-build/xfdesktop/src/settings/xfdesktop-background-settings.c:1093] xfdesktop_settings_update_iconview_folder(): current_folder /data/data/com.termux/files/usr/share/backgrounds/xfce/xfce-abstract.jpg, dirname /data/data/com.termux/files/usr/share/backgrounds/xfce
DBG[/home/builder/.termux-build/xfdesktop/src/settings/xfdesktop-background-settings.c:912] stop_image_loading(): xfdesktop_settings_stop_image_loading
DBG[/home/builder/.termux-build/xfdesktop/src/settings/xfdesktop-background-settings.c:1507] cb_workspace_changed(): active_workspace now 0
DBG[/home/builder/.termux-build/xfdesktop/src/settings/xfdesktop-background-settings.c:747] xfdesktop_settings_generate_per_workspace_binding_string(): name /backdrop/screen0/monitorBuiltinDisplay/workspace0/last-image
DBG[/home/builder/.termux-build/xfdesktop/src/settings/xfdesktop-background-settings.c:747] xfdesktop_settings_generate_per_workspace_binding_string(): name /backdrop/screen0/monitorBuiltinDisplay/workspace0/last-image
DBG[/home/builder/.termux-build/xfdesktop/src/common/xfdesktop-thumbnailer.c:523] xfdesktop_thumbnailer_thumbnail_ready_dbus(): thumbnail-ready src: /data/data/com.termux/files/usr/share/backgrounds/xfce/xfce-verticals.svg thumbnail: /data/data/com.termux/files/home/.cache/thumbnails/large/5c877faa7c8ed04a1f4bd04a44ddfb65.png
DBG[/home/builder/.termux-build/xfdesktop/src/settings/xfdesktop-background-settings.c:308] xfdesktop_settings_add_file_to_queue(): creating preview queue
DBG[/home/builder/.termux-build/xfdesktop/src/common/xfdesktop-thumbnailer.c:523] xfdesktop_thumbnailer_thumbnail_ready_dbus(): thumbnail-ready src: /data/data/com.termux/files/usr/share/backgrounds/xfce/xfce-x.svg thumbnail: /data/data/com.termux/files/home/.cache/thumbnails/large/45d5c739cc911855dbb45cbb0935d4ce.png
DBG[/home/builder/.termux-build/xfdesktop/src/common/xfdesktop-thumbnailer.c:523] xfdesktop_thumbnailer_thumbnail_ready_dbus(): thumbnail-ready src: /data/data/com.termux/files/usr/share/backgrounds/xfce/xfce-light.svg thumbnail: /data/data/com.termux/files/home/.cache/thumbnails/large/1183231e60d625ab20623e9775a785c0.png
DBG[/home/builder/.termux-build/xfdesktop/src/common/xfdesktop-thumbnailer.c:523] xfdesktop_thumbnailer_thumbnail_ready_dbus(): thumbnail-ready src: /data/data/com.termux/files/usr/share/backgrounds/xfce/xfce-mouserace.svg thumbnail: /data/data/com.termux/files/home/.cache/thumbnails/large/81e3a476277a32d895e717bf38ab7406.png
DBG[/home/builder/.termux-build/xfdesktop/src/common/xfdesktop-thumbnailer.c:523] xfdesktop_thumbnailer_thumbnail_ready_dbus(): thumbnail-ready src: /data/data/com.termux/files/usr/share/backgrounds/xfce/xfce-shapes.svg thumbnail: /data/data/com.termux/files/home/.cache/thumbnails/large/9678db3beccfcc7b0b447dbc5547d272.png
DBG[/home/builder/.termux-build/xfdesktop/src/common/xfdesktop-thumbnailer.c:523] xfdesktop_thumbnailer_thumbnail_ready_dbus(): thumbnail-ready src: /data/data/com.termux/files/usr/share/backgrounds/xfce/xfce-stripes.svg thumbnail: /data/data/com.termux/files/home/.cache/thumbnails/large/5c040835fe3dee40cc89c122844220da.png
DBG[/home/builder/.termux-build/xfdesktop/src/common/xfdesktop-thumbnailer.c:523] xfdesktop_thumbnailer_thumbnail_ready_dbus(): thumbnail-ready src: /data/data/com.termux/files/usr/share/backgrounds/xfce/xfce-teal.svg thumbnail: /data/data/com.termux/files/home/.cache/thumbnails/large/38083c864ab7a436fdc83e9548da31e2.png
DBG[/home/builder/.termux-build/xfdesktop/src/common/xfdesktop-thumbnailer.c:523] xfdesktop_thumbnailer_thumbnail_ready_dbus(): thumbnail-ready src: /data/data/com.termux/files/usr/share/backgrounds/xfce/xfce-blue.jpg thumbnail: /data/data/com.termux/files/home/.cache/thumbnails/large/6d5d3657208d7ba4724e842672c6e4a8.png
DBG[/home/builder/.termux-build/xfdesktop/src/common/xfdesktop-thumbnailer.c:523] xfdesktop_thumbnailer_thumbnail_ready_dbus(): thumbnail-ready src: /data/data/com.termux/files/usr/share/backgrounds/xfce/xfce-flower.svg thumbnail: /data/data/com.termux/files/home/.cache/thumbnails/large/43f172ce565e06607308d66c728de3f8.png
DBG[/home/builder/.termux-build/xfdesktop/src/common/xfdesktop-thumbnailer.c:523] xfdesktop_thumbnailer_thumbnail_ready_dbus(): thumbnail-ready src: /data/data/com.termux/files/usr/share/backgrounds/xfce/xfce-cp-dark.svg thumbnail: /data/data/com.termux/files/home/.cache/thumbnails/large/993ac32be8efe8368310b3510a21681d.png
DBG[/home/builder/.termux-build/xfdesktop/src/common/xfdesktop-thumbnailer.c:523] xfdesktop_thumbnailer_thumbnail_ready_dbus(): thumbnail-ready src: /data/data/com.termux/files/usr/share/backgrounds/xfce/xfce-abstract.jpg thumbnail: /data/data/com.termux/files/home/.cache/thumbnails/large/494cac99c416c0caf49de0e323bd5c46.png
DBG[/home/builder/.termux-build/xfdesktop/src/common/xfdesktop-thumbnailer.c:523] xfdesktop_thumbnailer_thumbnail_ready_dbus(): thumbnail-ready src: /data/data/com.termux/files/usr/share/backgrounds/xfce/xfce-leaves.svg thumbnail: /data/data/com.termux/files/home/.cache/thumbnails/large/29babc7fe0db44aabb0c7a96686a3fe5.png
DBG[/home/builder/.termux-build/xfdesktop/src/settings/xfdesktop-background-settings.c:247] xfdesktop_settings_do_single_preview(): loading thumbnail /data/data/com.termux/files/home/.cache/thumbnails/large/5c877faa7c8ed04a1f4bd04a44ddfb65.png
DBG[/home/builder/.termux-build/xfdesktop/src/settings/xfdesktop-background-settings.c:247] xfdesktop_settings_do_single_preview(): loading thumbnail /data/data/com.termux/files/home/.cache/thumbnails/large/45d5c739cc911855dbb45cbb0935d4ce.png
DBG[/home/builder/.termux-build/xfdesktop/src/settings/xfdesktop-background-settings.c:247] xfdesktop_settings_do_single_preview(): loading thumbnail /data/data/com.termux/files/home/.cache/thumbnails/large/1183231e60d625ab20623e9775a785c0.png
DBG[/home/builder/.termux-build/xfdesktop/src/settings/xfdesktop-background-settings.c:247] xfdesktop_settings_do_single_preview(): loading thumbnail /data/data/com.termux/files/home/.cache/thumbnails/large/81e3a476277a32d895e717bf38ab7406.png
DBG[/home/builder/.termux-build/xfdesktop/src/settings/xfdesktop-background-settings.c:247] xfdesktop_settings_do_single_preview(): loading thumbnail /data/data/com.termux/files/home/.cache/thumbnails/large/9678db3beccfcc7b0b447dbc5547d272.png
DBG[/home/builder/.termux-build/xfdesktop/src/settings/xfdesktop-background-settings.c:247] xfdesktop_settings_do_single_preview(): loading thumbnail /data/data/com.termux/files/home/.cache/thumbnails/large/5c040835fe3dee40cc89c122844220da.png
DBG[/home/builder/.termux-build/xfdesktop/src/settings/xfdesktop-background-settings.c:247] xfdesktop_settings_do_single_preview(): loading thumbnail /data/data/com.termux/files/home/.cache/thumbnails/large/38083c864ab7a436fdc83e9548da31e2.png
DBG[/home/builder/.termux-build/xfdesktop/src/settings/xfdesktop-background-settings.c:247] xfdesktop_settings_do_single_preview(): loading thumbnail /data/data/com.termux/files/home/.cache/thumbnails/large/6d5d3657208d7ba4724e842672c6e4a8.png
DBG[/home/builder/.termux-build/xfdesktop/src/settings/xfdesktop-background-settings.c:247] xfdesktop_settings_do_single_preview(): loading thumbnail /data/data/com.termux/files/home/.cache/thumbnails/large/43f172ce565e06607308d66c728de3f8.png
DBG[/home/builder/.termux-build/xfdesktop/src/settings/xfdesktop-background-settings.c:247] xfdesktop_settings_do_single_preview(): loading thumbnail /data/data/com.termux/files/home/.cache/thumbnails/large/993ac32be8efe8368310b3510a21681d.png
DBG[/home/builder/.termux-build/xfdesktop/src/settings/xfdesktop-background-settings.c:247] xfdesktop_settings_do_single_preview(): loading thumbnail /data/data/com.termux/files/home/.cache/thumbnails/large/494cac99c416c0caf49de0e323bd5c46.png
DBG[/home/builder/.termux-build/xfdesktop/src/settings/xfdesktop-background-settings.c:247] xfdesktop_settings_do_single_preview(): loading thumbnail /data/data/com.termux/files/home/.cache/thumbnails/large/29babc7fe0db44aabb0c7a96686a3fe5.png
DBG[/home/builder/.termux-build/xfdesktop/src/settings/xfdesktop-background-settings.c:747] xfdesktop_settings_generate_per_workspace_binding_string(): name /backdrop/screen0/monitorBuiltinDisplay/workspace0/last-image
DBG[/home/builder/.termux-build/xfdesktop/src/settings/xfdesktop-background-settings.c:829] cb_image_selection_changed(): got /data/data/com.termux/files/usr/share/backgrounds/xfce/xfce-blue.jpg, applying to screen 0 monitor Builtin Display workspace 0
DBG[/home/builder/.termux-build/xfdesktop/src/settings/xfdesktop-background-settings.c:747] xfdesktop_settings_generate_per_workspace_binding_string(): name /backdrop/screen0/monitorBuiltinDisplay/workspace0/last-image
DBG[/home/builder/.termux-build/xfdesktop/src/settings/xfdesktop-background-settings.c:835] cb_image_selection_changed(): Saving to /backdrop/screen0/monitorBuiltinDisplay/workspace0/last-image//data/data/com.termux/files/usr/share/backgrounds/xfce/xfce-blue.jpg
DBG[/home/builder/.termux-build/xfdesktop/src/settings/xfdesktop-background-settings.c:747] xfdesktop_settings_generate_per_workspace_binding_string(): name /backdrop/screen0/monitorBuiltinDisplay/workspace0/last-image
DBG[/home/builder/.termux-build/xfdesktop/src/settings/xfdesktop-background-settings.c:1093] xfdesktop_settings_update_iconview_folder(): current_folder /data/data/com.termux/files/usr/share/backgrounds/xfce/xfce-blue.jpg, dirname /data/data/com.termux/files/usr/share/backgrounds/xfce
DBG[/home/builder/.termux-build/xfdesktop/src/settings/xfdesktop-background-settings.c:747] xfdesktop_settings_generate_per_workspace_binding_string(): name /backdrop/screen0/monitorBuiltinDisplay/workspace0/last-image
DBG[/home/builder/.termux-build/xfdesktop/src/settings/xfdesktop-background-settings.c:962] update_icon_view_model(): folder didn't change
DBG[/home/builder/.termux-build/xfdesktop/src/settings/xfdesktop-background-settings.c:747] xfdesktop_settings_generate_per_workspace_binding_string(): name /backdrop/screen0/monitorBuiltinDisplay/workspace0/last-image
DBG[/home/builder/.termux-build/xfdesktop/src/settings/xfdesktop-background-settings.c:829] cb_image_selection_changed(): got /data/data/com.termux/files/usr/share/backgrounds/xfce/xfce-abstract.jpg, applying to screen 0 monitor Builtin Display workspace 0
DBG[/home/builder/.termux-build/xfdesktop/src/settings/xfdesktop-background-settings.c:747] xfdesktop_settings_generate_per_workspace_binding_string(): name /backdrop/screen0/monitorBuiltinDisplay/workspace0/last-image
DBG[/home/builder/.termux-build/xfdesktop/src/settings/xfdesktop-background-settings.c:835] cb_image_selection_changed(): Saving to /backdrop/screen0/monitorBuiltinDisplay/workspace0/last-image//data/data/com.termux/files/usr/share/backgrounds/xfce/xfce-abstract.jpg
DBG[/home/builder/.termux-build/xfdesktop/src/settings/xfdesktop-background-settings.c:747] xfdesktop_settings_generate_per_workspace_binding_string(): name /backdrop/screen0/monitorBuiltinDisplay/workspace0/last-image
DBG[/home/builder/.termux-build/xfdesktop/src/settings/xfdesktop-background-settings.c:1093] xfdesktop_settings_update_iconview_folder(): current_folder /data/data/com.termux/files/usr/share/backgrounds/xfce/xfce-abstract.jpg, dirname /data/data/com.termux/files/usr/share/backgrounds/xfce
DBG[/home/builder/.termux-build/xfdesktop/src/settings/xfdesktop-background-settings.c:747] xfdesktop_settings_generate_per_workspace_binding_string(): name /backdrop/screen0/monitorBuiltinDisplay/workspace0/last-image
DBG[/home/builder/.termux-build/xfdesktop/src/settings/xfdesktop-background-settings.c:962] update_icon_view_model(): folder didn't change
DBG[/home/builder/.termux-build/xfdesktop/src/settings/xfdesktop-background-settings.c:912] stop_image_loading(): xfdesktop_settings_stop_image_loading

@813ethan
Copy link
Contributor

--- xfdesktop-backdrop-manager-old.c	2024-12-22 21:43:20.548619193 +1100
+++ xfdesktop-backdrop-manager.c	2024-12-22 23:17:16.625594014 +1100
@@ -408,7 +408,7 @@
 G_GNUC_END_IGNORE_DEPRECATIONS
     return g_strdup_printf("/backdrop/screen%d/monitor%s/",
                            screen_num,
-                           monitor_get_identifier(monitor));
+                           xfdesktop_remove_whitspaces(monitor_get_identifier(monitor)));
 }
 
 static gchar *
@@ -442,7 +442,7 @@
 
     gchar *span_monitor_property_prefix = g_strdup_printf("/backdrop/screen%d/monitor%s/workspace%d",
                                                           screen_num,
-                                                          monitor_get_identifier(first_monitor),
+                                                          xfdesktop_remove_whitspaces(monitor_get_identifier(first_monitor)),
                                                           workspace_num);
     gchar *first_image_style_prop = g_strconcat(span_monitor_property_prefix, "/image-style", NULL);
     XfceBackdropImageStyle first_image_style = xfconf_channel_get_int(manager->channel,
@@ -467,7 +467,7 @@
         }
         return g_strdup_printf("/backdrop/screen%d/monitor%s/workspace%d",
                                screen_num,
-                               monitor_get_identifier(the_monitor),
+                               xfdesktop_remove_whitspaces(monitor_get_identifier(the_monitor)),
                                workspace_num);
     }
 }

--- xfdesktop-common-old.c	2024-10-14 23:11:52.000000000 +1100
+++ xfdesktop-common.c	2024-12-22 23:25:28.841593827 +1100
@@ -538,7 +538,7 @@
                     for (gint i = 0; i < n_workspaces; ++i) {
                         gchar *new_name = g_strdup_printf("/backdrop/screen%d/monitor%s/workspace%d/%s",
                                                           screen_num,
-                                                          monitor_name,
+                                                          xfdesktop_remove_whitspaces(monitor_name),
                                                           i,
                                                           new_setting_name);
                         if (!xfconf_channel_has_property(channel, new_name)) {
@@ -582,7 +582,7 @@
             for (gint i = 0; i < n_workspaces; ++i) {
                 gchar *new_name = g_strdup_printf("/backdrop/screen%d/monitor%s/workspace%d/image-style",
                                                   screen_num,
-                                                  monitor_name,
+                                                  xfdesktop_remove_whitspaces(monitor_name),
                                                   i);
                 if (!xfconf_channel_has_property(channel, new_name)) {
                     xfconf_channel_set_int(channel, new_name, XFCE_BACKDROP_IMAGE_NONE);
@@ -671,7 +671,7 @@
                             for (gint i = 0; i < n_workspaces; ++i) {
                                 gchar *new_name = g_strdup_printf("/backdrop/screen%d/monitor%s/workspace%d/%s",
                                                                   screen_num,
-                                                                  monitor_name,
+                                                                  xfdesktop_remove_whitspaces(monitor_name),
                                                                   i,
                                                                   setting_name);
                                 if (!xfconf_channel_has_property(channel, new_name)) {

working patch for now, i guess

screen-20241222-232833.2.mp4

@813ethan
Copy link
Contributor

@Biswa96 should i make pr? not sure if it works for everyone/have any side effects tho

@Biswa96
Copy link
Member

Biswa96 commented Dec 22, 2024

Thank you for your thorough analysis of this issue. I am not sure about the change and shall ask about the issue in xfce community channels. In the meantime, please feel free to create a pull request for testing purposes. I would like to confirm this matter with the upstream developers as well.

@Biswa96
Copy link
Member

Biswa96 commented Dec 22, 2024

Some info from my setup. Monitor identifier changes in xfce if I start it with startxfce4 or with xfce4-session.

  • xfce4-session: monitorBuiltinDisplay (seems incorrect, wallpaper can not be changed)
  • startxfce4: monitorscreen (seems correct, wallpaper can be changed)

@813ethan
Copy link
Contributor

it happened to be screen on start for startxfce4, but after one screen resize it changed into Builtin Display

@813ethan
Copy link
Contributor

also for screen the refresh rate is stuck at 30hz for some reason

@twaik
Copy link
Member

twaik commented Dec 22, 2024

also for screen the refresh rate is stuck at 30hz for some reason

probably a bug of termux-x11, I'll take a look soon.

@813ethan
Copy link
Contributor

also for screen the refresh rate is stuck at 30hz for some reason

probably a bug of termux-x11, I'll take a look soon.

alright then.

@twaik
Copy link
Member

twaik commented Dec 22, 2024

I can reproduce it only in the case if you start termux-x11 with Termux:X11's activity not running in background or foreground. Did you switch to Termux:X11 before checking screen name and refresh rate?

@813ethan
Copy link
Contributor

813ethan commented Dec 22, 2024

screen-20241223-024624.2.mp4

like this, tho now i'm getting 30hz builtin display instead somehow

tho same as how screen disappeared the 30hz returned into the desired frame rate after one screen resize

@twaik
Copy link
Member

twaik commented Dec 22, 2024

Try this one. Does it happen with this build?

@twaik
Copy link
Member

twaik commented Dec 22, 2024

And it seems like you need to charge your device.

@813ethan
Copy link
Contributor

Try this one. Does it happen with this build?

still happening, but as usual the frame rate returned to the desired one after one screen resize

@twaik
Copy link
Member

twaik commented Dec 22, 2024

Ok, it is very weird.
Android should report correct display as soon as view gets attached to Activity but for some reason it does not happen on your device.
But magically happens after you rotate device.

@813ethan
Copy link
Contributor

813ethan commented Dec 22, 2024

this seems to happen only on startxfce4 but not xfce4-session though

for xfce4-session it gives me a Builtin Display with expected frame rate

but for startxfce4 it throws me a 30hz screen (or sometimes a 30hz Builtin Display) at start

but it fixed itself back to a Builtin Display with proper framerate after one x11 screen resize (e.g hiding keyboard)

@twaik
Copy link
Member

twaik commented Dec 22, 2024

Ok, probably it clarifies the situation. Probably the server is being reset during startxfce4 and it causes reverting of some variables in X server to default.

@twaik
Copy link
Member

twaik commented Dec 22, 2024

Try this one.

@813ethan
Copy link
Contributor

thats arm32, i can't install

@twaik
Copy link
Member

twaik commented Dec 22, 2024

Sorry. This one.

@813ethan
Copy link
Contributor

seems fixed, now startxfce4 is running with Builtin Display with proper framerate

@twaik
Copy link
Member

twaik commented Dec 22, 2024

The fix is merged to master.

@jace
Copy link

jace commented Dec 31, 2024

I'm affected too, but the only relevant log message appears to be this:

** (xfdesktop:4022): WARNING **: 10:54:05.494: Failed to get system bus: Could not connect: No such file or directory

@813ethan
Copy link
Contributor

@jace see if this pr helps you

@jace
Copy link

jace commented Dec 31, 2024

@jace see if this pr helps you

How do I try it? Is there a built .deb to install?

@813ethan
Copy link
Contributor

you can download the deb artifact in the pr checks

@TomJo2000
Copy link
Member

@jace see if this pr helps you

How do I try it? Is there a built .deb to install?

(This is a pre-written, saved reply.)
If you want to test this PR please download the appropriate DEB package(s)
from the build artifacts of the associated PR's latest CI run.
Screenshot_20240619_232413

After downloading the build artifact, make sure to unzip and un-tar it.

Detailed instructions, if needed.

# finding out what architecture you need
# architecture is just below the TERMUX_VERSION
termux-info

# e.g.
# [...]
# TERMUX_MAIN_PACKAGE_FORMAT=debian
# TERMUX_VERSION=0.118.0
# TERMUX__USER_ID=0
# Packages CPU architecture:
# aarch64
# [...]

# =======================

# make sure `unzip` and `tar` are installed using
pkg install unzip tar

# unzip the artifact (if you have a different architecture this might be arm, i686 or x86_64 instead)
unzip debs-aarch64-*.zip

# untar the artifact
tar xf debs-aarch64-*.tar

# You should now have a debs/ directory in your current working directory
# Install the packages from the local source using
pkg install -- ./debs/*.deb

# to clean up, you can remove the debs/ directory, .tar file and .zip file
rm -rfi debs debs-aarch64-*.zip debs-aarch64-*.tar

@jace
Copy link

jace commented Dec 31, 2024

Installed. This version works. I can change wallpaper now. However, xfdesktop no longer launches as part of the XFCE4 session (even prior to installing this). The problem started after I first ran xfdesktop -Q && xfdesktop -e, so it's somehow taken itself out of the startup session?

@jace
Copy link

jace commented Dec 31, 2024

I removed everything in ~/.cache/sessions and xfdesktop is working as part of the XFCE session again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Something is not working properly x11 Issue is related to stuff requiring X11 environment or x11-packages
Projects
None yet
Development

No branches or pull requests

9 participants