Tag Archives: mac
The NoSleep utility for Mac OSX ( Mavericks et. all) that allows you to keep your computer from going to sleep even when the lid / clamshell is shut. It is accessed via a System Preferences pane and when running also shows up in the menu bar. To use the command line tool you need to choose that option when installing NoSleep: It will be installed as /usr/local/bin/NoSleepCtrl and you should be able to type in NoSleepCtrl in your Terminal.app to run it ( or use the full path if that doesn’t work ) Here are the options for using it: Usage: NoSleepCtrl [OPTIONS] … Options: -h Show this usage guide -v VRBLVL Verbose level. Default value is 1. 0 – minimal output, 1 – normal output, 2 – include driver output. -a Mode qualifier. Used to select AC-Adapter mode -b Mode qualifier. Used to select Battery mode Modes can be combined (-a -b). Use no qualifiers to select a current mode -g Get status for selected mode -s NVAL Set status for selected mode NVAL should have (%d) or (%d,%d) format, depending on the specified mode (without parentheses)
Many applications seem to launch in appropriate positions but I wish that some (like Chrome and Firefox) would always launch on the left half of the screen, while I would like others like SublimeText to launch on the right side of the screen. I have checked the application settings and can’t find a way to do this. I’ve explored several window managers and am able to move the windows into position after they launch with a keyboard shortcut – but I would like them to launch in pre-determined positions. How can I force application windows to a certain position when the application is launched in OS X? After much searching I didn’t find a specific answer. However I did start using Slate for Mac OS X which is a very advanced, free, and open-source window manager. It has a .slate config file that is in the home directory. There is a issue requesting command line support and I really hope that gets implemented soon – that would solve my issue of easily positioning windows programmatically. If that doesn’t help, I also found a great question on the Apple Stack Exchange listing the best window managers for OS X.
MoreInternet Preference Pane is an application / preference pane that allows you to set up custom protocol / schema handlers in Mac OS X. The MoreInternet Preference Pane modifies the settings inside this file: ~/Library/Preferences/com.apple.launchServices.plist This is a screenshot of what it looks like: It was previously available at monkeyfood.com, but since it is no longer available there you can download MoreInternet Preference Pane at this link: http://download.cnet.com/More-Internet/3000-2094_4-10559064.html
As of a recent release of Quicksilver (around B68 3927) the shelf module has been revised (version 1.2.3 5/9/12) and it will now pop up on the left side of the screen if you hover your mouse cursor near the center of the screen: I love quicksilver but personally find this a little annoying. As far as I can tell there is no visible option to customize where the settings are for the shelf’s behavior, but if you don’t use it you can disable the shelf in Quicksilver’s plugins module: If there is a way to disable the shelf from appearing on the left side you may be able to access it directly with something like the defaults write command. This command turns previews on: defaults write com.blacktree.quicksilver “QSLoadImagePreviews” YES
Q1 NPD number is out. Android surged to 61%. iOS dropped to 29%. Compare that with ComScore’s February number: Android 50.1%, iOS 30.2% Worldwide profit estimate by Asymco Apple: 73% Samsung 26% Everyone else: 1% In Cupertino “ecosystem”, 80% of iOS developers lose money OS Share of Smartphone Phones 2012 Q1 Profit Shares of 8 Mobile Phone Vendors Source
You’ll see from the 1password support site that there is a bug having to do with resetting the default shortcut keys. There are two versions of 1Password, one installed from their website and one installed from the app store. If you use the one from the app store, you an delete these two files to reset all the preferences: Folder: ~/Library/Containers/com.agilebits.onepassword-osx/Data/Library/Preferences/ Files com.agilebits.onepassword-osx.plist com.agilebits.onepassword-osx.plist.lockfile ps: You may want to make a backup of these. If you’ve downloaded the program from their website, you will find the plist file located instead at: ~/Library/Preferences/ws.agile.1Password.plist You can also open these 1Password plist preference files with a program like PlistEdit Pro.app and simply find the following two values and delete them: ShortcutRecorder bookmarks ShortcutRecorder restoreForm For some related information, see the help article on their support forum.
The Mac App Store is the safest place for users to get software for their Mac, but we also want to protect users when they get applications from other places. Gatekeeper is a new feature in OS X Mountain Lion that helps protect users from downloading and installing malicious software. Signing your applications, plug-ins, and installer packages with a Developer ID certificate lets Gatekeeper verify that they are not known malware and have not been tampered with. Mac Developer Program members can sign applications with their Developer ID now to get ready for Gatekeeper. If you’re not already a member, join the Mac Developer Program today.
If you’re using Mac OS X Leopard, Snow Leopard of Lion, your Mac OS may hang when you to to minimize a window, be it from the yellow circle icon in the titlebar, the window menu, or the command+m key combination. After searching for many tips and trying to close running programs (like the ones near the clock), I realized that I needed to adjust the Dock Preferences to allow minimizing to function correctly: The main keys for me were changing from Genie to Scale effect, and then back to Genie, and unchecking the box that said “minimize into application icon” Hopefully this will help you. Leave a comment if it works.
Below is my Applescript example of how to check if an application is running, such as Finder.app, VLC.app, itunes.app, or something along those lines. Quite often I need to check if an application is running as part of my applescript, and so I use this little function / subroutine in applescript to test if the application is running: on appIsRunning(appName) tell application “System Events” to (name of processes) contains appName end appIsRunning Example usage: display dialog appIsRunning(“Finder”) The above apple script example will show “true” in a popup dialog.