Questions tagged [macintosh]

Macintosh hardware made by Apple.

Filter by
Sorted by
Tagged with
68
votes
3answers
78k views

How do I install htop inside mac os x?

How do I install htop for Mac OS X? (The easiest and laziest path)
27
votes
5answers
17k 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 ...
23
votes
2answers
17k views

How can you get any version of Linux to see the 2018 MacBook Pro SSD?

I have tried nvme_load=yes in place of quiet --- with Ubuntu 18.04.1 and Xubuntu 18.04. df -h results in only the system generated mounts and the installation media. The weekly live ...
16
votes
5answers
29k 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 Nice-to-have: ...
16
votes
3answers
55k views

PKCS#7 signature not signed with a trusted key

Installed Ubuntu with SIP disabled on MacBook 2017 - 0 issues, booted in seconds. I have been building it out and created a problem while trying to make the WiFi work. At some point (it was very late)...
13
votes
3answers
28k views

USB to VGA on Linux

I've been offered a Macbook Pro mid-2012. Although it wouldn't have been my first choice it's still a great piece of hardware, only problem for me is that it only has a single Thunderbolt port ...
12
votes
1answer
23k views

run Mac OS X applications on Linux

According to this Wikipedia article: OS X is a series of Unix-based graphical interface operating systems developed and marketed by Apple Inc. so i was thinking: is there any similar ...
11
votes
3answers
3k views

What does i386 mean on macOS Mojave?

I'm on a second-hand MacBook Pro from late 2013 (Mojave 10.14.3) and when I type arch on the Terminal, I get back i386. Shouldn't it be a x86_64? Did the seller misrepresent the item? Please see the ...
10
votes
1answer
3k 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?
10
votes
0answers
272 views

How to increase sound volume on eMac P69 running FreeBSD 10.3?

I've got FreeBSD 10.3 (PowerPC) installed on eMac P69. I'm using MPlayer to test loudness. I already use -af volume=10:1-like options but they tend to distort sound pretty quickly + it is not really ...
9
votes
6answers
18k views

Unable to connect to any wifi with NetworkManager due to error: Secrets were required, but not provided

Using NetworkManager on Arch Linux on a MacBookPro14,3, I am unable to connect to any wireless network. I've tried connecting to a number of different WiFi networks (home, mobile hotspot, work) all ...
8
votes
3answers
24k views

How to make bootable Debian USB on mac?

Their approach https://wiki.debian.org/InstallingDebianOn/Apple/MacBookAir/3-2 does not work(everything goes fine but usb does not become bootable). It also seems seems several years old and outdated....
7
votes
2answers
13k 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 ...
7
votes
3answers
2k views

FreeBSD cannot use WiFi with BCM4360 on MacBook Air

I've installed FreeBSD 11.0 on my MacBook Air (13-inch, Early 2015). However, when configuring the network, no list of network interfaces is shown to me. Instead, I was brought to the Choose IPv4 ...
7
votes
2answers
1k views

Tmux and dim-ed colours in Terminal.app on MacOS

The problem On my Mac (10.11) Tmux does not show dim-ed colours properly, and this causes annoyance. In the following picture, the commit author's name is supposed to be represented in dim white. ...
7
votes
3answers
3k 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 Ubuntu/Arch/Fedora/...
6
votes
1answer
9k views

How to install a particular version of boost with brew on MacOSX?

The command "brew install boost" works for me on my MacOSX, but it installs the latest boost 1.57. How to use brew to install the older 1.55?
6
votes
3answers
4k 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 ...
6
votes
3answers
12k views

Fedora 22 on MacBook Pro (Retina, 15-inch, Mid 2015)

I recently installed Fedora 22 on my new MacBook Pro. Good news: Wi-Fi works out of the box, so you can update the system immediately to resolve the faulty video driver issue (under bad news). I ...
6
votes
1answer
2k views

Accessing the NVMe flash drive of the April 2016 MacBook 12" (A1534)

I'm trying to install Linux on the new April 2016 MacBook 12" (A1534). Booting from USB via EFI works fine: I tried Arch Linux (2016.05.01, kernel 4.5.1) and Ubuntu (16.04, kernel 4.4.0-21; and ...
5
votes
6answers
2k views

terminal command | grep IP

ifconfig -a | grep 10.16 inet 10.16.x.xx netmask 0xffffff00 broadcast 10.16.x.xxx inet 10.16.x.xx netmask 0xffffff80 broadcast 10.16.x.xxx I have replaced the numbers with x My aim is to ...
5
votes
2answers
51k views

Convert input string to date in shell script

