Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi. I have a new Acer D150 running Ubuntu Jaunty. It's regular Ubuntu, not any "remix" or "netbook" edition. The machine is great, but I hate the keyboard. I've spent a lot of time trying to customize its layout, but I can't really make heads and tails of the configuration files. It seems that changing alphanumeric keys is very easy, but I rather need to change two special keys, and what with so many layouts and subsections being chained into each possible layout with an "include" command, I always get lost on that maze. I wonder if someone here can help me.
Here is a pretty good shot of the keyboard. I only want to change two keys so far: the first one right next to AltGr (I don't even know what to call it) should be Backspace, and the right-hand Control key should be Delete.
Can someone please give me clear instructions on how to achieve that?
If you open a terminal and enter the command
setxkbmap -print
you'll get a list of the files used to compile your keyboard driver. I get
xkb_keymap {
xkb_keycodes { include "evdev+aliases(qwerty)" };
xkb_types { include "complete+caps(internal_nocancel)" };
xkb_compat { include "complete+ledscroll(group_lock)" };
xkb_symbols { include "pc+gb+inet(evdev)+altwin(meta_alt)+group(shift_caps_toggle)+level3(win_switch)+compose(menu)" };
xkb_geometry { include "pc(pc105)" };
};
You'll find these files in /usr/share/X11/xkb (ro perhaps /etc/X11/xkb) and you can do anything by altering them: keep copies of the originals inst in case of mistakes! To make the two changes you mention, alter .../symbols/pc, or just add the new lines to your national driver ("gb" in my case), as that overrides the others.
However, <MENU> = BackSpace isn't working. That key still performs the original funcion. Only <RCTL> = Delete is working. Of course, I corrected your obvious typo: s/MEMU/MENU. Do you have any idea why it isn't working?
Oh, one more thing: <RCTL> deletes, but I can't hold it and delete lots of characters in a row like with the Delete key. I have to press it once for each character. Not a big deal, but I wish I could fix that too.
Two days and a reboot later, <MENU> = BackSpace is working too. Go figure. The only side effect still on is that Ctrl-Alt-Del does not work anymore. It doesn't matter whether I use the original Delete key (which I didn't change) or the new emulated Delete key. But I can live with that. Thank you again!
Ctrl-Alt-Backspace kills X (except on Ubuntu, where it's disabled), it's not the same as Ctrl-Alt-Del. In KDE, Ctrl-Alt-Del calls a Logout/Restart/Shutdown dialog, which I remapped to something else, so everything is OK.
I just discovered that I need the menu key for some Konqueror right-click command that I use a lot. Humm... Maybe I can map it to the old Delete key at the top of the layout. Notebooks have such lame layouts... :-\
BTW, why did you switch from Slackware to kubuntu?
- Automatic dependency resolution. No more hunting endless dependencies (try installing mplayer on Slackware) or symlinking libraries to make stuff work. Except VMWare. Always VMWare...
- Bluetooth system that actually works (at least it did on Hardy).
- Integrated wifi drivers and application to choose an access point and connect. That was a major headache on Slackware. Plus, Slackware kept dropping my wifi connection all the time. No one ever gave me a solution to that problem. I see that it happens on Ubuntu too, but Ubuntu reconnects automatically. Something sucks in the wifi implementation in Linux and Ubuntu seems more aware of it.
Low-level system tweaking is a lot better on Slackware, but it turns out I rarely ever find myself tweaking anything on Ubuntu. Ubuntu works out of the box. I had fun exploring and tweaking Slackware, but I don't find that fun anymore. I want something that works right away.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.