kimmoli

diy iconpack scaling

Apr 25th, 2016
32
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. This as script here: https://pastebin.com/mxKRkt7Z
  3.  
  4.  
  5.  
  6.  
  7.  
  8. # path /jolla-ambient/ for 2.0.0.x, /sailfish-default/ for 2.0.1.x
  9.  
  10. # download imagemagic and install it
  11. curl -O https://openrepos.net/sites/default/files/packages/500/imagemagick-6.8.8-7.armv7hl.rpm
  12. devel-su
  13. pkcon install-local imagemagick-6.8.8-7.armv7hl.rpm
  14. # copy z2.0 icons to z1.8
  15. cp -r /usr/share/themes/jolla-ambient/meegotouch/z2.0 /usr/share/themes/jolla-ambient/meegotouch/z1.8
  16. # or for 2.0.1.x
  17. cp -r /usr/share/themes/sailfish-default/meegotouch/z2.0 /usr/share/themes/sailfish-default/meegotouch/z1.8
  18. # scale down to 90% = 1.8/2.0*100
  19. mogrify -resize 90% /usr/share/themes/jolla-ambient/meegotouch/z1.8/icons/*.png
  20. # or for 2.0.1.x
  21. mogrify -resize 90% /usr/share/themes/sailfish-default/meegotouch/z1.8/icons/*.png
  22. # unlock pixel ratio
  23. rm -f /etc/dconf/db/vendor.d/locks/silica-configs.txt
  24. dconf update
  25. # return to nemo and set pixel ratio and restart lipstick
  26. exit
  27. dconf write /desktop/sailfish/silica/theme_pixel_ratio 1.8
  28. systemctl --user restart lipstick
RAW Paste Data