The tag has no wiki summary.

learn more… | top users | synonyms

6
votes
1answer
295 views

How to change Vim's command type mode programmatically?

Is there a simple way to switch from one command type mode to another without loosing the current command line? In my ~/.vimrc file I remap the <space> and <c-space> character, coming ...
5
votes
1answer
127 views

Linux kernel dropping custom keyboard scan codes

I have a vintage IBM 122 key model M keyboard that I am adapting for use on a modern computer. I am using a Teensy 2.0 to do the encoding and to handle the USB side of things. I borrowed the firmware ...
1
vote
1answer
40 views

showkey -s doesn't display scancodes in CentOS 6.4

I'm running CentOS 6.4 on vagrant and then doing a vagrant SSH into the box. I've been trying to get backspace to work correctly for a while now (as chronicled here: Centos Terminal Configuring ...
1
vote
1answer
317 views

Stop laptop keys acting as a numpad with numlock on

I have bought an USB number pad and it's working as expected. Anyway, to use number keys, I need num lock on, and if I turn it on, my keyboard numpad sends numbers instead of the letters... How to ...
1
vote
1answer
1k views

Free all function keys ( F1-F12 ) for gnome-terminal

I'm using gnome-terminal and I need to free all the F keys because I need to remap them to something else inside vim, how I can do that? I'm running Ubuntu 13.04.
0
votes
1answer
41 views

XFCE how to show pop up when using sound function keys

On Unity and Ubuntu, I noticed that if I change the volume via function keys, it shows a pop up. Can I have the same ability with Arch and Xfce? It already does it with brightness (if I press the ...
0
votes
1answer
223 views

XFCE keyboard layout switcher broke .Xmodmap Caps Lock remapping

I have successfully remapped Caps Lock to Enter, using ~/.Xmodmap: clear Lock keycode 66 = Return Remapping scancode for Caps Lock But after switching to XFCE and installing keyboard switching ...
3
votes
0answers
260 views

Remapping keys that generate multiple scan codes

I have a ThinkPad W540. On its keyboard there are four multimedia keys above the numpad. Two of those keys generate keycodes (and, apparently, scancodes) that correspond to combination of keys, Win_L ...
2
votes
0answers
20 views

Keyboard key is not recognized even with showkey

I am using Ubuntu 12.04, in a laptop that I carry around and use with different physical keyboards (as I don't feel comfortable with laptop keyboards) For one of those keyboards (Dell SK-8135) the ...
2
votes
0answers
65 views

Dead keys maps missing in certain programs only

I cannot use ^ with certain programs. I'm working in KDE on OpenSUSE 13.1 64b. ^ works as a dead key in Konsole, Firefox, Chrome, Gvim. ^ has no effect (pressing ^ then a just inserts a) in Xterm, ...
2
votes
0answers
73 views

Hex codes for input key combinations

In iTerm2 one can setup keyboard shortcuts so that for a given input sequence, iTerm2 sends a specific hex code to the terminal. What exactly are these hex codes? And how can I identify a hex code ...
2
votes
0answers
121 views

Linuxwacom xsetwacom/xorg.conf

I have a CentOS 6.2 workstation with linuxwacom 0.21.0 installed. I am trying to map a button on a cintiq tablet to a keyboard key. I can do it successfully using: xsetwacom set "Wacom Cintiq 24HD ...
2
votes
0answers
180 views

Remapping shifted function keys in XKB

I'm working on a keyboard layout for the Khmer language and I'm quickly running out of space. My aim is to create a keymap that includes all the characters in the Khmer script as well was their ...
2
votes
0answers
120 views

Awesome GNOME recognizes my media keys but fails to act upon them

I'm using Awesome GNOME. When I log into the GNOME Shell, my up and down volume keys work. When I login to Awesome GNOME, they don't. However, when I go into gnome-control-center to set them, the ...
1
vote
0answers
18 views

How do I combine two keys to act as FN key with xbindkeys?

I have been hammering my head on the wall for the past two days trying to figure out a way to combine two keys to execute a function with xbindkeys. To make a long story short I have a chromebook ...
1
vote
0answers
12 views

execute command on pointer movement, wait and revert?

I've got two pointing devices (touchpad and trackpoint) and the goal is to execute a command when movement (any direction, any distance) is detected on the trackpoint, then wait a configurable amount ...
1
vote
0answers
28 views

How to map emacs multi-modifier keys in vim?

I want to be able to map the multi-modifier keys of emacs in vim. I am trying this for exiting vim: imap <C-x><C-c> <ESC>ZZ However, this does not work.
1
vote
0answers
26 views

Wrong keybindings in Dvorak

Using Dvorak as the selected keyboard layout, I find this strange behavior: The copy+paste keybindings in some programs don't work with Ctrl+C and Ctrl+V in the dvorak position, but they work in the ...
1
vote
0answers
237 views

How to control keyboard backlight using hotkeys

How can I turn increase and decrease the keyboard backlight in notebook on Linux using the same hotkeys used on Windows? In Windows I can control the keyboard backlight by pressing hotkeys (FnF9 to ...
1
vote
0answers
168 views

Different layouts and specific key mapping for different keyboards

Here's the deal I have an apple aluminium usb keyboard connected to my laptop with "windows" keyboard. And almost everything works great on my apple keyboard except three annoying problems. Each ...
1
vote
0answers
110 views

How to read characters from a serial keyboard on /dev/inputs/eventX (Speed?)

I'm trying to read from a second keyboard whose inputs can be read from /dev/inputs/eventX, but I get rubbish and not the character expected. I'm accessing my target by using Putty. I can connect to ...
1
vote
0answers
150 views

Change behaviour of the modifier keys system-wide

I’d want to make modifier keys (control, alt, shift, meta, super, lv3_switch) to act like usual keys, I mean, without holding one of them to perform associated key combination. Say C-x M-1 can by ...
0
votes
0answers
11 views

xbindkeys not working with special keys

I have a macbook pro and I am in the process of binding scripts to control the backlight level on my keyboard. I wrote 2 scripts and they work perfectly I just cant get them to run on a keypress. I ...
0
votes
0answers
15 views

Unmap Ctrl+h from backspace

I have the following key mapping defined in .tmux.conf. bind-key -n C-l next bind-key -n C-h prev What it does is cycling through windows in tmux when pressing Ctrl + L an Ctrl + H, respectively. ...
0
votes
0answers
45 views

How to create custom keyboard binding

Is there a way to modify keyboard layout in Gnome in a such way that the following modifications will be available? ; --- Backspace <Alt-;> --- ; <Alt-h> --- LeftArrow <Alt-j> --- ...
0
votes
0answers
29 views

replace menu key with capslock and capslock with left control using xkb

I followed the instruction here by defining my own xkbsymbols (Use setxkbmap to swap the Left Shift and Left Control) partial modifier_keys xkb_symbols "replace_Menu_Capslock" { replace key ...
0
votes
0answers
46 views

loadkeys has (almost) no effect

I'm running CentOS 6.4 on vagrant and then doing a vagrant SSH into the box. I've been trying to get backspace to work correctly for a while now (as chronicled here: Centos Terminal Configuring ...
0
votes
0answers
65 views

ir-keytable modifier keys support

I'd like to add modifier keys to some of my ir-keytable tables. I've tried with the following syntax: 0x48e KEY_LEFTALT+KEY_RIGHT # >> right jump But it is not working (the scancode=keycode ...