Tag Info

Hot answers tagged

6

Hold down the option key when you click on the WiFi menu. Then next to the currently active network there will be a "Disconnect from" option. I'm on Yosemite, and so I'm not sure whether this was present on earlier versions of OS X.


2

By design the first action system does is to save your work in a large file (depending what you had going on) so to be able to wake up exactly to where you left of. Once that is done the next step is to lock it with password. That action does require time (writing the image), so if you are very quick you can catch your system in the writing action. Here is ...


2

Logging to system.log is controlled by the /etc/asl.conf file. The default is to send all kernel messages to system.log. If you add a priority level restriction, the trivial system complaints won't be logged. Edit the file /etc/asl.conf and find a line that looks like this ? [= Sender kernel] file system.log and change it to ? [= Sender kernel] ...


2

This is a bug in 10.10 (the initial release) and can be fixed by simply upgrading to 10.10.1 - build 14B25. Open the App Store and apply the 10.10.1 (or later) update and you should be set once you rename any computers that adopted the (2) names.


2

chmod 700 /path/to/folder should do the trick for you. This allows execute (1), write (2), and read (4) for the owner, and no access for everyone else.


2

When you want to connect to an unroutable address like link-local you need to specify the interface. This is because for unroutable addresses your system can't determine the outgoing interface by looking at the routing table. Unroutable destinations include link-local addresses (fe80::) and link-local multicast (ff02::) and more.


2

One way to bypass the trash without any additional tools is to open a Terminal window, type rm -rf (note the last space) and the drag/drop the files/folders to be deleted and press enter. This will instantly and recursively delete the files/folders, so be careful with it!


2

When in single user mode you must enter the command at the begininng to make it writeable. /sbin/mount -uw / Then move the /var folder back to /private mv /Path/To/var /private/


2

Take a single Time Machine backup, just in case. When you wipe the laptop, use the Time Machine drive to selectively (manually) restore certain items. Information and files related to application licensing will most often be located in: ~/Library/ ~/Library/Application Support ~/Library/Preferences


1

You could use an AppleScript like that to do it. tell application "Safari" to activate delay 3 --adjust to your needs tell application "System Events" tell process "Safari" tell menu bar 1 tell menu bar item "View" tell menu "View" click menu item "Hide Toolbar" end tell ...


1

The developer documentation linked is for perl, not Mac OS X. The documentation states that perl v5.11.0 is capable of supporting abstract socket namespaces. The undocumented assumption is that the underlying operating system also provides this support. I am not aware of any Apple documentation saying Mac OS X supports abstract namespace sockets.


1

I had a similar issue with high cpu usage in WindowServer which I managed to get back to something more normal by removing any items in my menu bar that were making high frequency drawing updates. In my case it was the Network Monitor from Little Snitch that seemed to be the biggest culprit.


1

I just posted about what I did to solve the WindowServer message overload on my Yosemite version (10.10.1, which hadn't fixed it). From various comments that I'd found while googling the issue it seemed to me that the zero length preference files for WindowServer might be causing the problem (just a guess and as yet not confirmed by others since I just ...


1

It might be possible using Quicksilver to run an AppleScript that “types” Return, but that will probably be unreliable in some contexts. A much more straightforward solution that doesn’t require any third-party tools is to just use the built-in key bindings system. Add this to ~/Library/KeyBindings/DefaultKeyBinding.dict: { "^m" = "insertNewline:"; } ...


1

I'd try writing a simple script: #!/bin/bash sudo /usr/bin/id save this as something.command, change its permissions to executable with chmod +x, and then run this from AppleScript with osascript -e 'do shell script "open -a Terminal ./something.command"' Instead of /usr/bin/id you can call whatever script you need to run with admin privileges then. ...


1

HFS+ does not use inodes; it only emulates their behaviour. New files can be created as long as there is free disk space. The compatibility layer (and thus df) always reports a percentage of free inodes equal or slightly less than the percentage of free space.


1

i try also many things, but after i change the network name in wifi options in internetsharing its work and i got the arrow back :)


1

Found Safari would not open any sites, however VNC worked fine. Go to Preference, Network, advance button at bottom, then look at the DNS tab. I found both DNS Servers and Search Domains were blank. Added my DNS info and Domains to search. Started to work. :)


1

In my case I start to see this strings after installing rvm I resolve such problem with: gem pristine --all


1

The simplest way to fix this is to add the --AlwaysAppendSearchDomains to the plist file /System/Library/LaunchDaemons/com.apple.discoveryd.plist All this according to the help printed by: /usr/libexec/discoveryd --help That will do the same as it did for mDNSResponder as far as I can tell. Of course a restart of the ...


1

You could do it installing this workflow: Open in Finder Tab. Just type ot Directory and you will have it open on a new Finder tab. If you want to open a directory in the same window without open a new tab, you could edit the workflow. Go to Alfred Preferences → Workflows → Open in Finder Tab. You must right click on Run Script and select configure. ...


1

I recommend using a disk space analyzer application for this purpose, specifically because of the concerns you bring up. Some options include DaisyDisk (Free to try, Full Version US$9.99) or GrandPerspective (free), OmniDiskSweeper (free)


1

I would do this from a terminal window like so: substitute whatever byte value you're interested in for where I have 100000 below run this command from the directory you're interested in checking the subdirectory sizes of (from root / if everything) du -k * | sort -nr| awk '$1>100000{print}'


1

It sounds like the problem is that virtualenv modifies the python binary when it copies it into the environment, invalidating the signature. Try to follow this and see if it resolves your issue: http://blog.movieos.org/post/63545845092/stop-my-os-x-firewall-complaining-about-a-virtualenv


1

It turns out that Box Sync was indeed causing problems. I uninstalled Box Sync and the progress dialog in Finder reappeared.


1

You can use System Preferences/Energy Settings to define shutdown/restart times run sudo shutdown -r 23:45 to automatically reboot every night combine the second option with a cron/launchd job to reschedule the reboot daily (or just call shutdown -r now from cron/launchd) You also can set one user to auto-login after reboot in System Preferences/Users ...


1

Alright, so I found as program called "Witch" which may help you. It's got a free trial on the website, but it does eventually costs $14. Check it out, it's got everything you want it seems. Website: http://manytricks.com/witch/ App Store: https://itunes.apple.com/nl/app/witch/id412485838?mt=12



Only top voted, non community-wiki answers of a minimum length are eligible