This app for auto start Situations app (from jolla store) in background after reboot or lipstick restart.
Requires:
harbour-situations2application - should be installed.
python, dbus-python - to see notifications on the event screen.
lipstick-qt5-tools - to overwrite existing notification instead to collect them in the thread
Just activate developer mode before installation and dependencies packages should be installed automatically.
v0.1-17
- Small changes in the script.
- Compatible with v2.1.1.12.
v0.1-15
* Fix for ownership of some files. Now should work for all users. Added Tablet version.
v0.1-14
* Small changes in .spec file, changes for permission.
v0.1-13
* Small changes in .spec file
v0.1-12
* Small changes in .spec file
v0.1-11
* Added checking command if folder "user-session.target.wants" is existing. Now should work for all users.
v0.1-10
* Fixed small mistake in .spec file
v0.1-9
* App completely changed.
* Notification text changed a little bit.
* Will start service file after installation.
* Press on icon for stop/start service. If you will stop service, it will stop Situations app. Just reopen Situations app.
* Work also after reboot and lipstick restart
* Adaptation for 2.0.0.10.
v0.1-7
* Fix of notification icon. Adaptation for 1.1.9.28.
v0.1-6
* Fix of notification icon. Adaptation for 1.1.6.27.
v0.1-5
* Fix of small bug
* Added creating log file when Situation stuck over 90%, you will find it in /home/nemo/situationreboot.log.
v0.1-4
* Added auto-kill and restart of server if it stuck on over 90%, you will get notification about this. Thanks to Moth for Icons. .
v0.1-3
* Icon change to cool one, thanks to Moth.
v0.1-2
* Automatically enabled after installation.
Donation are welcome :)
Attachment | Size | Date |
---|---|---|
situationreboot-0.1-15.armv7hl.rpm | 39.5 KB | 27/10/2015 - 21:40 |
situationreboot-0.1-15.i486.rpm | 39.7 KB | 21/03/2016 - 05:34 |
situationreboot-0.1-17.i486.rpm | 39.54 KB | 02/06/2017 - 18:38 |
situationreboot-0.1-17.armv7hl.rpm | 40.44 KB | 02/06/2017 - 18:38 |
- Small changes in the script.
- Compatible with v2.1.1.12
Comments
Schturman
Fri, 2015/10/23 - 20:46
Permalink
Please try new version and report here or on tmo...
Thanks.
Moth
Sat, 2015/10/24 - 09:58
Permalink
Situations app doesn't start on boot.
Can't switch between Active / Inactive (always Active)
How can I help? (1.1.9.28)
Schturman
Sat, 2015/10/24 - 13:14
Permalink
dev mode active ?
Moth
Sat, 2015/10/24 - 13:52
Permalink
Yes, sure. :-)
Schturman
Sat, 2015/10/24 - 14:29
Permalink
can you show me output of this command:
systemctl-user status situationreboot
and this:
pgrep -f situations2application
Because for me all working perfectly...
Moth
Sat, 2015/10/24 - 17:30
Permalink
That's the result after a manual start this morning:
and after next reboot:
Schturman
Sat, 2015/10/24 - 17:47
Permalink
I see the service dosabled, this is a reason that it not work after reboot or after lipstick restart.
Activate it manually as root:
systemctl-user enable situationreboot.service
or as User:
systemctl --user enable situationreboot.service
and try again reboot or lipstick restart, after this check the two previous commands.
Or just press on the icon, the icon used for enable/star and disable/stop this service.
Moth
Sat, 2015/10/24 - 19:06
Permalink
These commands result in:
Schturman
Sat, 2015/10/24 - 19:33
Permalink
Don't understand what the problem...
Please, try to uninstall and install again. I reuploaded package...
Install when dev mode activated.
Moth
Sun, 2015/10/25 - 09:18
Permalink
Reinstall doesn't help. If you make v1.7 accessible again, I could do a crosscheck whether the issue is version dependent (1.1.9.28 / 2.0.0.10) or not.
Schturman
Sun, 2015/10/25 - 09:29
Permalink
No version depend. Really don't understand what's happens on your device... On my device it working perfectly, tested a few times before releasing.
The old version is not so good and service file changed, also place from root to user and scripts deleted/changed too.
Moth
Sun, 2015/10/25 - 10:03
Permalink
I'll check again, when 2.0.x is official.
Thanks for your help!
Schturman
Sun, 2015/10/25 - 18:10
Permalink
I found and fixed a small mistake in the .spec file. Please, try to install a new version.
Moth
Mon, 2015/10/26 - 01:58
Permalink
No success with 1.1.9.28.
Never mind, I can wait patiently... ;-)
Schturman
Mon, 2015/10/26 - 03:14
Permalink
Rrrr... did you installed all needed packages ?
Moth
Mon, 2015/10/26 - 09:41
Permalink
They were installed automatically by the warehouse app without errors. What are the required commands to check manually?
Schturman
Mon, 2015/10/26 - 10:29
Permalink
can you show me output of this command as root:
systemctl-user status situationreboot.service
and this:
pgrep -f situations2application
And if service disabled, run this:
systemctl-user enable situationreboot.service
Moth
Mon, 2015/10/26 - 13:12
Permalink
Looks always like this right after boot. SFOS 1.1.9.28
Schturman
Mon, 2015/10/26 - 14:00
Permalink
Don't understand why it show missing file...maybe not installed correctly.
Show.me:
rpm -qa situationreboot
rpm -qa python
rpm -qa dbus-python
rpm -qa lipstick-qt5-tools
Also, do you have any profiles in Situations app?
Moth
Mon, 2015/10/26 - 15:31
Permalink
Here we go:
3 profiles, all time-triggered only.
Schturman
Mon, 2015/10/26 - 16:37
Permalink
Also you can try to do what @PawelSpoon did. Uninstall my app, Deactivate dev mode, after a few seconds activate it again and try to install from Openrepos app. He said it help him and all installed and work.
Schturman
Mon, 2015/10/26 - 16:00
Permalink
All looks ok here...
Ok try to remove my app as root:
pkcon remove situationreboot
and:
1. Open and close Situations app
2. Download my app to your phone.
3. Try to install manually as root:
pkcon install-local -y /home/nemo/Downloads/situationreboot-0.1-10.armv7hl.rpm
4. Show me both outputs from uninstall and install.
Moth
Mon, 2015/10/26 - 17:35
Permalink
Uninstall:
Install:
Installation ok, but still no auto-start at all...
Schturman
Mon, 2015/10/26 - 17:49
Permalink
Ohh... I'm really don't understand why it not work for you... :(
Like the last chance, try this:
Also you can try to do what @PawelSpoon did. Uninstall my app, Deactivate dev mode, after a few seconds activate it again and try to install from Openrepos app. He said it helped him and all installed and work.
Moth
Mon, 2015/10/26 - 21:15
Permalink
Nice idea but unfortunately without success...
Schturman
Mon, 2015/10/26 - 23:04
Permalink
I thinking about something and I hope it will fix your problem. Please try new version v0.1-11.
And tell me if now work for you. First check if it work or not after installation:
systemctl-user status situationreboot.service
pgrep -f situations2application
Try also after reboot or after lipstick restart.
Please install version v0.1-12
Moth
Tue, 2015/10/27 - 00:16
Permalink
Installation process not successful. It ends with 'Installation aborted by user' for V0.1-11 and V0.1-12.
Schturman
Tue, 2015/10/27 - 03:17
Permalink
Ohh.... Did you tried to remove my app first ? And install it like new one ? Also the new version available v0.1-13
Moth
Tue, 2015/10/27 - 11:15
Permalink
While single install fails with 'Installation aborted by user', it's possible to update from v0.1-10 to v0.1-13, but nevertheless the service stays disabled... :-(
Schturman
Tue, 2015/10/27 - 15:35
Permalink
I changed permission for specific folder, please try again the new version v0.1-14 and report.
Pages