On Fri, 19 Dec 2014 10:34:54 +1300 Rolf Turner <r.turner@xxxxxxxxxxxxxx> wrote: > On 19/12/14 08:27, jd1008 wrote: > > > > If you do not know the KeyCode, run the program: > > showkey > > > > and press the key in question > > and it's code will be displayed. > > You must wait 10 seconds of idle > > and showkey program will exit; > > then run the sudo script above. > > > > This looks very useful to me .... but as usual I fall at the first > hurdle. When I type showkey or "showkey -k" I get: > > > Couldn't get a file descriptor referring to the console > > And that's it. Anything I can do about this? (Please note: I am > running Fedora 17 --- yes, I know --- and using a Mate desktop; Mate > 1.6.1 .) You need to run showkey in a proper virtual terminal, aka ctrl-alt-f3 or such. It was not designed to work under X. HTH, :-) Marko -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org