User Tools

Site Tools


function_keys

If you want to send us your comments, please do so. Thanks
More on comments


Special keys

Turn caps lock off

Aka, put Caps lock on Scroll lock Add to ~/.Xmodmap

remove Lock = Caps_Lock
keysym Caps_Lock = Control_L    (did not work for us)
keysym Scroll_Lock = Caps_Lock  (works for us)

and run

xmodmap ~/.Xmodmap

In general

Generate the keyboard mapping file:
Warning: Overwrites an existing file!

xmodmap -pke > ~/.Xmodmap

Edit the keyboard mapping file:
Now you have a full list of the keyboard mapping which you can edit
Example: If you have a Logitech K120 US keyboard with next to the left Shift key a \| key you can change this key to also being Left Shift key. Change the value of keycode 94 in ~/.Xmodmap to

keycode  94 = Shift_L NoSymbol Shift_L

and run

xmodmap -pke > ~/.Xmodmap

Now you will not mistype the Left Shift key anymore :-)

Useful programs

CommandRemark
loadkeysload keyboard translation tables
xmodmap
xmodmap -pkShow all the keycodes
setledsControl the keyboardleds. From console only. Does not function in X windows

F10 off in xfce terminal

Debian 7 Wheezy

Howto turn off the F10 function key which opens the File menu item in the xfce terminal?
Do

vi /home/user/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml

and remove F10 from

<property name="MenuBarAccel" type="string" value="F10"/>

so you get

<property name="MenuBarAccel" type="string" value=""/>

Save the file.
You have to logout and login again to make it work

When it does not work

Some times the line is back in the file after logging off and on.
How this can be solved has to be investigated

Debian 8 Jessie

Open a terminal and do

Edit | Preferences | Tab Advanced

Turn on

Disable menu shortcut keys (F10 by default)

Devuan Jessie

Remove F10 from

<property name="MenuBarAccel" type="string" value="F10"/>  

in

/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml-xfce4
/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml-devuan-purpy

Main subjects on this wiki: Linux, Debian, HTML, Microcontrollers, Privacy

RSS
Disclaimer
Privacy statement
Bugs statement
Cookies
Copyright © : 2014 - 2024 Webevaluation.nl and the authors
Changes reserved.

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
function_keys.txt · Last modified: 07-08-2020 14:44 by wim