OS X Lion (version 10.7) is the 8th major release of Mac OS X released on July 20th, 2011.

learn more… | top users | synonyms (2)

19
votes
4answers
12k views

/etc/hosts getting reset in Lion

In order to do web development on my local machine, I use the /etc/hosts file to define hosts that point back to 127.0.0.1 to which I have Apache serve up via VirtualHosts. This works great, except ...
36
votes
4answers
14k views

How do you disable the window switch animation when switching spaces with Mission Control?

In Snow Leopard, I had the window switch animation disabled when I quick-key between spaces. Now that it's Mission Control in Lion, there's this long animation during which all my desktop icons ...
17
votes
1answer
9k views

Mac OS X (Lion) Chrome: shortcut for “Search With Google”

Under Keyboard Shortcuts : Application Shortcuts I've already tried with either "Search With Google" or "Google Search..." as the Menu Item (both of these for Application set as Google Chrome, of ...
3
votes
2answers
8k views

Clean install Mac OS X Lion on new SSD

I'll be getting a Macbook Pro 13.3" (Pre-installed with OS X Lion) soon and I plan to replace the built-in HDD with a 128GB SSD that I already have. Since Lion doesn't come with any install disks, ...
3
votes
6answers
4k views

How to automagically move windows between monitors with one keystroke?

In Windows I had this great little app that allowed me to move application windows between 2 monitors with a click of a button (or a key-stroke). I'm aware of an application that will change the ...
14
votes
2answers
38k views

How do I uninstall Google Chrome *completely* from my Mac?

