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

Technical issues/questions of an intermediate or advanced nature.
User avatar
francois
Contributor
Contributor
Posts: 6435
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

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

Post#1 by francois » 28 Feb 2023, 13:27

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.
Prendre son temps, profiter de celui qui passe.

donald
Full of knowledge
Full of knowledge
Posts: 2071
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

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

Post#2 by donald » 28 Feb 2023, 21:12

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

User avatar
francois
Contributor
Contributor
Posts: 6435
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

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

Post#3 by francois » 01 Mar 2023, 01:36

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.
Prendre son temps, profiter de celui qui passe.

User avatar
francois
Contributor
Contributor
Posts: 6435
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

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

Post#4 by francois » 02 Mar 2023, 14:09

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
Prendre son temps, profiter de celui qui passe.

donald
Full of knowledge
Full of knowledge
Posts: 2071
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

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

Post#5 by donald » 02 Mar 2023, 16:58

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/

User avatar
francois
Contributor
Contributor
Posts: 6435
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

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

Post#6 by francois » 03 Mar 2023, 09:35

Thanks.
Prendre son temps, profiter de celui qui passe.

Post Reply