Keyboard shortcuts

More
21 Jun 2017 09:20 #94757 by andypugh
andypugh replied the topic: Keyboard shortcuts
I know that this doesn't really address your concerns, but it might be easier to edit the keyboard map to disable the keys you do not want to use.

There are three promising leads on this page:
unix.stackexchange.com/questions/74151/f...-disable-prntscr-key

The relevant idea here is probably:

One way to do that is to comment it out in your X keycodes file (the one corresponding to your keyboard - linux uses /usr/share/X11/xkb/keycodes/evdev). Key code is <PRSC>, just comment it out (add // in front of it) e.g. replacing

<PRSC> = 107;
with

// <PRSC> = 107;
completely disables PrntScr.

The following user(s) said Thank You: massimodamassa
More
21 Jun 2017 09:45 #94758 by massimodamassa
massimodamassa replied the topic: Keyboard shortcuts
Many thanks, I try and keep you up to date.
More
21 Jun 2017 12:32 #94767 by jtc
jtc replied the topic: Keyboard shortcuts

massimodamassa wrote: Thanks for the suggestion, actually adding these lines root_window.unbind ("<F1>") and root_window.unbind ("<F2>")
In the .axisrc file I disable only the emergency and not the power, I would need to delete all the keyboard shortcuts, they are useless and dangerous.



root_window.tk.call("bind",".","<F1>","") don't work?


you can see the pressed keys by using
xev
utility on command line.


João
More
21 Jun 2017 13:00 #94769 by massimodamassa
massimodamassa replied the topic: Keyboard shortcuts
The code of F1 is 67, I managed to disable all the commands F except F1, but I think because I have the external power button, pressing F1 gives me power.
Maybe I physically eliminate this key ;-)
More
16 Jul 2017 18:50 #95854 by massimodamassa
massimodamassa replied the topic: Keyboard shortcuts
Solved
Attachments:
The following user(s) said Thank You: jtc
Time to create page: 0.123 seconds
Powered by Kunena Forum