UI Themer

Rating: 
4.333335
Your rating: None Average: 4.3 (6 votes)

Read before installing

  • For Sailfish OS 2.1 and above.
  • It requires Theme pack support to be installed.
  • While applying themes, the UI may become unresponsive. Do NOT close it.
  • Refresh the homescreen to apply settings.
  • Remember to restore default icons and fonts before system upgrade.

UI Themer

With UI Themer you can customize icons, fonts and pixel density in Sailfish OS.

You can make your own themes following these steps. Translate the app here.

Features

  • Icon theming.
  • Font theming.
  • Change device pixel ratio.
  • Change DPI for Alien Dalvik.

Released under GPLv3. Sources. Based on Icon pack support GUI. Icon design by Freepik.

Thanks to Dax89 and luca247 for support and patience!

=============

If you like my work, please consider to donate via Flattr or PayPal.

Flattr this

Screenshots: 
Application versions: 
AttachmentSizeDate
sailfishos-uithemer-0.5.4-1.i486.rpm73.49 KB18/04/2017 - 04:04
sailfishos-uithemer-0.5.4-1.armv7hl.rpm72.38 KB18/04/2017 - 04:04
sailfishos-uithemer-0.5.5-1.armv7hl.rpm74.33 KB20/04/2017 - 14:02
sailfishos-uithemer-0.5.5-1.i486.rpm73.58 KB20/04/2017 - 14:02
sailfishos-uithemer-0.5.6-5.armv7hl.rpm75.86 KB22/04/2017 - 15:39
sailfishos-uithemer-0.5.6-5.i486.rpm78.41 KB22/04/2017 - 15:39
Changelog: 

- Added Dutch translation (thanks to Nathan Follens).
- Added German translation (thanks to Sailfishman).
- Added Polish translation (thanks to Tomasz Amborski).

Comments

MoritzJT's picture

UI of this GUI is broken on my Jolla C. Default density is  1.25 - lowering it breaks most system icons. Any idea?

BR

MoritzJT

fravaccaro's picture

try to install themepacksupport 0.3.3-3

jfebrer's picture

Great app!

Where did you get the Nokia Pure theme?

fravaccaro's picture

Thanks!

I extracted the fonts from my N9. Unluckily I don't think I can share it :/

DameCENO's picture

Just in to report that the version 0.4-1 of the patch breaks the pixel ratio slider in UI themer, as the value is always set to the default 1 as soon as one leaves the UI themer screen the value is reset. Had to return to the version 0.2-1 to have it working again. I am on 2.0.5.6 on Jolla 1

fravaccaro's picture

Can you try to reinstall the package? As far as it's been reported, it works on the Jolla 1.

DameCENO's picture

I had to unistall it and revert back to 0.2-1 will try to update and get back to you. another question : is it safe to have ui themer and Tablet ui both installed? with what happened had to unistall tablet ui altogether.

 

And to make things clearer, all patches that come with the patch work flawlessly, just that it breaks the pixel ratio slider which doesn't change from the default value. Everything else works fine

 

Confirmed, the problem is with the version 0.4-1 of this patch, as I didn't install the Tablet UI this time aroiund. All patches work fine but the pixel ratio slider remains on the default value no matter what I do, homescreen refresh, even reboot, nothing changed. This default value of the pixel ratio option now seems too big for me, that is how cool this patch is. Hope the next version will fix this, and I am ready to assisst in providing what ever info you might need to get it done. Going back to 0.2-1 I can't do without this awesome patch

fravaccaro's picture

May you please run this command with UI thener 0.4 installed and without it?   ls /etc/dconf/db/vendor.d/locks/

DameCENO's picture

The command with the version 0.2 of the UI themer installed return the following output

screen-rotation.txt

 

As I have my hands full at the moment, will run the command with the version 0.4 installed in an hour or so when I leave work and reach home

The command with the version 0.4 installed returns the following output
screen-rotation.txt ui-configs.txt

fravaccaro's picture

Ok, may you repeat that command with no UI themer installed and with 0.4?

DameCENO's picture

Just did, rebooted the device just to be sure.
Without UI themer and with version 4.0 installed the command returns the same output, while with version 2.0 the ui config.tx file is missing, only the screen-rotation.txt file is present at that path.
I think the issue has to be in the ui config.txt file, am no programmer just an educated guess.
Any other way I can assist? The patch is here on openrepos for testing purposes anyway

