1
vote
0answers
47 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 ...
5
votes
1answer
65 views

monitoring events (keyboard, mouse) in X

Is it possible to display all events that are generated in Xorg? Such as keyboard pressed, mouse events...?
1
vote
2answers
697 views

How can I set the keyboard right on X?

Note: forked of this per recommendation here. I made a foolish typo for UTF-8, and expected that when I fixed it, the keyboard on X would work right. Since making this errant change, I was no ...
3
votes
1answer
71 views

Writing single-handed layouts for X

I know someone who'd really like to be able to type with only the left hand, so I had the idea of writing a layout which "switches" the sides of the keyboard when the caps lock key is pressed. For ...
3
votes
0answers
161 views

xmodmap for key combination

With Logitech K290 keyboard via USB, F. keys are not accessible by default, and I need to press Fn before using them, which is not really usable. The Fn key alone does not fire any event in xev. ...
11
votes
3answers
335 views

How can I write a “idempotent” .Xmodmap

Currently I have an .Xmodmap file that changes my Command to Ctrl, then changes my Ctrl to Super (I'm running Linux on a Mac). It works quite well, when only run once but on successive runs (for ...
5
votes
1answer
982 views

How to detect which keyboard device is being used

I'm working on a computer with two keyboards and two users. They are using different layouts. The two keyboards are identical. Their device ID can be found easily with xinput, but when typing we can't ...
5
votes
1answer
351 views

Swapping <esc> and <caps lock> in a way that persists with external keyboards

I have a file called ~/.speedswapper which contains the following: ! Swap caps lock and escape remove Lock = Caps_Lock keysym Escape = Caps_Lock keysym Caps_Lock = Escape add Lock = Caps_Lock ...
1
vote
1answer
46 views

“k” key sends focus in event

After a dist-upgrade to wheezy, my "k"-Key misbehaves. When typed in a gnome-terminal, no "k" is printed. Instead the terminal seems to grab the focus and will not release it. If I drag-down the ...
2
votes
2answers
428 views

Setting repeat rate of USB keyboard automatically

I often connect a USB keyboard to my laptop, and when I plug it in, the default repeat rate is not what I want. I tried changing it using a udev script by adding a rule `ACTION=="add", ...
4
votes
1answer
390 views

Trying to set keyboard layout using Xorg configuration but it's not working

I'm trying to set my HP Pavilion g6 keyboard layout to English(us) and Arabic(ara). I'm using Fedora 18, but followed Arch Wiki anyways. Here's my 90-keyboard-layout.conf file : Section ...
4
votes
1answer
749 views

How can I automatically disable my laptop's built-in keyboard in X.org?

Distro and X.org Version Information I am using Ubuntu 12.10 with xserver-xorg/quantal 1:7.7+1ubuntu4. Disabling Built-In Keyboard in X11 I have a laptop with a built-in keyboard that no longer ...
6
votes
2answers
643 views

How to force release of a keyboard modifiers

Sometimes, when I use synergy between my machines when one is using full-screen VirtualBox guest I get stuck with some weird key modifiers turned on. If they exist on my keyboard (like Shift_L) I can ...
2
votes
0answers
493 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
0answers
28 views

Configuring Xorg lvl5 symbols

I configured Lvl3 via editing /usr/share/X11/xkb/symbols/typo. But I found no documentation, how configure lvl5. I tried to add 2 more entries in this file, like this key <AD05> { [NoSymbol, ...
4
votes
1answer
790 views

Create and set custom keyboard layout

I want to create and set a custom keyboard layout with setxkbmap. I created a file in ~/.xkb/prog with this content: partial default alphanumeric_keys xkb_symbols "basic" { include "latin(type4)" ...
2
votes
0answers
214 views

K800 USB Wireless Keyboard - keyboard repeat rate intermittent problems

Any advice as to how to debug this: My K800 USB Wireless Keyboard's repeat rate intermittently stops working. It will start behaving erratically and when holding a key down it will either not repeat ...
0
votes
1answer
176 views

Duplicate keystrokes onto remote computer in realtime [duplicate]

Possible Duplicate: Share keyboard over network as separate device? Sort of like a poor man's keyboard sharing. I've tried using Synergy and x2x but couldn't get them to work, so I decided ...
4
votes
1answer
736 views

What are/were the keys on a Sun keyboard for?

I have a Sun type 7 UNIX keyboard that I'd like to get more productivity out of. So what are those extra keys for, or rather, what were they intended for by Sun? And is there a way to approximate ...
6
votes
1answer
3k views

command line retrieve list of all valid kbd layouts, variants and toggle options (to use with setxkbmap)

Is there a way from command line to retrieve the list of all available keyboard layouts and relative variants? I need to list all the valid layout/variants choices to be used then from setxkbmap. ...
6
votes
2answers
515 views

Custom xkb layout in which one key creates two unicode code points

I am writing a new custom keyboard layout for Xorg, but there is one particular glyph which does not exist in Unicode. It is, however, easy to create it by using a standard letter plus a combining ...
2
votes
1answer
96 views

Preventing multiple keypresses from RF remote

I needed to replace a Gyration remote control (which was for controlling MythTV) and it is no longer made. So I got a Keyspan TSBX-2404. It works in the sense that it communicates with the box ...
2
votes
1answer
462 views

Can I disable dead keys for a single application?

I am unable to properly use dead key characters ( ' " ^ ) on (k)ubuntu 11.10 and 12.04 in arduino (a processing based application, at least version 0022 and 1.0). Can I disable dead keys for specific ...
2
votes
1answer
1k views

Can't change keyboard settings on Fedora 16

I want to swap the Ctrl and Caps Lock keys on my keyboard. I go to System Settings -> Keyboard -> Layout Settings -> Options and check Swap Ctrl and Caps Lock under Ctrl Key Position. I check ...
3
votes
1answer
1k views

Why does the setxkbmap compose key mess with other keys?

I just found a tip to set the compose key manually: setxkbmap -option compose:caps Unfortunately, after running this several keypresses act as if the compose key had been pressed. For example, to ...
1
vote
1answer
2k views

setxkbmap for macbook pro (US)

I recently installed awesome on my ubuntu oneiric, a nice window manager. This doesn't seem to inherit the keyboard settings that were set in the Unity settings. Now, the problem is, I can't seem to ...
4
votes
2answers
1k views

Is there a way to remap the AltGr key to Ctrl with setxkbmap?

I've already checked the option section in /usr/share/X11/xkb/rules/base.lst but I didn't find an entry for AltGr...
4
votes
2answers
725 views

How does X map from kernel key scan codes to a keysym?

According to this page there is no direct mapping from udev key mappings to X, it has its own mappings. X has a (quasi) total independent way of mapping keys: X reads the kernel keycode table at ...
2
votes
0answers
565 views

Keyboard repeat without pressing a key

Occasionally a key repeats although I do not press the key. I would like to prevent this phenomenon. The phenomenon happens when I am pressing Ctrl+w again and again. After several times of Ctrl+w, w ...
3
votes
1answer
905 views

Disabling caps lock by setxkbmap makes it Shift key in Emacs

I'm using GNU Emacs 23.2.1. within Xfce 4.8.0 (both coming from the Ubuntu Natty repository). I disable the CapsLock by running /usr/bin/setxkbmap -option "ctrl:nocaps" at the beginning of the Xfce ...
1
vote
2answers
487 views

How do you configure numpad keys using XKB?

I haven't figured out how you configure XKB to use the numpad yet. I found the following in the "us" file. partial alphanumeric_keys modifier_keys xkb_symbols "basic" { name[Group1]= "USA"; ...
5
votes
1answer
5k views

AltGr keys don't work with Ubuntu in VirtualBox

I just installed VirtualBox (from Oracle) in Windows 7, and created a virtual machine with latest Ubuntu. Here in Firefox I can use the left Ctrl key, while the right one doesn't have any effect. ...
7
votes
2answers
904 views

UTF8 math symbols & keyboard layout / input

I'd like to use UTF8 math symbols, when typing one list, another list. I've found sth called ComposeKey. Unfortunately it's not covering omega, theta, rightarrow etc. I am using KDE, I've tried ...
3
votes
1answer
2k views

Keyboard Problem with Debian testing and gdm3

I'm driving a Debian testing machine that is running fine. But since testing includes Linux Kernel 3 I have the following problem: While booting all is working (I mean especially the keyboard) - ...
7
votes
1answer
290 views

Recovering from Sys Rq + r

I had a really bad lockup of my X server and had to do a Sys Rq + r to release my keyboard from X and get into a console. I was able to kill the process that was locking up my system, and continue my ...
5
votes
1answer
205 views

Xorg key clicks?

I've currently got Fedora 9 on my home PC (yes, I know its quite old - but hell I only reboot it every 6 months - nevermind upgrading!) . My only niggle is that keyboard I've got has quite a different ...
16
votes
7answers
5k views

Disable Keyboard & Mouse input on unix (under X)

How can one programmatically "freeze" the Keyboard & Mouse temporarily, so that no one could mess with the system? There are several possibilities where this is useful. For instance, I have a ...
8
votes
2answers
3k views

How to remap the Context Menu key to the Super key

This keyboard has only one super key, so I want to remap the menu key to make up for that.
3
votes
1answer
864 views

Automating typing strings in xmacro

Could you show me how to write macro in xmacro (that will work in whole desktop environment) that is able to expand strings? E.g. I will type "thx" and it will expand to "thank you".
24
votes
7answers
11k views

How do I get current keyboard layout?

I'm wondering is there any command line tool, that returns current keyboard layout. I have XkbLayout set to us, ru. Update: setxkbmap returns layout settings, not selected layout. E.g.: $ setxkbmap ...
3
votes
2answers
522 views

Why does US International Keyboard break Alt_R

All adding the U.S. English International (with dead keys) keyboard layout breaks my Alt_R key. Any ideas why? I'm working on RHEL 5.5 using GNOME. The problem disappears if I remove the additional ...
7
votes
6answers
1k views

how to type “smart quotes” (U+201C, U+201D)

It's like this: “ (U+201C) ” (U+201D).
1
vote
1answer
526 views

Determining keycode assignments for X.org on a PC

At some point around late 2008 to early 2009, some keycode values (apparently, for the keys that weren't on an XT keyboard) on a standard PC keyboard when running X.org under Linux changed. I don't ...
1
vote
1answer
183 views

ungrabbing keys

I have somehow managed to get my keyboard only to work and be able to select with the mouse cursor, only when the Shift and Control keys are held. How can I undo this? I have tried System -> ...
9
votes
2answers
2k views

Map “windows” key on keyboard to “ctrl”

I am on Ubuntu and using a Microsoft keyboard. I want to map my Win key to a Ctrl key. How can I do that?
2
votes
1answer
217 views

Printing conjunct unicode characters using single keystroke

I want to print a conjunct unicode characters (which do not have dedicated unicode value assigned to it, but which can be print using the combination of unicode characters) using a single key stroke ...
5
votes
1answer
650 views

`p` key doesn't work in X

Today I had to force-shutdown my machine after it froze during resume from suspend. Since the reboot, I've found that the p key doesn't work normally in X. It does work normally in the console. ...
9
votes
4answers
3k views

Reassign Ctl and Alt keys - xmodmap error

I am attempting to remap my keyboard in order to make emacs usable - my ergonomic keyboard puts its single Control key in an isolated 4-key island way off to the left. The OS is debian squeeze. Here ...
4
votes
1answer
2k views

Keyboard macros for X and/or KDE

I'm looking for a utility to record and playback keyboard macros in X applications (KDE specifically). I've tried xmacrorec and xmacroplay, but after running them, my mouse and keyboard does not ...
6
votes
1answer
291 views

Application-specific keymapping

In general, I want to make specific keymaps for application, that working only in it and doesn't affect any other app. For example, I already use my Caps key to toggle input language (via xorg.conf), ...