0
votes
1answer
26 views

Linux keyboard macro X11

I'm using debian linux with X11 and dwm as a window manager. I have an application that make me press the same key three times in a row, I want to automate this, so instead of pressing three times I ...
1
vote
0answers
19 views

How to assign a local mouse and keyboard to a seperate display accesible over VNC (ubuntu)?

I want to turn a laptop, a Nexus 10, a mouse and a keyboard into two usable "computers". My current best plan is to create a separate display accessible over VNC for the Nexus to connect to in view ...
1
vote
1answer
20 views

Translate SSH terminal input to X.org's?

I just had an idea that it would be nice to ssh on to my PC using my mobile phone and remote-control the keyboard by writing to the terminal, using arrow keys etc. A sample use case would be scrolling ...
0
votes
0answers
39 views

Behaviour of Caps-lock in Linux on VirtualBox, OSX Host

I'm running Ubuntu under virtualbox on a MacBook Pro and I'm trying to remap the Caps-Lock key to mod3 so I can use it as a replacement for the Alt key in Xmonad. I can remap the keysyms but the ...
0
votes
1answer
129 views

Remap keys without xmodmap or any X tools

Due to a coffee accident some numbers of my laptop's keyboard stopped working. I used xmodmap to use F1, F2, etc, as replacements and saved the configs to ~/.Xmodmap. However, that caused a few ...
2
votes
0answers
38 views

In XOrg, can i switch keyboard-layout per application and still honor ~/.Xmodmap

I'm using my ~/.Xmodmap to map: keycode 38 = a A adiaeresis Adiaeresis and similar to be able to type German umlauts (äöü) on a US-qwerty layout. For switching keyboard layouts between German qwertz ...
3
votes
1answer
134 views

X11 keyboard utility to display key presses?

I'm having trouble with an Asus Q500A laptop and its hotkeys under Fedora 20. They are the function keys that turn the wifi radio on/off, change keyboard backlight, the display brightness, volume ...
1
vote
1answer
128 views

Different keycodes for F3 and F4 on external keyboard vs laptop keyboard

I'm using a Debian derivative with xmonad on my laptop (Lenovo X230). I have a docking station and an external keyboard and trackball connected to it. The keyboard is the Kinesis Advantage. ...
4
votes
1answer
614 views

Using Windows as a VirtualBox Host, how I can get AltGr behavior on linux guest?

I'm having an issue using a keyboard which is not an English US keyboard. It seems that when it's the case, pressing AltGr key will simulate CTRL + ALT on Windows. I have verified that fact using ...
0
votes
1answer
94 views

How to make my Alt_R function as another Control on Linux

I want to use my right Alt as another Control key to use with Emacs. I tried following (with modifications) this tutorial: ...
0
votes
1answer
50 views

Remapping XF86_Back/Forward to Control/Alt in X

I'd like to rebind the XF86_Back and forward keys in X to control and alt respectively. However, it seems that running xmodmap -e "keycode 167 =Alt_L" xmodmap -e "keycode 166 =Control_L" ...
2
votes
0answers
52 views

X window (or whole linux system) replace Caps Lock with ESC *and* Control

on windows there are several key maps applications that replaces Caps lock with ESC on a single 'press and relase' and with a Control signal if hold and another key is pressed. Is there any way to do ...
4
votes
2answers
1k views

Linux, changing the default FN-key functionality in xorg (key-bindings?)

