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

A better ambience-from-photo setup

asked 2015-01-07 11:27:01 +0300

jolla_dive gravatar image

I discovered ambience, that are an originale idea: chose a photo, Sailfish use it as background and take a color in the midtones and use it as menù and light color. It's fine, but when I select the image and I convert in a 'ambience', I can't choose how to trim this photo, as example dragging the foto in a grid.

So the question is: is possible to complete and refine the creation of an ambience, and choose the main color in a RGB selector?

edit retag flag offensive close delete

Comments

1

There is a very limited way for editing a picture for ambience use. In Gallery choose a picture you want as ambience. From the pulley menu choose Edit, and then Crop. Tap on the crop area, and a menu should appear to choose the crop form from. There you can choose Ambience, and can choose from which end of the picture the ambience is formed. The whole process is really unintuitive and still doesn't give you any way for color choosing, but at least it's something :)

Kayakist ( 2015-01-07 13:17:42 +0300 )edit
2

Voted up!

Yes, an RGB Slider/selector for the 4 colour elements of the UI would be great!, although I quite like tinkering manually :)

Spam Hunter ( 2015-01-07 16:10:53 +0300 )edit

@kayaklist Ok thanks, the setup was under 'edit' location! Sorry, (I am an ex-iphone maniac that arrive in Jolla after an N9). But for a future upgrade, probably is better insert a 'trim' function also under the 'create ambience' menu.

@Markkyboy I agree, and thanks! An rgb selector photoshop style, and an hexacrom web field like #000000

jolla_dive ( 2015-01-07 18:42:55 +0300 )edit

1 Answer

Sort by » oldest newest most voted
5

answered 2015-01-07 13:27:45 +0300

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

updated 2015-01-08 11:34:20 +0300

Spam Hunter gravatar image

You can manually crop the image through Gallery -> Edit (from pulley) -> Crop -> set size to "Ambience" -> align the cropping to your taste and finally Accept.

However, I haven't found a way to manually select font and highlight color with the UI.

It used to be doable through the command line with gconftool, but apparently not anymore. Nowadays maybe with dconf? [Feel free to edit this wiki-answer if you know a way] - Here's a way!;

EDIT: I found an answer tucked inside this one from rainisto, (https://together.jolla.com/question/45733/gconfdconf-and-symlink-of-nemo-dir-to-android-dir/#45766)

Using gconf would have looked like this; (gconf has been replaced by dconf, see example below)

gconftool-2 -s /desktop/jolla/theme/color/highlight -t string '#ffffff'

gconftool-2 -s /desktop/jolla/theme/color/secondaryHighlight -t string '#aaaaaa'

With dconf would become:

# dconf write /desktop/jolla/theme/color/highlight "'#ffffff'"

# dconf write /desktop/jolla/theme/color/secondaryHighlight "'#aaaaaa'"

This does change colours of the currently used ambience, on the fly! ;) - NOTE*

  • the colour changes to the UI elements are not permanent, if you swap to another ambience, all your changes are gone, but at least this can be done to determine what colours you intend to use in Ambience creation. A different dconf command may make the changes stick.
edit flag offensive delete publish link more

Comments

1

@Okw - gconftool is no longer used. If you try your commands, you will see they don't work. I'm quite sure I read here on TJC that dconf has taken its place (don't quote me on that), but simply replacing gconftool with dconf doesn't work in command line either. I realise it's probably a different instruction.

I would like to know the solution myself, be good if someone knows how to do this but with new/different commands.

Regards,

Spam Hunter ( 2015-01-07 13:38:11 +0300 )edit

@Markkyboy, I see. It's a while since I last used it, but I'll make a note of it in my answer.

Okw ( 2015-01-07 13:40:57 +0300 )edit

In terminal the given dconf commands work fine in 1.1.1.27 and e.g. theme proprties can be changed on-the-fly. You might want to remove gconf-stuff from your answer cause gconftool does not exist anymore.

foss4ever ( 2015-01-07 17:12:36 +0300 )edit

Thanks. I am not a unix programmer, (only html+css3) but I was interested in theese 'custom' setup since my first iphone 2G jailbroken. Just a question about jollatogheter: the feedback that cames from community will arrive to the Sailfish programmer, or it's only a 'tolking about? Thx

jolla_dive ( 2015-01-07 18:31:47 +0300 )edit

@jjaone - as the subject is wiki, feel free to edit. I left the gconf examples (now edited to reflect your remarks) so others (non techies) can see/learn the differences between new and old. I'm no expert here, if you think that gconf commands should be removed, go ahead, I don't mind either way.

Regards,

Spam Hunter ( 2015-01-07 18:56:00 +0300 )edit
Login/Signup to Answer

Question tools

Follow
3 followers

Stats

Asked: 2015-01-07 11:27:01 +0300

Seen: 764 times

Last updated: Jan 08 '15