pastillilabs / packages

4 stars 1 forks source link

Jolla: can't choose ambiences #2

Open CvWild opened 2 years ago

CvWild commented 2 years ago

hey @hhaveri , i'm on Sailfish OS and i can't choose any ambiences to trigger

hhaveri commented 2 years ago

Hey,

Currently the app is broken in many places due to the sandboxing updates in Sailfish OS. Unfortunately it is not an easy or small fix to make the app work correctly again, so it will take a lot of time.

Br, Heikki

CvWild commented 2 years ago

Hey, Does it help if i disable the sailjail in the .desktop file like for the filebrowser?

Regards Constantin

Am Freitag, 3. Juni 2022 schrieb Heikki Haveri:

Hey,

Currently the app is broken in many places due to the sandboxing updates in Sailfish OS. Unfortunately it is not an easy or small fix to make the app work correctly again, so it will take a lot of time.

Br, Heikki

-- Reply to this email directly or view it on GitHub: https://github.com/pastillilabs/packages/issues/2#issuecomment-1145438331 You are receiving this because you authored the thread.

Message ID: @.***

hhaveri commented 2 years ago

Very much possible but I haven't tested myself.

Br, Heikki

CvWild commented 2 years ago

Ok, i'll try testing it myself then. I will report back to you about my results :)

CvWilds

Am Freitag, 3. Juni 2022 schrieb Heikki Haveri:

Very much possible but I haven't tested myself.

Br, Heikki

-- Reply to this email directly or view it on GitHub: https://github.com/pastillilabs/packages/issues/2#issuecomment-1145680828 You are receiving this because you authored the thread.

Message ID: @.***

CvWild commented 2 years ago

Hi, I got situations itself working, just by either executing it in terminal and/or modifying its .desktop file with: [X-Sailjail] Sandboxing=Disabled

Sonar doesn't quite want to work though... It prompts me to install it and everything works as it should, but it won't connect with the situations2application.

If i try to run it in a terminal, it tells me this: @. ~]$ situations-sonar [C] unknown:0 - Unable to open server socket, error: "QLocalServer: :listen: Unknown error 1" @. ~]$

Does sonar also have something like a desktop file, where you could disable the sailjail?

Or is it a systemd service?

Bye Constantin

hhaveri commented 2 years ago

Hi,

Thanks, good to know!

Sonar is supposed to run as a systemd service (service file is available here: https://github.com/pastillilabs/sonar/blob/master/service/situations-sonar.service). And Situations app is supposed to connect to it.

Hard to say what's going on there, but perhaps trying the usual reboot might help. Sonar installs also a service file to launch Situations background process as a systemd service - which, I suppose, should bypass the sandbox for it (but of course not for the UI process).

Br, Heikki

CvWild commented 1 year ago

Hey Heikki, I looked into it a bit now and the daemon seems like it doesnt want to connect to the app. I attached a screenshot of the log.

Also situations app wants me to install the rpm all the time as if i wouldnt have it installed

hhaveri commented 1 year ago

Hi,

Situations wants to install Sonar if it cannot connect to it. So either Sonar is not running at that point or something prevents Situations from connecting to it. Unfortunately my capacity to investigate this is currently very limited. Will hopefully have more time to look at it later.

Br, Heikki