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/

  • Twitter
  • Facebook
  • FriendFeed
  • StumbleUpon
  • Digg
  • del.icio.us
  • Google Bookmarks
  • Reddit
  • Tumblr
  • PDF
  • Print
  • email
Rating: (No Ratings Yet)
Loading ... Loading ...
View Comments
Published: Jan 14th, 2007 (Views: 15)
Categories: Coding
Tags:
  • There surely is a way to setup the prefered network? Or may be it remmembers the last network you were on? Anyway, I don't know why and how but on Linux I get the best wireless performance compared not only to mac os x but also to Windows. And that's on my mac + 2 laptops. It might be that crappy D-Link wireless router we've got here... who know's.
  • I'm in the same boat as you. I have a MacBook with Ubuntu on it but kept Mac OS X on there for fun. One of the gripes I've had with Mac OS X is that (unline NetworkManager), it will connect to any wireless network within reach, even if I've never visited it before. That's an extreme pain in the ass because I start logging into things without realizing that its not my network!

    After having used wireless networking on Linux, Mac OS X, and Windows, I think that for the first time Linux has the best networking interface.
blog comments powered by Disqus