Advertisement
Guest User

moshe

a guest
Sep 27th, 2009
1,067
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.42 KB | None | 0 0
  1. Modding the nautilus desktop - Text Beside Icons
  2.  
  3. First, open terminal and write:
  4.  
  5. apt-get source nautilus
  6. sudo apt-get build-dep nautilus
  7.  
  8. the build-dep command will install all the build dependencies for nautilus.
  9.  
  10. 1) Create a new text file and call it: file-manager.patch
  11. copy all this contents into the doc:
  12.  
  13.  
  14. Index: fm-desktop-icon-view.c
  15. ===================================================================
  16. RCS file: /cvs/gnome/nautilus/src/file-manager/fm-desktop-icon-view.c,v
  17. retrieving revision 1.220
  18. diff -u -r1.220 fm-desktop-icon-view.c
  19. --- fm-desktop-icon-view.c 22 Feb 2005 10:41:46 -0000 1.220
  20. +++ fm-desktop-icon-view.c 5 Mar 2005 06:45:22 -0000
  21. @@ -760,7 +760,7 @@
  22. static gboolean
  23. real_supports_labels_beside_icons (FMIconView *view)
  24. {
  25. - return FALSE;
  26. + return TRUE;
  27. }
  28.  
  29. static gboolean
  30.  
  31.  
  32.  
  33. Save the patch.
  34.  
  35. 2) Copy the patch into the folder ~/nautilus-(version)/src/file-manager
  36. open terminal go to ~/nautilus-(version)/src/file-manager that where you put the patch and when you in there, write:
  37.  
  38. patch -p0 < file-manger.patch
  39.  
  40. if the command was successful you should see something like this:
  41.  
  42. patching file fm-desktop-icon-view.c
  43. Hunk #1 succeeded at 761 (offset 1 line).
  44.  
  45. 3) not start to compile nautilus
  46. ./configure --prefix=/usr
  47. make
  48. sudo make install
  49. killall nautilus
  50. Alt+F2
  51. nautilus
  52.  
  53. that's it, now the option text beside icons should work on the desktop too, enjoy :)
  54.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement