The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
0answers
22 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
41 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
20 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
29 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
41 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
41 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
53 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, ...
0
votes
1answer
47 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, ...
0
votes
0answers
22 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
29 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 ...
0
votes
0answers
37 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
84 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 ...
0
votes
1answer
51 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.
3
votes
0answers
89 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
23 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
42 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
56 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
67 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 ...
1
vote
0answers
180 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
58 views

How to hold <Caps Lock> when it sends a single event on key press and release?

Using the keyboard of a Macintosh IIcI (~1990) with remapping of the Caps Lock key to Ctrl in Xorg, it is impossible to use it, as holding it does not send events persistently. When holding other ...
1
vote
1answer
27 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
41 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
141 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
58 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
115 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
103 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
314 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
95 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
575 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
481 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 ...
2
votes
1answer
246 views

exclude certain key combinations from being passed via rdesktop

When connected via rdesktop to a remote machine, normally all keys pressed inside the active rdesktop window are transferred to the remote machine. Is it possible to define key strokes, which are ...
5
votes
3answers
565 views

key bindings table?

Do we have a key bindings table that translates all the various ways of referring to a key press? I'm using zsh, but I presume that if there was such a table it would work for any shell. The reason I ...
2
votes
3answers
915 views

Map Caps Lock to Control in Linux Mint

I am running the latest version of Linux Mint with Cinnamon. I'm trying to map caps lock to control, but I cannot figure out how to do it. All web searches i've done has lead me to older versions of ...
3
votes
0answers
241 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 ...
1
vote
1answer
129 views

How to have longer key bindings for stty

If I want to have more than 2 key sequence for binding to the suspend signal, how would I do that? To clarify, Ctrlz is for suspending. But if I want Ctrlz and a k with the previous 2 keys depressed ...
0
votes
0answers
27 views

How can I make C-j send a newline in the tmux command line?

I have grown fond of using C-j instead of <ENTER> to send newlines. Unfortunately, in the tmux command line (invoked with prefix-: by default), C-j does not do anything, even with set -gw ...
6
votes
1answer
77 views

How to make a key simulate another key?

In my keyboard the I key doesn't work. So, I use an on-screen keyboard. I'm using Ubuntu 13.04. But its hectic. Is there a way so that I can make another key (for example Home on my keypad) to behave ...
1
vote
1answer
290 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 ...
2
votes
2answers
538 views

How to set a custom keymap and make sure, that it is not overwritten by system?

I use custom keymap, that diffentiates between left and right Ctrl: remove control = Control_R clear mod3 add Mod3 = Control_R When I load it with xmodmap myxmap, it works only as long, as one of ...
3
votes
4answers
282 views

How do you find what keys the “erase” and “line-kill” characters are in Ubuntu?

I'm new to Unix and have bought today a copy of "The Unix Programming Environment". I'm trying out the stuff from the book. But some of them are not working as expected like : To kill a line and ...
1
vote
0answers
129 views

Mint keyboard mappings ignored [closed]

I turned off my computer for the first time in a while last night, and this morning the keyboard isn't behaving. The Dvorak layout is still ok, but the caps lock isn't acting as a backspace, even ...
3
votes
1answer
598 views

Control-space on Cinnamon

I installed synapse on my Cinnamon desktop, and everything worked with the keyboard shortcut Ctrl+Space. Then, at some point, it stopped working properly, and I had to hold down Control and hit space ...
1
vote
2answers
225 views

Get scan codes in octal format

Using showkey -s I can get the scancode of a key as a hex-number. How can I get it directly as an octal number?
4
votes
1answer
48 views

What is the scheme for textual representation of keystrokes in screen?

How can I derive the character sequence that represents a certain keystroke in screen? I mean, what bind takes as input. For instance, 's' represents the obvious keystroke on the 's' key. 'S' ...
2
votes
0answers
172 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 ...
4
votes
1answer
350 views

How to bind 'tab' and 'shift+tab' in gnu screen?

As the title says, how do I bind the keys 'tab' and 'shift+tab' in screen? My problem is that I don't know what to pass to the screen command "bind" to designate these keystrokes. BTW, I'm aware of ...
6
votes
2answers
431 views

The difference between \e and ^[

Gilles wrote: character 27 = 033 = 0x1b = ^[ = \e Demizey wrote: ^[ is just a representation of ESCAPE and \e is interpreted as an actual ESCAPE character Then I also found this line from ...
3
votes
1answer
428 views

terminator ctrl-tab key binding

pressing ctrl-tab in terminator has the same effect as pressing tab, but when I see the key-bindings in the setting, nothing is mapped to ctrl-tab, so why is ctrl-tab reserved? Now, if I am working ...
3
votes
1answer
452 views

TERM=(linux|xterm) vi in an xterm or the AAABBBBBBCCDDD-problem

Usually when I want to run vim in a desktop konsole session, I make sure the TERM variable is set to linux as the arrow keys don't work in insert mode with TERM=xterm. They show capital A..D instead ...
1
vote
1answer
111 views

emacs meta key and Mint window manager

First, I'm not sure what window manager is running on my Mint installation. The "Control Center" yields no clues. Nevertheless - whatever I have is grabbing the emacs "meta" key (the option key on ...