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

learn more… | top users | synonyms

3
votes
1answer
456 views

Laptop keyboard occasionally stops working

I have a dirty solution that is to plug a USB keyboard in and execute the following command: setxkbmap -rules evdev -layout us -model evdev Afterward my keyboard will work. This solution only ...
0
votes
0answers
12 views

Fn key results in backslashes rather than brightness, etc

I recently upgraded from Ubuntu 14.04 to 14.10. On 14.04, the Fn key controlled bits and pieces such as mute, brightness, volume, lock touchpad, etc. all worked fine. After the upgrade, they don't. ...
1
vote
0answers
31 views

Permission of file keeps changing back

I have an Asus G75VX laptop running Fedora 20. The laptop has a keyboard backlight that is turned on by default every time I log in, which is undesirable behavior. I tried to solve the problem by ...
1
vote
2answers
33 views

Can't enter GNU GRUB boot menu!

so I booted up an old Linux Mint machine today and I can't seem to remember the password. So I wanted to reset the password using the instructions on Mint's website but when I hold shift the GNU GRUB ...
0
votes
0answers
7 views

Mimic alt + backspace in iTerm2

I'm trying to figure out how to mimic the alt + backspace behaviour in iTerm2. (In a Linux virtual terminal that should delete everything before a non alpha character, I guess) I can send a key ...
1
vote
1answer
38 views

setxkbmap command and set local keyboard

Suppose the following code of shell: setxkbmap us ## set keyboard layout to English language ## OR setxkbmap ir ## set keyboard layout to Persian language ### OR setxkbmap ru ## set keyboard layout ...
1
vote
2answers
255 views

Brazilian Keyboard layout in CentOS 6.5

I'm Brazilian and new with Linux. I have the CentOS 6.5 with Gnome 2.28.2 running in a VirtualBox VM. I'm using it to PHP programming and I'm loving it. But I'm having a hard time to make ...
1
vote
0answers
20 views

How to capture a keyboard shortcut

I need a script, that will run in terminal (under X11), and wait for a keyboard shortcut (happening anywhere in the desktop environment), once that shortcut (or key press sequence) happens, it will ...
26
votes
6answers
19k 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, ...
1
vote
1answer
19 views

How remap my CapsLock key to work as if it was a Return key using setxkbmap?

I tried several things: setxkbmap -option caps: return setxkbmap -option caps: enter I also tried to modify the file /usr/share/X11/xkb/symbols/pc by: "Key <CAPS> {[Enter]};" But nothing ...
1
vote
1answer
30 views

using script function rather than keyboard input

I'm writing a shell script to change a user's password. I tried to use the passwd command, but that command always asks for the old and new passwords to be typed; it won't accept them from my script. ...
22
votes
1answer
1k views

Can another program on X capture my root password while I type it in a virtual terminal?

Usually I only install open source programs on my linux box because I don't trust closed source applications. Recently I had to use Dropbox for a university project. I created a separate linux account ...
7
votes
6answers
2k views
2
votes
2answers
522 views

Corsair Vengeance K-95 Keyboard & Linux [closed]

I've been thinking that I want a mechanical keyboard, currently I'm using a logitech G510 which is perfect with it's 18 programmable keys (I'm using it with this) but I hear a lot of people drooling ...
5
votes
4answers
2k 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 ...
3
votes
2answers
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, ...
1
vote
0answers
140 views

Mouse and keyboard not working (extreme lag) after fresh install Linux Mint 17.1

After installing Linux Mint Cinnamon 17.1 (32 bit) on my vaio z laptop, the mouse and keyboard start working for a few seconds, then freeze and continue to work very intermittently. For example, I hit ...
5
votes
1answer
610 views

Dead keys not working in Java Swing applications

I'm currently using Ubuntu 10.10 and Netbeans 7.0 and I can't type accented letters with dead keys any more. It's not a version specific problem seems it's related with Swing since I've got the same ...
1
vote
1answer
67 views

