You are not logged in.
When i open Thunar as root i always get a "factory default" version (symbol view, columns, windows size/placement..). All my personal settings are gone once i restart thunar as root. This doesn't happen with normal user version.
I've tried this commands:
sudo -H thunar
gksu thunar
gksudo thunar
It worked properly before for months with a simple xfce starter (sudo -H thunar). Now this error comes up on the terminal:
Thunar: Failed to initialize Xfconf: Server address of type unix was missing argument path or abstract
(thunar:12319): GLib-GIO-CRITICAL **: 19:45:42.417: g_dbus_proxy_new_sync: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
ThunarThumbnailer: failed to create proxy: Error spawning command line ?dbus-launch --autolaunch=a9b946078bcd4598b96e2606931089d4 --binary-syntax --close-stderr?: Child process exited with code 1
Any ideas what could be wrong here?
Last edited by Maniaxx (2018-09-09 12:13:41)
sys2064
Offline
Do you mean that the thunar settings in /root are not saved?
Last edited by sonoran (2018-09-08 18:24:45)
Offline
I'm not sure where it saves it settings. The file /root/.config/Thunar/accels.scm gets updated every time i start it though.
I've noticed that it doesn't seem to accept changes in 'Edit/Preferences' at all. Even in the same session if i re-open preferences all settings are back to default so its not only when i close the window. The drop-down menus options do work though (e.g. change to details view).
sys2064
Offline
Automatic X11 dbus spawning has been disabled, so your root thunar does not have a valid DBUS session available over which it stores it's settings. Use
gksu dbus-run-session thunar
to start an intermittent dbus session for your root user that gets closed again afterwards.
Offline
That's it. Thank you for the detailed explanation.
sys2064
Offline
Automatic X11 dbus spawning has been disabled, so your root thunar does not have a valid DBUS session available over which it stores it's settings. Use
gksu dbus-run-session thunar
to start an intermittent dbus session for your root user that gets closed again afterwards.
So is there any way to automate this everytime the system boots but wihout actually launching thunar at startup?
I've been wrapping my head for hours searching for that particular solution and can't find anything that suits my needs..
Last edited by DemonSlayer452 (2018-09-17 00:25:18)
Offline
You really shouldn't, if you really must, alias whatever elevation command to include the dbus-run-session. What is your end goal, is it that much of a burden to add that? Or do you have a XY problem and you actually have a different session issue that really should be solved differently?
Offline