Skip to content

Instantly share code, notes, and snippets.

@cit
Created October 28, 2011 07:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cit/1321830 to your computer and use it in GitHub Desktop.
Save cit/1321830 to your computer and use it in GitHub Desktop.
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,
NULL);
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,
write:
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
make
sudo make install
killall nautilus
Alt+F2
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.
[1] http://pastebin.com/raw.php?i=f3f29fcec
@sonic5397
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