How to run pystromo-mon or pystromo-remap as a service/daemon?

Asked by Byron Gibson

Hi Raum, I've got both monitor and remap working from the command line:

kurtosis@kurtosis-desktop:/opt/pystromo$ ./ -a -c config/monitor.conf
kurtosis@kurtosis-desktop:/opt/pystromo$ ./ -m

I don't need to change mappings for every application, and have configured monitor.conf to always use the same /opt/pystromo/ mapping.

Is it possible to run either of those commands as a linux daemon that automatically starts when the computer does and applies the remapping to all users?

Question information

English Edit question
Pystromo Edit question
No assignee Edit question
Solved by:
Last query:
Last reply:
Revision history for this message
Best Raumkraut (raumkraut) said :

I personally used a bash script (containing only the pystromo-mon execution line) in the KDE autostart-on-login directory. Back when I used KDE (and Pystromo didn't need to be root).

But to have it running globally, for any system user (should there be more than one!), the easiest way is probably to add the desired pystromo command line to the /etc/rc.local shell script.

Or if you're feeling frisky, and want to go a more thorough and complex route, then you could look into writing an init script to do stop/start/restart of Pystromo. is a quick guide on the subject for Debian (and hence Ubuntu, etc.). Many of the comments on that page are quite informative, as well.

Revision history for this message
Byron Gibson (byrongibson) said :

Thanks Raumkraut, that solved my question.