Related: I'd like to be able to lock my workstation when the workrave screen is up. I suggest adding a tab in the preferences with a table to fill in, with some good defaults:
| Name | Command | ------------------------------------------------ | Lock | gnome-screensaver-command --lock | | Mute | amixer sset Master toggle | | Suspend | echo -n mem > /sys/power/state | | Pause | audacious --pause |
And then we'd get those buttons on the take-a-break dialog. That's probably a lot easier than trying to filter keystrokes.
Related: I'd like to be able to lock my workstation when the workrave screen is up. I suggest adding a tab in the preferences with a table to fill in, with some good defaults:
| Name | Command | ------- ------- ------- ------- ------- ------ er-command --lock |
-------
| Lock | gnome-screensav
| Mute | amixer sset Master toggle |
| Suspend | echo -n mem > /sys/power/state |
| Pause | audacious --pause |
And then we'd get those buttons on the take-a-break dialog. That's probably a lot easier than trying to filter keystrokes.