My shell script: #!/bin/bash echo "$1"; startd=$(date -d "$1" +"%Y%m%d"); echo "$startd"; My command: sudo ./test.sh "20151010" The output: 20151010 20150213 it printed todays date instead ...
5
votes
2answers
7k 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 ...
5
votes
1answer
3k views

How can I set the default editor as nano on my Mac?

I have vim as default editor on my Mac and every time I run commands on Mac terminal, it automatically opens "vim". How can I set up "nano" instead and make sure the terminal will open "nano" every ...
5
votes
1answer
5k views

How to test if root user is enabled in Mac?

I need to test if Mac root user is enabled or not. I usually enable/disable it by using dsenableroot.
5
votes
1answer
637 views

card reading killing my battery, on macbook pro running Debian

I am currently using a macbook pro but the operating system is debian 8.2 not os x I am using a macbook pro but there's this one device that's just draining a lot of power. This USB device: Card ...
5
votes
3answers
4k 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 ...
5
votes
2answers
1k 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
10k 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 USB-stick....
5
votes
2answers
2k views

Debian 7.7 PPC (iMac G4) - switch from nouveau to nv driver

I'm trying to get some flavour of Linux going on an old iMac G4/800 with NV11 video hardware. So far I've tried Ubuntu 14.04, Ubuntu 12.04 and Debian 7.7. All face the following common issues: I ...
4
votes
2answers
21k views

Error when using apt on macOS Sierra

Having some trouble using apt on my Mac. If I run sudo apt search or sudo apt-get I get this error in the terminal: Unable to locate an executable at "/Library/Java/JavaVirtualMachines/jdk1.8.0_121....
4
votes
2answers
4k 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?
4
votes
3answers
2k 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 ...
4
votes
1answer
401 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
7k views

What is the tmux prefix code for command key on mac?

I'd like to change my tmux prefix key from control to command (on mac). I have an example on how to set it to alt: set-option -g prefix M-b
4
votes
1answer
1k views

Change alt/cmd preference fedora22

How do I switch my Control and Alt keys so that Fedora22 will behave like an OSX keyboard? I've found references concerning Ubuntu but they don't directly appear to work the same. Gnome's ...
4
votes
1answer
44k 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 libr/...
4
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 ...
4
votes
1answer
2k views

Why can't my host machine connect to my virtual guest machine via HTTP protocol?

I have successfully installed CentOS7 as a guest on VirtualBox for mac. I have also installed a Tomcat 7 as shown in the picture below and I can successfully access http://localhost:8080 from ...
4
votes
2answers
2k 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 ...
4
votes
4answers
2k 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, ...
4
votes
1answer
403 views

Is sandbox-simplify command removed from OS X sierra?

Looks like the sandbox-simplify command is removed in OS X sierra, I can't find it in system path, only sandbox-exec command is available now. So, is there any replacements?
4
votes
1answer
3k 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 ...
4
votes
1answer
3k 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 I'...
4
votes
1answer
263 views

Linux - Modify an efi var with efivar

I have a single boot Kali Linux installation on MacBook Air 2018 hardware. After solving some issues to make all working I'm in trouble with this: I'm trying to disable the startup sound before ...
4
votes
1answer
3k views

Problems with enabling multimedia-, volume- and brightness-keys in the i3 window manager with Macbook Air

I'm not able to make the multimedia-, volume- and brightness-keys to work in the i3 wm on my Macbook Air from 2015. I have inserted the code which is supposed to enable the buttons however it doesn't ...
4
votes
2answers
2k views

Firmware bug error message on Arch on Apple

On Arch Linux on a MacBook Air 5.1 i get the error message DMAR-IR: [Firmware Bug]: ioapic 2 has no mapping iommu, interrupt remapping will be disabled when booting. I can't notice any problem, but ...
4
votes
1answer
1k views

Find and list duplicate directories

I have directory that has a number of sub-directories and would like to find any duplicates. The folder structure looks something like this: └── Top_Dir └── Level_1_Dir ├── standard_cat ...
4
votes
0answers
564 views

Re-map scancode -> keycode of MacBook Pro built-in keyboard

Object I read this Arch wiki article to try to remap scancode & keycode on my Chakra 201710 + MacBook Pro 2015 (no touchbar and USB-C): Remap the built-in keyboard of like this: | ORIGINAL || ...
4
votes
0answers
769 views

Schedule on boot persistent reverse SSH tunnel on Mac OSX

In attempts to run a self sustaining reverse ssh tunnel I have tried installing the 'autossh' package with brew. Autossh works alone when ran through the user's prompt, but not with launchctl/launchd. ...