Tuesday, October 30, 2012

OSX: Russian "Ё" in the PC keyboard layout

The Windows PC keyboard layout is familiar for the most of us. There's one within Lion and Mountain Lion, but there's an issue with the Russian layout - the letter "Ё" is not on it's standard place under "~" button. I was going to write how to create the custom keyboard layout, but there's a lot of manuals about it already. So I've decided to share the my one: Russian - PC - yo.zip
This archive contains two files:
  • Russian - PC - yo.keylayout
  • Russian - PC - yo.icns
Just put them into "/Library/Keyboard Layouts/" directory and reboot. 

Friday, October 26, 2012

Homebrew and GUI applications



Homebrew is a package manager where there are a lot of ports of popular Linux utilities.
It installs all software into /usr/local/bin directory. And to use them by default this directory should be before the standard /usr/bin in the PATH environment variable.
For the Terminal it's simple. Just add into ~/.bash_profile the following line:
  • PATH=/usr/local/bin:/usr/bin:/usr/local/sbin:$PATH
But it doesn't work for GUI applications that use these utilities (e. g. IDE uses Maven and SVN).
To fix this I've changed PATH in the two places.

The first place is /etc/launchd.conf:
  • setenv PATH /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin

The second place is /etc/paths:
/usr/local/bin
/usr/bin
/bin
/usr/sbin
/sbin

Reboot after this changes are made.
With this changes almost all applications work fine. "Almost" is because there's one specific for my project, it doesn't see SVN 1.7. As workaround I run it from the Terminal. 

Wednesday, October 24, 2012

OSX software for common task








When start using a new operating system, it's painful to do usual tasks, because the software is unknown. For make this process easier I want to publish the list of software I'm using (or used).

Almost all software is free. For the paid software there are free analogues.

Terminal

Nice terminal with a lot of preferences and features. I like splitting windows vertically and saving workspaces.

File Manager 

muCommander
I used it initially. But it's buggy, so I've moved to the next one.

ForkLift2 ($19.99) (AppStore)
I was lucky to get it when it was free. I like how it stores bookmarks for the remote hosts, how it connects to my home NAS with WebDav and several other features.

Text editor

TextWrangler (AppStore)
With default TextEdit it's hard for me to edit XML and properties filed. So I've found this one.

Package manager

Homebrew
The most of Linux utilities are available with "brew install [utility]". For example, "brew install wget" for wget, which isn't available for OSX by default.

VNC-client

VNC Viewer
I like how it scales the remote desktop view on the window size changing;

Screen Sharing (/System/Library/CoreServices/Screen Sharing.app)
I've just found it. The first impression is very good.

OpenVPN client

Tunnelblick
It works. But it replaces the default DNS servers with ones it gets from OpenVPN server. If these servers are down, nothing works :-). So I've moved to the next one.

Viscosity ($9.99)
I didn't notice any problems while using it.

Window manager

Scaling the window to full screen with double-click on its header + several other nice features.

Application launcher

Launching applications with "Control+Space" and first letter of the application.

I haven't used it. Other OSX users say that it's almost the same as Quicksilver. I put it here, because it's available in AppStore.

Notification center

Growl ($3.99) (AppStore)
Managing notifications from different application in the one unified way.

Context manager

ControlPlane
The context is a set of preferences and/or actions that depends on the environment (office, home, etc.). This application allows to change them automatically basing on the rules. For example, it changes my default printer when I at home or at work. Or, when I'm at home it mounts my NAS volumes automatically.

The first note

I've created this blog to share my experience and to get some feedback.