The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
0answers
15 views

vim arrow keys insert mode mapping

I want to move the cursor without using arrow keys in insert mode too. I've tried the following: :imap <A-h> <Left> but after moving cursor left by Alt-H from insert mode I get back to ...
1
vote
1answer
13 views

How to map extended buttons on mouse?

I am trying to follow this guide to using a Logitech G600. I have (using a windows computer) mapped each key combo on the mouse to something on a normal keyboard. I have set up some rules in ...
1
vote
0answers
34 views

Make a key act as a modifier when combined with another key

I want to achieve the following effect: [ Key1 pressed & held, then Key2 pressed & released, then Key1 released ] acts as [ Ctrl + Key2 ] but Key1 pressed and released act as Key1 So, for ...
4
votes
1answer
69 views

Remap Return key in terminal to prevent accidental command on productions servers

I am looking for a way to remap the key for executing commands in terminal (I am using bash) to prevent accidental commands on productions servers. Return should be disabled. I tried the following ...
2
votes
0answers
30 views

X11: disable Shift+NumpadN outputing N when NumLock is off to have Shift+NumpadHome

I’m using GNOME 3.14.3 on ArchLinux. If I press Shift+Home (regular Home) while the cursor is placed at the end of a line, the line gets selected. That’s expected. If I press just the regular Home, ...
4
votes
2answers
75 views

Deleting input forward to the next space

When in terminal I can use Ctrl+w to delete a whole word or IP (. is separator for each octet) when going leftward of prompt. However, if I try Alt+d to go rightward of prompt, terminal recognizes "." ...
2
votes
0answers
20 views

How to map PowerOff button as End on XWindows?

I have this unfortunate PowerOff button on my laptop situated in the place of the End key: I already have a way to disable the PowerOff handler triggered by the OS (Ubuntu 14.04 in my case). Now I ...
3
votes
0answers
47 views

Custom key combinations in dwm

I have some custom key combinations in config.h, which work great. I just got a 60% keyboard, and would like to configure the arrow keys to work Vim-like ¨hjkl¨, instead of the combination with FN + ...
1
vote
0answers
18 views

Remap or unmap F10 from triggering window file menu in Xfce

By default F10 on Xfce activates the menu File menu and so cannot be used as a shortcut in any program. I already looked in the Window Manager and Keyboard settings pages and no F10 key binding is ...
2
votes
1answer
39 views

Disable or remove default vim keybinding

Is there a way to disable or remove a default vim keybinding? For example, if I wanted <S-k> (shift-k) to do nothing, how would I achieve this?
3
votes
1answer
34 views

Can I remap SHIFT+CAPS LOCK in a virtual terminal?

I recently acquired an old netbook which has no backslash/pipe key. I have successfully remapped the caps lock to backslash using loadkeys. I would like to map SHIFT+CAPS LOCK to the pipe key in a ...
1
vote
1answer
28 views

How remap my CapsLock key to work as if it was a Return key using setxkbmap?

I tried several things: setxkbmap -option caps: return setxkbmap -option caps: enter I also tried to modify the file /usr/share/X11/xkb/symbols/pc by: "Key <CAPS> {[Enter]};" But nothing ...
1
vote
0answers
30 views

What is the difference between X11 keymapping and virtual console keymapping

In linux we have X11 which governors keyboard layouts but sadly any changes made there don't affect the system as a whole so in a tty you are left with standard qwerty no matter what your X11 ...
1
vote
0answers
29 views

Method to convert simultaneous key chord / letter key combo into another key?

I'm looking for a method to make simultaneous key presses trigger another, e.g. for the keys W, E, F, pressed simultaneously, to trigger another key press, say, Ctrl+Alt+Esc. My ultimate goal (in ...
1
vote
0answers
21 views

Change control flow key to scroll lock

So, my Scroll Lock key doesn't have much use, while I keep hitting Ctrl-S with no intention of stopping control flow. I know how to disable Ctrl-S from locking scroll (stty -ixon), but can I use ...
1
vote
0answers
57 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 ...
3
votes
1answer
75 views

xmodmap keybindings don't work

I am trying to use Xmodmap to add some german diareses/umlauts to my keyboard, but Xmodmap is not working with them (but is with other remappings). I am following this guide: German Umlauts on US ...
0
votes
0answers
27 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. ...
1
vote
1answer
17 views

