TheAlexDev23 / power-options

Linux GUI application for blazingly fast and simple power-management.
MIT License
243 stars 1 forks source link

Program does not open as it should #32

Open simplemachine-zz opened 1 week ago

simplemachine-zz commented 1 week ago

I recently switched back to Linux and when I installed this program I can't open it normally like before (only through the terminal with sudo -EH command)

I'm on arch linux hyprland

I have polkit-gnome installed and configured correctly but this program does not open the password window to use the program like others that give the same error. how to proceed? Previously, we didn't need permission for the program to work, now we do, but it's not working correctly.

error message: Aborted (core image recorded)

TheAlexDev23 commented 1 week ago

Most commands for the CLI tool and the frontends do not require root, so it shouldn’t be failing.

The daemon itself (running power-daemon-mgr daemon), had always required root privileges to run because it interacts with the kernel. But it’s advised against running it manually as it’s usually done through systemd services, unless you are debugging it. I did not add a polkit integration mainly for that reason, I assumed that it would’ve been ran from systemd anyways.

May I ask what exactly are you attempting to run when it fails?

simplemachine-zz commented 1 week ago

When I open power-options-gtk it refuses to open, except through the terminal with sudo -EH.

TheAlexDev23 commented 6 days ago

I could not manage to replicate this myself. Judging by the error that you showed it looks like a segmentation fault or a memory access issue of some sort. power-options is written in rust so that shouldn’t happen naturally, are you sure there are no other messages when you run power-options-gtk from the terminal?

simplemachine-zz commented 6 days ago

Unfortunately not