Brightness keys not working on 3.14+ kernel

I have a dual-boot installation: OpenSuSE 13.2 & Linux Mint 17.1 on Asus k55vd, both 64-bit. I am running a 3.14 kernel on Linux Mint and 3.16 on OpenSuSE. I had encountered that kernels above ...
1
vote
1answer
34 views

Is there any way to identify which application is hijacking a keyboard shortcut?

Some application on my system (Ubuntu Linux 13.0) is hijacking a specific keyboard shortcut (Ctrl+Space). I don't know which one it is and would like to identify it. How can I do this?
3
votes
1answer
46 views

xmodmap keybindings don't work

I am trying to use Xmodmap to add some german diareses/umlauts to my keyboard, but Xmodmap is not working with them (but is with other remappings). I am following this guide: German Umlauts on US ...
5
votes
1answer
214 views

keyboard hard remap keys?

I am trying to find a way to remap keyboard keys forcefully. I tried using xmodmap and setxkbmap, but they do not work for one specific application. Such commands work for other normal ...
0
votes
1answer
36 views

linux with KDE, disable CTRL+F9 combination key

On my linux (ubuntu) with KDE, when i press CTRL+F9 the system shows all the opened windows as miniatures, allowing me to select one by clicking on it. Unfortunately, the very same key combination is ...
1
vote
0answers
29 views

numlockLed is enabled but numpads are not working

I have put the following code to enable Numlock at boot time. #!/bin/bash for t in /dev/tty[0-9]*; do setleds -D +num <$t; done in start up script. it is working fine on OS level. but after ...
1
vote
0answers
77 views

Bash script run file redirect the license and difent key press to a dialog graphic tool

i am trying to show the license from the ".run" script file in specific , the "TeamSpeak 3 Client" .run , file I am trying to make this with "zenity" , "mate-dialog(s)" and "kdialog" ok right now i ...
1
vote
2answers
31 views

Use/Grab the only keyboard with no user logged locally

I have a raspberry pi running some software (I have the source) that needs user interaction and has a special (USB) keyboard with only 3 keys. The program runs on framebuffer (SDL) and is launched ...
2
votes
0answers
33 views

Keyboard key is not recognized even with showkey

