Macintosh hardware made by Apple.

learn more… | top users | synonyms (2)

28
votes
2answers
34k views

How to display `top` results sorted by memory usage in real time?

How can I display the top results in my terminal in real time so that the list is sorted by memory usage?
11
votes
5answers
20k views

What is the most compatible Linux distribution for MacBook Pro?

Here's the minimal requirements: two-fingers movement on touchpad for scroll using the lower-powered GPU as default card sleep on lid close some key (control or command) + LMB for RMB ...
7
votes
2answers
8k views

How do I install htop inside mac os x

How do I install htop for Mac OS X? (The easiest and laziest path)
7
votes
1answer
1k views

In vim, how to map “command-right” and “command-left” to beginning of line and end of line on mac?

I'm trying to get it to be like default text editing in Mac. I tried map! <D-Left> 0 and map! <D-Right> $ in ~/.vimrc, but of course it didn't work. How can i do this?
6
votes
4answers
2k views

Linux distro that supports touchpads and acpi on Macbook Pros

I've had a Macbook pro for 1 year running OSX, but I really miss Linux. I read plenty of docs but I never got a useful answer to the following questions: How's the autonomy with ...
5
votes
2answers
686 views

Sync files from a mac to a flash drive - automatically?

I have a flash drive, let's name it FLASH. I want, when on my mac, when FLASH is plugged (and automatically mounted), execute a specific script and make ~/Documents to be automatically copied to ...
5
votes
2answers
6k views

How to install CentOS 6.4 on Mac Mini?

I have bought a new Mac Mini, and would like to use it as a Linux server. Now I'm trying to install CentOS on it. I downloaded CentOS-6.4-x86_64-netinstall.iso and booted the Mac Mini from a ...
4
votes
2answers
2k views

Swap alt and super

I have a Macbook Air that runs Linux. I want to swap the alt and super keys in both sides of the keyboard with each other. How do I do this with cli tools? Update Following Drav Sloan's answer I ...
4
votes
1answer
388 views

Linux support on 2012 MacBooks

I want to buy a 2012 MacBook with the Retina Display. Does it work well with Linux?
4
votes
1answer
2k views

Installing Elementary OS on a MacBook Pro 13" Early 2011 (8,1)

I'm trying to install elementaryOS (which is based on Ubuntu 10.10) on my MacBook Pro 13" Early 2011 (model No 8,1). I have resized a partition on my hard drive, and I've installed refit. Two things ...
4
votes
1answer
673 views

Linux support for RTP-MIDI?

I have been spoiled by the ease with which I can connect my iPad up to MIDI applications on my Macbook using the native support for midi-over-the-network (apparently RTP-MIDI) provided by the CoreMIDI ...
3
votes
2answers
252 views

Bash error message on a mac using Perl

I'm trying to run basic functions on Perl (Mac) but I get the same error message all the time. I managed to run programs like the simple 'hello, world' example. They work fine: $ perl -w hello.pl ...
3
votes
2answers
816 views

Does Linux support Mac OS partitions format?

I want to install Linux alongside Mac-OS. There is something I'm in doubt about. Does Linux support Mac-OS partitions format?
3
votes
1answer
1k views

Mac OS X partition type problem

As a 2 decades of MS-Windows user I have switched to Mac OS X a month ago. And my knowledge is not enough to fix my big problem which I encountered yesterday and my brand new MBPro is dead now. I ...
3
votes
1answer
432 views

Disable Bluetooth device on Ubuntu

I run Kubuntu Quantal on a Macbook 8-2 and want to disable the Bluetooth device. Yeah, disable, not just hide or stop a deamon, but shut off the damn hardware. I know it can be done on Lenovos using ...
3
votes
1answer
7k views

Convert .ISO to .IMG in terminal (Mac) (Linux)

I am trying to make a bootable flash drive with Linux on it for my Mac. I have Ubuntu desktop downloaded, and it is in my downloads. The instructions on the Ubuntu website tell me I need to convert ...
3
votes
1answer
954 views

Vim script check running platform

" Get running OS let os = "" if has("win32") let os="win" else if has("unix") let s:uname = system("uname") if s:uname == "Darwin" let os="mac" else let os="unix" endif ...
3
votes
3answers
1k views

FreeBSD 8.1 on MacBook 5,2

I've been trying to dual-boot FreeBSD 8.1 with Mac OS X on my MacBook (5,2), but am having trouble trying to get the live cd to boot. I reach the FreeBSD Boot Loader Screen with the options for boot, ...
3
votes
2answers
475 views

Ruby update not working using two methods

I tried to install ruby version 1.9.3 with this on my mac 10.6.8: $ \curl -L https://get.rvm.io | bash -s stable --ruby Oskar-Niburskis-MacBook-Pro:~ oskarniburski$ rvm install ruby-1.9.3-p362 ...
3
votes
3answers
323 views

Mac Terminal - moving files

I am trying to use Mac Terminal command to move files to a new location. I have a list of almost 2000 filenames with full paths in a text file. (All of them are in one parent directory, but ...
3
votes
1answer
2k views

Connect to Webdav (https) with domain\user

I have a problem trying to connect with our network webdav share on mac osx. I can connect from windows, so it's working. On Mac OSX I have set the routes, and I can connect when using "Transmit" but ...
3
votes
2answers
1k views

Why can't I change permission on a symlink on Mac?

Simple question and there is perhaps a simple answer. I have several directories in my home folder that I would like to make available as a directory on my webserver. So, what I did was to create a ...
3
votes
1answer
476 views

Grub 2 installed on-partition - how to not embed it

My friend installed ArchLinux on a MacBook Pro alongside Mac OSX and Windows to try it. He's power user, so I only needed to help with the bootloader. Arch Linux's described installation of GRUB did ...
3
votes
0answers
118 views

Flipping Control/Command in GNOME breaks Alt key in JVM

I want to switch Control and Command modifier keys in GNOME / Debian Jessie, because I use a Macintosh laptop. I have managed to get these changed via the TweakTool -> Typing panel, like this: Ctrl ...
3
votes
0answers
382 views

Installing Fedora 17 on Mac Book Pro from mid-February

I have problems installing Fedora on my friend's Mac Book Pro. After a boot, I get a blank screen. Forcing nomodeset helps: nomodeset xdriver=efifb However, I still cannot get into either X or text ...
3
votes
0answers
290 views

MAC OS X lion mac address spoofing problem

I have to change the MAC address of my Macbook due to ISP issues. I changed it using: sudo ifconfig en1 ether my_new_mac_address And it is changed successfully when I check it through: ifconfig ...
3
votes
1answer
532 views

GRUB error Fedora 15 when Dual Booting on MacBook Pro

I am having trouble getting Fedora 15 running on my MacBook Pro. I had Fedora 15 installed before on this MBP before, so I know it works. I basically followed the good old instructions of Create a ...
3
votes
0answers
243 views

Keyboard triggering mouse events on Debian on Macbook

I installed Debian 6 on my Macbook in a dualboot configuration. Everything is working fine, except for the keyboard. As I'm typing, I see the mouse arrow moving a bit and strange things happen, such ...
3
votes
0answers
332 views

Extlinux boot error

Another question recommented I use extlinux. It displays the rather unhelpful message "Boot error". Why wouldn't it work? How can I debug the problem? Disk layout: on /dev/sda rEFIt is installed. ...
2
votes
2answers
2k views

How do I increase my iterm (tmux) window scrollback (not the line scrollback)

When I want to scroll back, i.e. with my mouse (or with PageUp) I can only go up about 43 pages (about 2000 lines). Can I increase that? I have my terminal preference -> "Scrollback Lines" set to ...
2
votes
2answers
574 views

perfect distro for an old mac desktop (ppc g3) (320mb ram)

I have on old mac desktop: Power PC G3 (300MHz) 320 MB Ram I want to use it for browsing the internet and playing videos. What distro should I use?
2
votes
1answer
898 views

Does Arch-Linux work well on a macbook pro?

I'm considering installing it for a dualboot with osx, so is it buggy or anything?
2
votes
1answer
94 views

Run two commands based upon output of first

I'm new to unix commands but have a need. I have a mixed Win/Mac environment where I use Win AD for user accounts and the Mac as the file storage. There is a command on Mac that automatically ...
2
votes
1answer
1k views

Replacing Mac OSX with Linux Distro, or FreeBSD [closed]

I have a Macbook Pro 8,2 and really want to make the switch to something a little less stubborn and a little more flexible than the proprietary Mac OS X. I am a bit frustrated with MacPorts lately and ...
2
votes
2answers
143 views

How to install Vinux on a mac?

I have no experience with Linux, nor with installing any OS in any other way then just putting a CD-ROM in a computer and following instructions. To get some more insight into how operating systems ...
2
votes
2answers
215 views

Would it be wise to put a Linux OS on a Mac?

Has anyone tried this either using bootcamp, a VM, or replacing the OS X? Google search yields old info.
2
votes
2answers
126 views

How to Fix Elusive Permissions Problem - Rasp Pi, HFS+, SMB, Mac

I have a Raspberry Pi running Transmission. The main data partition is on a USB drive. The partition is formatted as HFS+ (hfsplus) in case I need to plug it into my Mac. The Mac connects to the ...
2
votes
1answer
290 views

Debian 7 on Macbook

I have just installed Debian 7.1 on my Macbook Pro 9,2. I'm trying to get the keyboard backlight to work properly. I can press the F5/F6 keys to get an OSD to show up on the screen, but the ...
2
votes
1answer
5k views

make: *** [all] Error 2

I tried to install a decompiler on my macbook, but the terminal returned errors below. ouekihodos-MacBook-Pro:radare2 LewisWang$ gmake /Applications/Xcode.app/Contents/Developer/usr/bin/make -C ...
2
votes
1answer
135 views

NixOS on MacBook: how to enable sudden motion sensor?

How to make sure in NixOS on a MacBook that the sudden motion sensor and the relevant disk protections are enabled? It seems that I need the applesmc module for this, but I couldn't find how to ...
2
votes
1answer
1k views

Bash Commands not working on Mac

Hello I open my terminal window on Mac Os 10.6.8 as I am trying to update my ruby to 1.9.3 and the terminal gives me this response immediately as I open it: -bash: export: ...
2
votes
1answer
183 views

dd is crashing after a few hours of transfer

I am trying to clone a external hardrive ( 1.5T ) to a second one ( 3T ) with dd. I am working on Unix and want to create a disk image. Here is the command I am using : dd if=/dev/disk1 ...
2
votes
3answers
2k views

Arch suspend when I close laptop lid?

I'm in fluxbox on Arch on a Macbook 5,1. New to linux. I'm trying to get Arch to suspend when I close my laptop. Lately I've just been using sudo pm-suspend. I installed slimlock, and inserted ...
2
votes
2answers
893 views

Install Linux on PPC Mac: NO CD DRIVE

I am trying to install Linux on my Xserve G4, a NewWorld PPC Macintosh computer. The issue is: I have no CD drive, so all those helpful comments like "Just boot from Linux using a LiveCD" don't work ...
2
votes
1answer
791 views

Can not boot ArchLinux with a Macbook pro 7.1

Today I decide to put a Linux in dual boot on my MacBook 7.1 I parted the HDD with GParted like this : refit / MacOSX / boot / root / home I installed Arch successfully, following the tutorial about ...
2
votes
0answers
38 views

Making a touchpad without buttons like a normal touchpad with buttons

Assume a synaptics compatible mousepad that has no physical buttons, but where the whole surface is physically clickable (not a tap, but physically clickable). A particular touchpad with these ...
2
votes
0answers
358 views

How to use terminal to access iCloud Drive when Finder is not running

I would like to access iCloud drive from Terminal in order to create an emergency backup. Unfortunately, my installation of Mac OS Yosemite is not operational, so I am using recovery mode to create my ...
2
votes
1answer
331 views

OS X SSH keeps asking for password [closed]

I connect from a Linux machine to several Macs over ssh using public/private keys. The setup is the identical on every ac, different OSs from 10.5 to 10.9 and publickey working. Only one of them, ...
2
votes
0answers
193 views

Read Apple nvram

On Mac OS X there is a tool called nvram to get and set EFI properties. As I am now deploying GNU/Linux on Apple hardware, I'd like to have a similar tool that is able to talk to Apple's EFI ...
2
votes
0answers
316 views

Problem booting using Live USB on MAC

I have tried creating a bootable Linux USB that i want to use on MacBook Pro 2013. I used 'MAC Linux USB Loader' to do that. Linux distros I tried it with: Slack puppy and DSL (Damn small linux) ...