We have moved to a new Sailfish OS Forum. Please start new discussions there.
5

Icon Theming. A question for Aard.

asked 2014-06-06 20:53:33 +0300

ApB gravatar image

Hi. @Aard

In the last community meeting you mentioned that there is icon theme support in sailfish. Could you share documentation or any other info related to the subject. Packing etc.

Thanks.

edit retag flag offensive close delete

1 Answer

Sort by » oldest newest most voted
1

answered 2014-06-07 18:12:08 +0300

Aard gravatar image

Unfortunatyl no full documentation (and I won't have time for quite a while to do some), so only some short pointers:

  • check the jolla-ambient package on the device, it contains our default theme. From there you should get the expected file names in the theme
  • you should get the theme location and structure from there as well (the bits located under /user/share/theme)
  • the actual theme configuration happens via gconf (after update7: dconf). Once update7 is out, check /etc//dconf/db/vendor.d/jolla-ambient.txt

Note that it most likely requires a reboot to switch the theme, and that the last time we switched a theme during development was in early 2012 -- so while it should work in theory it's quite likely to break a bit at the moment.

edit flag offensive delete publish link more

Comments

1

Third party app icons are in /usr/share/icons/hicolor/86x86/apps. I've replaced them all. :)

veeall ( 2014-06-08 17:20:40 +0300 )edit

Does anyone know if it's possible to place a custom theme into /home/nemo/.themes/ and somehow "activate" that theme by altering /etc/dconf/db/vendor.d/jolla-ambient.txt ?

Actually, I already tried it out, but it didn't work. I also tried copying the theme folder to /usr/share/themes, where all the default themes are located. At that point the content of my jolla-ambient.txt file was the following:

[desktop/meego/background/landscape]
picture_filename='/home/nemo/.themes/custom-theme/meegotouch/images/wallpaper.jpg'

[desktop/meego/background/portrait]
picture_filename='/home/nemo/.themes/custom-theme/meegotouch/images/wallpaper.jpg'

[meegotouch/theme]
name='custom-theme'

But that didn't work either. Note: I always rebooted my phone after changing that stuff.

Thanks in advance!

[EDIT] How I profed that something changed: I altered the icon

icon-launcher-browser
stefanpartheym ( 2014-08-16 19:31:07 +0300 )edit
Login/Signup to Answer

Question tools

Follow
3 followers

Stats

Asked: 2014-06-06 20:53:33 +0300

Seen: 378 times

Last updated: Jun 07 '14