You are here

Linux Noob Reference

Linux commands reference

Tilde fix Debian Jessie xfce xsession

Submitted by egbert on Wed, 15/11/2017 - 06:28

# find out what key code is mapping to the "less" and "greater" signs
$ xmodmap -pk | grep greater
60 0x002e (period) 0x003e (greater)
94 0x003c (less) 0x003e (greater) 0x007c (bar) 0x00a6 (brokenbar) 0x007c (bar) 0x00a6 (brokenbar)

# edit (or create) ~/.Xmodmap and include the following line in it
keycode 94 = grave asciitilde

# run xmodmap
$ xmodmap ~/.Xmodmap

For it to autorun on login: