1

How do I reduce the size of icons on my Ubuntu (GNOME) desktop? All the icons are too big since I am using a 12.1" laptop so it looks horrible.

4

two solutions i know of -

  1. right click the icon, select Stretch Icon...

  2. Open a terminal

    type nautilus (this open a file browser)

    Edit -> Preferences -> Icon View Defaults and select the size you like

  • 1
    no need to open a terminal; type Alt+F2 to run the commandline, or just open one of the entries on the Places menu (Home Folder is a good choice). the Edit -> Preferences... directions are correct tho. – quack quixote May 13 '10 at 19:59
0

Going below 48px requires changing the Nautilus source code and recompiling. (Yes, they hard-coded icons sizes.)

**** INSTRUCTIONS FOR NAUTILUS 3.20.4 ON UBUNTU-GNOME 17.04 ****

1. Install the following dependencies:

libgd-dev autotools-dev libexif-dev libexempi-dev libselinux1-dev libtracker-sparql-1.0-dev libext-dev libxml2-dev libgnome-desktop-3-dev

Each one installs a bunch of other stuff, so hopefully I've given you the correct parent package name. I apologize for not recalling with 100% accuracy exactly what I installed, but this looks fairly correct to me immediately after my install. (Notify me if I'm inaccurate anywhere.)

2. Download from the Nautilus snapshots website (https://download.gnome.org/sources/nautilus/) the version of Nautilus that you are currently using. To find that out, run "nautilus --version" from the terminal. After downloading the archive, unzip it to whatever directory you want to work from.

3. From within the unzipped package, open the file "nautilus-icon-info.h". Within the first several lines you will see various sizes designated for the particular scroll-setting options. For instance, within the file for version 3.20.4 the icon sizes start on line 36. Change each of those levels to whatever you want to use so that you can make the icons much smaller (or larger).

4. After editing and saving the file, it's time to configure, compile, and install. Run the following commands from the terminal from within the base directory of the version of nautilus that you have downloaded and unzipped. Make sure that you are within the base of the folder structure of the nautilus directories!

./configure
make
sudo make install

This can be run altogether with the command "./configure && make && make install".

If the ./configure command fails it's because you are missing some other dependencies. I apologize if my list of dependencies above was incomplete. Google (or whatever search engine you want) to find what package it is that you need. You can use Synaptic to search for what you need if you're unsure even after Googling.

Once installed, I suggest a reboot just to make sure that every single thing is reloaded properly. You can now tweak your icon sizes as you wish.

Have fun!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.