houmain / keymapper

A cross-platform context-aware key remapper.
GNU General Public License v3.0
257 stars 21 forks source link

How can I run keymapperd automatically when start ubuntu 24 os #142

Closed harrytran998 closed 1 month ago

harrytran998 commented 1 month ago

Thank for great product <3. When I read the docs -- sudo systemctl enable keymapperd Here is the only way to enable service, but when I ran this command, keymapperd not starting, only sudo systemctl start keymapperd \n keymapper worked.

Do anyone know I miss something? Thank you.

houmain commented 1 month ago

Hi, thanks! Did you add keymapper to the desktop environment's auto-started applications? Both keymapper and keymapperd need to run. I think I could also automatically create that when installing the package...

ristomatti commented 1 month ago

@houmain At least on my system, keymapper by default starts automatically based on the /etc/xdg/autostart/keymapper.desktop file. I am certain of this as I had to resort to Arch wiki to find out how to disable it without touching the file, so that it would not interfere with my systemd user script to start it . 🙂