Xfce Forum

Sub domains
 

You are not logged in.

#1 2024-03-06 07:13:03

Mo_B
Member
From: Germany
Registered: 2016-03-04
Posts: 53

Thunar initial directory

Hi,

my $HOME is /home/mo and there is a symlink
m -> mo/

But when I start Thunar with tree view it has always as initial directory opened:
File System -> home -> m

There is also a section mo with a "home" icon, but it's collapsed.


Gentoo-Linux

Offline

#2 2024-03-06 12:07:10

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,241

Re: Thunar initial directory

Mo_B wrote:

my $HOME is /home/mo and there is a symlink
m -> mo/

Where is "m" located? In $HOME or in /home.

But when I start Thunar with tree view it has always as initial directory opened:
File System -> home -> m

There is also a section mo with a "home" icon, but it's collapsed.

Do you have "Restore Tabs on Startup" selected (File Manager Preference > Behaviour tab)? If so, it may be saved:

xfconf-query -c thunar -p /last-tabs-left

Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2024-03-06 19:38:22

Mo_B
Member
From: Germany
Registered: 2016-03-04
Posts: 53

Re: Thunar initial directory

Directory mo/ and the symlink m -> mo/ are both located in /home.
The environment variable $HOME is "/home/mo".

$ xfconf-query -c thunar -p /last-tabs-left
Property "/last-tabs-left" does not exist on channel "thunar".

Gentoo-Linux

Offline

#4 2024-03-06 23:29:47

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,241

Re: Thunar initial directory

Can I see all of your thunar settings:

xfconf-query -c thunar -lv

...and also what version of thunar?


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#5 2024-03-07 07:37:09

Mo_B
Member
From: Germany
Registered: 2016-03-04
Posts: 53

Re: Thunar initial directory

$ xfconf-query -c thunar -lv
/default-view                       ThunarDetailsView
/last-compact-view-zoom-level       THUNAR_ZOOM_LEVEL_SMALLEST
/last-details-view-column-order     THUNAR_COLUMN_NAME,THUNAR_COLUMN_SIZE,THUNAR_COLUMN_TYPE,THUNAR_COLUMN_DATE_CREATED,THUNAR_COLUMN_DATE_MODIFIED,THUNAR_COLUMN_DATE_ACCESSED,THUNAR_COLUMN_MIME_TYPE,THUNAR_COLUMN_PERMISSIONS,THUNAR_COLUMN_OWNER,THUNAR_COLUMN_GROUP,THUNAR_COLUMN_LOCATION,THUNAR_COLUMN_RECENCY,THUNAR_COLUMN_SIZE_IN_BYTES,THUNAR_COLUMN_DATE_DELETED
/last-details-view-column-widths    104,106,106,93,71,156,59,55,1702,63,92,53,50,75
/last-details-view-fixed-columns    false
/last-details-view-visible-columns  THUNAR_COLUMN_DATE_CREATED,THUNAR_COLUMN_DATE_ACCESSED,THUNAR_COLUMN_DATE_MODIFIED,THUNAR_COLUMN_GROUP,THUNAR_COLUMN_NAME,THUNAR_COLUMN_OWNER,THUNAR_COLUMN_PERMISSIONS,THUNAR_COLUMN_SIZE,THUNAR_COLUMN_TYPE
/last-details-view-zoom-level       THUNAR_ZOOM_LEVEL_25_PERCENT
/last-icon-view-zoom-level          THUNAR_ZOOM_LEVEL_300_PERCENT
/last-location-bar                  ThunarLocationEntry
/last-menubar-visible               true
/last-separator-position            392
/last-show-hidden                   false
/last-side-pane                     ThunarTreePane
/last-sort-column                   THUNAR_COLUMN_NAME
/last-sort-order                    GTK_SORT_ASCENDING
/last-splitview-separator-position  989
/last-statusbar-visible             true
/last-toolbar-item-order            0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19
/last-toolbar-visible-buttons       0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
/last-view                          ThunarIconView
/last-window-height                 1151
/last-window-maximized              true
/last-window-width                  1272
/misc-case-sensitive                false
/misc-date-style                    THUNAR_DATE_STYLE_ISO
/misc-folders-first                 true
/misc-horizontal-wheel-navigates    false
/misc-middle-click-in-tab           true
/misc-recursive-permissions         THUNAR_RECURSIVE_PERMISSIONS_ASK
/misc-remember-geometry             true
/misc-show-about-templates          true
/misc-single-click                  true
/misc-single-click-timeout          500
/misc-text-beside-icons             false
/misc-thumbnail-mode                THUNAR_THUMBNAIL_MODE_ONLY_LOCAL
/misc-volume-management             true
/shortcuts-icon-emblems             true
/shortcuts-icon-size                THUNAR_ICON_SIZE_24
/tree-icon-emblems                  true
/tree-icon-size                     THUNAR_ICON_SIZE_SMALLEST
$ thunar --version
thunar 4.18.10 (Xfce 4.18)

Gentoo-Linux

Offline

#6 2024-03-07 11:16:09

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,241

Re: Thunar initial directory

How do you start thunar?

And does the issue persist if you start it from the menu or start it manually by running "thunar" in  a terminal window?

And finally, can your run:

thunar -q
thunar

...and see if it still happens?


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#7 2024-03-07 11:38:07

Mo_B
Member
From: Germany
Registered: 2016-03-04
Posts: 53

Re: Thunar initial directory

Starting from Applications Menu -> File Manager: Same issue.
Starting via keyboard shortcut calling "exo-open --launch FileManager": Same issue.
Calling "exo-open --launch FileManager" when inside a user shell in /home/mo (same like $HOME): Now it works, and Thunar starts with the section "mo" selected and not the foreign "File system..."
Doing the same when staying in /home/m which is just a symlink: Again the issue starting Thunar in the "File system..." section.
So somehow the current Xfce session thinks it's located in /home/m
I already did some changes as before /home/m was the real directory and /home/mo was the link... I'm going to reboot first to see if that solves it.


Gentoo-Linux

Offline

#8 2024-03-07 11:48:15

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,241

Re: Thunar initial directory

Mo_B wrote:

So somehow the current Xfce session thinks it's located in /home/m

You mentioned in your first post that $HOME was /home/mo. Can you confirm with:

env | grep HOME

Also, what does your passwd entry say?

cat /etc/passwd | grep $USER

Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#9 2024-03-07 12:36:16

Mo_B
Member
From: Germany
Registered: 2016-03-04
Posts: 53

Re: Thunar initial directory

$ echo $HOME
/home/mo
$ grep mo /etc/passwd
mo:x:4711:4711::/home/mo:/bin/bash

Gentoo-Linux

Offline

#10 2024-03-15 11:14:54

Mo_B
Member
From: Germany
Registered: 2016-03-04
Posts: 53

Re: Thunar initial directory

Solved after a restart.


Gentoo-Linux

Offline

Board footer

Powered by FluxBB