A Unix-based operating system developed and sold by Apple Inc. For Mac hardware questions, use [mac].

learn more… | top users | synonyms (4)

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 ...
18
votes
3answers
7k views

How can I run Mac OSX graphical Emacs in daemon mode?

Short form: I want to run the Mac OSX version of Emacs found on http://emacsformacosx.com/ as a daemon, with graphical and text clients connecting to it as-needed. In detail, here is the workflow I ...
17
votes
4answers
40k views

Run command on startup / login (Mac OS X)

I was not sure if this was for StackOverflow or here, I settled for here. I was wondering which file I should place this bash command in so it will be run on startup. # Start the MongoDB server ...
17
votes
4answers
74k views

Viewing the full Skype chat history

I have Skype 2.8 on Mac OS X 10.5.8. Under the the chat menu is an option called "Recent Chats". This allows me to see logs of recent chats, but not of older ones. I know the older ones are ...
17
votes
3answers
19k views

How can I install objdump on Mac OS X?

I want to get the source code of a small command line tool using objdump on Mac OS X. I've used arm-linux-objdump on Linux and find it a great tool. Is there any way to install objdump on OS X? I've ...
17
votes
4answers
10k views

Change Terminal Title in Mac OS X

How can I arbitrarily change the title of a Terminal window in Mac OS X? I have seen this question and this magicwrap thing, but think it's just a simple Mac OS X command.
17
votes
6answers
39k views

List all members of a group (Mac OS X)

I've tried Googling but not getting anywhere. How can I list all the members of a group called mygroup from the command-line in OS X? $dscl . list /groups will get me all the groups...but how can i ...
17
votes
10answers
38k views

How to arrange Application Windows on Mac OS X

With Windows there is is an option from the taskbar to tile windows horizontally or vertically. Is there someway to replicate this feature in Mac OS X?
17
votes
8answers
7k views

Open a new tab in the same directory

Say you are in /very/cool/and/deeply/nested/folder . And you want to open a new terminal tab in the same folder. How would you do that? I use Mac OS and Zsh.
17
votes
4answers
38k views

Exit SSH session in OSX Terminal

I connected to a server via SSH in Terminal (OSX), but now anytime I open Terminal, it logs me back in. If I logout, I cannot type anything or do anything. How do I exit back to the regular terminal ...
17
votes
4answers
36k views

What Is the Mac OS X Terminal Command to Log Out the Current User?

I would like to run something like "sleep 3600; logout", but the logout bash command only closes the current terminal. How do I close the full Mac OS X session?
17
votes
5answers
4k views

Copy colored output from Mac OS X terminal

I see a nicely colored output in my terminal. The terminal has a "Export Text As" command but it saves a plain-text file without the colors. Same with copy&paste. Do you know a way to save ...
17
votes
2answers
21k views

Unpause application in Mac OS X

I tried parsing a gigantic XML file and I ended up running out of virtual memory. The OS put all my applications on pause and gave me a screen to shutdown applications to free more space. I killed the ...
17
votes
7answers
17k views

“iTunes.app” to accept incoming network connections?

Every time I open iTunes I get the the following warning: Do you want the application "iTunes.app" to accept incoming network connections? Clicking Deny may limit the application's behavior. ...
17
votes
5answers
59k views

How to tell full path of file on Mac?

I have a text file opened up in TextEdit, and I can't seem to figure out the full path of the file. Also, if I search for the file in spotlight, it doesn't seem to tell me the full path of the file ...
17
votes
7answers
8k views

How do you duplicate current open Finder view?

I often have a window where i want to drag and drop to a parent folder, and i need another finder window, so i open a new one and need to browse back to where the other window is ...
17
votes
3answers
60k views

How to trim/cut clips with VLC

I am running VLC 1.1.5 64-bit on Mac OS X 10.6.6. On the web I found instructions saying I should click on Video->Advanced Controls in the menu bar to reveal options that let me trim and cut video ...
17
votes
2answers
896 views

What are the technical obstacles that doesn't allow OSX to be installed in a PC?

Before starting: lets forget about the EULA and any other legal regulation. I'm not interested in those. Also, since this is a grey line about what I'm going to ask, Ask Different may not be the place ...
17
votes
7answers
28k views

How to use SSH private key to log in without entering passphrase every time on Mac OS X Lion?

I use Mac OS X Lion and login remote hosts via SSH every day. Despite the fact that I use SSH key pair for remote authentication and I don't need to motorize every host's login phrase, it is still ...
17
votes
2answers
20k views

How do you remove MacPorts and all the packages it has installed?

I have installed MacPorts on my Mac OS X Lion, and I would like to remove it. There should be no more trace of MacPorts? Is there a way to do this?
17
votes
6answers
6k views

How can I get ssh-agent working over ssh and in tmux (on OS X)?

I have a private key set up for my github account, the passphrase to which is, I believe, stored in OS X's keychain. I certainly don't have to type it in when I open a terminal window and enter ssh ...
17
votes
4answers
160k views

How can I view .swf files within Mac OS X?

I have been sent a number of .swf files as attachments. I wish to view these within Mac OS X. I used to drag them directly into Safari and it would display them. However, after installing Safari 4 I ...
17
votes
3answers
38k views

How to run Mac OS X within Windows Virtual PC? [closed]

The short answer is: You Can't. It seems to be a popular question as to whether you can install/run Mac OS X under virtualization within Windows. However, most of the questions really answer the ...
17
votes
4answers
6k views

Speed up Spaces on Mac OS X?

Is there any way to speed up the animation when you switch from one space to another on Mac OS X? I'd like to make the space-transition quicker, or even instantaneous. Does anybody know of any way ...
17
votes
2answers
7k views

Can I put /tmp and /var/log in a ramdisk on OS X?

For non-critical Linux systems, I often move things like /tmp and /var/log to tmpfs to save on some disk writing. I've been doing this for a year or so and if I ever need the logs across reboots, I ...
17
votes
2answers
4k views

How do you disable mouse scroll wheel acceleration in Mac OS?

Under Windows and Linux, the mouse scroll wheel seems to be linear. Under Mac OS the scroll wheel some sort of acceleration which means it either goes too slow or too fast.
16
votes
8answers
24k views

How to take screenshots in Mac OS X?

How do I take screenshots in Mac OS X?
16
votes
7answers
11k views

Why doesn't echo support “\e” (escape) when using the -e argument in MacOSX

When I try to print out some colored text using ANSI escape sequences via the built-in echo command, it seems that the \e escape sequence in the string I provide is interpreted literally instead of as ...
16
votes
9answers
51k views

How to create an ssh connection Terminal shortcut on Mac OS X Snow Leopard?

It sucks to open Terminal each time and write a complete ssh command. I also have a custom port to connect to.
16
votes
5answers
46k views

Command to 'gzip' a folder?

I am new to Mac command prompt stuff. How do you create a gzip of a folder in Mac OS X? I was told by a few folks that if you want to create a gzip of a folder you should 'tar' it first and then ...
16
votes
6answers
14k views

Is there a ctrl+tab equivalent on Mac OS X?

I want to cycle trough the windows of the currently active application on Mac OS X. Some applications respond to Ctrl + Tab but they all seem to do something else. I want to switch between the ...
16
votes
5answers
57k views

How to install OS X *.TTC font on Windows? Error: “*.TTC does not appear to be a valid font”

I own both a Mac running OS X 10.6 Snow Leopard, and a PC running Windows 7. On my Mac is a font called "AmericanTypewriter.ttc". I'd like to use that font on my PC, for a specific creative project. ...
16
votes
9answers
24k views

How can I copy on select in the OS X Terminal like PuTTY does?

That PuTTY option to select and then right-click to paste is the best invention after the mouse. Is there any way to make Terminal in OS X do this? Hack the source code? Install something? Is the ...
16
votes
8answers
15k views

How to install matplotlib on OS X?

I want to install matplotlib on OS X. If possible, using homebrew. I installed Python 2.7.1 using brew install python, I modified my path to use it I installed pip using brew install pip I installed ...
16
votes
11answers
69k views

How can I scan multiple pages into a single PDF?

How could I scan multiple pages into a single PDF on the Mac? This is for document archival (mostly invoices and receipts). Ideally, the results should be somewhat searchable (but manually giving it ...
16
votes
6answers
1k views

How do you silence the startup chime on a Mac?

What tools or techniques are available for silencing the start up chime on a Mac? I know this can be accomplished by muting the sound before shutdown, but I was hoping that a solution existed that ...
16
votes
3answers
5k views

How can I play a sound from the command line in Mac OS X?

I would like to play a short sound file from the command line in Mac OS X, independent of any audio player application, in order to provide notification that a long job has finished.
16
votes
6answers
28k views

How do I control the system volume on OS X with a keyboard without media controls?

I'm using a PC keyboard on Mac OS. I can use the menubar to control the volume, but are there any keyboard shortcuts I can use to change the system volume? Or perhaps a simple script or solution I ...
16
votes
3answers
5k views

Clear command from terminal in OS X

Say I've typed out a command in terminal 'mv *.jpg ..\photos' and as I'm typing realize I no longer want to execute this command at all. I want to just delete the entire statement. I don't want to ...
16
votes
3answers
10k views

Mousing and Page-Up/Down in Terminal for Mac OS X

Compared to *nix, Terminal.app seems pretty lame. How can I get it to: Send Page-Up/Down to an application, instead of just scrolling the terminal output Mouse around in vim. set mouse=a isn't ...
16
votes
2answers
7k views

How do I “cut” a file on OS X?

I am a newbie on the mac world and i'd like to know if it's possible to cut a file using a shortcut (like Ctrl + X on Windows).
16
votes
1answer
40k views

OSX: cant create a partition because drive is locked

Problem: I have a USB key with Mountain Lion on it and I want to install it on my macbook pro. I deleted the existing partition on the laptop and wanted to created a new one were to install the OS ...
16
votes
2answers
11k views

How can I let TextMate show line numbers when I'm coding C++?

How can I let TextMate show line numbers when I'm coding C++?
16
votes
3answers
6k views

Why do fonts sometimes look “fat” on Mac OS X?

Sometimes when resuming from suspend, the fonts in Mac OS X look "fatter" than normal. Unfortunately right now I can't get my Macbook Pro to exhibit the "normal" behavior for comparison, it has been ...
16
votes
3answers
5k views

Get mac tar to stop putting ._* filenames in tar archives [duplicate]

Possible Duplicate: Why do I get files like ._foo in my tarball on OS X? I create autoconf scripts on a Mac. When tar runs, it puts all of these ._foobar names in the archive: ...
16
votes
3answers
3k views

How can I enable colored output for OSX diff?

I need to diff two files (not two versions of the same file, they are however tracked by git, but that is unrelated) and I would like some colored output, how can I achieve that? $ diff file_1 file_2 ...
16
votes
2answers
8k views

Symlink error when installing MySQL via Homebrew

Trying to install MySQL via Homebrew. The install seems to work fine but i get an error: "Error: The linking step did not complete successfully The formula built, but is not symlinked into /usr/local ...
16
votes
5answers
11k views

Mac OS: “Minimize” vs “Hide” - what's the difference?

Why does OS X have both a "Hide" and a "Minimize" feature? This seems somewhat redundant to me, and also introduces some inconsistency when I am trying to find an arbitrary window. If it's hidden, I ...
16
votes
1answer
10k views

How can I set environment variables for GUI apps in OS X Mavericks?

I've been struggling to get an app to run in OS X Mavericks. I finally was able to get it to run by drilling into the .app bundle and running the shell script directly. It seems that JAVA_HOME needed ...
16
votes
4answers
1k views

Is killing a process still considered bad for memory management?

So I am having a little discussion with my boss about memory management. I've been told that killing a process does not allow it to deallocate memory. Is that still the case, or was that years ago? ...