maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   Situations app - bugs, questions, answers, help etc.. (https://talk.maemo.org/showthread.php?t=94442)

zlatko 2015-10-27 06:08

Re: Situations app - bugs, questions, answers, help etc..
 
@hhaveri
Done - I have sent you the .ambience file and some screenshots. Let me know what additional info you might need to debug.
Checked the permissions - all files(stock and user) in /usr/share/ambience/ have the same permissions.
Thank you for your effort! :)

LVPVS 2015-10-27 07:25

Re: Situations app - bugs, questions, answers, help etc..
 
Hei,

This morning I also noticed some really nasty laggings on the UI of the phone. After a few seconds it passed and ever since my phone works fine.

Might be the new SFOS release, though... :)

LVPVS over.

zlatko 2015-10-27 08:24

Re: Situations app - bugs, questions, answers, help etc..
 
@hhaveri

Changed all permissions to 777 for the user created ambiences - still names not displayed. All files and folders in /usr/share/ambience/ are owned by root.

Schturman 2015-10-27 08:53

Re: Situations app - bugs, questions, answers, help etc..
 
Quote:

Originally Posted by zlatko (Post 1486891)
@hhaveri

Changed all permissions to 777 for the user created ambiences - still names not displayed. All files and folders in /usr/share/ambience/ are owned by root.

Can you show your ".ambience" file?

zlatko 2015-10-27 09:40

Re: Situations app - bugs, questions, answers, help etc..
 
@Schturman
Here you are:

Code:

{
    "translationCatalog"        : "ambience-hal9000",
    "displayName"              : "HAL9000",
    "wallpaper"                : "ambience-hal9000.png",
    "highlightColor"            : "#81e6ff",
    "secondaryHighlightColor"  : "#81e6ff99",
    "primaryColor"              : "#FFFFFFFF",
    "secondaryColor"            : "#FFFFFF99",
    "ringerVolume"              : 40,
    "favorite"                  : true
}


Schturman 2015-10-27 10:12

Re: Situations app - bugs, questions, answers, help etc..
 
Looks ok... And the folder with the same name "ambience-hal9000" ?

zlatko 2015-10-27 10:40

Re: Situations app - bugs, questions, answers, help etc..
 
@Schturman
No, the folder is named just "hal9000". But the system finds and uses the given ambience without any problems. The name is displayed just fine as well.
For the sake of exactness I changed "translationCatalog" to match the folder name - still name not displayed by Situations app, just an empty place holder line.

hhaveri 2015-10-27 10:56

Re: Situations app - bugs, questions, answers, help etc..
 
Quote:

Originally Posted by zlatko (Post 1486901)
@Schturman
No, the folder is named just "hal9000". But the system finds and uses the given ambience without any problems. The name is displayed just fine as well.
For the sake of exactness I changed "translationCatalog" to match the folder name - still name not displayed by Situations app, just an empty place holder line.

Situations is picky (perhaps too much) about the folder/file names. The folder and .ambience filename need to match currently (they match with all other ambiences I've seen so far). So for now you should either change "hal9000" folder to "hal_9000" - or the other way around.

Br,
Heikki

Schturman 2015-10-27 11:23

Re: Situations app - bugs, questions, answers, help etc..
 
Quote:

Originally Posted by zlatko (Post 1486901)
@Schturman
No, the folder is named just "hal9000". But the system finds and uses the given ambience without any problems. The name is displayed just fine as well.
For the sake of exactness I changed "translationCatalog" to match the folder name - still name not displayed by Situations app, just an empty place holder line.

After changing the name, try to kill Situations and reload it again.

LVPVS 2015-10-27 11:35

Re: Situations app - bugs, questions, answers, help etc..
 
Quote:

Originally Posted by hhaveri (Post 1486903)
Situations is picky (perhaps too much) about the folder/file names. The folder and .ambience filename need to match currently (they match with all other ambiences I've seen so far). So for now you should either change "hal9000" folder to "hal_9000" - or the other way around.

Br,
Heikki

Hei,

Does Situations App change the Ambiences via dbus calls?

Code:

dbus-send --session --type=method_call --print-reply --dest=com.jolla.ambienced /com/jolla/ambienced com.jolla.ambienced.setAmbience string: 'file:///usr/share/ambience/your_ambience/your_ambience.ambience'
LVPVS over.


All times are GMT. The time now is 16:10.

vBulletin® Version 3.8.8