You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For context, I want to restart conky when connecting monitors, and my conky config calls dhall-to-yaml as part of the startup process. Conky doesn't actually start because dhall-to-yaml throws an error (as explained below).
When disconnecting a monitor manually (and thus invoking the udev rule which in turn triggers autorandr to run in --batch mode), this is the output:
This permission error doesn't happen when invoking autorandr manually from a shell.
If this is an autorandr bug, it might have something to do with the user environment not being copied correctly when running --batch mode. For whatever reason this only seems to apply to haskell libraries (eg it fails for the haskell program but not the C program).
Other context:
OS = arch linux
autorandr version = 1.13.3
dhall-to-yaml is installed as an Arch package (which uses dynamic linking)
I'm not running SELinux/apparmor (the only other things I could find that lead to this 'operation not permitted' behavior)
The text was updated successfully, but these errors were encountered:
This may or may not be a bug in autorandr.
Minimal example, I have a postswtich script that looks like this:
For context, I want to restart
conky
when connecting monitors, and my conky config callsdhall-to-yaml
as part of the startup process. Conky doesn't actually start becausedhall-to-yaml
throws an error (as explained below).When disconnecting a monitor manually (and thus invoking the udev rule which in turn triggers autorandr to run in --batch mode), this is the output:
This permission error doesn't happen when invoking autorandr manually from a shell.
If this is an autorandr bug, it might have something to do with the user environment not being copied correctly when running --batch mode. For whatever reason this only seems to apply to haskell libraries (eg it fails for the haskell program but not the C program).
Other context:
dhall-to-yaml
is installed as an Arch package (which uses dynamic linking)The text was updated successfully, but these errors were encountered: