That is great. I might play with it myself. I'd like to add the extra options so that it doesn't reboot if I'm watching TV.
if /usr/X11R6/bin/xset -display :0 -q | grep -q "Monitor is On"
and for samba something involving:
net RAP session -I localhost
but I'll have to turn those into Python.
Without these checks I'm not sure I'd want to actually turn that on.
My other issue is that it isn't very discoverable. So thanks! I might also have a play myself.
That is great. I might play with it myself. I'd like to add the extra options so that it doesn't reboot if I'm watching TV.
if /usr/X11R6/bin/xset -display :0 -q | grep -q "Monitor is On"
and for samba something involving:
net RAP session -I localhost
but I'll have to turn those into Python.
Without these checks I'm not sure I'd want to actually turn that on.
My other issue is that it isn't very discoverable. So thanks! I might also have a play myself.