You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use a systemd service to launch the client on login instead of using the xdg-autostart .desktop file.
This will essentially serve the same purpose to autostart the client on user login but will have the systemd backend just as for keymapperd.
It allows us to properly control client's execution and triggering on a per user basis using systemctl instead of having to modify the .desktop and copying it to user's autostart directory.
This will have both the autostart tasks to only use systemd for handling, instead of them having different approaches.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Use a systemd service to launch the client on login instead of using the xdg-autostart .desktop file.
This will essentially serve the same purpose to autostart the client on user login but will have the systemd backend just as for
keymapperd
.It allows us to properly control client's execution and triggering on a per user basis using
systemctl
instead of having to modify the .desktop and copying it to user's autostart directory.This will have both the autostart tasks to only use systemd for handling, instead of them having different approaches.
The systemd service file for this would look like
Important to note that this unit file needs to be placed in
/lib/systemd/user/keymapper.service
in order to make it as a user unit.Beta Was this translation helpful? Give feedback.
All reactions