I have 2 iMacs and just installed OS X Lion (clean install) on one of them (let's call it iMac A). Did a time machine backup and restored that backup to my other iMac (B) to avoid installing twice. ...
22
votes
3answers
41k views

Mac Lion: fstab is deprecated. so what replaces it to prevent a partition from mounting?

If fstab is deprecated in Lion (and before, I think?) how does one, properly, prevent a partition from mounting on system boot? This is loosely related to this question which as of this post has no ...
15
votes
1answer
10k views

How do I resize a FileVault 2 encrypted partition?

Running Mac OS X Lion. My current setup is a 250 GB partition, encrypted by FileVault2, for Lion. Old Snow Leopard install is in second half, another 250 GB partition, unencrypted, of the same disk. ...
3
votes
1answer
3k views

All commands are not working on Mac OS X Lion

I am faced with a problem, that I can't run even a single command on my Mac OS X Lion terminal, even "ls" command, when i print $PATH variable, found My-Mac:/ Mac$ echo $PATH /usr/local/git/bin ...
14
votes
2answers
4k views

Resume Zsh-Terminal (OS X Lion)

OS X Lion has "Resume" feature, i. e. when you reopen an app it restores all windows and their contents. That works for Terminal as well. But if you use Zsh instead of Bash it doesn't restore opened ...
28
votes
4answers
11k views

How to stop Mail.app in Lion creating an Archive folder for archiving in Gmail?

Mail.app in Mac OS 10.7 added an Archive button. Unfortunately, when archiving a message in a Gmail account, instead of simply putting the message into All Mail folder, Mail.app creates a folder ...
13
votes
6answers
17k views

How can I have multiple browsing sessions in Google Chrome?

I often need multiple browsing sessions for logging into multiple services with different accounts at one time. I don't want to have to use multiple browsers, nor do I want to use a different release ...
9
votes
6answers
16k views

Lion / name resolution order

(this issue went away for me with the 10.7.1 update - /etc/hosts now works as always for me) I've updated my Mac to Lion and now I notice that /etc/hosts is consulted last, even after DNS. This is ...
9
votes
6answers
15k views

How to open a clean terminal in Mac OS X Lion?

Whenever I open a terminal, the last used commands appear. I'd like to get a clean terminal when I open it, but I haven't found how to do it. For example if while using the terminal I do: defaults ...
7
votes
1answer
6k views

Homebrew doesn't find XCode 4.3

When I try to install something with homebrew I get an error message that it does not find XCode. But I just installed XCode 4.3 and also did a reboot. admins-MacBook-Pro-2:~ ernst$ brew install ...
5
votes
1answer
3k views

Lion Unable to Load SSL Sites

OS: Mac 10.7.2 (Lion) I've been unable to load any SSL sites on any browser. Chrome gives error 7 (ERR_TIMED_OUT), but this occurs across all browsers. I've tried different DNS, flushing DNS, and ...
0
votes
4answers
5k views

How to make braces with Apple keyboard in Windows?

I'm using Bootcamp to run Windows on my Mac. Now I can't find a way to make curly braces and brackets. What is the keyboard shortcut for that? I am using a Swiss German Apple keyboard layout.
11
votes
2answers
2k views

OSX Lion: Can I use “classic” mousewheel scrolling but keep “natural” trackpad scrolling?

I recently upgraded from OSX Snow Leopard to OSX Lion version 10.7.1. So far, I'm enjoying the "natural" scrolling when using my trackpad. However, when scrolling with my mouse wheel, I'm having ...
7
votes
3answers
3k views

In OS X is there a way to assign an application window to a specific monitor?

I know that with OS X Lion (10.7) and Mountain Lion (10.8) applications can be assigned to specific Spaces/Desktops. With my laptop I daily connect and disconnect from an external monitor. When I ...
7
votes
4answers
16k views

How to install Uniconverter (command-line app) on Mac OS 10.7.2 (Lion)?

Uniconverter is a command-line tool that shares code with the sK1 Project. it's used to convert from one type of vector graphic file to another like this: uniconverter before.eps after.svg I'm ...
4
votes
3answers
11k views

How to check whether there is bad sector on a USB harddisk on OS X?

How can I check whether there are any bad sectors on a USB Hard Disk Drive?
4
votes
2answers
6k views

Can I convert my OS X Lion into a VMware virtual machine?

Is it possible to convert the current OS X Lion 10.7.1 install on my Mac Mini (i5, 8GB RAM) into a virtual machine via VMWare converter? I use VMware Fusion 4. Or, is my only option to set up the ...
3
votes
1answer
2k views

How can I execute a script each time I log in and out from OS X?

What I want is to send a URL with variables to a server which will track when someone is present based on when they login and logout of their workstation. I've tried setting the LoginHook in ...
2
votes
1answer
2k views

Messed up $PATH variable in Mac OS X

I did something to my PATH. I was trying to add some new path and now none of the command like open ~/.bash_profile work, and echo $PATH only shows one path which is /Application/Filename. Is ...
2
votes
1answer
479 views

Mac OS Lion System Preferences presenting a Modify Settings dialog over and over again

After I installed OS X Lion, my System Preferences went crazy. When running it asks repeatedly for an admin password to modify permissions. It happens especially frequently when I select the Mail, ...
1
vote
3answers
2k views

How do I change the FileVault login icon on OSX Lion?

I'd like to change the apple on the FileVault login screen to something else. I've searched Google, but none of the links I've found have worked. They all suggest changing one or more of the ...
0
votes
1answer
810 views

How to run bash_profile function from desktop alias .command file on OSX Lion?

Ok, so I have this great little function in my bash_profile which works great when I call it from Terminal (it opens a new firefox window instead of new tab): function firefoxNewWindow() { ...
0
votes
1answer
644 views

No user list in the login screen after changing the user ID

Edit: Problem 1 has been resolved. I followed this link and changed my user id to 1000 (same as Linux user id), so that I can share files freely between Mac and Linux. Now I have these two problems: ...
6
votes
3answers
2k views

Remotely accessing OSX Lion from Windows in a sane manner

I have a 3-year old MacMini and 2-year old PC laptop residing on the same home 100Mb network. To manage the Mac, I did the whole screen sharing thing (basically VNC) and I connect to it from Windows ...
4
votes
3answers
1k views

cp -u is illegal on mac. What are the alternatives?

I have a MacbookPro Lion, and I have tried to archive my files that is tried to copy and overwrite if the source is newer than the destination. I tried the following command cp -u source destination ...
2
votes
1answer
1k views

why does my Mac keep crashing?

(I will have to do this fast, since I think my mac will crash again.) My Mac keeps crashing. It started happening since I installed Adobe Acrobat Pro (since then I have removed it), but it might be ...
2
votes
1answer
1k views

OS X Terminal Ignoring SOCKS Proxy Setup

Previously I've used an SSH tunnel: ssh -D 1234 user@remoteHost As a system wide proxy in OS X by going to System Preferences -> Network -> Advanced -> Proxies -> Tick SOCKS Proxy and enter ...
2
votes
1answer
4k views

“chrome --kiosk” on OS X Lion or other kiosk solutions

How can I switch Google Chrome to work in kiosk mode on OS X Lion? I've tried: open /Applications/Google\ Chrome.app http://www.google.com` from the terminal without luck. My goal is to obtain a ...
1
vote
1answer
766 views

How to get Windows 7 Product Key from old mac harddrive

I don't know if I am going to get an answer or if this is possible but here goes. On my old macbook pro, running Snow Leopard, I installed Windows 7 with bootcamp. The logic board crapped out on me ...
1
vote
3answers
727 views

How do I download OS X Lion on my PC?

I want to upgrade my Snow Leopard machine (which is somewhere else) to Lion OS X. In the Apple app store, the Lion OS X download isn't available on my Windows PC (it only shows iPad/iPod software). ...
1
vote
0answers
264 views

Services keyboard shortcuts don't work for some mac apps

I am using this answer Starting application with custom keyboard shortcut and it works great on most mac apps. However some apps, like Git Tower and HipChat client, don't have the "Services" menu ...
1
vote
2answers
3k views

OS X 10.7, can't log into any L2TP VPN server

I was running 10.6.8 and couldn't login to any L2TP VPN server (tried 2 completely different ones) using the built-in VPN client. Upgraded to 10.7.2, the same issue. It doesn't seem that the machine ...
1
vote
2answers
3k views

How do I install OSX Lion on Core Solo Mac Mini?

I have a core solo Mac mini that was being used as an HTPC up until now. It's the only Mac I have, so I thought I might try to salvage it to do some iOS development. For that I wanted to upgrade to ...
0
votes
3answers
9k views

Increasing System Menu Font Size for OS X Lion

My father-in-law recently picked up an iMac (with OS X 10.7 - Lion) and loves it. However, his eyesight isn't that great and would like to find a way to increase the font size of the system menu bar ...
28
votes
5answers
97k views

How to automount SMB shared network drives in Mac OS X Lion

In Mac OS X 10.7 (Lion) Apple has replaced good old SMB support. Now I can't auto connect to my shared (SMB) network drives. Workarounds? Or is this impossible? In OS X Snow Leopard, I could ...
13
votes
2answers
17k views

Setting iTerm2 as the default terminal (OSX Lion)

I would like to set iTerm2 instead of terminal.app as my default terminal. Go2Shell for example let you open a terminal to the current directory in Finder. I want to ba able to use iterm2 instad of ...
14
votes
4answers
12k views

Start configured VPN from command line (OSX)

I have two VPN configurations on my mac and I would like to be able to start them from the console when I ssh into my machine. I have found the command networksetup which allows me to configure ...
41
votes
2answers
29k views

How do you re-install a package with Homebrew (Mac)?

Struggling to find good Homebrew documentation (or tutorial)... In the mean time I need to reinstall ImageMagick that was installed with Homebrew (brew install imagemagick) and not sure if I should ...
26
votes
1answer
3k views

What does Terminal app's “Show Alternate Screen” do? (OS X)

Today, I discovered a menu item called "Show Alternate Screen" in Terminal.app. I am just curious about what it does. It seems to be sharing the same shell process (unlike tabs), since I see output ...
7
votes
2answers
2k views

10 second delay for .local TLD in Mac OS X Lion

Our company network uses xxx.companyname.local for all the servers on our local network. Whenever I access one of these servers on my Mac, I have a 10 second delay. I have found out that this delay is ...
16
votes
9answers
55k views

Why does OS X Lion ask for my password whenever I delete a file in my home directory?

I updated to Mac OS Lion and now every time I delete any file it asks me for my password. Any file - be it on the Desktop, in the Downloads folder or in any other place. It asks me for my password ...
14
votes
9answers
17k views

Mac OS X Lion 10.7.2 update breaks SSL

Summary After updating from 10.7.1 to 10.7.2, neither Safari nor Google Chrome can load GMail. Spinning Beachballs all around. The problem isn't GMail; Firefox loads GMail just fine. The problem ...
6
votes
3answers
4k views

How do I change the default screenshot name in OS X Lion?

In OS X Lion, when I press cmd+shift+4 and then space, I take a screenshot of an app. But I use my OS in Spanish, and the screenshot file name is very long with spaces and "(,)" chars. Captura de ...
5
votes
1answer
946 views

I want to monitor and limit OS X's data transfer while I'm tethering via my iPhone

So, I have an iPhone with Sprint service. They offer a mobile hotspot add-on option. Sprint will offer me 5GB of data transfer under this plan, but then they will charge me extra. Specifically, they ...
5
votes
3answers
6k views

How to stop Spotlight indexing a networked Time Machine backup?

My Time Machine backs up to a hard drive connected to my Airport Extreme. After I've upgraded to Lion I have noticed that the mds process (the Spotlight indexer) has been running at 100% cpu every now ...