[Quick Tip] How to Change Desktop Icons Size in Ubuntu 19.04

May 13, 2019 — 1 Comment

gnome shell

In Ubuntu 19.04 Gnome 3.32, the desktop icons now are handled by a gnome shell extension. Though it causes many bugs, the size of the desktop icons is now configurable on the bright side.

1. Open Ubuntu Software, search for and install the Gnome desktop configuration tool gnome tweaks:

2. Launch Gnome Tweaks and navigate to Extensions in the left pane.

Click the gear button to bring up settings for “Desktop icons”. There you’ll be able to change the desktop icons size into 3 values:

  • Small (48 pixels)
  • Standard (64 pixels)
  • Large (96 pixels)

3. (Optional) If the default 3 option sizes do not meet your needs. You can change their default values by editing the extension prefs file.

Open terminal (Ctrl+Alt+T) from application menu, and run command to edit the extension file:

sudo gedit /usr/share/gnome-shell/extensions/desktop-icons@csoriano/prefs.js

Type user password (no asterisk feedback) when it prompts and hit Enter.

When the file opens, scroll down and find out 3 lines look like:

const ICON_SIZE = { 'small': 48, 'standard': 64, 'large': 96 };
const ICON_WIDTH = { 'small': 120, 'standard': 128, 'large': 128 };
const ICON_HEIGHT = { 'small': 98, 'standard': 114, 'large': 149 };

Change the numbers in the lines accordingly and RESTART Ubuntu or Gnome Shell to apply changes.

I'm a freelance blogger who started using Ubuntu 5+ years ago and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me on Google Plus or email to ubuntuhandbook1@gmail.com

One response to [Quick Tip] How to Change Desktop Icons Size in Ubuntu 19.04

  1. Thanks for this post, it really worked!

Leave a Reply

Text formatting is available via select HTML.

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>