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

learn more… | top users | synonyms

3
votes
1answer
97 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 ...
4
votes
1answer
396 views

How to find out the escape sequence my keyboards sends to terminal?

Let's say we have a generic keyboard with some unknown keys which may send escape sequences to terminal. The keyboard is connected to an xterm terminal emulator running on a generic BSD/Linux. To ...
4
votes
0answers
73 views

OS X-like deadkeys behavior on Linux

I'm on Debian (actually Crunchbang), and my notebook has a default US layout keyboard. My native language is Brazilian Portuguese (pt-BR), so I've changed my layout with setxkbmap -layout us -variant ...
0
votes
1answer
381 views

How do I find out the keycodes for Ctrl+up and down arrow for TERM=screen?

I am using tmux a lot, and I have already managed to tune my OS X terminal to send the correct key codes for Ctrl+left and right arrow (\033b and \033f). I found those information on the web. However, ...
1
vote
2answers
96 views

GRUB2 and Foreign Keyboards

If I have GRUB2 installed on a system that is using a foreign keyboard and I want to use CLI Mode, what key would I press? On Latin-based keyboards, we would press "C", but other alphabets lack the ...
0
votes
0answers
505 views

X keyboard layout unable to toggle

I don't understand why alt_shift_toggle is not triggers keyboard layout switch This is what I have localectl status System Locale: LANG=en_US.UTF-8 VC Keymap: us X11 Layout: us,ru X11 ...
3
votes
2answers
452 views

How do I disable the left CTRL on Ubuntu 13.10?

How do I disable the left CTRL on Ubuntu 13.10? Actually I can do it already. All I need to run is xmodmap -e "keycode 37 = " The problem I have is this only works if I run it from the terminal ...
0
votes
2answers
869 views

How to disable onboard (on-screen keyboard) that automatically starts when I log onto my system?

whenever I login to my system (Ubuntu 13.10) onboard (on-screen keyboard) automatically runs. I don't want it to run any more. Why does it run automatically & how to disable it? Long back as far ...
1
vote
3answers
44 views

Before logging in my system, any way to make a key simulate another key?

In my keyboard I button doesn't work. I had earlier asked a Q on how to make a key simulate another key. That Q solved the issue only after I logged in my system. I'm working on Ubuntu 13.04. But how ...
4
votes
1answer
63 views