mutt: two character sequence commands

Is there any way to define a two-sequence command in the mutt email client? I would like to map gg to the first email, similar to the first line on vim, but I can only find ways to map commands to ...
1
vote
0answers
22 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 ...
2
votes
0answers
58 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 ...
1
vote
0answers
42 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.
4
votes
1answer
105 views

How to use the '-config' option of `setxkbmap`?

I have a keymap file with this content: xkb_keymap { xkb_keycodes { include "evdev+aliases(qwerty)" }; xkb_types { include "complete+numpad(shift3)" }; xkb_compat { include ...
2
votes
1answer
99 views

Mapping key bindings

Background: I got an Acer Chromebook yesterday and I am running Ubuntu on it (I am also somewhat new to Linux). The keyboard does not have dedicated Home and End buttons since in ChromeOS there are ...
0
votes
1answer
112 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 ...
2
votes
1answer
97 views

Simulate PrintScreen key press

I want to write a script that changes the window focus, and sends keyboard commands, such as print screen, and arrow keys, to the system. As in I need print screen to capture my desktop, not the ...
0
votes
0answers
57 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> --- ...
2
votes
0answers
77 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, ...
1
vote
2answers
221 views

Change key mappings for xfce4-terminal

Hi I'd like to change the key mappings slightly in xfce4-terminal, maybe similar to adding Xterm.VT100.translations to .Xresources. In particular, I want to make ctrl-backspace delete the last word, ...
1
vote
0answers
57 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 ...
1
vote
1answer
67 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
87 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 ...
3
votes
1answer
95 views

Bind Ctrl+Down in Joe on a Linux console

When I want to select a line in joe editor, I can go to the beginning and simply pres CTRL-Down and this will select the line. I can move somewhere ales and copy the line with CTRL-k-c. The key code ...
1
vote
1answer
86 views

Disabling a keyboard key in console

I wrote a script that dialog command is vulnerable to Esc key, now I want to disable Esc key in console. NOTE: X11 has been not installed in server and xev or xmodmap doesn't work.
6
votes
1answer
362 views

keyboard hard remap keys?

I am trying to find a way to remap keyboard keys forcefully. I tried using xmodmap and setxkbmap, but they do not work for one specific application. Such commands work for other normal ...
1
vote
0answers
46 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 ...
0
votes
1answer
44 views

Quick way to copy the rest of a line?

In Emacs, I want to copy the rest of the current line. The regular way is to select the rest of the current line, and then M-w. A quicker way is C-k C-_. Is there a non-customized way using only ...
2
votes
0answers
104 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
1answer
84 views

Why are there several keys unbound in vim?

There are several keys that are unbound in vi/vim, such as g, q, v and #. Is there a particular reason why these keys are unbound? Can I just use them however I want or will I be breaking certain ...
2
votes
0answers
311 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
1answer
45 views

How to configure up arrow to get to the previous command in maxima?

If I press Up in a shell, then normally it brings up the previous command I entered. In maxima it's all different. Pressing Up just prints out ^[[A. The same thing happens when I try to move the ...
1
vote
1answer
71 views

Home and End keys in a gnuplot interactive terminal do not move cursor

When working interactively with gnuplot, the home and end keys do not move the cursor to the beginning and end of a line, but instead produce the characters "OH" and "OF", respectively. What's the ...
1
vote
0answers
255 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 ...
0
votes
0answers
81 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 ...
5
votes
1answer
152 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 ...
2
votes
0answers
161 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 ...
4
votes
1answer
687 views

What are valid keys for tmux?

I was trying to learn how to use the bind-key [-cnr] [-t key-table] key command [arguments] better, but was having some trouble figuring out what "valid keys" are for bind-key command. I tried doing ...
1
vote
0answers
162 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
2answers
919 views

Figure out the emitted keycode for Fn+F6

On my Lenovo IdeaPad Yoga 2 Pro on Windows, there is a function available Fn+F6 that should turn the touchpad on and off (I would like to map the correct key to the script here on askubuntu). But on ...
4
votes
2answers
807 views

WMI-based hotkeys on not working

On my Dell latitude e6540, the WMI hotkeys Fn+Up and Fn+Down are not working. I have all necesary modules compiled in my kernel: CONFIG_DELL_LAPTOP=m CONFIG_DELL_WMI=m CONFIG_DELL_WMI_AIO=m On the ...