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

learn more… | top users | synonyms

8
votes
1answer
2k views

Relationship of keyboard layout and xmodmap

I'm using Xubuntu. Before login I can choose a keyboard layout. I'm using xmodmap for remmaping some keys. I'm interested in two things: How the state of keyboard mapping changes when I turn the ...
1
vote
1answer
571 views

Autokey won't start

I installed autokey-gtk application but it won't start. When I run it from terminal it will write a message: Xlib.protocol.request.QueryExtension but that's all. The application won't start. Do ...
2
votes
1answer
199 views

Starting automatically uppercase after dot

Is it possible to configure the following automation? Everytime I will type a sentence in which the last character is dot, colon or quotation mark it will change the next letter automatically to ...
3
votes
1answer
873 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".
4
votes
3answers
1k views

Set the key for spanish eñe letter

How can I map the spanish eñe letter to a key combination? What application is suitable for this purpose (xmodmap, xbindkeys, ...)? When I press Caps Lock + n, it should type ñ When I press Caps ...
9
votes
1answer
2k views

How can I type Unicode characters into KDE's Konsole terminal from a Gnome desktop?

I use Ubuntu.. In 'gnome-terminal', I can type Unicode Codepoints by first typing Ctrl-Shift-u followed by the Codepoint hex value, eg. C-S-u 2468 produces ⑨ konsole, my preferred terminal, does ...
2
votes
1answer
580 views

How can I press key of “keycode 53” every minute in X?

I want to automate my typing. I can use window managers such as gnome and fvwm. I can access to ubuntu and obsd.
98
votes
3answers
46k views

How to unfreeze after accidentally pressing Ctrl-S in a terminal?

It's a situation that has happened quite often to me: after I press (with a different intention) Ctrl-S in a terminal, the interaction (input or output) with it is frozen. It's probably a kind of ...
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
4answers
1k views

Matlab gets “crazy” after type special characters

I'm using a computer running Ubuntu and I'm connected through ssh to a RedHat machine where I use Matlab in command line mode (matlab -nodesktop). Matlab version is 7.10.0.499 (R2010a). My problem ...
3
votes
1answer
2k views

How to change the USB keyboard layout in an OpenBSD console?

I may be abusing the word console but I mean the mode without X i.e. pressing ^+Alt F1 and then log as other user where I want to use my chosen layout with USB keyboard. X works, it configures the ...
3
votes
2answers
528 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 ...
9
votes
2answers
3k views

Mapping key combination with xmodmap

I'm trying to achieve the following mapping keycode 135 = <Ctrl-C> Is it possible to achieve this in some way?
3
votes
2answers
5k views

'd' Key on VNC Viewer Minimises All Windows

I'm running vnc4server on an Ubuntu 10.10 box, and connecting to it from an Ubuntu 8.04 machine using TightVNC Viewer 1.3.9. I'm unable to type anything with the character d within the VNC session, as ...
7
votes
6answers
1k views

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

It's like this: “ (U+201C) ” (U+201D).
5
votes
3answers
2k views

how to assign another modifier to Alt key for X11?

Aim: I would like to assign Alt to CapsLock-key, and Meta to Alt-key. But in such way, Alt-key would no longer be recognized as Alt, and CapsLock-key would no longer be recognized as CapsLock. ...
1
vote
1answer
534 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
188 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?
3
votes
0answers
234 views

Keyboard triggering mouse events on Debian on Macbook

I installed Debian 6 on my Macbook in a dualboot configuration. Everything is working fine, except for the keyboard. As I'm typing, I see the mouse arrow moving a bit and strange things happen, such ...
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 ...
4
votes
2answers
1k views

Remapping caps-lock to escape, and menu to compose, on the linux console

When running X I use a .xmodmaprc to remap certain keys thusly: ! Make it so that both Caps Lock and Escape do Escape clear Lock keysym Caps_Lock = Escape ! Remap the menu key as Compose keysym Menu ...
0
votes
0answers
355 views

Why is the US international keyboard layout on Debian/Ubuntu different? [duplicate]

Possible Duplicate: Why is the US international keyboard layout on Debian different? I asked this question on askubuntu.com recently but I was not satisfied with any answer. I realized ...
3
votes
1answer
5k views

