How can I print out the current keybindings in Linux/Debian ? I triedxmodmap -ppand got the response:xmodmap:  unable to open display ''
How can I print out the current keybindings in Linux/Debian?
keyboard;console;tty
You have two different keymaps. One used by your graphical environment (X) and one used by you console.The first one is configured by xmodmap and setxkbmap. The second one is configured by loadkeys.You can dump the first one with xmodmap and the second one with dumpkeys.Have a look at the man pages of those commands to find the correct options and other related commands.