Xfce Forum

Sub domains
 

You are not logged in.

#1 2018-08-26 12:23:52

FateRover
Member
Registered: 2018-08-26
Posts: 32

how to sort disk by label asc in thunar side pane?

i mount some ntfs fomat driver which belong to windows (install two os on one machine) and rename the label of them using

sudo ntfslabel /dev/sdb1 'Win D'
sudo ntfslabel /dev/sdb2 'Win E'
sudo ntfslabel /dev/sdb3 'Win F'
 

but   it sort default by desc ,shown as pic  below,how can i sort  it by asc

BIMujtR.png

Last edited by FateRover (2018-08-26 16:19:47)

Offline

#2 2018-08-26 19:46:32

alcornoqui
Member
Registered: 2014-07-28
Posts: 831

Re: how to sort disk by label asc in thunar side pane?

Hi FateRover, welcome to the forum!

Take a look at this thread, see if it helps, and tell us.

Offline

#3 2018-08-27 08:29:03

FateRover
Member
Registered: 2018-08-26
Posts: 32

Re: how to sort disk by label asc in thunar side pane?

sorry,it doesnt help .Toz just point how thunar sort disk by stamp ,and then  how to change stamp?

Offline

#4 2018-08-27 10:32:48

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: how to sort disk by label asc in thunar side pane?

What happens if you reverse the order in which you mount them? Mount G first, the F, then E, then D.


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 2018-08-27 18:12:05

FateRover
Member
Registered: 2018-08-26
Posts: 32

Re: how to sort disk by label asc in thunar side pane?

when open thunar ,it show GFED,actually,they are not mounted but only show it label in thunar pane,i should input  password to mount them ,then  unmount them all( the unmount disk will be at the end of the order).but after reboot   ,it  restore GFED

Offline

#6 2018-08-27 19:53:43

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: how to sort disk by label asc in thunar side pane?

Thunar does sort by detected timestamp (see: https://git.xfce.org/xfce/thunar/tree/t … ice.c#n580).

Can you post back the results of:

gvfs-mount -li

...to see the order that gvfs is recognizing them in?


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 2018-08-28 07:19:39

FateRover
Member
Registered: 2018-08-26
Posts: 32

Re: how to sort disk by label asc in thunar side pane?

hmmm, command not  found.it is strange, i have installed gvfs package,seems i should solve this problem first

Offline

#8 2018-08-28 10:36:59

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: how to sort disk by label asc in thunar side pane?

Which distro are you using? Try instead:

gio mount -li

BTW, I've tested pcmanfm and nemo and they both do the same reverse mounting. I don't think the issue is with thunar or any file manager, but rather with gvfs/gio or maybe even udisks/udisks2. They are being recognized in reverse alphabetical order and the file managers only display them in this order.


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 2018-08-28 15:57:50

MountainDewManiac
Member
From: Where Mr. Bankruptcy is Prez
Registered: 2013-03-24
Posts: 1,115

Re: how to sort disk by label asc in thunar side pane?

Long shot, but are there any characters which could be added to the beginning of the disk drive names which would not be displayable, but which would be sorted (so that one could "fool the reverse alphabetizer)?

Regards,
MDM


Mountain Dew Maniac

How to Ask for Help <=== Click on this link

Offline

#10 2018-08-29 08:17:59

FateRover
Member
Registered: 2018-08-26
Posts: 32

Re: how to sort disk by label asc in thunar side pane?

MountainDewManiac wrote:

Long shot, but are there any characters which could be added to the beginning of the disk drive names which would not be displayable, but which would be sorted (so that one could "fool the reverse alphabetizer)?

Regards,
MDM

intresting idea ,i will try

Offline

#11 2018-08-29 08:24:14

FateRover
Member
Registered: 2018-08-26
Posts: 32

Re: how to sort disk by label asc in thunar side pane?

ToZ wrote:

Which distro are you using? Try instead:

gio mount -li

BTW, I've tested pcmanfm and nemo and they both do the same reverse mounting. I don't think the issue is with thunar or any file manager, but rather with gvfs/gio or maybe even udisks/udisks2. They are being recognized in reverse alphabetical order and the file managers only display them in this order.

i think it is udisk issue too,i have read archiwiki  about udev  and gvfs  ,try few methods but still failed.   
Debian tesing

Offline

Board footer

Powered by FluxBB