Microsoft Keyboard

Jul 4, 2011·
Julio Batista Silva
Julio Batista Silva
· 2 min read
blog Hardware

Keyboard

I bought a wireless Microsoft 6000 v3.0 keyboard, which has several multimedia keys and uses the British layout.

Getting used to the UK layout is not a big deal; my only complaint is the position of ESC, the key I use most in Vim, which is much too far away.

Even though it worked reasonably well out of the box, including on the boot screen, you can make it work even better.

On Windows

Download and install IntelliType: http://www.microsoft.com/hardware/en-us/d/wireless-keyboard-6000v3.0

After installation everything works very well, and we can even customize the key functions using the program that ships with the driver.

On Linux

Since the laptop keyboard is a US one and the wireless keyboard is British, we can use setxkbmap to set the layout of each keyboard separately. I found the keyboards’ device IDs by trial and error (since the output of xinput -list does not match).

Add the following lines to .xinitrc to make the settings permanent:

##############    Keyboard Stuff    ##############
setxkbmap -device 13 -model acer_laptop -layout us -variant intl
setxkbmap -device 11 -model pc105 -layout gb -variant intl

C-Cedilla

The US layout lets you type ç with AltGr + ,, but in the UK layout the default is Alt + G or AltGR + = + c (since AltGR + = is the cedilla).

julio@julio-acer ~> xmodmap -pk | grep cedilla
     21         0x003d (equal)  0x002b (plus)   0x003d (equal)  0x002b (plus)       0xfe5b (dead_cedilla)   0xfe5c (dead_ogonek)

We can remap the keyboard for a simpler setup using xmodmap.

Edit ~/.xmodmap_uk and add the line:

keycode  54 = c C c C ccedilla Ccedilla

And then use the command to activate the new mappings:

julio@julio-acer ~> xmodmap ~/.xmodmap_uk

The favorites and zoom keys are not even detected on Linux; I am still looking for a solution to that. The multimedia keys can be configured using xbindkeys.

Extending the signal range


Julio Batista Silva
Authors
Senior Cloud Developer

I’m a Brazilian-German computer engineer based in Germany, passionate about tech, science, photography, and languages.

I’ve been programming for about two decades already, exploring everything from mobile apps and web development to machine learning. These days I focus on cloud SRE and data engineering.

I volunteer in the open source and Python communities, helping organize PyCon DE and PyData Berlin, serving on the PSF D&I Work Group, mentoring, and contributing code and translations.

On my blog, I share Linux tips, setup guides, and personal notes I’ve written for future reference. I hope others find them helpful as well. The content is available in multiple languages.

Browse my gallery for some of my photography.

Away from the keyboard, you’ll find me at concerts, playing clarinet, cycling, scuba diving, or exploring new places, cultures, and cuisines.

Always happy to connect! 🙂

comments powered by Disqus