-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On Sun, Sep 25, 2016 at 05:05:36PM +0300, Eva Star wrote: > On 09/25/2016 01:36 PM, Andrew David Wong wrote: > > > Sure, that could make sense. Some desktop environments already support > > something similar. For example, in KDE you can assign different power > > settings (including timeouts) to different "activities," then assign > > hotkeys (or use a GUI widget) to switch between "activities." > > > > i explore the problem. is is not so hard to do (send new settings to > xscreensaver at dom0): > > 1. when key combination pressed: change .xscreensaver file at user home and > notify xscreensaver daemon about that. > 2. then wait 130 mins and change them to the defaults. > > The only one problem is unexpected system reboot, when temporary settings > will be stored as defaults. It's bad. > > Maybe the scheme: > 1. when key combination pressed: change .xscreensaver file at user home and > notify xscreensaver daemon about that. > 2. then IMMEDIATELY change .xscreensaver file to defaults WITHOUT daemon > notifications will work. I think, that daemon will read new configuration > from .xscreensaver file automatically after 130 mins, but I'm not sure that > it will not read it before... Need some testing...
What about disabling xscreensaver completely for 120 mins? Something like: xscreensaver-command -exit sleep 7200 xscreensaver & No settings are changed, so unexpected system reboot isn't a problem. - -- Best Regards, Marek Marczykowski-Górecki Invisible Things Lab A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJX5+DiAAoJENuP0xzK19csUE4IAJqOXctIjWD41JhauRy6PyH1 56vpsjIbduQIhjeS1JpXD4Tn7Cu4vVN+t6CFTROD23yzvcCmbCHUvJN/PfqzUPKb hAkDS2ts0q5QErJ/z/Ys69pMxQiqDZiuP8UXY7xrLpq4N3UF/zfC1pXrapDokYnu b33dTlk54yFDTarrIa2DK89cFZt8hwLGwncZc/Hhjbh0omUHf/+7yRBo8CpoWHXu onRZuvYLn9fIkXHiOb65VLjuR94/KHJJTwmjGXfNvn6NNNC6rVECl+xc43SPKCbg tBu3OS6vcTtLgn+EcoT5ZgGful0e5kKQPVJ7eKI8KL2L/7Mpk4wwecFKZ+KyLO0= =Yp0t -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users+unsubscr...@googlegroups.com. To post to this group, send email to qubes-users@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/20160925143618.GN31510%40mail-itl. For more options, visit https://groups.google.com/d/optout.