Language Selection

English French German Italian Portuguese Spanish

Customize your laptop keyboard with X and KDE

Filed under
HowTos

I am a Linux user, and I recently got an eMachines laptop. Since I'm Uruguayan, my mother tongue is Spanish, and that presented a problem: laptops usually have an American-style keyboard, and Spanish (as well as Portuguese, French, German, and other languages) requires some special keys that aren't on American keyboards. Here's how you can get international characters on your American keyboard -- and as a bonus, we'll see how you can enable the special "media" or "Internet" keys on some keyboards that aren't supported by Linux out of the box.

When you set up Linux (I'm using openSUSE 10.2) the keyboard on most laptops is detected as "Generic 104 key PC" (or 102, or a similar number; check your laptop) with a "US English" layout. In such a keyboard, you won't have any special keys for letters such as "Ñ" or "Ç," and you also won't be able to use tildes to get "ã" or "ü." (And, by the way, the Windows ALT+nnn combinations won't work, so don't even bother.) However, you can work around this by "composing" the desired characters by pressing a pair of keys.

If you are feeling adventurous (or you don't use openSUSE) you can edit the /etc/X11/xorg.conf file directly with any text editor. Look for the "InputDevice" section that deals with the keyboard, change it to look like the section below -- note the XkbVariant line -- and the next time you start a GUI session, the keyboard will be OK.

More Here.




More in Tux Machines

today's howtos

A tour of Google's 2016 open source releases

Open source software enables Google to build things quickly and efficiently without reinventing the wheel, allowing us to focus on solving new problems. We stand on the shoulders of giants, and we know it. This is why we support open source and make it easy for Googlers to release the projects they're working on internally as open source. We've released more than 20-million lines of open source code to date, including projects such as Android, Angular, Chromium, Kubernetes, and TensorFlow. Our releases also include many projects you may not be familiar with, such as Cartographer, Omnitone, and Yeoman. Read more

Viewing Linux Logs from the Command Line

At some point in your career as a Linux administrator, you are going to have to view log files. After all, they are there for one very important reason...to help you troubleshoot an issue. In fact, every seasoned administrator will immediately tell you that the first thing to be done, when a problem arises, is to view the logs. And there are plenty of logs to be found: logs for the system, logs for the kernel, for package managers, for Xorg, for the boot process, for Apache, for MySQL… For nearly anything you can think of, there is a log file. Read more

At Long Last, Linux Gets Dynamic Tracing

When the Linux kernel version 4.9 will be released next week, it will come with the last pieces needed to offer to some long-awaited dynamic thread-tracing capabilities. As the keepers of monitoring and debugging software start using these new kernel calls, some of which have been added to the Linux kernel over the last two years, they will be able to offer much more nuanced, and easier to deploy, system performance tools, noted Brendan Gregg, a Netflix performance systems engineer and author of DTrace Tools, in a presentation at the USENIX LISA 2016 conference, taking place this week in Boston. Read more