Characters
Dollar sign ($) = Alt + 4
Pipe (|) = Alt + 7
Tilde (~) = Alt + ^
Backslash (\) = Shift + Alt + 7
Open square bracket ([) = Alt + 8
Closed square bracket (]) = Alt + 9
Open curly bracket ({) = Shift + Alt + 8
Closed curly bracket (}) = Shift + Alt + 9
Delete = Fn + Backspace
Line
Start of line = Cmd + Left
End of line = Cmd + Right
Word left = Alt + Left
Word right = Alt + Right
Document
Start of document = Cmd + Up
End of document = Cmd + Down
Page up = Fn + Up
Page down = Fn + Down
Print screen
Print screen = Cmd + Shift + 3
Print screen area = Cmd + Shift + 4 (select area to capture)
Print window = Cmd + Shift + 4 and then press Space (select window to capture)
Finder
Delete file = Cmd + Backspace
Showing posts with label mac os x. Show all posts
Showing posts with label mac os x. Show all posts
Thursday, October 15, 2015
Friday, March 11, 2011
How to run Mac OS X application at system startup
1. Create a text file with
2. Replace strings in bold with your application id (can be any unique string) and path to your application executable.
3. Put it to
4. Change file permissions to 644:
More information:
Introduction to System Startup Programming Topics
Technical Note TN2083: Daemons and Agents
launchd.plist(5) Mac OS X Manual Page
launchctl(1) Mac OS X Manual Page
.plist
extension (for example, com.myname.myapplication.plist
) with the following content:<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.myname.myapplication</string>
<key>ProgramArguments</key>
<array>
<string>/Applications/My Application.app/Contents/MacOS/my_application</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<false/>
</dict>
</plist>
2. Replace strings in bold with your application id (can be any unique string) and path to your application executable.
3. Put it to
/Library/LaunchAgents
directory:sudo cp com.myname.myapplication.plist /Library/LaunchAgents
4. Change file permissions to 644:
sudo chmod 644 com.myname.myapplication.plist
More information:
Labels:
mac os x
Wednesday, January 26, 2011
How to unpack .PKG and .MPKG files
Use the perfect freeware and open source unpkg unarchiver utility from timdoug.
You can find it here:
http://www.timdoug.com/unpkg/
You can find it here:
http://www.timdoug.com/unpkg/
Labels:
mac os x
Subscribe to:
Posts (Atom)