Reply
Thread Tools
Posts: 144 | Thanked: 242 times | Joined on Nov 2007 @ Finland
#11
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
__________________
Copy offers 20 GB free cloud storage
Register via this link -> confirm your email address -> install Copy client (Linux, OS X, Windows, iOS or Android) and you'll get 20 GB storage space in cloud.
 
flotron's Avatar
Posts: 418 | Thanked: 506 times | Joined on Jan 2012 @ Argentina
#12
how to apply ambience in terminal?

for ex: apply /usr/share/ambience/storm
 
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#13
Originally Posted by flotron View Post
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'
 

The Following User Says Thank You to Schturman For This Useful Post:
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#14
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....
 
Reply


 
Forum Jump


All times are GMT. The time now is 03:36.