The tag has no wiki summary.

learn more… | top users | synonyms

6
votes
1answer
250 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 ...
0
votes
0answers
13 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 ...
1
vote
1answer
733 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.
4
votes
0answers
44 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
27 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 ...
3
votes
1answer
90 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 ...
4
votes
1answer
128 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
1answer
378 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
269 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 ...
1
vote
1answer
177 views

Remap select window 2 in tmux

In tmux you can switch to window 2 with prefix_key + 2. I'd like to press rather prefix_key + u. I tried in .tmux.conf this: bind-key u 2 and this: bind-key u select-window -t 2 Which doesn't ...
1
vote
0answers
30 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 ...
3
votes
2answers
1k views

Map Control-Shift-Tab in rxvt-unicode

I'd like to map the keybinding Ctrl+Shift+Tab in rxvt-unicode. I managed to map Ctrl+Tab as follows. The corresponding entry in .Xresources is URxvt.keysym.Control-Tab: \033[27;5;9~ Using cat -v ...
2
votes
2answers
393 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 ...
5
votes
3answers
289 views

Rebinding “clear prompt” in mutt

By default, when entering information at the command prompt in mutt, you can clear the prompt with Ctrlg, as described in the manual: ^G n/a abort I have been trying to bind ...
0
votes
3answers
1k views

vim backspace not working normally

The Backspace key is not working as expected in vim and also in vi. It is working as the Delete key, and Delete key is deleting the char, but instead something wierd happens. But, for now, I am trying ...
4
votes
2answers
206 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 ...
1
vote
2answers
168 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
3answers
190 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 ...
1
vote
1answer
100 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 ...
2
votes
2answers
1k views

Del key in AIX ksh over PuTTY telnet

At the place where I work we're developing under AIX with ksh and connecting to it via telnet. Most people use ArcTel to connect, while I prefer PuTTY. The only problem I have with PuTTY is that the ...
3
votes
0answers
130 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
2answers
264 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 ...
7
votes
2answers
5k views

How do I bind to Shift+{Left,Right} in tmux?

I'm looking at tmux from screen, and have hit a bump while configuring the (highly configurable!) tmux key bindings. Problem is, in my .screenrc I have bindkey ^[[d prev bindkey ^[[c next bindkey ...
3
votes
3answers
4k views

vim how to configure backspace and delete key's both as normal

How to configure following keys in vim? Backspace key to delete a character backwards. Delete key to delete a character forwards. After reading some posts, I got to know that only one of those can ...
0
votes
0answers
22 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
69 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
180 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 ...
3
votes
4answers
182 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
113 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
92 views

Mapping character keys

I really don't understand bash's use of control characters. I understand simple things like adding colors with escape sequences but am at a loss for how to do things like bind keys in .inputrc. For ...
0
votes
3answers
1k views

Overriding functionality of special keys on CM Storm Trigger keyboard

I have a CM Storm Trigger Keyboard. This has some special keys, which can be programmed to trigger certain macros. There are special "M" keys for macros on the left-hand side, and there are two ...
4
votes
1answer
256 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 ...
4
votes
1answer
45 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
131 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 ...
1
vote
0answers
106 views

Use the system Compose database in Gtk applications [duplicate]

I'm using a X server which doesn't implement the XKB extension (it is VNC, but I don't think it matters, my vncviewer is running on Windows XP, I don't think it matters either). I've set up a ...
4
votes
2answers
192 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
312 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 ...
5
votes
2answers
165 views

How to consistently start Vim's command line to make a mapping work in any mode?

I try to normalize access to Vim's command line mode from any other mode in order to simplify my actual mappings. For example to make the <f6> key work from anywhere I define the following ...
3
votes
1answer
307 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
87 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 ...
2
votes
0answers
102 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
2answers
43 views

the n key does't work anymore but N does

I've been playig around xmodmap to create a custom keyboard (see Get the keycode of a key, from a custom made keyboard) But now, I can't use the n key anymore, but the Shift+n still work. I think I ...
4
votes
1answer
219 views

How to remap a key combination to a key?

Is it possible to remap a key combination to a key in X server based system, so that for example if I press End + Arrow_up, keycode for Home is generated? Google seems to be silent on this issue. It ...
0
votes
1answer
186 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 ...
2
votes
1answer
130 views

Is the desktop environment responsible for affecting behaviour to certain keys?

I have a laptop which has a Fn key. Using xev command shows that Fn + UpArrow is affected to XF86AudioRaiseVolume. If I use KDE, is it KDE that is responsible for affecting a behaviour to that ...
1
vote
1answer
82 views

Change one typed key for another

I have LUbuntu 13.04. Is it possible to change the keyboard on the operating system, so that when I press k for instance, the system will hear it as I actually typed m? Or any other key for that ...
4
votes
2answers
327 views

vim shortcut to open a file under cursor in an already opened window

In vim you can open a file under the cursor by using the gf command. One can also easily open that file in a new split window by hitting <c-w> f. This is a really nice and time saving feature. ...
5
votes
2answers
199 views

Fully Disable PrntScr Key

I recently came across a Linux feature I have never seen before, where pressing the PrntScr button on the keyboard prints a physical piece of paper with the contents of my console. I really need to ...
10
votes
2answers
648 views

What are the characters printed when Alt+Arrow keys are pressed?

When I press AltUp, A printed to terminal screen. Same thing happened when I pressed AltDown but B is printed instead. Other characters that I realized; AltLeft = D and AltRight = C What is the ...
5
votes
2answers
366 views

vim customized with emacs commands (insert mode only)

I was an emacs user, and I have to switch to vim. But I miss some basic emacs commands in vim insert mode: C-A C-E C-K C-Y C-x C-s ... and some other I know that I can press Escape and then press ...