I use Garuda Linux (an arch based distro), and i login with sddm.
There is actually another problem. If i set a display number manually to :0 it still won't work. The error returned is Invalid MIT-MAGIC-COOKIE-1 key. But i have found i need to enable the cups group to interact with my X session. *I have read that this is not secure but the command to add is xhost +local:cups and xhost -local:cups to revoke.
Maybe there is an option for the printing script to automatically toggle that?
I have made a fork and I have tried to make it happen but with no success, like I sad I am not a very experienced in shell scripting
There is actually another problem. If i set a display number manually to :0 it still won't work. The error returned is Invalid MIT-MAGIC-COOKIE-1 key. But i have found i need to enable the cups group to interact with my X session. *I have read that this is not secure but the command to add is
xhost +local:cups
andxhost -local:cups
to revoke.Maybe there is an option for the printing script to automatically toggle that?
I have made a fork and I have tried to make it happen but with no success, like I sad I am not a very experienced in shell scripting
_Originally posted by @tomasz-brak in https://github.com/dentys03/manual_duplex_linux/issues/1#issuecomment-1732106871_