1

I don't know if anyone notices at all that since ubuntu 17 the icon size on the desktop is huge even though it will be set to 50%. The developers generously gave the possibility to change the size of each folder individually !! I began to wonder if they paid the genius for this "idea". And so it is unfortunately also in ubuntu 19.

Question: How to change the size of the icons below the magical value of 50%?

enter image description here

enter image description here

WOrks very well, thank you very much

enter image description here

  • @Brzydki If you find the answer posted below solving your issue, please consider "accepting" it (by clicking the tick (✓) next to it) to indicate you've found a working solution and also so that others may more easily find it in the future. Adding an update to the question is not the way to do it. – pomsky Jan 23 at 13:58
2

Workaround

take backup of the original directory desktop-icons@csoriano from /usr/share/gnome-shell/extensions/ with below command.

sudo cp -r /usr/share/gnome-shell/extensions/desktop-icons@csoriano /usr/share/gnome-shell/extensions/desktop-icons@csoriano.BAK

Open the file /usr/share/gnome-shell/extensions/desktop-icons@csoriano/prefs.js with below command.

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

find the below content

const ICON_SIZE = { 'small': 48, 'standard': 64, 'large': 96 };
const ICON_WIDTH = { 'small': 108, 'standard': 116, 'large': 116 };
const ICON_HEIGHT = { 'small': 86, 'standard': 102, 'large': 134 };

adjust the sizes with basic things like if you reduce the size 48.. reduce the width and heights also with trails.

In my case

const ICON_SIZE = { 'small': 22, 'standard': 64, 'large': 96 };
const ICON_WIDTH = { 'small': 44, 'standard': 116, 'large': 116 };
const ICON_HEIGHT = { 'small': 44, 'standard': 102, 'large': 134 };

enter image description here

for adjusting the text size for desktop icons follow this Q & A How to customize 19.10 Desktop Icon Font Size

| improve this answer | |
  • The filepath /usr/share/gnome-shell is maintained by APT, so your fix will be broken after next update of corresponding gnome-shell-extension-desktop-icons package. – N0rbert Jan 21 at 19:27
  • THANK YOU VERY MUCH, DZIĘKUJĘ, VIELEN DANK, MERCI BEAUCOUP, СПАСИБО ОГРОМНОЕ, , شكرا جزيلا لك – Brzydki Jan 23 at 12:53

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.