Skip to content

Instantly share code, notes, and snippets.

@komamitsu
Created January 14, 2023 14:07
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save komamitsu/307669cfedb9d97cef45c86f357b9b5b to your computer and use it in GitHub Desktop.
Save komamitsu/307669cfedb9d97cef45c86f357b9b5b to your computer and use it in GitHub Desktop.
Execute xremap from systemd

Create /etc/systemd/system/xremap.service file

[Unit]
Description=xremap service
After=default.target

[Service]
ExecStart=/usr/bin/xremap /home/komamitsu/xremap.yml

[Install]
WantedBy=default.target

Register the service to systemd

$ sudo systemctl enable xremap.service

Restart the system to see if it works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment