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. 🙂

Leave a Reply...