fravaccaro's picture

Ok, with no UI themer installed, do as root:
touch /etc/dconf/db/vendor.d/locks/ui-configs.txt
dconf update

then, as nemo:

dconf reset /desktop/sailfish/silica/theme_pixel_ratio

And try uninstalling 0.4 again.

DameCENO's picture

Great!!! Worked and fixed the slider issue in UI Themer!
But unlike before, the UI Themer no longer installs the 3 patches in patch manager, I guess I need to reinstall Tablet UI then...
Let me do that and report back

Worked just as expected, everything is back to normal with the settings icon gone in events view screen, thanks for the assistance, greatly appreciated just as every other single contribution you have made to Sailfish, you are appreciated

fravaccaro's picture

Thanks! I'm glad people like and use what I do, so I try to be as helpful as I can if there's any issue :)

fravaccaro's picture

Great! The patches have been taken apart indeed, as I'm working on the UI themer and it helps me to keep stuff tidy :)

fravaccaro's picture

To prevent conflicts Tablet UI patches don't install if there's UI themer 0.2 installed.  Unluckily I don't have a working Jolla 1, but people who tried UI themer 0.4 reported no issue with the slider (and I've not done anything to it apart from splitting packages, indeed)

alina's picture

I couldn't find what blocks brightness/volume sliders from displaying in the sidebar. Seems it's hard coded. Do you know any way to have them in the sidebar?

alina's picture

Since the sidebar patch is due to be used on the phone, I have some suggestions to fit better on Jolla phone:

/usr/share/lipstick-jolla-home-qt5/eventsview/EventsViewSidebar.qml

line 62: leftMargin: Theme.paddingSmall
line 64: rightMargin: Theme.paddingMedium
line 71: height: item.height + Theme.paddingLarge

The margin changes will not affect large screens since the icons are center-aligned.

With two-column layout it will be better on JP1: FavoriteSettingsLoader.qml line 19:
property int columns: isLandscape ? 3 : 2

From left to right: (1) original design, (2) reduced margins, (3) suggested two columns in portrait

Comparing original sidebar margins with suggested changes

fravaccaro's picture

Looks neat, thanks :)

On the brightness slider: even the tablet has this feature missing, so I guess it was not coded at all for the sidebar. Digging a bit in the 'regular' quick panel may reveal the right piece of code to use.

alina's picture

Oh, so I consider this as a bug, since you choose them in settings shortcuts and they're displayed nowhere.

Edit: Albeit this seems logical, because the Silica slider has the left and right margins of Math.round(Screen.width/8).

alina's picture

Ha ha ha! I love Jolla! There's a variable to enable the sliders in quick settings. Just adding "showListFavorites: true" in favoriteSettingsLoader block, i.e. in line 73, will feature the sliders. See the screenshot – I have reduced the slider margins just for testing.

Edit: Ok, this is the workaround: After adding "showListFavorites: true" in "/usr/share/lipstick-jolla-home-qt5/eventsview/EventsViewSidebar.qml", line 73, you should replace Slider margins in "/usr/lib/qt5/qml/Sailfish/Silica/Slider.qml", lines 52, 53, with "Math.round(parent.width/8)"
This will reduce slider margins in sidebar while keeping them the same in other places.

fravaccaro's picture

Great! Thank you (again :D ) As a side note, it works even on the Jolla Tablet and it shows the volume slider, too.

Once I end the rest of the UI (I'm working on integrating the theme pack support), I'll release the sources :)

DameCENO's picture

Very useful patch as always, thanks @fravaccaro

kuba77's picture

On Nexus 4 with SFOS 2.0.5.6 I get dependency error when installing:

nothing provides sailfish-content-graphics-jolla-z1.0

fravaccaro's picture

Thanks for the feedback. May you try out the new release?

kuba77's picture

New release works great :-) Thanks

malibu's picture

Excellent ! Thanks a lot for that !

Is there a way to remove the settings shortcut in eventsview now ?

fravaccaro's picture

I'm pretty sure there is one, just I don't know how :) Ancelad, as he already coded the Events view control, may know the answer, tho.

Ancelad's picture

You can use my code for free :)

fravaccaro's picture

Well, thanks, but I'm not that sure I know where to look at :D There's a reference for the settings icon in the sidebar qml, but hiding it makes the whole sidebar disappear.