Keyboard shortcuts

More
9 years 4 months ago #94757 by andypugh
Replied by andypugh on 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.

Please Log in to join the conversation.

More
9 years 4 months ago #94758 by massimodamassa
Replied by massimodamassa on topic Keyboard shortcuts
Many thanks, I try and keep you up to date.

Please Log in to join the conversation.

More
9 years 4 months ago #94767 by jtc
Replied by jtc on 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
Code:
xev
utility on command line.


João

Please Log in to join the conversation.

More
9 years 4 months ago #94769 by massimodamassa
Replied by massimodamassa on 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 ;-)

Please Log in to join the conversation.

More
9 years 3 months ago #95854 by massimodamassa
Replied by massimodamassa on topic Keyboard shortcuts
Solved

Please Log in to join the conversation.

Time to create page: 0.039 seconds
Powered by Kunena Forum