Ubuntu GNOME 16.04 LTS reduce icon size
I have installed Ubuntu GNOME 16.04 LTS
- On Intel® Desktop Board DH55TC
- With Intel® Core™ i3 CPU 540 @ 3.07GHz
- 500 GB SATA hard drive
- Connected to 42" LG TV with HDMI cable
- TP-Link 300 MB USB wireless LAN
- Wireless keyboard & mouse
Everything is fine and smoothly. But I want to reduce the icon size in "Show Application" grid.
Middle Part in below Screen
How can I do it !!
gnome 16.04 gnome-classic
add a comment |
I have installed Ubuntu GNOME 16.04 LTS
- On Intel® Desktop Board DH55TC
- With Intel® Core™ i3 CPU 540 @ 3.07GHz
- 500 GB SATA hard drive
- Connected to 42" LG TV with HDMI cable
- TP-Link 300 MB USB wireless LAN
- Wireless keyboard & mouse
Everything is fine and smoothly. But I want to reduce the icon size in "Show Application" grid.
Middle Part in below Screen
How can I do it !!
gnome 16.04 gnome-classic
What is "Show Application"? Is it Unity Dash?
– thangdc94
Jun 11 '16 at 8:44
@NgocThangPham I added screen. In that middle part icons
– Milind
Jun 11 '16 at 8:48
add a comment |
I have installed Ubuntu GNOME 16.04 LTS
- On Intel® Desktop Board DH55TC
- With Intel® Core™ i3 CPU 540 @ 3.07GHz
- 500 GB SATA hard drive
- Connected to 42" LG TV with HDMI cable
- TP-Link 300 MB USB wireless LAN
- Wireless keyboard & mouse
Everything is fine and smoothly. But I want to reduce the icon size in "Show Application" grid.
Middle Part in below Screen
How can I do it !!
gnome 16.04 gnome-classic
I have installed Ubuntu GNOME 16.04 LTS
- On Intel® Desktop Board DH55TC
- With Intel® Core™ i3 CPU 540 @ 3.07GHz
- 500 GB SATA hard drive
- Connected to 42" LG TV with HDMI cable
- TP-Link 300 MB USB wireless LAN
- Wireless keyboard & mouse
Everything is fine and smoothly. But I want to reduce the icon size in "Show Application" grid.
Middle Part in below Screen
How can I do it !!
gnome 16.04 gnome-classic
gnome 16.04 gnome-classic
edited Jun 11 '16 at 8:47
Milind
asked Jun 11 '16 at 8:35
MilindMilind
158110
158110
What is "Show Application"? Is it Unity Dash?
– thangdc94
Jun 11 '16 at 8:44
@NgocThangPham I added screen. In that middle part icons
– Milind
Jun 11 '16 at 8:48
add a comment |
What is "Show Application"? Is it Unity Dash?
– thangdc94
Jun 11 '16 at 8:44
@NgocThangPham I added screen. In that middle part icons
– Milind
Jun 11 '16 at 8:48
What is "Show Application"? Is it Unity Dash?
– thangdc94
Jun 11 '16 at 8:44
What is "Show Application"? Is it Unity Dash?
– thangdc94
Jun 11 '16 at 8:44
@NgocThangPham I added screen. In that middle part icons
– Milind
Jun 11 '16 at 8:48
@NgocThangPham I added screen. In that middle part icons
– Milind
Jun 11 '16 at 8:48
add a comment |
3 Answers
3
active
oldest
votes
The themes are now in binary files gresource, you would need to either unpack the gresource file, make your change and put it back together.
mkdir ~/shell-theme
and create extractgst.sh
inside this directory and paste the following to that file.
#! /bin/sh
workdir=${HOME}/shell-theme
gst=/usr/share/gnome-shell/gnome-shell-theme.gresource
mkdir theme
for r in `gresource list $gst`; do
gresource extract $gst $r >$workdir${r/#/org/gnome/shell/}
done
Execute above script you will get all source file from gnome-shell-theme.gresource
.
Use your editor and edit gnome-shell.css
file.
And fix values as the following(You can choose other values).
.icon-grid {
spacing: 18px; /* was 36px */
-shell-grid-item-size: 35px; /* was 70px */
}
.all-app .icon-grid {
-shell-grid-item-size: 59px; /* was 118px */
}
.all-app .overview-icon {
icon-size: 48px; /* was 96px */
}
Now you have to build new gnome-shell-theme.gresource
Download gnome-shell-theme.gresource.xml from github and put it into your ~/shell-theme/theme
directory
cd ./theme
glib-compile-resources gnome-shell-theme.gresource.xml
Then copy the resulting gnome-shell-theme.gresource
file to the /usr/share/gnome-shell
directory.
Detail: HERE and here and bbs.archlinux.org
I have seen this answer already and it is useless for me as in my system I don't have gnome-shell.css file
– Milind
Jun 11 '16 at 9:01
which version of GNOME do you use?
– thangdc94
Jun 11 '16 at 9:02
I have installed Ubuntu GNOME 16.04 LTS and it have GNOME Shell 3.18
– Milind
Jun 11 '16 at 9:03
Check this directory:/usr/share/gnome-shell/gnome-shell-theme.gresource
. Does it exist?
– thangdc94
Jun 11 '16 at 9:05
Yes I have that file
– Milind
Jun 11 '16 at 9:12
|
show 3 more comments
I couldn't believe how hidden this was, but here is how to do it.
https://wayneoutthere.com/ubuntu-decrease-icon-16-04/
Within Nautilus (your file browser) click the 4 square icon thing upper right corner.
Then, slide the left-right dial thing (don’t worry about what is selected in the radio dial)
add a comment |
For those wanting to reduce desktop and nautilus icons here's what you need to do, at least for Ubuntu Gnome 17.04:
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 ****
Install the following dependencies:
sudo apt install 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.)
Download from the Nautilus snapshots website 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.
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).
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.
There's no ./configure in Nautilus sources. Meson or jhbuild are used now, via: kevlopez.com/blog/compiling-nautilus-with-meson . It seems this though is the way to build GNOME apps: wiki.gnome.org/Newcomers/BuildProject
– David
Oct 3 '18 at 2:58
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f785620%2fubuntu-gnome-16-04-lts-reduce-icon-size%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
The themes are now in binary files gresource, you would need to either unpack the gresource file, make your change and put it back together.
mkdir ~/shell-theme
and create extractgst.sh
inside this directory and paste the following to that file.
#! /bin/sh
workdir=${HOME}/shell-theme
gst=/usr/share/gnome-shell/gnome-shell-theme.gresource
mkdir theme
for r in `gresource list $gst`; do
gresource extract $gst $r >$workdir${r/#/org/gnome/shell/}
done
Execute above script you will get all source file from gnome-shell-theme.gresource
.
Use your editor and edit gnome-shell.css
file.
And fix values as the following(You can choose other values).
.icon-grid {
spacing: 18px; /* was 36px */
-shell-grid-item-size: 35px; /* was 70px */
}
.all-app .icon-grid {
-shell-grid-item-size: 59px; /* was 118px */
}
.all-app .overview-icon {
icon-size: 48px; /* was 96px */
}
Now you have to build new gnome-shell-theme.gresource
Download gnome-shell-theme.gresource.xml from github and put it into your ~/shell-theme/theme
directory
cd ./theme
glib-compile-resources gnome-shell-theme.gresource.xml
Then copy the resulting gnome-shell-theme.gresource
file to the /usr/share/gnome-shell
directory.
Detail: HERE and here and bbs.archlinux.org
I have seen this answer already and it is useless for me as in my system I don't have gnome-shell.css file
– Milind
Jun 11 '16 at 9:01
which version of GNOME do you use?
– thangdc94
Jun 11 '16 at 9:02
I have installed Ubuntu GNOME 16.04 LTS and it have GNOME Shell 3.18
– Milind
Jun 11 '16 at 9:03
Check this directory:/usr/share/gnome-shell/gnome-shell-theme.gresource
. Does it exist?
– thangdc94
Jun 11 '16 at 9:05
Yes I have that file
– Milind
Jun 11 '16 at 9:12
|
show 3 more comments
The themes are now in binary files gresource, you would need to either unpack the gresource file, make your change and put it back together.
mkdir ~/shell-theme
and create extractgst.sh
inside this directory and paste the following to that file.
#! /bin/sh
workdir=${HOME}/shell-theme
gst=/usr/share/gnome-shell/gnome-shell-theme.gresource
mkdir theme
for r in `gresource list $gst`; do
gresource extract $gst $r >$workdir${r/#/org/gnome/shell/}
done
Execute above script you will get all source file from gnome-shell-theme.gresource
.
Use your editor and edit gnome-shell.css
file.
And fix values as the following(You can choose other values).
.icon-grid {
spacing: 18px; /* was 36px */
-shell-grid-item-size: 35px; /* was 70px */
}
.all-app .icon-grid {
-shell-grid-item-size: 59px; /* was 118px */
}
.all-app .overview-icon {
icon-size: 48px; /* was 96px */
}
Now you have to build new gnome-shell-theme.gresource
Download gnome-shell-theme.gresource.xml from github and put it into your ~/shell-theme/theme
directory
cd ./theme
glib-compile-resources gnome-shell-theme.gresource.xml
Then copy the resulting gnome-shell-theme.gresource
file to the /usr/share/gnome-shell
directory.
Detail: HERE and here and bbs.archlinux.org
I have seen this answer already and it is useless for me as in my system I don't have gnome-shell.css file
– Milind
Jun 11 '16 at 9:01
which version of GNOME do you use?
– thangdc94
Jun 11 '16 at 9:02
I have installed Ubuntu GNOME 16.04 LTS and it have GNOME Shell 3.18
– Milind
Jun 11 '16 at 9:03
Check this directory:/usr/share/gnome-shell/gnome-shell-theme.gresource
. Does it exist?
– thangdc94
Jun 11 '16 at 9:05
Yes I have that file
– Milind
Jun 11 '16 at 9:12
|
show 3 more comments
The themes are now in binary files gresource, you would need to either unpack the gresource file, make your change and put it back together.
mkdir ~/shell-theme
and create extractgst.sh
inside this directory and paste the following to that file.
#! /bin/sh
workdir=${HOME}/shell-theme
gst=/usr/share/gnome-shell/gnome-shell-theme.gresource
mkdir theme
for r in `gresource list $gst`; do
gresource extract $gst $r >$workdir${r/#/org/gnome/shell/}
done
Execute above script you will get all source file from gnome-shell-theme.gresource
.
Use your editor and edit gnome-shell.css
file.
And fix values as the following(You can choose other values).
.icon-grid {
spacing: 18px; /* was 36px */
-shell-grid-item-size: 35px; /* was 70px */
}
.all-app .icon-grid {
-shell-grid-item-size: 59px; /* was 118px */
}
.all-app .overview-icon {
icon-size: 48px; /* was 96px */
}
Now you have to build new gnome-shell-theme.gresource
Download gnome-shell-theme.gresource.xml from github and put it into your ~/shell-theme/theme
directory
cd ./theme
glib-compile-resources gnome-shell-theme.gresource.xml
Then copy the resulting gnome-shell-theme.gresource
file to the /usr/share/gnome-shell
directory.
Detail: HERE and here and bbs.archlinux.org
The themes are now in binary files gresource, you would need to either unpack the gresource file, make your change and put it back together.
mkdir ~/shell-theme
and create extractgst.sh
inside this directory and paste the following to that file.
#! /bin/sh
workdir=${HOME}/shell-theme
gst=/usr/share/gnome-shell/gnome-shell-theme.gresource
mkdir theme
for r in `gresource list $gst`; do
gresource extract $gst $r >$workdir${r/#/org/gnome/shell/}
done
Execute above script you will get all source file from gnome-shell-theme.gresource
.
Use your editor and edit gnome-shell.css
file.
And fix values as the following(You can choose other values).
.icon-grid {
spacing: 18px; /* was 36px */
-shell-grid-item-size: 35px; /* was 70px */
}
.all-app .icon-grid {
-shell-grid-item-size: 59px; /* was 118px */
}
.all-app .overview-icon {
icon-size: 48px; /* was 96px */
}
Now you have to build new gnome-shell-theme.gresource
Download gnome-shell-theme.gresource.xml from github and put it into your ~/shell-theme/theme
directory
cd ./theme
glib-compile-resources gnome-shell-theme.gresource.xml
Then copy the resulting gnome-shell-theme.gresource
file to the /usr/share/gnome-shell
directory.
Detail: HERE and here and bbs.archlinux.org
edited Apr 13 '17 at 12:23
Community♦
1
1
answered Jun 11 '16 at 8:59
thangdc94thangdc94
675712
675712
I have seen this answer already and it is useless for me as in my system I don't have gnome-shell.css file
– Milind
Jun 11 '16 at 9:01
which version of GNOME do you use?
– thangdc94
Jun 11 '16 at 9:02
I have installed Ubuntu GNOME 16.04 LTS and it have GNOME Shell 3.18
– Milind
Jun 11 '16 at 9:03
Check this directory:/usr/share/gnome-shell/gnome-shell-theme.gresource
. Does it exist?
– thangdc94
Jun 11 '16 at 9:05
Yes I have that file
– Milind
Jun 11 '16 at 9:12
|
show 3 more comments
I have seen this answer already and it is useless for me as in my system I don't have gnome-shell.css file
– Milind
Jun 11 '16 at 9:01
which version of GNOME do you use?
– thangdc94
Jun 11 '16 at 9:02
I have installed Ubuntu GNOME 16.04 LTS and it have GNOME Shell 3.18
– Milind
Jun 11 '16 at 9:03
Check this directory:/usr/share/gnome-shell/gnome-shell-theme.gresource
. Does it exist?
– thangdc94
Jun 11 '16 at 9:05
Yes I have that file
– Milind
Jun 11 '16 at 9:12
I have seen this answer already and it is useless for me as in my system I don't have gnome-shell.css file
– Milind
Jun 11 '16 at 9:01
I have seen this answer already and it is useless for me as in my system I don't have gnome-shell.css file
– Milind
Jun 11 '16 at 9:01
which version of GNOME do you use?
– thangdc94
Jun 11 '16 at 9:02
which version of GNOME do you use?
– thangdc94
Jun 11 '16 at 9:02
I have installed Ubuntu GNOME 16.04 LTS and it have GNOME Shell 3.18
– Milind
Jun 11 '16 at 9:03
I have installed Ubuntu GNOME 16.04 LTS and it have GNOME Shell 3.18
– Milind
Jun 11 '16 at 9:03
Check this directory:
/usr/share/gnome-shell/gnome-shell-theme.gresource
. Does it exist?– thangdc94
Jun 11 '16 at 9:05
Check this directory:
/usr/share/gnome-shell/gnome-shell-theme.gresource
. Does it exist?– thangdc94
Jun 11 '16 at 9:05
Yes I have that file
– Milind
Jun 11 '16 at 9:12
Yes I have that file
– Milind
Jun 11 '16 at 9:12
|
show 3 more comments
I couldn't believe how hidden this was, but here is how to do it.
https://wayneoutthere.com/ubuntu-decrease-icon-16-04/
Within Nautilus (your file browser) click the 4 square icon thing upper right corner.
Then, slide the left-right dial thing (don’t worry about what is selected in the radio dial)
add a comment |
I couldn't believe how hidden this was, but here is how to do it.
https://wayneoutthere.com/ubuntu-decrease-icon-16-04/
Within Nautilus (your file browser) click the 4 square icon thing upper right corner.
Then, slide the left-right dial thing (don’t worry about what is selected in the radio dial)
add a comment |
I couldn't believe how hidden this was, but here is how to do it.
https://wayneoutthere.com/ubuntu-decrease-icon-16-04/
Within Nautilus (your file browser) click the 4 square icon thing upper right corner.
Then, slide the left-right dial thing (don’t worry about what is selected in the radio dial)
I couldn't believe how hidden this was, but here is how to do it.
https://wayneoutthere.com/ubuntu-decrease-icon-16-04/
Within Nautilus (your file browser) click the 4 square icon thing upper right corner.
Then, slide the left-right dial thing (don’t worry about what is selected in the radio dial)
answered Sep 29 '17 at 0:24
user742096user742096
91
91
add a comment |
add a comment |
For those wanting to reduce desktop and nautilus icons here's what you need to do, at least for Ubuntu Gnome 17.04:
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 ****
Install the following dependencies:
sudo apt install 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.)
Download from the Nautilus snapshots website 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.
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).
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.
There's no ./configure in Nautilus sources. Meson or jhbuild are used now, via: kevlopez.com/blog/compiling-nautilus-with-meson . It seems this though is the way to build GNOME apps: wiki.gnome.org/Newcomers/BuildProject
– David
Oct 3 '18 at 2:58
add a comment |
For those wanting to reduce desktop and nautilus icons here's what you need to do, at least for Ubuntu Gnome 17.04:
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 ****
Install the following dependencies:
sudo apt install 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.)
Download from the Nautilus snapshots website 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.
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).
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.
There's no ./configure in Nautilus sources. Meson or jhbuild are used now, via: kevlopez.com/blog/compiling-nautilus-with-meson . It seems this though is the way to build GNOME apps: wiki.gnome.org/Newcomers/BuildProject
– David
Oct 3 '18 at 2:58
add a comment |
For those wanting to reduce desktop and nautilus icons here's what you need to do, at least for Ubuntu Gnome 17.04:
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 ****
Install the following dependencies:
sudo apt install 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.)
Download from the Nautilus snapshots website 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.
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).
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.
For those wanting to reduce desktop and nautilus icons here's what you need to do, at least for Ubuntu Gnome 17.04:
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 ****
Install the following dependencies:
sudo apt install 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.)
Download from the Nautilus snapshots website 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.
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).
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.
edited Jun 30 '17 at 3:57
karel
59.8k13129151
59.8k13129151
answered Jun 30 '17 at 3:35
CSmanicCSmanic
192
192
There's no ./configure in Nautilus sources. Meson or jhbuild are used now, via: kevlopez.com/blog/compiling-nautilus-with-meson . It seems this though is the way to build GNOME apps: wiki.gnome.org/Newcomers/BuildProject
– David
Oct 3 '18 at 2:58
add a comment |
There's no ./configure in Nautilus sources. Meson or jhbuild are used now, via: kevlopez.com/blog/compiling-nautilus-with-meson . It seems this though is the way to build GNOME apps: wiki.gnome.org/Newcomers/BuildProject
– David
Oct 3 '18 at 2:58
There's no ./configure in Nautilus sources. Meson or jhbuild are used now, via: kevlopez.com/blog/compiling-nautilus-with-meson . It seems this though is the way to build GNOME apps: wiki.gnome.org/Newcomers/BuildProject
– David
Oct 3 '18 at 2:58
There's no ./configure in Nautilus sources. Meson or jhbuild are used now, via: kevlopez.com/blog/compiling-nautilus-with-meson . It seems this though is the way to build GNOME apps: wiki.gnome.org/Newcomers/BuildProject
– David
Oct 3 '18 at 2:58
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f785620%2fubuntu-gnome-16-04-lts-reduce-icon-size%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
What is "Show Application"? Is it Unity Dash?
– thangdc94
Jun 11 '16 at 8:44
@NgocThangPham I added screen. In that middle part icons
– Milind
Jun 11 '16 at 8:48