So I bought a new keyboard from Logitech (TK820), without checking the key functionality beforehand. It was a nasty surprise to find that on the top row, the multimedia keys (volume up, next track, ...
0
votes
1answer
136 views

How to keep per-keyboard layout settings?

I am using xmodmap (and sometimes xkbcomp instead) to adjust my keyboard layout (e.g. mapping Caps Lock to the Mod3 modifier). When I plug a USB keyboard into my laptop or insert a YubiKey (which ...
0
votes
1answer
302 views

Apple keyboard mapping on Ubuntu KDE

I want to configure the Apple keyboard mapping on dell precision notebook keyboard on Ubuntu KDE such that alt-> win, ctrl->alt, fn -> ctrl. That means i want to make the dell precision notebook ...
2
votes
0answers
304 views

How to change a keycode using setkeycodes

I have a Thinkpad Edge E130 running Sabayon (a Gentoo-based distro), and I'm fighting the well-know bug Xorg 255 keycodes limit. My laptop has the Fn+F4 hotkey for Mic Mute/Unmute. This is the ...
1
vote
1answer
309 views

X11/xorg map ctrl j (or ctrl m) to return; OR control codes in GUI / X11

Terminal application and editors like vim (and emacs I think) make good use of control codes. I.e. Ctrl + M is carriage return and Ctrl + J is line feed. Both of these can be used to insert new lines ...
1
vote
0answers
139 views

How do you catch and change keyboard characters with python?

I wanted to make silly custom keyboards, that would translate keystrokes to equivalents in silly alphabets (leetspeek, Cyrillic transliterations, upside-down characters..), but that turned out to be ...
1
vote
1answer
3k views

How do I configure keyboard layouts in Ubuntu 12.04?

Edit: I screwed up, but somehow I got it right after several attempts. HAL has nothing to do with it. Ubuntu has moved to HAL, and commented out the keyboard section in xorg.conf. This means that ...
0
votes
0answers
207 views

Linux and Umlaut through fn key on US Keyboard

for me as a programmer its very convenient to use a US keyboard layout. In fact I got so used to it that its hard for me to go back to the localized layout of my native language German. What I miss ...
7
votes
3answers
3k views

Binding Super+C Super+V to Copy and Paste

For some time I've been interested in binding the Windows Key (Super_L) on my keyboard to Copy and Paste for no other reason but convenience and consistency between my desktop and my MacBook. I ...
1
vote
3answers
501 views

Space as modifier key XKB

Background: Ultimately, I'm trying to set up a custom one handed keyboard layout similar to this demo(click one-handed typing demo). XKB is used in many linux distros. Wikipedia has a decent ...
0
votes
1answer
395 views

Automatically change layout depending on keyboard being used [duplicate]

Possible Duplicate: Separate keyboard for shortcuts on linux (two keyboards,two layouts) I have a laptop with a US layout and an external keyboard with a Spanish layout. Is it possible to ...
2
votes
1answer
712 views

Separate keyboard for shortcuts on linux (two keyboards,two layouts)

I have two keyboards: an old ps/2 one and a usb one. I want the usb keyboard to have the us layout (or prefferably have the usb keyboard follow the layout chosen in gnome) and the ps/2 one to have a ...
1
vote
1answer
729 views

alt keys stopped working on X11, how to fix?

I'm running arch linux, latest stable with gnome3 and gdm, I have a US keyboard (notebook). I am using the default layout except that I used xkeybdmap to bind the right alt key to alt gr to get ...
3
votes
3answers
334 views

How to get back the control of the screen/keyboard on my Linux system

I have a Linux system running (Debian). It is working perfectly from a remote point of view. I can ssh in it, it has the imap running correctly, and a couple of kvm systems running (I can also ssh to ...
0
votes
1answer
247 views

How can I define a Hebrew/Latin layout + Compose Key in Mageia 2?

I'm on Mageia Linux Cauldron (what will become Mageia 2), where Mageia Linux is a recent community fork of Mandriva Linux. This script gives me the Xkb layout that I need: #!/bin/sh setxkbmap \ ...
3
votes
2answers
628 views

Modifying keyboard layout in X11: using Alt+shift+2 for @

I'm using a MacBook with Croatian layout. Common PC Croatian layout (on Windows and in Linux) uses combinations with AltGr to get various symbols, such as... AltGr+V for @ AltGr+F for [ AltGr+B for ...
0
votes
1answer
255 views

Bind and dedicate a USB keyboard to an X11 screen?

I have a boxee remote that basically registers itself as a USB keyboard (via the dongle) and for some strange reason, KDE 4.x (whichever one is included in kubuntu 10.10) allows my regular ps/2 ...
5
votes
1answer
7k views

How can I make my Super keys (Windows Key) behave more like Ctrl/Alt/Shift in Linux

After using the Ctrl + "arrow keys" for 13 years to switch virtual desktops in X windows, I've been convinced recently to change to using the Super keys instead (the windows key and the context menu ...
3
votes
2answers
469 views

Make ` an un-dead in X11

I'm on a Swedish keyboard, a keyboard which is loaded with dead keys, that is, to produce an 'ä' I would press " (the same button as ~/^) and then a (or press the dedicated ä-button...), and to ...
1
vote
1answer
176 views

Messed up keybinding on Gentoo

After I installed some updates on my Gentoo system some Keybindings are messed up. I didn't make a note which packages - so I cannot provide a list. The only thing I remember is that I installed ...
3
votes
1answer
1k views

Xmodmap: Six characters to one key?

From OpenSUSE wiki: (As long as Mode_switch/ISO_Level3_Shift is assigned to the keycode of Alt Gr - if you assign Mode_switch and ISO_Level3_Shift to different keys, you can assign up to six ...
2
votes
1answer
2k views

Make alt key work when using NX client on OSX to Ubuntu 10.04 host?

I am using NX Client on Mac OS X 10.6 to access my Ubuntu 10.04 machine. I would like to use the Option/Alt key to Alt-Tab in the window manager and as the Meta key in Emacs. Some searching on the ...
6
votes
3answers
2k views

Xorg: How can I map AltGr to the CapsLock Key (to toggle 3rd level symbols)

as many others I don't need CapsLock. I want to reassign it such that it has the function of AltGr. I use Kubuntu 9.10 but I think there must be a solution which is distribution independent. I ...
1
vote
0answers
2k views

Xmodmap fails to remap modifier keys

When I try to move keys, so that I have CapsLock on escape, Control on CapsLock and Escape on left control, I get the following error: % xmodmap ~/.Xmodmap X Error of failed request: BadValue ...
0
votes
2answers
579 views

How do I remap ctrl-j to ctrl-c on ubuntu?

I'm trying to remap a bunch of my keys and I'm running into trouble. I'm currently trying to use xmodmap but failing. Maybe there is a better way? Can someone explain how I can best remap Ctrl-j on ...
2
votes
2answers
1k views

How do I change my control or alt key to emit a space key event in Ubuntu?

I have a laptop with a broken space bar and I want to map the right alt or control keys to emit a space character. I am running Ubuntu.
4
votes
1answer
1k views

How to know which modifier keys are which in X11?

I have X11R7-based desktop linux. I want to debug key modifiers of my keyboard. I have some left and right controls, alts, metas, etc., but for some reason (1) I'm not quite sure which is which from ...
14
votes
5answers
6k views

NumLock is completely useless, and I want to disable it completely on Linux

Forget all the rants about Caps Lock, Num Lock is the most useless key of them all. It's never, ever useful. You don't want to use your numpad as an arrowpad, since the arrows are 1cm away from it. ...
1
vote
1answer
5k views

SSH from mac to linux -> start gnome-session -> X11 keyboard mapping all messed up

I have 2 computers: echo.local is running Ubuntu 9.04. justin.local is running Mac OS 10.6.1. X11 version on the mac is 2.3.4. I open X11 on the mac, and open a new xterm window (Applications Menu ...