Mac OS X: A Month Later
My main OS on the iMac is openSUSE Linux. I’ve decided to keep the Mac OS X to play with it when I am bored.
I have found workarounds for 2 of the issues I’ve had:
Mouse Acceleration
I found this “trick” while I was talking on the phone and clicking absolutly randomly around.
. While it doesn’t fix the issue 100% it does make stuff more usable for me. Open System Preferences -> Universal Access and set the Initial Delay to Short. Screenshot:
[[Image:software/osx-accel-fix.png|center]]
Keybindings in GUI
To start using Ctrl instead of the Apple key go to System Preferences -> Keyboard and Mouse -> Modifier Keys swap Control and Command.
To fix page up/down/home/end create a file (and directory path if not exisiting yet) ~/Library/Keybindings/DefaultKeyBinding.dict with the following contents:
/* ~/Library/KeyBindings/DefaultKeyBinding.dict */
{
"^\010" = "deleteWordBackward:";
"\UF729" = "moveToBeginningOfLine:";
"^\UF729" = "moveToBeginningOfDocument:";
"$\UF729" = "moveToBeginningOfLineAndModifySelection:";
"$^\UF729" = "moveToBeginningOfDocumentAndModifySelection:";
"\UF72B" = "moveToEndOfLine:";
"^\UF72B" = "moveToEndOfDocument:";
"$\UF72B" = "moveToEndOfLineAndModifySelection:";
"$^\UF72B" = "moveToEndOfDocumentAndModifySelection:";
"^\UF702" = "moveWordBackward:";
"^\UF703" = "moveWordForward:";
"$^\UF702" = "moveWordBackwardAndModifySelection:";
"$^\UF703" = "moveWordForwardAndModifySelection:";
"\UF72C" = "pageUp:";
"\UF72D" = "pageDown:";
}
Keybindings in Terminal
In the Window Settings -> Keyboard swap shift xxxkeys with the equivalen without shift – e.g shift page up with page up. To get the backspace key working in the Terminal app “Delete key sends backspace” should be ticked. Also do not forget to click on “Use Settings as Defaults.
Create or append to ~/.inputrc the following content:
# Be 8 bit clean.
set input-meta on
set output-meta on
set convert-meta off# allow the use of the Home/End keys
“\e[1~”: beginning-of-line
“\e[4~”: end-of-line# allow the use of the Delete/Insert keys
“\e[3~”: delete-char
“\e[2~”: quoted-insert# mappings for “page up” and “page down” to step to the beginning/end
# of the history
“\e[5~”: beginning-of-history
“\e[6~”: end-of-history# alternate mappings for “page up” and “page down” to search the history
# “\e[5~”: history-search-backward
# “\e[6~”: history-search-forward
Source – http://tech.inhelsinki.nl/gnu_developement_under_mac_os_x/
