DBUS Command for Ambient Change [answered]
Is there any dbus command for changing the ambient?
I've searched at the web, but I couldn't find anything :(
We have moved to a new Sailfish OS Forum. Please start new discussions there.
Is there any dbus command for changing the ambient?
I've searched at the web, but I couldn't find anything :(
Hi.
I've been tinkering for a while and found out a command that works, though I don't know if it will fit your needs.
Here you have a pair of examples for two different ambiences:
[nemo@Sailfish ~]$ dbus-send --session --dest=com.jolla.ambienced --type=method_call /com/jolla/ambienced com.jolla.ambienced.setAmbience string:"file:///usr/share/ambience/salamander/salamander.ambience"
[nemo@Sailfish ~]$ dbus-send --session --dest=com.jolla.ambienced --type=method_call /com/jolla/ambienced com.jolla.ambienced.setAmbience string:"file:///usr/share/ambience/intense/images/ambience_intense.jpg"
Regards.
@Kromonos - your custom ambience are here; (devel-su required)
# /home/nemo/.local/share/system/privileged/Ambienced/ambienced.sqlite
@KromonosEDIT - I saved the ambienced.sqlite file to my PC and dropped it into Notepad, now it is in human readable form! :)
I have no idea how to interpret the sqlite file, sorry. I gave up and concentrated on /usr/share/ambience, as per a conversation here; https://together.jolla.com/question/36946/how-to-list-custom-ambiences/
Spam Hunter ( 2016-10-09 21:23:23 +0200 )editThis thread is public, all members of Together.Jolla.Com can read this page.
Asked: 2016-10-09 06:18:38 +0200
Seen: 504 times
Last updated: Oct 09 '16
User wants to see certain part of picture as a Lock Screen background [answered]
How to change Ambiences really fast [answered]
Add DBus interface to stock music player [released]
Allow for multiple notification destinations
Themes (not just ambiences) [answered]
Suggestion: Turn off ambience force [released]
image editing doesn't work with png [duplicate]
Suggestion: simplify photo menu