Auroura应用无法授予访问权限问题求助
Hey there, let's troubleshoot why clicking "Grant Access" in the Auroura app (for managing your Ubuntu 22.04 keyboard backlight) isn't doing anything! Here are some practical steps you can try:
Locate the app's executable and run it directly in terminal
First, find where Auroura is installed by running this command in terminal:find / -name "Auroura" 2>/dev/null
Once you get the path (like/opt/Auroura/Auroura), run it directly:/path/to/Auroura
Check the terminal output for any error messages—this will often tell you exactly what permission is missing or what's going wrong.Launch the app with elevated privileges
Sometimes the permission prompt fails to pop up properly. Try running Auroura with admin rights usingpkexec:pkexec /path/to/Auroura
This should force a system-level permission request, which might work better than the app's built-in button.Restart the polkit service
Polkit handles permission requests on Ubuntu, and a glitch here could be blocking the prompt. Restart it with:sudo systemctl restart polkit
After restarting, open Auroura again and try clicking "Grant Access" once more.Manually add a udev rule for keyboard backlight access
If the issue is specifically about keyboard backlight permissions, you can create a udev rule to grant universal access to the relevant device:- Open a terminal and run
ls /sys/class/leds/to find your keyboard backlight entry (it might look likeasus::kbd_backlightor similar). - Create a new udev rule file:
sudo nano /etc/udev/rules.d/99-keyboard-backlight.rules - Paste this line into the file (replace
*::kbd_backlightwith your actual entry if needed):SUBSYSTEM=="leds", KERNEL=="*::kbd_backlight", MODE="0666" - Save the file (Ctrl+O, then Enter) and exit nano (Ctrl+X).
- Reload udev rules and trigger them:
sudo udevadm control --reload-rules && sudo udevadm trigger - Restart Auroura and check if it works now.
- Open a terminal and run
If none of these steps fix the issue, share the error output you get when running Auroura directly in terminal—that will help narrow down the exact problem!
备注:内容来源于stack exchange,提问作者MR_

