Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 1706  / 3 Years ago, wed, june 2, 2021, 7:19:22

For Windows user's there is a tweak to make your desktop icons in a list view as you can see here:
http://www.howtogeek.com/?post_type=post&p=959



Icons normally on Desktop:



enter image description here



Icons in a listview:



enter image description here



I've managed to have icons in a listview on Macbook as well, which has this option as in-built functionality.



How can I achieve the same functionality on Ubuntu(Unity)?


More From » icons

 Answers
2

Alright, answer is finally here. You have to change line or two in nautilus source and than recompile the source...



Text besides icons on Ubuntu Desktop



Text besides icons on Ubuntu Desktop



1-$ mkdir /home/nautilus-source & cd /home/nautilus-source



2-$ apt-get source nautilus #in my case it downloaded source for nautilus-3.4.2



3-$ sudo apt-get install fakeroot build-essential dpkg-dev



4-$ sudo apt-get build-dep nautilus



5-$ cd /home/nautilus-source/nautilus-3.4.2/



6-$ vim src/nautilus-desktop-icon-view.c



7-$ /NAUTILUS_TYPE_DESKTOP_ICON_VIEW



Change from:



g_object_new (NAUTILUS_TYPE_DESKTOP_ICON_VIEW, "window-slot", slot, "supports-zooming", FALSE, "supports-auto-layout", FALSE, "supports-scaling", TRUE,"supports-keep-aligned", TRUE, "supports-labels-beside-icons", FALSE, NULL);



to:



g_object_new (NAUTILUS_TYPE_DESKTOP_ICON_VIEW, "window-slot", slot, "supports-zooming", TRUE, "supports-auto-layout", FALSE, "supports-scaling", TRUE,"supports-keep-aligned", TRUE, "supports-labels-beside-icons", TRUE, NULL);



Line numbers in in src/nautilus-desktop-icon-view.c > 785-792



8-$ dpkg-buildpackage -rfakeroot -us -uc -nc -b



9-$ sudo dpkg -i ../nautilus_3.4.2-0ubuntu4_i386.deb



10-$ killall nautilus



11- Open your home folder from launcher -



12- Edit > Preferences > Views > Check Text Besides Icons



ps. also now Ctrl+Scroll - will zoom in zoom out desktop icons



ps2. you can also change location of launcher # edit src/nautilus-places-sidebar.c



enter image description here


[#36813] Friday, June 4, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
nosaurindb

Total Points: 266
Total Questions: 113
Total Answers: 120

Location: Ecuador
Member since Tue, Jul 26, 2022
2 Years ago
;