How do I generate the sequence “\e[Z” in a terminal?

It is bound to menu-complete in GNU readline. $ bind -p|grep menu "\e[Z": menu-complete # menu-complete-backward (not bound) # old-menu-complete (not bound) I think it's Meta-something.
3
votes
1answer
1k views

Remap keys on GNOME3.8 using xmodmap?

I want to remap some keys on my keyboard, specifically: page up key to home and page down to end. On previous versions of GNOME 3 I just created a .xinitrc file that contained: cat .xinitrc ...
3
votes
0answers
268 views

xmodmap for key combination - how to toggle the Fn behavior?

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. ...
2
votes
0answers
68 views

Detach keyboard from the kernel

I am writing a remote controller app for an octocopter and want to use a keyboard as an input device for this app but I don't want it to have any effect outside this app. Somehow I would like to make ...
4
votes
4answers
358 views

Continue for loop by keyboard

I have user account on a linux machine which I do not know its exact IP address. But I know a range which it is ran on one of them. I want to check which server is my desired server. There are some ...
6
votes
1answer
90 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 ...
4
votes
2answers
808 views

Disable the external keyboard from a script

I have a udev rule for my external keyboard. I can catch events, and by running a script I can also reach udev env variables. Can I disable keyboard with udev? Or must I use a script to disable the ...
1
vote
0answers
123 views

Keyboard backlight is very dim

I have a Samsung Series 9 running Fedora. It has a backlit keyboard but even at the maximum setting, keys are not readable. The functions keys controlling the level are working, the OSD indicator ...
2
votes
0answers
304 views

udev rule for bluetooth device(logitec)

I want to write udev rule for a Logitec Bluetooth. My keyboard and mouse connect to PC as one Bluetooth device. When I monitor udev, I see there are separate events for keyboard and mouse. I want to ...
2
votes
1answer
470 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
3k views

Recognise extra keyboard keys: Steelseries Apex

I've got a new keyboard (Steelseries Apex). It has extra key, but I can't get linux to detect it. I tried xev, getscancodes, showkey --scancodes and dmesg! Any of those command give me error or code ...
3
votes
1answer
264 views

CapsLock as modifier key for application keymaps

I am developer and currently I am using Ubuntu Linux with PyCharm IDE for development of website. In order to improve typing performance I consider change CapsLock to Hyper_L and assign it to mod3 ...
15
votes
5answers
2k views

Is there any reason why I get ^[[A when I press up arrow at the console login screen?

Whenever I'm at the console login, I press up arrow intentionally to see the previously typed commands. But I see this ^[[A. But when I press Ctrl Alt Print Screen Scroll Lock Pause Break Page Up ...
2
votes
1answer
286 views

Where in the linux kernel sources can I find a list of the different keyboard scancodes?

I was looking for a list of keyboard scancodes in the linux kernel sources, but I did not find anything. Does someone know where to find these? Especially the USB scancodes would be interesting.
2
votes
2answers
264 views

How does a BIOS password work?

I have created a BIOS password. I use the Dvorak keyboard layout. When I switch my keyboard layout to Qwerty and restart, and then type password in with the different layout, there is no change. ...
12
votes
3answers
677 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 ...
2
votes
1answer
655 views

How to use numeric keypad as mouse?

Is there a way in Linux mint to use numpad as a mouse on my desktop. I have tried shift+numlock but it did not work. Is there a package that I must install? Articles on the Internet are too old to ...
17
votes
9answers
3k views

Keep NumLock always on

I have standard keyboard with numerical keys on the right side (I guess it's called 104-key keyboard). I want to use the numerical keys only as numerical keys. That means, I don't want the NumLock to ...
1
vote
0answers
232 views

USB Mouse and Keyboard not working in Linux 4 Tegra

I'm new to Tegra Linux development. I have a Tamontem NG Evaluation board with the Tegra 3 Chip. I installed L4T sample file system from NVIDIA Tegra resources ...
2
votes
0answers
225 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 ...
0
votes
0answers
344 views

Strange behaviour from special keyboard keys

OS: Linux Mint 13 Maya - MATE So, I had a new keyboard through today and there is something strange going on. The following keys are identified as the Shift key. LEFT SHIFT RIGHT SHIFT ...
9
votes
2answers
2k views

Is it possible for a daemon (i.e. background) process to look for key-presses from a USB keyboard?

I'm working on an embedded Linux project where I will be developing a program that will run automatically on bootup and interact with the user via a character display and some sort of button array. ...
6
votes
3answers
20k views

Does the Fn Lock (FnLk) on Thinkpad T440s work well with Linux?

I'm considering to buy a Lenovo Thinkpad T440s and to install Linux on it. According to the user guide and photos of T440s, to use F1-F12 you have to hold down the Fn key, or use Fn+Esc to enable "Fn ...
7
votes
1answer
2k views

How to disable keyboard?

Without unplugging my keyboard I'd like to disable it from the terminal; I was hoping that this could be done using rmmod but based on my currently loaded modules it doesn't look like it is possible. ...
10
votes
2answers
1k views

Script to quickly test all keyboard keys

I need to check some notebooks for bad keyboard keys, and so I'd like to speed that up as much as possible. I found nothing for this specific task, so my idea is a script that reads the pressed keys ...
5
votes
1answer
2k 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 ...
1
vote
1answer
810 views

How to permanently disable the Insert key on Linux?

The Insert is located right next to Backspace. So when I am using Leafpad, Gedit, etc., I hit Insert by accident often, which causes the cursor to turn into a bold box which over-writes text as I ...
2
votes
1answer
454 views

Some keys keep getting randomnly ignored when typing on my laptop keyboard

Currently, I have Arch Linux 64-bit installed on the Razer Blade Pro laptop. The only problem I have is that some keystrokes get randomly ignored when typing at normal-fast speed (above 5 keys/sec ...
6
votes
1answer
470 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 ...
2
votes
2answers
744 views

A single key on keyboard produces extra keypresses for each simultaneously pressed key

I recently acquired MK-85 mechanical USB keyboard from QPAD. The keyboard works perfect on Windows. It works perfect in Syslinux. It works almost perfect on Linux. The only issue on Linux is that a ...
3
votes
1answer
2k views

USB keyboard only works intermittently in GRUB 2 on reboots - how to make it work consistently?

Something weird is going on with my keyboard. The keyboard is a USB-connected Unicomp, which works absolutely flawlessly once the computer is up and running. However, GRUB 2 (specifically, ...
2
votes
2answers
453 views

Can I do everything on Linux without keyboard? [closed]

Suppose that I have a desktop computer such that everything works except keyboard . Is it possible to install and run Linux to this computer? I guess the answer is no as super user password requires ...
1
vote
1answer
55 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 ...
3
votes
2answers
865 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
4answers
1k views

How can I make Ctrl + Alt act like Alt gr in Ubuntu?

I recently switched to Ubuntu on my laptop and one thing that almost got me to switch back to windows is the fact that I can't make Ctrl + Alt to act like Alt gr. I have programmed in several years ...
0
votes
2answers
404 views

Pg Dn key returns tilde (~)

When I hit Page Down in terminal (I'm using Ubuntu 12.04), strangely I get the ~ (tilde) character. This is annoying especially when I searched my command line history and decided to go to the bottom ...
3
votes
2answers
179 views

Multi-function CapsLock without X

I would like to remap CapsLock to Esc when pressed by itself and Ctrl when pressed with another key without using X. This is similar to a previous question ( Remap CapsLock to Escape and Control ...
2
votes
0answers
117 views

Xmonad seems like a (physically) painful experience

I've been using Xmonad for several hours after hearing recommendations from several people. Currently my configuration is very basic. I mapped the modifier key to the "windows key" as suggested in ...
1
vote
2answers
2k views

Why is my keyboard typing the wrong letters?

While surfing with Iceweasel, I tried typing in a Web address, but I found, that every few keys, it started typing other letters instead of the ones I typed. For example, if I typed ...
4
votes
1answer
576 views

Switch to TTYs without Function keys

At the moment I have a keyboard which lacks function keys (F1 through F12), and I was wondering - is there a way I could switch to textual TTYs (and back, which might prove to be a problem if I were ...
3
votes
1answer
439 views

How to get the actual keyboard device given the output of /proc/bus/input/devices?

When I run: cat /proc/bus/input/devices ...I receive the following output: ... I: Bus=0003 Vendor=040b Product=2000 Version=0110 N: Name="Generic USB Keyboard" P: Phys=usb-0000:00:1d.0-1/input0 ...