General keyboard topics, including keyboard hardware and keyboard functionality in software.

learn more… | top users | synonyms

1
vote
0answers
416 views

OpenSUSE - Apple Wireless Keyboard - Switch “fn” and “ctrl” key?

I'm trying to configure the Apple Keyboard so that the "fn" key and the "ctrl" key are swapped. So far I swapped the "cmd" and "alt" key, the "°" and "<" key using xmodmap. Information for that can ...
22
votes
5answers
15k views

How to get keycodes for xmodmap?

I'm trying to use xmodmap to remap Alt / Super keys on Dell L100 keyboard, and have trouble getting the keycodes. For instance, using xev doesn't give me keycode for Alt FocusOut event, serial 36, ...
4
votes
1answer
161 views

Set window manager's meta key depending on connected Xserver

Situation A linux server is running an xdm supporting XDMCP, it is connected to from various different Linux and OS X boxes using XDMCP via an X -query <server> command. Once the user is ...
2
votes
1answer
288 views

String syntax for the kbd macro in Emacs [duplicate]

Possible Duplicate: Associating a function in Emacs after looking up the code with M-x describe-key I have typed the following macros on my .emacs file (global-set-key (kbd ...
2
votes
1answer
680 views

Control and up/down keys in terminal for use by emacs

Is it possible to use C-up and C-down when running emacs in the terminal window (when starting emacs from the command line with the -nw flag)? What should my terminal send when I press C-up and C-down ...
2
votes
0answers
136 views

xkbcomp doesn't update keymap for running xterms?

When I use setxkbmap all programs use the new layout but when I change the keyboard layout with xkbcomp to my own only newly started programs are affected (using xkbcomp with a file with a default ...
6
votes
1answer
2k views

Using setkeycodes to map pressed and released to different “keys”

I have a keyboard that has a scroll wheel, but it doesn't work on Ubuntu and xev command doesn't show anything when moving it. But with the dmesg command I found this: When moving the scroll wheel ...
0
votes
1answer
186 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 ...
6
votes
2answers
722 views

Share keyboard over network as separate device?

I am trying to achieve something similar to this: http://superuser.com/questions/67659/linux-share-keyboard-over-network The difference is that I need the remote keyboard to be usable separate from ...
4
votes
1answer
795 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 ...
2
votes
2answers
637 views

Setxkbmap turns off NumLock LED - but not NumLock.

Whenever I use setxkbmap in a terminal (or my .bashrc), the next time I press any modifier keys (ctrl, shift, alt) the NumLock LED on my keyboard goes off, but NumLock itself is still active so it's ...
6
votes
2answers
2k views

assign shortcut key to run a script

I've written a script to change the brightness of my screen. It's useful when I am working on text mode and shortcut keys of my keyboard to change brightness doesn't work. Is it possible to run this ...
3
votes
0answers
427 views

How to load HID kernel module from the kernel command line?

While upgrading a server from kernel 3.2.9 to kernel 3.5 I had a problem with the network (ifconfig eth0 up won't work) so I updated the system to get a newer userspace, but in the process something ...
3
votes
1answer
220 views

Archlinux gizmod

I've recently installed Archlinux on my laptop and it's been doing everything I needed except one thing: key bindings. I wanted to be able to use the volume buttons (including when in a full screen ...
7
votes
2answers
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
554 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 ...
7
votes
1answer
2k views

Korn Shell: End, pgup, pgdown, and delete key not working

So basically my End, Pageup/Pagedown, and Delete key are not working in ksh93. I'm running FreeBSD by the way. My arrow keys are working, and so is my home key. Those keys work when I put this in my ...
4
votes
1answer
1k views

Apple Bluetooth Keyboard

I have an Apple bluetooth keyboard and want to use it with Fedora 15. I turn on the bluetooth on the both devices. Click 'Setup new device' via Gnome3's GUI. The computer detects the keyboard but it ...
5
votes
2answers
6k views

Switch Fn key state

I have this issue with Lenovo Thinkcentre Edge. Its keyboard has Fn key, which acts in my Ubuntu (with Fluxbox) as if it is always "active/pressed". I can't use standard F1-F12 keys unless I hold ...
1
vote
1answer
275 views

Map caps to esc for RHEL 5?

I have an older version of RHEL. In newer versions, there is usually an option to map the caps key to the esc key. How would I do this in an old version? Going to System Preferences -> Keyboard -> ...
1
vote
1answer
648 views

Problem with keyboard and mouse in gdm3 and lightdm

Linux anarki 3.2.0-2-amd64 #1 SMP Fri Jun 1 17:49:08 UTC 2012 x86_64 GNU/Linux Distributor ID: LinuxMint Description: Linux Mint Debian Edition Release: 1 Codename: debian When my ...
2
votes
1answer
596 views

Garbage characters appear on screen when typing

When typing, garbage characters somehow appear on the screen for all the letters that I type. The garbage character is a small rectangle box, and this prevents me from executing any commands on the ...
2
votes
1answer
98 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
270 views

How to disable wifi and bluetooth keyboard switches in GNOME?

My (capacitive) media keys have recently become autonomous, causing my wifi to switch on and off at random intervals and effectively rendering the machine unusable. How can I disable those keys? My ...
3
votes
1answer
806 views

sysrq won't reboot with a keystroke, but will with echo “b” > /proc/sysrq-trigger

CentOS 6.2, 2.6.32-220.el6.x86_64 laptop. SysRQ is enabled for keyboard input, as is witnessed by: $ cat /proc/sys/kernel/sysrq 1 Common Magic SysRQ Keys are working such as alt-sysrq-h. However, ...
1
vote
1answer
390 views

modify keyboard layout locally

I haven't found the correct keyboard layout for my macbook pro yet. I've found one that looks like it though (in .xinitrc): setxkbmap -layout us -variant mac yet this has one difference: the (',~) ...
2
votes
1answer
606 views

Assigning mouse keys to keyboard

Is it possible to assign mouse keys (left click 1, middle click 2, right click 3, etc) to keyboard keys by modifying a file in /etc/X11/xorg.conf.d? If so, how can I do that?
3
votes
1answer
879 views

How to disable laptop keyboard on plugging in a USB keyboard?

I use my USB keyboard in home and now I want disable the laptop keyboard on plug of this keyboard. How could I achieve this? I use ArchLinux and DWM. ps: i found my device and in udev disable it ...
3
votes
1answer
500 views

How do I remap my caps lock key to ctrl+x within x.org?

I've seen some setxkbmap stuff when talking about key mappings, but ctrl-c isn't a single key. Ideally, I would love to make it a copy/paste key but that seems impossible on Linux. Is there a way ...
6
votes
3answers
2k views

In awesome window manager, how can I make key bindings send keyboard events?

I don't think that title probably helps very much, but here's my issue: I'm using the awesome window manager and am trying to make my key bindings to be similar in flavor to OSX for special keys. ...
15
votes
1answer
837 views

Switch between numbers and symbols on caps lock

Is it possible to set caps lock to switch between inserting numbers and the symbols they normally trigger when one holds shift? e.g. when you normally press the 9 key, you get a ( unless caps lock is ...
2
votes
1answer
2k views

Keyboard and mouse do not function in Debian

I powered on my laptop running Debian kernel 3.3.0. After the boot process starts the X server and KDE, my keyboard and mouse do not function. Keyboard input works when I use the Recovery Console, and ...
2
votes
0answers
373 views

acpi_listen returns different result in Ubuntu than Arch Linux

Ubuntu is able to detect my Lenovo "Mic Mute" button with acpi_listen, but when I try it on Arch Linux, there is no output available. Model: Thinkpad X220 4290LY9 Tried to add acpi_osi=Linux in ...
0
votes
1answer
702 views

Keyboard Fn problem on Samsung netbook

I'm running Slackware Linux on a Samsung NC 110 netbook. None of the Fn keys work exept for the audio volume level keys. Currently I can control the brightness of the display with this command: ...
2
votes
1answer
511 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 ...
4
votes
1answer
355 views

Gnome3/Archlinux move windows with keys?

Looking for an app that will allow me to move my Gnome3 windows with keys like Ctrl+Alt+Home to move to top left corner of the screen. Essentially, this is what Winsplit revolution does on windows. ...
2
votes
1answer
1k views

Keyboard Shortcut To Send Text Strings To Program

How can I configure a shortcut key to send a text string to the current program? The purpose is to type common entries quicker (email address, street address, phone number, username, favorite quote, ...
2
votes
1answer
337 views

Ctrl-Alt-F1 to F6 work differently for left and right sides of the keyboard

If I want to log in to the traditional text shell, I can only use the right side control and alt keys, the left side ones will do nothing. Once I switch to another shell, I now have to use the left ...
2
votes
3answers
2k views

Keyboard only desktop environment

Is there a (more than a terminal) desktop environment/distro that can be run using only a keyboard - I have an old computer on which I cannot use a mouse - the PS/2 port is broken and it won't accept ...
2
votes
0answers
273 views

xkb: `ctrl:swapcaps` option messes with the escape key

I've been using setxkbmap -option "ctrl:swapcaps" to swap the capslock and left control keys, but I just recently noticed that this seems to mess up my escape key. With xev, I can see that pressing ...
2
votes
1answer
506 views

How to set separate global/user keyboard settings in LXDE?

I need to have English (US) and no compose key for the system, and I'd like English (Dvorak alternative international no dead keys) + Caps Lock as the compose key for myself. How can I set this up? I ...
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 ...
8
votes
2answers
3k views

Remapping Caps Lock with xmodmap doesn't work

When I program I like to swap these keys: Esc ↔ Tab Ctrl ↔ CapsLock In ~/.xmodmap, I have specified these re-mappings: keycode 66 = Control_L keycode 37 = Caps_Lock keycode 23 = Escape keycode 9 = ...
9
votes
1answer
925 views

second keyboard to run commands

On my computer I have two USB keyboards plugged in. Instead of having both just type the same key, is it possible for a second keyboard to be setup to run commands instead of typing letters? And If ...
2
votes
2answers
330 views

Swap alt and windows key except when using an external keyboard

On my laptop the Alt and Windows keys are in the opposite positions that I'd prefer them in. Swapping them is fairly easy. However, my external (USB) keyboard has the Alt and Windows keys in the order ...
4
votes
4answers
839 views

How to print keypresses in .inputrc format?

Which application can I use to figure out what to put in .inputrc for any custom keyboard shortcut? I've tried a few, and none of them seem to be usable: showkey, showkey -a and read just print ' if ...
5
votes
2answers
313 views

how to deal with keyboard-greedy apps

I'm having a very specific problem, however any help will aid in understanding X's relationship to the keyboard. I'd like to be able to launch the ElectricSheep program on top of music playing from ...
4
votes
1answer
647 views

Disabling or changing console switching keys

For some reasons on my Ubuntu 11.04 Natty running Linux 2.6.38-13, with an Italian layout for the keyboard, the keystrokes AltFx switch between virtual consoles (instead of the normal CtrlAltFx ...
5
votes
4answers
1k views

Enabling Numeric Keypad

I have trouble with the numeric keypad (NumLock keys) being unusable while typing. While I don't think it's GUI specific, this happens both in Gnome and KDE. Sometimes it works in TTY, other times it ...