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

learn more… | top users | synonyms

2
votes
1answer
734 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
198 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. ...
2
votes
0answers
55 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
277 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
78 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
495 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
107 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
227 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 ...
1
vote
1answer
292 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 ...
2
votes
4answers
2k 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 ...
2
votes
1answer
149 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 ...
13
votes
4answers
940 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
167 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.
1
vote
0answers
130 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 ...
2
votes
2answers
179 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
450 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
418 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 ...
16
votes
9answers
2k 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
187 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
173 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
274 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 ...
7
votes
2answers
1k 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
11k 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 ...
6
votes
1answer
1k 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
1k 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
518 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
340 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 ...
5
votes
1answer
394 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
2answers
481 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 ...
2
votes
1answer
1k 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
297 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
51 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
516 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
3answers
924 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
314 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
143 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
105 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
1k 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 ...
3
votes
1answer
298 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
342 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 ...
1
vote
0answers
34 views

Changing keypad settings

When I setup my Ubuntu machine, I had the option to configure the keypad style in the gnome control panel. I used to check the setting that enables windows-like behavior (Shift+Keypad does not toggle ...
1
vote
2answers
45 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 ...
1
vote
0answers
157 views

Tilde when clicking <Del> key

I am using XFCE Terminal emulator 0.4.8. My ~/.inputrc file: # Insert Key "\e[2~": paste-from-clipboard "\C-v": paste-from-clipboard "\e[A":history-search-backward "\e[B":history-search-forward ...
2
votes
2answers
641 views

Key mappings in Linux

What do people mean when they point out that the "keys are not properly mapped" in a Linux installation when working on the command line? Isn't the default installation OK? What extra/specific ...
11
votes
1answer
466 views

Get the keycode of a key, from a custom made keyboard

I'm trying to transform a Minitel to a computer with a Raspberry Pi. This is a minitel: So I soldered the matrix of the minitel keyboard to a usb keyboard pcb, like this: Everything is working ...
4
votes
1answer
461 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 ...
1
vote
0answers
436 views

Check if Keyboard and Mouse are plugged in

Is there a way to detect if a keyboard and a mouse is plugged in (and working) in Linux? This will be embedded in a PXE setup, so I only have Kernel + Modules and Busybox available. Bonus question: ...
1
vote
1answer
113 views

After I log in, Debian stops registering input

So I just installed Debian on my (other) computer, and I've run into an interesting problem: once I log in, the keyboard and mouse buttons don't work. I can move the mouse, but clicking does nothing, ...
1
vote
0answers
380 views

Caps lock delay problem

With using caps lock for word capitalization, when I type fast using my Linux distro, I get the following: CAps LOck NOt WOrking PRoperly. I tried the same keyboard on a windows machine, it works ...