Page 1 of 1

thunar root mode: active view will not work, stuck with icon view

Posted: 28 Feb 2023, 13:27
by francois
Each time that I open thunar in root mode, an instance of thunar root mode will open;

Code: Select all

guest@porteus:~$ su
Password: 
root@porteus:/home/guest# thunar
thunar: Failed to initialize Xfconf: The connection is closed

Error creating proxy: The connection is closed (g-io-error-quark, 18)
Error creating proxy: The connection is closed (g-io-error-quark, 18)
Error creating proxy: The connection is closed (g-io-error-quark, 18)
Error creating proxy: The connection is closed (g-io-error-quark, 18)

(thunar:24291): thunar-WARNING **: 13:21:43.189: Name 'org.xfce.FileManager' lost on the message dbus.

(thunar:24291): thunar-WARNING **: 13:21:43.189: Name 'org.freedesktop.FileManager1' lost on the message dbus.
ThunarThumbnailer: failed to create proxy: The connection is closed
My problem is that it opens in icon view.

Though preferences is set to last active view for thunar, once I ask to view > compact view, and then click on a folder it will not stay in last active view and come back to icon view.

Has someone has a cue on how I can fix that?
Thanks.

thunar root mode: active view will not work, stuck with icon view

Posted: 28 Feb 2023, 21:12
by donald
I don't know why you want to start thunar this way - we have clickable icons
to start thunar in root mode.

However, if you insist, you could run:
dbus-run-session -- thunar

Code: Select all

guest@porteus:~$ su
Password: 
root@porteus:/home/guest# dbus-run-session -- thunar

thunar root mode: active view will not work, stuck with icon view

Posted: 01 Mar 2023, 01:36
by francois
Hello donald. I hope you are doing fine. And you are right I could use thunar file manager root available thru the launcher.

Nonetheless thanks for the tip.

thunar root mode: active view will not work, stuck with icon view

Posted: 02 Mar 2023, 14:09
by francois
I would like to create an xfce launcher that starts in another directory than the home directory. To do so, how do I modify the command?
psu dbus-run-session -- thunar "%F"

The launcher will not accept the directory that I propose:
/mnt/sdb3/50_porteus/xfce/

Thanks

thunar root mode: active view will not work, stuck with icon view

Posted: 02 Mar 2023, 16:58
by donald
port-5-xfce
Launch a root-thunar in specific directory.
Image

porteus on sdb1 - launcher created as guest -- thunar-root opens in /mnt/sda3/krimskrams/

thunar root mode: active view will not work, stuck with icon view

Posted: 03 Mar 2023, 09:35
by francois
Thanks.

thunar root mode: active view will not work, stuck with icon view

Posted: 04 Apr 2025, 12:02
by francois
Memo or bump
Command in xfce launcher does the job to provide thunar root on a launcher of the xfce panel

Code: Select all

psu dbus-run-session -- thunar "%F"