Sunday, May 12, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 2009  / 3 Years ago, tue, september 7, 2021, 5:46:01

I have upgraded from Ubuntu 18.04 to 20.04LTS. So far, everything is running well except my desktop icons sometimes exhibit a massive arrow (this is the case of the *.desktop files:


arrow


Is there a way to resize and or hide these arrows? I did not see any possibility in gnome-tweaks.
To make it clear: in the above icons, Corbeille (created by the system) is what I would like to see. Veramtex and Pycharm both are .desktop files with the corresponding icons. Only there appears a large arrow on both. Could I get rid of those?
Here is the content of Pycharm.desktop


[Desktop Entry]
Type=Application
Terminal=true
Name=Pycharm
Icon=/..../pycharm-community-2020.2/bin/pycharm.png
Exec=/..../pycharm-community-2020.2/bin/pycharm.sh
Name[fr_BE]=Pycharm

And this is icon pycharm.png (without the arrow)


enter image description here


More From » gnome

 Answers
3

  • While the referenced post by Ali I. Demirel suggests removing/renaming icons or creating .desktop files. I expect them to work.



  • Here is an alternative option, resizing the icons or make them fully transparent (extreme ratio 1%/10000%~5%/2000%).


    sudo apt install imagemagick-6.q16
    sudo find /usr/share/icons/Yaru/ -name "emblem-symbolic-link.png"
    -exec cp -v {} {}.bak ;
    -exec convert {} -resize 50%
    -background transparent -gravity SouthEast -extent 200% {} ;


    1. sudo:/usr/share/icons/Yaru/ is a system directory



    2. find ... -name "emblem-symbolic-link.png": Search for icons



    3. find ... -exec cp {} {}.bak ;: Make a backup copy



    4. find ... -exec convert {} -resize 50% -background transparent -gravity SouthEast -extent 200% {} ;


      Resize it down to 50% (half), Set default background color, Set default position, Extant image back to original size which is 200% (double).




    Logout/Login again to apply (Or Alt+F2-r to restart Gnome-Shell if you are Not using Wayland)



  • To restore them back to original:


    sudo find /usr/share/icons/Yaru/ -name "emblem-symbolic-link.png.bak" -exec sh -c 'cp -v {} $(dirname {})/$(basename -s.bak {})' ;
    ## worst case, reinstall icons
    sudo apt --reinstall install yaru-theme-icon

    Logout/Login again to apply (Or Alt+F2-r to restart Gnome-Shell if you are Not using Wayland)



  • Results for 50%/200% ratio in below screenshot:


    Image: Results for 50%/200% ratio in below screenshot




[#2456] Wednesday, September 8, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ampust

Total Points: 133
Total Questions: 109
Total Answers: 111

Location: Reunion
Member since Fri, Jul 22, 2022
2 Years ago
ampust questions
;