Answer by V10lator for autostart bash script as root
Another way could be to use sudo. 1. Install sudo (as root): `pkcon install sudo` 2. Install some editor (as root), for example: `pkcon install nano` 3. Open visudo with your editor (as root):...
View ArticleAnswer by alex for autostart bash script as root
I wrote a simple service with a small explanation for another answer to another question in this forum. See here: https://together.jolla.com/question/1171/reduce-display-brightness/#post-id-30517 You...
View ArticleComment by strnous
Did you consider creating a systemd service which would run your script?
View ArticleComment by strnous
@jayki It is not just placing your script in /lib/systemd which needs to be done. Please, see i.e. [here](http://0pointer.de/blog/projects/systemd-for-admins-3.html) and/or...
View Articleautostart bash script as root
Hey ;) Does somebody know how to autostart a bash script as root? If i put a .desktop in /etc/xdg/autostart which runs the script it only works as nemo user.. I search for a way to start my script as...
View Article