Nautilus: File size below the icons

Screenshot of how this looks

If you like to play around with all sort of settings, you may have noticed that if you increase the zoom in Nautilus (Nautilus is GNOME’s file manager; ie., the window which opens when you go to Places -> Home Folder on a standard Ubuntu system) some additional information is displayed under the icons: the size of the file (or, if it’s a directory, the number of elements in it) and, with an even higher zoom level, the last modification date.

Some days ago I saw this idea on Brainstorm about displaying the file size even if the zoom is only 100%, and after finding out that this is actually already possible (but hidden in gconf) I decided to try it out and found it to actually be quite useful, so I decided to write a blog post about this.

How to enable this

Using the GUI:

  • Press Alt+F2 and execute “gconf-editor” using the “Run” dialogue.
  • Once in the configuration editor, expand the directories “apps” and “nautilus” and select “icon_view”.
  • Double-click on “captions” and in the values list move “size” before “none”. Finally, confirm the change and look at your desktop to see what happened :).

Edit: I’ve just been told that there is an option in Nautilus for this, under Edit -> Preferences -> Show. Thanks, Cubells!

The command line way:

To enable this: gconftool -s /apps/nautilus/icon_view/captions ‘[size,none,date_modified]‘ -t list –list-type=string

Or, to undo the change: gconftool -s /apps/nautilus/icon_view/captions ‘[none,size,date_modified]‘ -t list –list-type=string

What I don’t like about it

  • If you browse “network:///”, “0 bytes” is displayed below the icons there. I’ve already filed a bug about this.
  • I don’t like it that if the size information isn’t available for an item and it will never be (like those in “computer:///” or in network shares) “–” is displayed. It’s okay to show this temporarily when the user enters a directory with lots of files, where it takes some seconds to get the info for all of them and then it’s replaced by the actual value, but not if the information won’t be displayed at all.

By the way, if some Nautilus developer is reading this, please decrease the spacing that’s left between items! It’s way to excessive (eg., changing the zoom to 400%, only two columns are displayed on my 1440×900 screen, but four or five would fit without problem; with 100% zoom there could also fit at least one column more).

11 Comments »

 
  1. [...] Linux, TIP | Tags: gconf-editor, gnome, nautilus Hola, hoy navegando por la red encuentro este interesante tip que nos dice como mostrar el tamaño ( o cantidad) de un fichero o carpeta, como podéis ver en la [...]

  2. cubells says:

    El mateix es pot aconseguir anant a Edita>Preferències i fent clic en la pestanya Mostra, no??

    :lol:

  3. cubells says:

    Nota: L’smileys no és el més adequat al que volia expressar, Sigfried. L’he posada de cap…

  4. Wouter says:

    Nice. Another thing I would like to see is little progressbars under or over the icons for incomplete files e.g. that are being downloaded.

  5. A much easier way is to open the preference window for nautilus (Edit->Preferences), select the display tab and then set the first icon capture to size or whatever you’d like displayed at 100% zoom.

    – Josh

  6. Pepe Gonzales says:

    In Nautilus:
    Edit => Preferences => Tick “Use Compact Layout”… Done.. your icons will be closer to each other.

  7. Pepe Gonzales says:

    What I would like is the ability to change the color of the file information text (or “icon caption”). The blue color is almost black, giving it too much importance… It’d be nicer if it were light gray.

  8. Schalken says:

    Wow, never seen that before. Fantastic tip!

  9. RainCT says:

    Pepe: I know about the compact layout option, but I don’t like it because columns aren’t aligned there.

  10. [...] Gevatter: Nautilus: File size below the icons. I don’t know about you but I usually use Nautilus in Icon View and it can be tedious when I [...]

 

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>