I’m working on modifying Auto Adwaita Colors extension to support Papirus Icon Theme. This is my PR. This is done using Papirus folders. I’ve successfully tested three scenarios: When Papirus icon theme is installed system-wide (/usr/share/icons), when it is installed locally ($HOME/.icons), and when Papirus-folders is installed system-wide (/usr/bin). The scenario which is failing is when Papirus-folders is installed locally ($HOME/.local/bin). The command I tried is GLib.spawn_command_line_async(GLib.get_home_dir() + '/.local/bin/papirus-folders -C ' + color + ' -t ' + theme);
. I’m able to run /.local/bin/papirus-folders from the terminal for local and system-wide installations of Papirus theme without using system password. I also tried giving root user access using setfacl -m u:root:rx $HOME/.local/bin/papirus-folders
, but it didn’t work. I want to make this work as I want to remove the password requirement for users I mentioned in the readme. Currently, for no password requirement, users will have to install the Papirus icon theme locally which is not the recommended way as per their readme.
Running ~/.local/bin/papirus-folders
from terminal works without password, but when run using GLib.spawn_command_line_async
, it asks for password.
Is that the issue?