Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am using an old mac usb keyboard on Suse. Everything works fine, except that the " and @ keys are swapped. I have been trying to find out how to change them, and have a general idea of what to do, but not how precisely to go about it. This is what I think you have to do, and what I don't know is also indicated.
1) Find out what the " and the @ key is sending. [do you use xev for this? if so, what am I looking for?]
2) Use xkbdoptions to swap them. I think you do this by editing etc/X11/xorg, going down to the relevant section, and then putting something in - but what? The examples I've found tell you how to swap control and caps lock, but they don't tell me what the two keys I want to swap are called, and I can't find a syntax guide for xkbdoptions.
Finally, is there really, really no simple point and click tool that will do this?
" and @ keys are swapped on American keyboards I think, so try setting your keyboard language to English (UK) or English (US) depending on which one you aren't using now.
If not xev is the command you need to use, to findout the keycode - look for the keycode keyword in the jumble of text that xev outputs (remeber it will give two blocks of text for each key you press - one for the press and one for the release.
I don't know about editing the config files but lineak (linux easy access keyboard) tool might help, it should be one of the included packages with SUSE.
Well, I know exactly what must be done, and after several hours work have no idea how to do it.
I ran xev, and discovered that the two keys I want to swap are
keysym 0x22, quotedbl
keysym 0x40, at
So, in accordance with the xmodmap manual exanples I became root and typed in
xmodmap -e "keysym quotedbl = at"
the only result of this was that the " key now vanished. I got it back by using the X configurer in Suse.
Thinking maybe I had misunderstood, I next omitted the spaces each side of the equals sign in the above command, but that aborted.
What we need is for someone to write a little interactive programme that goes
-- hit the first key you wish to swap
-- now hit the second key you wish to swap
-- you are going to swap __ and ___, are you sure? y/n
I am certain there must be people for whom this would take an afternoon. Maybe 10 minutes? Me, it will probably take a month, but I'm thinking of doing it as a public service to spare everyone else the grief....