Skip to content

Instantly share code, notes, and snippets.

Created Oct 28, 2011
What would you like to do?
Modding the nautilus desktop - Text Beside Icons
First, open terminal and write:
apt-get source nautilus
sudo apt-get build-dep nautilus
the build-dep command will install all the build dependencies for nautilus.
1) Create a new text file and call it: file-manager.patch
copy all this contents into this file:
--- nautilus-desktop-icon-view.c 2011-10-27 17:31:16.773039361 +0200
+++ ../../nautilus-3.2.1-original/src/nautilus-desktop-icon-view.c 2011-10-28 09:40:25.000000000 +0200
@@ -852,7 +852,7 @@
"supports-auto-layout", FALSE,
"supports-scaling", TRUE,
"supports-keep-aligned", TRUE,
- "supports-labels-beside-icons", FALSE,
+ "supports-labels-beside-icons", TRUE,
return NAUTILUS_VIEW (view);
Save the patch.
2) Copy the patch into the folder ~/nautilus-(version)/src/
open terminal go to ~/nautilus-(version)/src/ that where you put the patch and when you in there,
patch -p0 < file-manger.patch
if the command was successful you should see something like this:
patching file nautilus-desktop-icon-view.c
3) not start to compile nautilus
./configure --prefix=/usr
sudo make install
killall nautilus
that's it, now the option text beside icons should work on the desktop too, enjoy :) The text is
stolen from [1] but I updated the patch. I tested the patch with Ubuntu 11.10 and nautilus-3.2.1.
Copy link

r5r4y commented Jul 25, 2012

Thanks for updating my little patch. I was unaware they've changed it for Nautilus 3.x till about an hour ago when I've browsed through the files again.
The patch is great but not entirely necessary, it's just a matter of changing one line from FALSE to TRUE.
I think they are planning to remove "Labels beside icons" for icon view in Nautilus 3.5.4, that's a shame. Lucky it's still open source.

I re-wrote this little tutorial from my old Pastebin and posted it into my deviantart Journal. With some additional info:

If you've got anything to add, please do.

Copy link

Duh! I have discovered my issue. For anyone who may be experiencing the same problem, I forgot to go to Edit -> Preferences -> Views and actually click the "Text Beside Icons" check box. Stupid mistake! This is actually working for me under Ubuntu 12.10. Sorry for the silly runaround!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment