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)

52
votes
5answers
94k views

Where to find the .bashrc file on Mac OS X Snow Leopard and Lion?

I want to install rvm on my Snow Leopard machine. It says I need to add a line to my .bashrc file (I'm using bash) but where is my .bashrc file?
40
votes
2answers
28k 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 ...
38
votes
6answers
25k views

Apache Bench test error on OS X: “apr_socket_recv: Connection reset by peer (54)”

I updated my MacBook Pro 13" to Lion a few weeks ago. I just found out that Apache Bench (apache2.2.19) is not working. It always shows this error, no matter what: apr_socket_recv: Connection ...
37
votes
3answers
8k views

OS X Lion desktop switching speed

One of the things I've noticed about OS X Lion that is really annoying me is that when you switch desktop to the next one over (this starts out as the Ctrl + ← / → shortcut) this animation is much ...
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 ...
28
votes
3answers
19k views

Change the Login Shell of Mac OS X Lion from bash to zsh

I trying to change the Login Shell of Mac OS X Lion from bash to zsh. I see it is possible in Mac OS X Leopard (http://hints.macworld.com/article.php?story=20071025221744166) but for OS X Lion I can't ...
28
votes
5answers
96k 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 ...
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 ...
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 ...
23
votes
6answers
12k views

Don't exit full screen when pressing escape in apps like Safari on Lion

In OS X Lion, pressing the ESC key exits full screen mode. Unfortunately, and especially when using Safari, ESC is used for other functions, such as in Javascript keystroke event handling. I don't ...
22
votes
3answers
40k 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 ...
21
votes
4answers
13k views

How can I remap the Caps Lock key in Mac OS X Lion?

I would like to remap the Caps Lock key to some other unused key (in a system-wide fashion). Being a MacVim.app user, I always liked to idea of remapping the Caps Lock key to some other key such as ...
20
votes
3answers
8k views

How do I make the Spotlight menu hint bubble go away in OS X Lion?

In Mac OS X Lion when you bring up the Spotlight menu and start typing something, a large-ish hint bubble will pop up to give more info about the selected result. That's all well and good except that ...
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 ...
18
votes
3answers
19k views

Forcing Lion Finder to open in List View?

One of my favorite features in Snow Leopard was the fact that Finder would always open a new window in the "List View". Lion instead opens the multi-column view by default. Is there any way I can ...
17
votes
2answers
6k views

OS X Lion new Finder view that doesn't allow sorting

In OS X, from Lion onwards, when I click on some of my folders in Finder and the title row of the files contains the usual stuff like "Date Modified" and "Size". However unlike the old Finder view I ...
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 ...
17
votes
4answers
17k views

How to make Mission Control keyboard friendly?

In Snow Leopard, when you Expose, you can navigate to each window by using the keyboard arrow keys. With Lion, this is not possible anymore. Does anyone know how to make the arrow keys work in Mission ...
16
votes
9answers
54k 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 ...
15
votes
5answers
17k views

Hostname issue in Mac OS X Lion

I've recently bought myself one of the new mid-2011 Mac Minis with OS X Lion, I'm completely new to Mac OS but I've used linux quite a bit before. The problem I'm having is that at the terminal my ...
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. ...
14
votes
3answers
19k views

GCC on OS X Lion with Xcode 4.3.1

After installing Xcode 4.3.1 on OS X Lion, I have lost my GCC compiler. I need this for my study. Does anyone know how I will install this? All I have been able to find was people suggesting to ...
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 ...
14
votes
2answers
35k 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. ...
14
votes
5answers
31k views

Mac - Convert from Case-Sensitive to Case-Insensitive File System

So I just got my first Mac. After getting everything set up just the way I wanted it I decided to install Steam. When I opened Steam it said something about not supporting case-sensitive file ...
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 ...
14
votes
2answers
446 views

Where are the “inner workings” of Exposé in OSX?

I need to alter the action of "App Exposé" in Lion so that it behaves like the old Exposé in Snow Leopard that showed all apps at once. Does anyone know where I would find the files that control ...
13
votes
7answers
44k views

Merge AVI-files without recoding in Mac OS X Lion

Is there a (at best free) solution to merge AVI-Files in Mac OS X Lion without the need to recode them? (Until Snow Leopard I used D-Vision 3, which won't run on Lion because it's PPC.)
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 ...
13
votes
2answers
16k 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 ...
13
votes
2answers
14k views

Errors in Homebrew on OS X Lion

I just ran the Homebrew script as described in the installation page. I then ran brew doctor in Terminal, and it returned several errors. I'm not sure how to fix those errors, please help. brew ...
13
votes
4answers
9k views

Changing name of Space in Mac OS X Lion

Is there any way to change the name of a space on Lion? I'm sure that it's not possible to change the name of a space being taken up by a full screen app, but is it possible to change the name of the ...
13
votes
2answers
20k views

How do I hide files from “All My Files” in Mac OS X v10.7 (Lion)

It should probably come as no surprise that their are certain files I don't want to appear in "All My Files" EVER. How do I get Mac OS X v10.7 (Lion) to ignore specific folders for its ...
13
votes
1answer
21k views

com.apple.launchd: com.apple.launchd.peruser error

It's been a couple of days I am reading these errors in the system log file. 25/11/11 21:31:43,373 com.apple.launchd: (com.apple.launchd.peruser.32697[92747]) getpwuid("32697") failed 25/11/11 ...
12
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 ...
12
votes
6answers
31k views

How to remove permanent map of a network drive on OS X Lion?

Some time ago I mapped a network drive on my Snow Leopard Mac, which was upgraded to Lion. The network drive is not active any more and I receive popups all the time with the error: There was a ...
12
votes
3answers
8k views

How do I uninstall Afloat in Mac OS X Lion?

I have tried Afloat for windows management in my Mac (OS X Lion), but I do not find it very useful. Would anybody know how I can uninstall it, please? The official website has no guide on ...
12
votes
1answer
2k views

Disable smooth scrolling in Preview in Lion

Smooth scrolling in Lion's Preview application sucks. Pressing the Page-Down key too quickly leaves you waiting for Preview to catch up to your position. The only way I can find to turn this off is ...
11
votes
3answers
13k views

Where can I get a “black screen” screensaver for OS X Lion?

Mac OS X Lion doesn't come with a "black screen" screensaver. Where can I get a screensaver that works with Lion and blanks the screen?
11
votes
1answer
7k views

PostgreSQL homebrew installation lacks config files

So I successfully installed PostgreSQL 9.1 on MacOSX Lion. Unlike people say, I didn't have to change the PATH and no other version of PostgreSQL was installed on the system ($ psql --version shows ...
11
votes
3answers
29k views

Why is Mac OS X Lion Apache DocumentRoot /usr/htdocs?

I am baffled. I don't see where /usr/htdocs is specified as the DocumentRoot for apache2 on Mac OS X Lion. It is the default DocumentRoot on a new OSX Lion install. Can someone point me to where ...
11
votes
5answers
14k views

Removing Java from OS X Lion

OS X Lion ships without Java now. Installing it is not very difficult - however, our product relies on Java so we need to test the scenario of not having Java installed. Once I've installed Java, is ...
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 ...
11
votes
3answers
4k views

OS X Lion launches iTunes when connecting a Bluetooth Headset

Is there any way to prevent this? I've disabled the iTunes Helper Login Item but iTunes will still start automatically when I connect my Bluetooth Headphones.
11
votes
2answers
8k views

OS X >10.6.5 DNS Lookup Order with VPN

After updating to OS X 10.6.5 (from .4), applications don't seem to be looking up host names in the correct order (according to the service order in Network Preferences) when my VPN is connected. My ...
10
votes
2answers
5k views

opendirectoryd consumes 40% of CPU

I have a MacBook Pro with Lion 10.7.2, 2.26 GHz CPU and 2GB DDR3 RAM. If I call top -o cpu the /usr/libexec/opendirectoryd process consumes more than 40% of CPU. $ ps aux | grep opend ...
10
votes
1answer
2k views

Mac OS X “hosts” file, can I include other files with it?

I am working on some automation scripts to configure my network settings, hosts file contents, and /etc/resolver files, when accessing different networks I frequent between. There are some ...
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 ...
9
votes
3answers
1k views

Isn't localhost simply 127.0.0.1 on Mac OS X 10.7 (Lion)?

I tried telnet localhost on Mac OS X Lion, and this is the output I got. Trying ::1... telnet: connect to address ::1: Connection refused Trying 127.0.0.1... telnet: connect to address ...
9
votes
8answers
7k views

Error adding cronjobs in Mac OS X Lion

Until now, I have never attempted adding a crontask on my Mac. To my surprise, it threw an error.. [hayek@mac:/www/] 02:33:22 PM: crontab -e ...