Skip to content

cmd-button Help #800

Closed Answered by mdSlash
mdSlash asked this question in Q&A
Discussion options

You must be logged in to vote

There were two issues that I didn't realize initially:

  • The first one was that all commands running through KMonad were executed with sudo, so I found this solution useful by adding sudo -u <user-name> before the command.
  • The second issue was setting the X11 display for graphical applications, and I resolved it by adding DISPLAY=:0 before the command or Environment=DISPLAY=:0 to the kmonad.service file.

What I don't know is if the solution is considered good practice or not, but it works fine for me.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mdSlash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant