Matching Up Hotkeys for OS X and Linux GUIs?
I use a MacBook Pro for my main machine, but also have a Ubuntu desktop. I get irritated about switching between command-oriented hotkeys and ctrl-oriented hotkeys (cmd-a on OSX = ctrl-a on Linux/windows). I've looked over a lot of forums and have found that Gnome doesn't seem capable of changing hotkeys, while xfce and fluxbox can. The ideal solution would be a way to change system keys in X, or at the system level — that way I can keep compiz. Does anyone have any ideas or know a trick to change system hot keys?
Superglue a tack onto the control button of your mac. The negative reinforcement will help you learn.
IIRC, compiz has its own keybindings that override Gnome's.
Install the ccsm package for a gui to configure it.
"It was a billion times better than cobol, but still really retarded." -AC
man xmodmap
For every problem, there is at least one solution that is simple, neat, and wrong.
I'm sorry, but "delete" != "backspace", cmd a dos shell, and "option" belongs on a toolbar.
For what it's worth, the apple/command key predates not only the dos shell, but MS-DOS itself. Same with the alt/option key. And "backspace" is a function on a typewriter.
How can I believe you when you tell me what I don't want to hear?
This is certainly one of the stupidest comments I've ever had the misfortune to read on Slashdot.
First of all, I do have to admit that you are correct in stating "delete" != "backspace". However, you're using it to support the standard Windows-type keyboard, when in fact this little fact supports the Mac label. Backspace is supposed to move your current typing position one space backwards, not delete the character to the left of the cursor. Thus, "delete" is actually more appropriate. Some Mac-labeled keyboards are labeled with a symbol next to the delete keys explaining whether they are forward or backward delete.
Cmd is a DOS shell, but only in later Windows (probably the NT family). Otherwise, command is the DOS shell. Also, you'll note that "command" or that funky symbol is the actual label for the key, not "cmd". At any rate, command makes far more sense than control as a shortcut. I want to issue the command with a code of q, x, c, v, or w. So I type command q, command x, etc. What the hell does control mean? I want to control the letter q? I want to control the command indicated by the letter q?
As for the option key, that makes sense as well--pressing it will give you different options based on what other stuff you pressed. Right clicking on an application in the Dock will allow you to quite the application, but if you press option, you get the option to force quit instead. Besides, the option key is also labeled with alt, which, by the way, doesn't make sense when used without control. At least option makes sense without command.
Also, buying a Mac keyboard for his desktop will not solve the problem; in fact that will only make things worse. The command key is the Windows key, but the relative position of that key on a Mac keyboard is switched as compared to a Windows keyboard. So he would try to type alt, but would get Winkey instead. Also, that wouldn't enable him to use command shortcuts in Linux, which was the entire point of the question.
That said, I use a Windows keyboard with Mac OS X. I remapped the alt key to the command key and the Windows key to the option key. It works quite nicely.
If you're going to trot out the Apple // line, you may as well know its history.
Not true. These were added on the Apple //e, which antedates MS-DOS. Take a look at the Apple ][+ as compared to the Apple //e.
The closed-Apple key didn't become Option until the Apple IIgs. (The IIgs unit.) They weren't even on the Apple //e Enhanced. The familiar Macintosh Cmd and Option keys, though debuted with the original model, though there was no control key. But, then, a Mac isn't an Apple //, is it?
So is "return" (as opposed to "enter"). Your point was again? Now get off my lawn.
--Joe
(I grew up with these machines, and I remember their sometimes frustrating differences well.)
Program Intellivision!
I'm looking at that right now and there aren't options for changing: copy, cut, paste, select all, which are the sorts of things I think he wants to change.
It's a shame that GNOME had hidden this EXTREMELY useful functionality. GNOME was supposed to be easy and intuitive right? Yeah right :) ;)
I've used this a lot to fix the keybindings in GNOME which is very much broken. For example, I want CTRL-G for "Go to line" in gedit and I want to be able to open new tabs with CTRL-T like I do in the browser (which is now setting the standard because I spend so much time in the browser so that's what my brain in wired up for).
What I did was remap the Command key to generate a Control key event under X. That way, the shortcuts that work using Command under OS X and using Control under X can be accessed with the same key.
I believe the following lines in my .xmodmaprc accomplish the remapping, but I haven't double checked:
Please correct me if I got my facts wrong.
even easier: in the Keyboard section (of the Keyboard & Mouse system pref) click the modifier keys button (on the lower left). There you can change the command key to be the control key. And switch other ones around too.
The closed apple (command) and open apple (option) keys were on the Apple III keyboard. The Apple III was released in 1980, which does predate MS-DOS by a year.
And my point was that "cmd" and "option" were associated with Apple long before they were a dos shell and a graphical menu. Even if the "option" key wasn't specifically labeled "option" until the Macintosh, it still predates any DOS use of "toolbars" that I'm aware of.
Regarding "return" versus "enter", I agree with the other poster: "Return" has kept its function since the typewriter days. "Backspace" has not. The average user uses the "return" key to move down and return to the beginning of the line, not to enter a command. Conversely, the average user uses the "backspace" key to delete the last character (or some other object), not to back space, to perform a leftward space in order to type another character on top of the last character. In both cases Apple's label is more accurate than IBM's.
How can I believe you when you tell me what I don't want to hear?