Categories
Misc

YouTube of the day

Just ’cause I’m bored.

Categories
Apple Software www

wget for Mac OS X

The missing tool in Mac OS X is most likely wget. Here’s a (universal) port.

Read the readme for installation howto. 🙂

Categories
Apple

Namely + hiding its icon

I recently started to use Namely but having its icon in my dock was quite annoying (like to keep my dock clean).

Namely is an app that let’s you launch any application by typing in a few letters of that program’s name. Just type in a key combination ([Apple]+E here), and Namely’s window pop ups.

After a bit of Googling I found that it was possible to hide icons from the dock.

First of all, configure Namely, make sure it pop ups if you type in your key combo. If you don’t do that now, you’ll have problems to configure it later.

Once that’s done, quit Namely.

Then go to the Namely.app folder (using Terminal), and add these 2 lines

1
2
<key>LSUIElement</key>
<string>1</string>

between <dict> and </dict>

This is what it should look like:

(Nano is the editor I use, but you can also use vi or vim too, depending what’s installed + you might have Namely installed in a different directory)

1
2
Nazgul:~ yeri$ cd /Applications/Utilities/Namely.app/
Nazgul:Namely.app yeri$ nano -w Contents/Info.plist

This is how my Info.plist looks like:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
< ?xml version="1.0" encoding="UTF-8">
< !DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
        <key>CFBundleDevelopmentRegion</key>
        <string>English</string>
        <key>CFBundleExecutable</key>
        <string>Namely</string>
        <key>CFBundleIconFile</key>
        <string>Namely</string>
        <key>CFBundleIdentifier</key>
        <string>com.asagoo.namely</string>
        <key>CFBundleInfoDictionaryVersion</key>
        <string>6.0</string>
        <key>CFBundlePackageType</key>
        <string>APPL</string>
        <key>CFBundleSignature</key>
        <string>????</string>
        <key>CFBundleVersion</key>
        <string>2.5.1</string>
        <key>NSMainNibFile</key>
        <string>MainMenu</string>
        <key>NSPrincipalClass</key>
        <string>NamelyApplication</string>
        <key>LSUIElement</key>
        <string>1</string>
</dict>
</plist>

Notice line 25 & 26.

And that should be it — double click Namely to start it up, hit your keyboard shortcut, and it should pop up!

Namely

No icon in my dock. 🙂

Categories
Apple

Hide your Printer icon in Mac OS X.5

I recently came upon this post; enjoy it. 😉

Makes life just that bit easier!

Categories
Apple Errors Networking Software

Hamachi(X) on Leopard

When playing with KisMAC, I noticed something weird in my /var/log/system.log;

1
2
3
4
$date com.apple.launchd[1] (tuncfgd$pid) posix_spawnp("/usr/sbin/tuncfg", ...):
No such file or directory
$date com.apple.launchd[1] (tuncfgd$pid) Exited with exit code: 1
$date com.apple.launchd[1] (tuncfgd) Throttling respawn: Will start in 10 seconds

tun is (trying) to restart every 10 (!) seconds.
I tried updating Hamachi‘s tun/tap drivers, without any success. It kept restarting the process every 10 seconds.

After a bit of Googling, it seemed to be a known problem. So I decided to uninstall Hamachi & the tun/tap drivers.

1
2
3
4
5
6
sudo rm -r /usr/bin/hamachi
sudo rm -r  /usr/bin/hamachi-init
sudo rm -r  /usr/sbin/tuncfg
sudo launchctl unload /System/Library/LaunchDaemons/tuncfgd.plist
sudo rm -r /System/Library/LaunchDaemons/tuncfgd.plist
sudo rm -r /Applications/HamachiX

This should solve the restarting problem. You might want to reboot to be sure.

When uninstalling the drivers, HamachiX will be gone; there will be no way to use it. You can decide to ignore the spawning-processes, and keep using Hamachi as-is, but the spawning processes might slow down your computer. But HamachiX should work (although it often crashed here).

I tried reinstalling the tun/tap drivers, but the same happens. I guess I’ll have to wait for a fix. 🙁

On the other side, I’ve tried the console version of Hamachi (so no HamachiX) which seems to be working fine (so far). Just missing out on the handy GUI. Edit