Replies: 3 comments 5 replies
-
I do not have experience with starting normal user processes with systemd.
Maybe I could change |
Beta Was this translation helpful? Give feedback.
-
Edit: I wrote most of this before @houmain posted the comment above and noticed it right after submitting. Reply to #247 (comment)
@Jai-JAP, with this approach Keymapper would have to be started w/o the tray icon. This also starts There's also a slightly different systemd unit file described here #241 which makes [Unit]
Description=Keymapper client
Requires=graphical-session.target
After=graphical-session.target
[Service]
Type=simple
Restart=on-failure
RestartSec=3
ExecStart=/usr/bin/keymapper --update --no-notify
[Install]
WantedBy=default.target This didn't work as expected either. |
Beta Was this translation helpful? Give feedback.
-
I am unable to get it started at all. It fails with the error
Running Gnome on Wayland so it shouldn't go the Xorg path |
Beta Was this translation helpful? Give feedback.
-
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