LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 06-11-2007, 02:17 PM   #1
Patrick K
Member
 
Registered: Apr 2007
Distribution: Feisty (Ubuntu Studio)/Edgy
Posts: 69

Rep: Reputation: 15
Sort order in nautilus


In Windows when I wanted to move a file to the top of file listing in Win Explorer I would put a "~" in front of it. This doesn't work in Nautilus. Is there a way to force a file to the top of the file listing?

More generally, how does Linux sort items?
 
Old 06-12-2007, 07:47 AM   #2
meng
Member
 
Registered: Apr 2005
Location: Rochester, MN
Distribution: Ubuntu 7.04
Posts: 127

Rep: Reputation: 15
By default Nautilus lists in alphabetical order. Alphabetical order in Nautilus means numbers before tilde before alphabets. Folders listed before files. If you go to View > Arrange Items you have other choices for sorting order.
 
Old 06-12-2007, 11:08 AM   #3
Patrick K
Member
 
Registered: Apr 2007
Distribution: Feisty (Ubuntu Studio)/Edgy
Posts: 69

Original Poster
Rep: Reputation: 15
I found putting a number in front of the filename moves it to the top. However, this isn't great when the filenames already start with a number. But I guess it will have to do.

My version of Nautilus (2.16.1) doesn't have View > Arrange Items. (I usually run in Edgy since I find it more stable then Feisty.) I'll have to boot to Feisty to see if it has a different version that has that option. Thanks!
 
Old 06-12-2007, 01:14 PM   #4
meng
Member
 
Registered: Apr 2005
Location: Rochester, MN
Distribution: Ubuntu 7.04
Posts: 127

Rep: Reputation: 15
I'm pretty sure the option should be present in 2.16, although it may be labeled differently.
 
Old 06-12-2007, 08:53 PM   #5
fragos
Senior Member
 
Registered: May 2004
Location: Fresno CA USA
Distribution: Ubuntu 10.10
Posts: 1,466

Rep: Reputation: 51
There is a sort manual which implies in the order you drag the files but I haven't tried it. Date modified also looks interesting because it can place the most recently accessed files first.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a line limit with the sort utility? Trying to sort 130 million lines of text gruffy Linux - General 4 08-10-2006 08:40 PM
how to 'sort' by file extension then alphabetical order adamrosspayne Linux - Newbie 4 07-04-2006 10:53 PM
Gnome Nautilus compile failed in [nautilus-printer.lo] chunlee Linux - Software 5 01-24-2005 04:57 PM
sort pantera Programming 5 05-26-2004 07:36 PM
How can it ell Grip where put my ripped files and sort the in the correct order MvD Linux - Software 2 10-16-2003 03:10 AM


All times are GMT -5. The time now is 02:47 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration