I would like to know the active display and user logged in to a display for a script.
Knowing that in linux you can have multiple instances of X :0.0 :1.0 ... and that any user could be logged in I would like to write an acpi triggered script to change the display resolution using the active display's user and instance. I can't seem to find a file in /sys or /proc that mentions this info is there some way to get it?
Knowing that in linux you can have multiple instances of X :0.0 :1.0 ... and that any user could be logged in I would like to write an acpi triggered script to change the display resolution using the active display's user and instance. I can't seem to find a file in /sys or /proc that mentions this info is there some way to get it?
Comment