Tag Archives: os x
On Mac OS X I use Typinator (Text Expander alternative) and lately it has been showing a weird icon in the menu bar (pictured below) and it is not working. The expansion is not paused, and I don’t see any options which would prevent it from working, but it is not working. Quitting and restarting the application does not help, but restarting the computer does fix the issue until it goes into this mode again. Solution for Typinator in Secure Keyboard Mode What does this mean? Typinator has detected “secure keyboard mode”. The icon with two black dots appears when Typinator cannot see what you are typing because your computer is operating in “secure keyboard mode”. Typinator uses an “event monitor” to watch you typing. For security reasons, Mac OS X disables the monitor when you are typing in a password field. However, there are a few programs that turn secure keyboard mode on and do not turn it back off when there no longer is any security risk. In this particular situation, secure keyboard mode was turned on by Typinator. If you do not know which application is causing the problem, try quitting applications one by one and watch Typinator’s icon in the menu bar. When the icon goes back to normal, you know that you have found the culprit. If you have further questions, please see our FAQ page for more information.
If you have an app that the App Store thinks is still installed but is really not installed, you can run this command to rebuild the database and fix the app from showing up as purchased, so that you can restart the App Store and then download / install the application a second time. /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user
I just realized that if you’re using Pianobar on Mac OS X and you connect a Cinema Display, the default speakers won’t change to the Cinema Display by default. This is a little bit troublesome – but it is not impossible to fix. You may need to restart Pianobar after making the change as it uses the libao cross platform audio library. In the System Preferences pane there are two tabbed panes under the “Sound” preference – you can set the speakers to the Cinema Display accordingly: You can also change the sound effects and alert sounds to use the Cinema Display:
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.
I use Quicksilver for almost everything and really hate that the dock always seems to be getting in my way. I was looking for a way to remove it, and found the following lines of code. There are some apps, like DockKiller, which can be a little buggy, but what I’ve found is that using the following commands will (for me) make the Dock small enough and move it into a place where it doesn’t pop up, and so this solution was the one that worked best for me. To implement this solution, open a terminal and run the following commands: // makes the dock icon size really really small defaults write com.apple.dock tilesize -int 1 // puts the dock on the bottom of the screen // other values are left and right defaults write com.apple.dock orientation -string bottom // puts the dock on the left side // other values are center and end defaults write com.apple.dock pinning -string start // restarts the dock so the changes take effect killall Dock Here is a screenshot of the dock – this is actual size, a crop from the bottom left corner of my screen :) If you’re looking for general dock preferences you can also check out the Deeper which exposes a lot of these options in a GUI manner: How do I get to the Trash can now? I’ve written a little applescript which helps me pull up the trash: on run tell application “Finder” open trash activate end tell … Continue reading
###Animate launch### defaults write com.apple.dock launchanim -boolean Expose minimizes desktop defaults write com.apple.dock wvous-olddesktop -boolean Prevent changes to position defaults write com.apple.dock position-immutable -boolean Magnification defaults write com.apple.dock magnification -boolean Show Expose corners defaults write com.apple.dock wvous-showcorners -boolean Prevent changes to min-effect preference defaults write com.apple.dock min-effect-immutable -boolean Ripple when placing widgets defaults write com.apple.dock disable-ripple -boolean-neg Screen Edge Position defaults write com.apple.dock orientation -string left defaults write com.apple.dock orientation -string bottom defaults write com.apple.dock orientation -string right Dock Appearance defaults write com.apple.dock no-glass -float Prevent changes to min-in-place preference defaults write com.apple.dock min-in-place-immutable -boolean Arrow key wraps defaults write com.apple.dock workspaces-wrap-arrows -boolean Dock pinning defaults write com.apple.dock pinning -string Bounce Applications defaults write com.apple.dock no-bouncing -boolean-neg Show “Quit” menu item defaults write com.apple.dock QuitFinder -boolean Switch spaces when using Command-Tab defaults write com.apple.dock workspaces-auto-swoosh -boolean Highlight the arrow of the foremost application defaults write com.apple.dock showforeground – wvous-float-style defaults write com.apple.dock wvous-float-style – Dim hidden apps defaults write com.apple.dock showhidden -boolean Prevent changes to Dock contents defaults write com.apple.dock contents-immutable -boolean Show only running applications defaults write com.apple.dock static-only -boolean Hot Corner: Top left defaults write com.apple.dock wvous-tl-corner -string Show shadow defaults write com.apple.dock showshadow -boolean Always show trash as empty defaults write com.apple.dock trash-full -boolean Prevent changes to Dock size defaults write com.apple.dock size-immutable -boolean Enable single application mode defaults write com.apple.dock single-app -boolean Hot Corner: Top right defaults write com.apple.dock wvous-tr-corner -string Autohide defaults write com.apple.dock autohide -boolean Show floating Expose button defaults write com.apple.dock wvous-floater -boolean … Continue reading
You will need homebrew to install gnutls unless you want to install it manually. Get homebrew at http://mxcl.github.com/homebrew/ You can either then try brew update to update the homebrew repositories. To install pianobar using homebrew you can do brew install pianobar However, if after installation pianobar is giving you an error, check out the issues at https://github.com/PromyLOPh/pianobar/issues, and if your issue is listed you may need to install the very latest version of pianobar by doing a manual build. To do this I’d recommend that you remove the homebrew installations of pianobar, and then manually build. So, to remove the pianobar that was installed with homebrew, type brew remove –force pianobar Next see my notes about installing pianobar manually. // download the root certificates into your home directory as ~/pianobar-cacert.pem // these are needed to help pianobar make a secure connection to pandora wget -O ~/pianobar-cacert.pem http://curl.haxx.se/ca/cacert.pem // add the path to the pianobar config file // ================================================================ echo “tls_ca_path = $HOME/pianobar-cacert.pem” >> ~/.config/pianobar/config // install the dev tools // ================================================================ brew install gnutls json-c // change to your home directory, then clone the latest version of pianobar // change to the directory created, make pianobar cd ~ git clone https://github.com/PromyLOPh/pianobar.git cd pianobar/ make clean && make CFLAGS=”-O2 -DNDEBUG -W64″ // run pianobar from the current directory ./pianobar // note: just typing “pianobar” instead of “./pianobar” will fail if the current directory is not in your path //after running pianobar you should get: Welcome to pianobar (2011.11.09-dev)! Press ? for … Continue reading
“1 new message” – a common notification when you start the terminal, especially if you have cron jobs set up and an error occurs. You can use the built-in “mail” function to check and erase messages, or you can manually edit / delete the files located in the directory: /var/mail