Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Issue] Service not found on Fedora 39 #85

Open
joelorentz opened this issue Oct 25, 2023 · 2 comments
Open

[Issue] Service not found on Fedora 39 #85

joelorentz opened this issue Oct 25, 2023 · 2 comments

Comments

@joelorentz
Copy link

The installer runs without issue for me but when i try to start the service i get 馃憤
Failed to enable unit: Unit file g910-gkeys.service does not exist.

I am on Fedora 39, anyone has an idea?

@suabo
Copy link
Collaborator

suabo commented Dec 4, 2023

I learned that the paths where the unit files are stored differs between distros. The installer puts the file in "$HOME"/.config/systemd/user/g910-gkeys.service but on Fedora it needs to be in a different location. Unit files for user units are stored similarly in /etc/systemd/user, /run/systemd/user, and /usr/lib/systemd/user.

You need to copy the unit file to one of those locations and then enable and start the service:
systemctl --user enable --now g910-gkeys.service

suabo pushed a commit that referenced this issue Dec 5, 2023
- #85 install unit file to systemd user unit dir
- log output of installation to install.log
- renamed installer.sh to install and uninstall.sh to uninstall
- added installer for pre build package
@bschatz
Copy link

bschatz commented Dec 29, 2023

In the instal枚ler script the command

mkdir -p $HOME/.config/systemd/user/

is missing.

execute it manually or add it to the script and run the installer.sh again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants