bilelmoussaoui / bilelmoussaoui/Hardcode-Tray
Ask for root privileges only when needed.
Open
enhancement
- Dominant language
- Python
- Stars
- 890
- Forks
- 59
- PR merge metrics
- No merged PRs in 30d
Description
For now, we do ask for root privileges even when it's not needed (cleaning the cache? installing only apps that store their icon on the home folder like Telegram, Hexchat, or Qt apps).
The best way to handle this is to run the script as a normal user and use pkexec(PolicyKit) to do the root stuff for us.
PolicyKit is created by FreeDesktop. So it should be supported on all the Linux distro out there https://www.freedesktop.org/software/polkit/docs/latest/
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.