Mode switching between layouts

As most danish hackers have discovered, DK keyboard layout really sucks when it comes to programming/codehacking. But running entirely using US keyboard layout doesn't work either, because you need to write the Danish special characters, æ, ø, and å.
There is, however, a solution to this. It requires you to run Xfree86 version 4.2.0 or later.
In the XF86Config file,
Set the layout to us,dk
and as options use grp:caps_toggle .
You can also use it as a command in your .xinitrc or .xsession file, then the syntax is setxkbmap -rules xfree86 -layout "us,dk" -option "grp:caps_toggle".
Dette indlæg blev udgivet i Knowledge Base, Linux, Old Base, Workstation. Bogmærk permalinket.

Skriv et svar