I am using Ubuntu 12.04, in a laptop that I carry around and use with different physical keyboards (as I don't feel comfortable with laptop keyboards) For one of those keyboards (Dell SK-8135) the ...
1
vote
0answers
31 views

is this a keyboard hardware limitation?

I have remapped Caps_Lock to Ctrl_L on an ancient mechanical keyboard. It is still impossible to use the caps lock key to produce key combinations like C-e. xev shows the following sequences are ...
1
vote
0answers
284 views

Bluetoothctl: No default controller available

I'm having issues connecting my Logitech K810 Bluetooth keyboard in Debian Jessie with BlueZ version 5.23-1, kernel 3.16.0-4. The keyboard works fine most of the time but sometimes it doesn't work at ...
0
votes
1answer
235 views

USB not working in OpenBSD 5.6 installer

I'm trying to install OpenBSD 5.6 amd64 on my 2012 Mac mini (quad-core Intel i7), but USB stops working partway through the boot sequence, as evidenced by my lighted keyboard going dark. Without a ...
5
votes
4answers
7k 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 ...
2
votes
1answer
34 views

Enable numlock only for external keyboard

I'm not sure this is possible, but I thought why not to ask. I have a laptop without a numeric block, and use it sometimes with external keyboard. Numlock for the internal keyboard = useless, so I ...
5
votes
0answers
765 views

“usb 3-2: can't set config #1, error -110” - USB keyboard works in Windows 8 laptop but on PC only until Linux boots

I tried 2 new USB keyboards that work until Linux starts booting. When booting I saw: [ 8.365211] usb 3-2: New USB device found, idVendor=1a2c, idProduct=0b23 [ 8.404863] usb 3-2: New USB ...
2
votes
2answers
119 views

Grabbing keyboard control in shell script

I have a certain shell (zsh) script which reads one character at a time and performs an action afterwards. In the shell, this is realized by "read -k" in a loop. I want to execute the script as a ...
2
votes
1answer
63 views

Mapping key bindings

Background: I got an Acer Chromebook yesterday and I am running Ubuntu on it (I am also somewhat new to Linux). The keyboard does not have dedicated Home and End buttons since in ChromeOS there are ...
1
vote
0answers
25 views

Keyboard error in Fedora 20 (virtualbox)

When I press the ALT key it also presses the CTRL key in the guest machine (Fedora 20). This prevents me from typing [ ] { } ~ ... and so forth. My current workaround is: After I press ALT I press ...
2
votes
1answer
72 views

Autohotkey Equivalent?

Is there an equivalent product/method for AutoHotkey. For those that don't know, its a product that allows you to program your mouse movements and keyboard. This allows me to "macro" certain functions ...
1
vote
0answers
50 views

keyboard shortcut for inserting text

how to set a keyboard combination for inserting special string in current window at current position? for example, when I'm on Firefox address bar, or Chrome address bar, and press Alt+Ctrl+N it ...
1
vote
0answers
31 views

How to disable USB Keyboard at run time from udev.c not from udev rules

I want to disable my USB keyboard at boot time (in some scenarios) without modifying udev rules, as I know udev rules only works when a device is attached or detached from the target. Is there any ...
0
votes
0answers
8 views

OpenSuse 11.1 Keyboard Issuses

Im having some repeat issues with my keyboard being unresponsive. Im using opensuse 11.1 with a 2.26.27* kernal and it seems to be getting worst. When the keyboard dies (although the mouse works) , ...
3
votes
3answers
2k views

USB keyboard doesn't work with Debian installer

I have a wired USB keyboard. I've written the latest netinstall Wheezy image on my USB pendrive (using dd). It boots but the installer doesn't recognize the keyboard! (The same pendrive works on my ...
3
votes
1answer
28 views

A ton of input at the login appears to lock the machine?

Occasionally my one year old son will come into my office where my machine is at the command line login prompt. As my little geekling is wont, he starts banging on the keyboard like Daddy does. As ...
0
votes
1answer
129 views

Mint 17 via EFI stub on 32-bit MacBook, keyboard doesn't work; fine with Grub bootloader

I'm not necessarily looking for a solution, although that would be great... mainly an explanation. On a MacBook 1.1 using rEFInd boot manager, if I boot Mint 17 Cinnamon 32-bit via the Grub ...
0
votes
0answers
156 views

Keyboard doesn't working in boot menu on VirtualBox

I've just trying use CentOS 6.5 LiveCD on VirtualBox but all my attempts fail. When the system starts I see "Automatic boot in 10 sec ..." - if I do nothing, the message disappears after 10 seconds ...
1
vote
3answers
2k 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 ...
2
votes
1answer
816 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 ...
0
votes
0answers
14 views

key replacement (like autohotkey?) [duplicate]

I have several broken keys on my laptop keyboard, which I replaced with key commands in Windows using autohotkey. Autokey, the closest linux alternative, has fallen out of development and won't run on ...
2
votes
0answers
112 views

Unable to load a USB keyboard driver on Debian machine

I have a pretty simple driver for USB keyboard: #include <linux/module.h> #include <linux/kernel.h> #include <linux/usb.h> #include <linux/usb/input.h> #include ...
5
votes
1answer
140 views

Linux kernel dropping custom keyboard scan codes

I have a vintage IBM 122 key model M keyboard that I am adapting for use on a modern computer. I am using a Teensy 2.0 to do the encoding and to handle the USB side of things. I borrowed the firmware ...
2
votes
0answers
61 views

Copy and Pasting Script for the Alphabet and Numbers [closed]

How would I create the following shortcut? Ctrl+Win+A = Copy selected text to a unique "A" variable. Win+A = Paste the text which is binded to the unique "A" variable. And then extend this to the ...