maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   [WIP] Custom Ambience System (https://talk.maemo.org/showthread.php?t=92910)

Penguin 2014-03-26 16:53

Re: [WIP] Custom Ambience System
 
From QML code:

Code:

import org.nemomobile.configuration 1.0

...

ConfigurationValue {
        id: ambienceConfig
        key: "/desktop/meego/background/portrait/picture_filename"
}

And you can read / write ambience value
Code:

ambienceConfig.value
Same logic applies to other gconf configuration values

flotron 2014-04-03 15:43

Re: [WIP] Custom Ambience System
 
how to apply ambience in terminal?

for ex: apply /usr/share/ambience/storm

Schturman 2014-04-03 21:12

Re: [WIP] Custom Ambience System
 
Quote:

Originally Posted by flotron (Post 1419761)
how to apply ambience in terminal?

for ex: apply /usr/share/ambience/storm

Run as USER:
Code:

dbus-send --session --print-reply --dest=com.jolla.ambienced /com/jolla/ambienced com.jolla.ambienced.setAmbience string:'file:///usr/share/ambience/AMBIENCE_FOLDER_NAME/AMBIENCE_NAME.ambience'

Schturman 2014-04-04 20:21

Re: [WIP] Custom Ambience System
 
Guys, someone know where saved ambience that you applied from one of the pictures in gallery ?
The default and installed ambiences located here: /usr/share/ambience
but one that you applied from gallery is not here and I can't find it....


All times are GMT. The time now is 04:59.

vBulletin® Version 3.8.8