How to change keyboard keymap

I accidentally set my keyboard type to US during installation, but it actually is UK type. How do I change it? [note] I use Debian Squeeze.
1
vote
1answer
125 views

Holding left arrow triggers permanent Mode_switch

This is a weird one... I recently upgraded from Debian lenny to squeeze (following the upgrade instructions step by step). Everything went surprisingly well, except for one piece of strange new ...
10
votes
4answers
4k views

Why is the US international keyboard layout on Debian different?

Edit: I realized that the "problem" was not only in Ubuntu but in Debian itself and Ubuntu just inherited it, so I had this migrated from Ask Ubuntu I have been using Linux on and off for 10 years, ...
4
votes
1answer
243 views

Diacritics do not work in GTK+ applications running on Mac OS X Snow Leopard

I am using some GTK+ applications in Mac OS X Snow Leopard. My MacBook is configured for using the Brazilian layout, which allows it to enter diacritics as dead keys (so I can write á typing ' and ...
8
votes
4answers
2k views

How do I type the degree symbol under X11 (using a default English keyboard layout)?

I'm trying to put in an email the temperature outside in degrees. On my Mac, the degree symbol (°) is Option+Shift+8. But I'm writing the email in Thunderbird on an Ubuntu 10.10 with the default US ...
5
votes
1answer
668 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. ...
4
votes
3answers
470 views

Diagnosing xmodmap errors

I'm getting this error when trying to use xmodmap to get rid of caps lock: $ xmodmap -e 'clear Lock' X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode ...
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 ...
3
votes
1answer
925 views

The caps lock and scroll lock lights are flashing and everything is frozen

I was using a small Linux distro that was running X11 with JWM as its window manager. I was browsing a directory when all of a sudden the mouse froze and the keyboard became unresponsive. The caps ...
5
votes
1answer
3k views

Why don't Page U/Down, Home/End work in less on Solaris over ssh from Ubuntu?

I need to work on a Solaris server over ssh from my Ubuntu (Lucid) laptop. I got Home/End Insert/Delete Page Up/Down working in csh and bash using bindkey and ~/.inputrc, respectively. But I can't ...
4
votes
1answer
724 views

How do I fix unix so that I can use the arrow keys in a terminal?

Before I was able to use the Up/Down arrow keys to cycle through previous commands, but now when I press a directional key it outputs "^[[A". I'm running a bash shell. How do I fix this?
6
votes
1answer
294 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), ...
1
vote
2answers
435 views

Can't map XF86AudioRaiseVolume key in QJoyPad

I wanted to map my PSone gamepad to do some basic KDE/keyboard/mouse functions and everything works well except one thing. I use logitech ultra-x keyboard which has a few multimedia buttons (play, ...
7
votes
3answers
1k views

Is there something that will generate keyboard's click sounds?

I miss using a clicky keyboard at work. It's a fairly quiet office, so I'm stuck using a nearly silent keyboard. The upshot is that I can wear headphones. Is there something in Linux or X that can ...
2
votes
1answer
397 views

Just installed openSUSE 11.3, and after 5 seconds , my keyboard goes to sleep for 1-2 characters?

My keyboard skips one or two characters, whenever I stop typing for 5 seconds or more. Since I just installed 11.3 openSUSE, I don't know if this issue is an improper configuration, a bug in 11.3, or ...
15
votes
3answers
4k views

How to fix Ctrl + arrows in Vim?

I am using Putty -> Suse box -> vim 7.2 combo for editing and want to remap Ctrl + arrows combo to a particular task. But for some reason, Vim ignores the shortcut and goes into insert mode and ...
2
votes
1answer
522 views

Ubuntu Remap script for UK Logitech Cordless Wave Keyboard

I have just bought a Logitech Cordless Wave UK Keyboard and mouse and I'm trying to get the keymapping sorted but not having much luck! The main problem I have is none of the key seem to give me the ...
12
votes
3answers
5k views

How does keyboard mapping work in Linux? [duplicate]

I have always had trouble with understanding the way keyboard mapping and related things are put together in Linux. When things break, it makes my blood boil if I have to sift through endless ...