MaartenBaert / ssr

SimpleScreenRecorder, a screen recorder for Linux
http://www.maartenbaert.be/simplescreenrecorder/
GNU General Public License v3.0
2.54k stars 288 forks source link

Feature Request: Arbitrary recording hotkey #81

Open RankoKohime opened 10 years ago

RankoKohime commented 10 years ago

I would prefer to use a single hotkey as opposed to a combination, something unused like Break or SysReq.

If this cannot currently be done in configuration (I didn't see any documentation regarding config files) then I am requesting it's addition as a feature. :)

MaartenBaert commented 10 years ago

I will give it a try. The annoying part is that Qt and X11 use different codes for keys, so I can't easily make a 'press the hotkey you want' button. I have to make a list manually. On top of that I am not allowed to use all keys (for example F1-F12 are off limits apparently), and there doesn't seem to be a way to tell whether a key will work or not (that's an X11 quirk, it is asynchronous and you don't know whether something succeeded or not). So if I just added every possible key, it would be very confusing for users since some of them won't work and SSR will give no indication about this.