Bug 361853 - rsibreak does not start automatically after install
Summary: rsibreak does not start automatically after install
Status: RESOLVED NOT A BUG
Alias: None
Product: rsibreak
Classification: Applications
Component: general (show other bugs)
Version: 0.12.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Albert Astals Cid
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-16 13:37 UTC by Florian Jacob
Modified: 2016-04-20 06:43 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Jacob 2016-04-16 13:37:55 UTC
Despite the „start rsibreak automatically on login“ option being enabled by default, rsibreak does not start after login.

Reproducible: Always

Steps to Reproduce:
1. install rsibreak
2. reboot


Actual Results:  
rsibreak did not start.

Expected Results:  
rsibreak started and the applet is visible in the system tray.

I found the line
```
X-KDE-autostart-condition=rsibreakrc:General:AutoStart:false
```
in `/etc/xdg/autostart/rsibreak_autostart.desktop`. If I understand X-KDE-autostart-condition right, this should actually be
```
X-KDE-autostart-condition=rsibreakrc:General:AutoStart:true
```
to use the config option right.
Comment 1 Albert Astals Cid 2016-04-18 22:03:51 UTC
what is the value of AutoStart in your
.config/rsibreakrc
file?
Comment 2 Florian Jacob 2016-04-19 19:54:57 UTC
It was directly after installation, so the config file didn't exist at all.

I did some testing and was very irritated by the behaviour, I thought the results might be wrong due to automatic session restore.

I now found http://l10n.kde.org/docs/admin/autostart-and-runonce.html and that I made a wrong assumption, I thought the false in /etc/xdg meant the needed value of the setting to autostart is false, which turned out to be wrong: “The value true at the end of the line is used as default value if the key or config file is not present.”

In case it's intentional to start rsibreak automatically on login but requiring that it was started manually once, everything is fine. ;) Sorry for the noise!
Comment 3 Albert Astals Cid 2016-04-19 21:02:29 UTC
Yes, we want the user to start it at least once, it's the least intrusive thing to do.
Comment 4 Florian Jacob 2016-04-20 06:43:40 UTC
Thanks alot for maintaining rsibreak then, it's a really useful tool to me. :)