ryukamish / dot

My personal configs that are modular and easy to setup.
0 stars 0 forks source link

SXHKD powermenu script asking root permission from a normal user. #1

Closed ryukamish closed 1 year ago

ryukamish commented 1 year ago

Description

The problem here is that the script was working fine a few days ago, but then it got out of hand when it gave errors. The script is supposed to work without the root privileges but is not working. The system is running a Linux OS more specifically Arch Linux. The program sxhkd is a simple program that runs in the background which listens to keystrokes from the user. The program can be found here.

To reproduce

To get this error nothing specifically is done. Just sxhkd should be running in the background and entering the keystroke to invoke the program. This should give you the error.

System

The system is running DWM as the window manager.

ryukamish commented 1 year ago

The problem was occurring because of privileges issues. I was not giving enough privileges to it. The script was not getting executed as root and that was the reason why it was not working and was giving the error of not doing anything with it.

What to keep in mind?