/r/linux_on_mac
All about running linux on Apple/Mac hardware, both PPC and Intel based. How to's, requests for help, news, you name it!
All about running linux on Apple/Mac hardware, both PPC and Intel based. How to's, requests for help, news, you name it!
Please consider tagging your requests for help with [HELP].
rEFInd (Boot manager for EFI/UEFI)
Blog Spam may be removed.
/r/linux_on_mac
I'm having an issue on both Ubuntu 24.10 and Manjaro 24, (on 2 different computers), where the traffic light colored Close, Minimize, and Maximize buttons revert back to the standard X — [ ]. I can bring it back if I delete my local GitHub clone and rerun the script, but after a certain period of time, it reverts back. The Terminal buttons seem to stick, though, but Nautilus and Firefox, Settings, and I believe all others, revert back.
Thanks for any help provided!
I've decided to use pop os on my mac and I like it. However it gets hot as I can't manually control it's fans like I did in mac or windows with macfan control. To those with similar setups what do u use to control fans in your mac.
Hi,
I wanted to ask if someone managed to get the Speakers, the Camera and the Wife working on this machine.
I'm more or less at the same point as this guy:
https://daryl.wakatara.com/linux-distro-survey-for-a-2016-12-macbook/
Wifi: Works with 2.4 GhZ
Sound: Only via headphones
Camera: No. Also not with the facetimehd driver https://github.com/patjak/facetimehd/wiki/Installation
Thanks a lot.
Is there a way to reassign the eject button to e.g. a proper "delete" function? I've replaced the DVD drive with an SSD so the key is superfluous now.
Two Issues:
I've tried EndeavorOS (don't remember the version), Debian 12 and most recently Fedora 41, both issue persist. Pretty much everything else works as it should out of the box with Fedora and EndeavorOS, needed to add non-free in sources.list for Debian. DE is Gnome (Wayland) on all three distros.
I replaced the spinning hdd with an ssd prior to the Debian install. Machine specs: 3.3 GHz Core i7 (I7-5775R / Retina 4K / 16gb / 1tb ssd.
There's an unsolved post dealing with the shutdown issue at Linux.org, and an unsolved post dealing with the sound issue at Debian Forums.
I've been chasing this for 6 or 7 months. This computer is my daily driver, it's fine for what I use it for as is, figured I'd post here and see if anyone has solved either one of these issues.
Hi, so glad to find a /r on this subject, especially since Time Cook introduced planned obsolescence to try an force us into the ARM based offerings.
I was thinking of dumping macOS since Apple announced end of life for Intel, but then on my last update on Monterey it said I need to update to Sonoma, but of course that's not happening on this model.
My options are install some kind of patcher to make it accept late macOS or install Linux.
I reformatted the 1TB drive and installed Debian 12 on it. It's kind of working, but not the bluetooth keyboard or the magic mouse, audio or the webcam. I get it, Apple spent a lot of time tightly integrating other manufacturer's peripherals with their hardware. It's taken hours of tinkering to even get it to display text I can read. The gdm is so small you can barely read it. Of course once logged in Gnome loads up. I have set scaling to make it readable. I also adjusted the mouse pointer size, but it's still not the way I want it for a 27 inch screen to be. All the notifications appear in tiny script.
Any suggested distro which just works with this model Apple peripherals? I am currently using wired PC keyboard and mouse.
I read about ditching Gnome DE altogether and maybe go with Cinnamon.
Now with Debian installed, it won't even boot up Apple's startdisk menu to the USB Ventoy that I directly plugged into the iMac's USB3 ports. Of course I tried the holding the Alt key at boot up, but it only goes to Restore Image asking for wireless router to connect to. I'm not even seeing that startdisk menu.
Suggestions please...
I'm dual booting MacOS & Arch and found a 'hacky' solution that works for me - it's a laptop but primarily I do my work plugged into a monitor. It's almost impossible to type on the built in keyboard anyway.
So basically I have my settings (KDE Plasma) to never sleep/hibernate when lid is closed - just goes to lock screen after X min of inactivity. My external display monitor is set to sleep Y min after, where Y > X.
So I move my mouse/press a key on the keyboard, always 'wakes up'. Pretty sure this isn't good for the hardware life, but, not really concerned - got this laptop for free when a client never sent me shipping materials to send it back after a contract ended.
Better solutions?
New to linux. Tried to install drivers for the camera by following the steps from some reddit post, but i think i messed one or two things and it just doesn't work. i'd appreciate if someone has an easy to understand step by step method that can help me get this thing working
EDIT: Okay guys, I got it to boot a live USB, but I still have no idea what I'm doing.
I plugged the keyboard into the first USB slot (the furthest USB slot from the center of the unit, or rather, the most lateral USB slot)
Neither the stock iMac keyboard or my preferred keyboard worked in any usb slot, so it was only when I got a junk keyboard out that I got it working.
Holding the "command key" or basically the blank windows key worked when I did all of the above.
Unfortunately, I still cannot figure out how to clean a USB drive after I use it as a boot disk other than using Windows 10 command line. Here's a quick link for people who are curious, or who only use Windows at work https://www.diskpart.com/articles/how-to-wipe-a-usb-drive-7201.html
I guess my next step is to figure out how to take this motherfucker apart and put an SSD in. Wish me luck.
Original post:
It's had Fedora installed for a few years on the original HDD, but the disk is getting kinda clicky and I will upgrade to an SSD and maybe put in more RAM at the same time. Problem is, I can't get this motherfucker to show me a boot menu that will recognize a live USB installer. And then I try to reformat my USB stick and start over and it's broken, and the only way I know how to fix that is use my partner's PC using the diskpart command line thing.
iMac12,1
Intel core 1-5
Mesa Intel 2000 / AMD Turks
So, any suggestions? Running on a live USB seems so easy for all the crapbooks I have, I don't know what I'm doing wrong here.
Hello everyone. I'm new here. Tell me how to install Linux as a second system on Mac OS. Today I spent half a day on this. I allocated disk space. I made a bootable USB flash drive. But I can't connect to WiFi and the keyboard and trackpad don't work. I know almost nothing about coding, so I tried to solve the problem with the help of the gpt chat and the Internet. It didn't help.
I just installed and I'm getting constant system crashes. I think it is related to the Nvidia driver. I'm wondering if anyone else has Zorin, or maybe even an older version of Ubuntu, installed successfully? Did you make modifications to the graphics driver?
I just finished installing Fedora 40 on my 2012 Macbook and installed the nvidia470xx drivers from the nonfree repo.
I noticed 2 screens being enabled so i disabled the non existing display from settings.
everytime i boot up my Macbook there are suddenly 3 screens in the SDDM which i cannot disable for some reason. because of that my first sddm screen is very glitch and i need to find my cursor so i can type in my password, which is really annoying.
I've tried disabling the monitors through /usr/share/sddm/scripts/Xsetup
Put that path into /etc/sddm.conf
But no luck unfortunatly. Dis someone have the same issue and has been able to resolve it?
EDIT: Forgot to mention the non existing monitors i want to disable are "LVDS-2-1" and "None-1-1"
I'm on fedora 40 and my wifi stopped working after getting it to work
Hello i dont have wifi working on my macbook pro any fixes ive already got the drivers for broadband adapter and linux thinks the t2 chip is an ethernet/wired connection are there fixes
Hi all,
I have been tinkering with an older MacBook that was donated to me. It's HDD went bad so I pulled it and swapped in a 1TB drive from an old imac.
I looked around online and found that it seems the macbook was compatible with linux since it's an intel mac. I installed Linux Mint from a USB bootable and it took a few tries but I was able to get the install completed.
Unfortunately the MacBook doesn't recognize the internal HDD at all. It will run Mint from the bootable but not from the install on the internal HDD. It boots up with a ? icon.
Have I forgotten a step? I don't have the OG HDD or system. I can't revert back to any Mac OSX since Leopard isn't available for download (I really need the internet archive right now, but it's down!).
Open to any suggestions. I love the form factor of this macbook case. I can tear it down in 20 minutes, it's so easy to work on. I'd love to get it up and running. I am not looking to do anything serious with it, just experiment with Linux a bit.
Thanks all!
Hi all,
I hope to get some discussions going on, how to fix this problem.
I've tried installing ubuntu on this imac, and had problems with the black screen.
google searches don't really provide me a solution to this, or at least I could not find it.
I tested some stuff that I could find but nothing worked, but I believe the problems lies in type of imac and a wrong kernel detection of the internal monitor.
Some things I suspect and found:
The radeon driver is correctly detected and is the good driver for the RV770 4850/4870. (at least I think so because everything works nicely including glxgears and some youtube videos on high res.
Found some sources that there was something in the kernel and discussions on the internal screen turning off once loading radeon driver. something deactivates the monitor, and it can be fixed by plugging in a HDMI device through the mini display port. (this helps keeping the internal screen turned on as I can see garbled lines. also, this is implemented already: https://patchwork.kernel.org/project/dri-devel/patch/20170707025704.1864-1-mario.kleiner.de@gmail.com/
seeing my current ubuntu installation is using 6.8.0-47 which through https://elixir.bootlin.com/linux/v6.8/source/drivers/gpu/drm/radeon/atombios_encoders.c#L2126 is also included in the patch. but not working somehow, (even though bootlin
EDID can be obtained and decoded using edid-decode.
Came across this one, and different sources gives the same: https://forums.macrumors.com/threads/vbios-for-ati-radeon-hd-4850-from-an-imac-24-early-2009-a1225.2291102/ Is there anything like a selector or display setting difference that must be set for eDP instead of LVDS?
Also found something about vBios not passing on details, for which I tried ReFind and also opencore booter. not solved either, or I am making a mistake.
Hope to get some help.
Looking to start a conversation about Linux Mint on Mac Laptop hardware.
I'm rocking a MacBookPro 9,1 which is an i7 with 16 gig, 8 procs. Did an SSD upgrade, so, not the original HD.
My motivation was that the highest Apple OS it would upgrade to was High Sierra, I believe, and I'm not interested in jacking it around with OpenCore Legacy Patcher. I wanted a full blown OS that was suited to run on the hardware with stability, security, current browsers, etc.
I auditioned Zorin, Fedora, a few Fedora Spins, Debian, Ubuntu, Lubuntu, Kubuntu, Manjaro(!?!?),POP!, and maybe one or two more.
I settled on Linux Mint Cinnamon as the best feature/performance compromise. Also the best hardware support. But there are still issues.
The weirdest issue is that the device behaves like it has two monitors (not desktops, but monitors - out of the box it has at least 4 desktops…). This is because Apple put two video cards in the laptop, an Intel 3rd Gen i915 AND an NVIDIA GK107M (GeoForce GT 650M "Mac edition"). I could see that there was a second monitor because the cursor could just go off the screen onto oblivion, and this was resolved by turning on mirroring in the Display control panel.
That said, it seems like I'm wasting a graphics card - unless I plug in a second monitor of course.
How can I activate just one ( the better one!) video card, and is the proprietary NVIDIA driver better performing? It is currently using the "nouveau" open source driver.
In other news -
The Bluetooth subsystem is very temperamental, and the built in audio driver can't really drive the speakers properly. The sound is legible, but to my ear it seems like there are at least 4 speakers, maybe like a tweeter and a bass speaker for each side, and they are not all working. The sound is thin. Works Just Fine under Mac OS.
But I can deal with those issues - my main purpose is mixing multi-track audio, which sounds great on headphones. While there seems to be no problem with some USB audio interfaces, I have not tried all of the ones that I will need it to work with. Stay tuned.
Thanks for any help.
Hi!
I use Arch (from T2 project) on MBA2019, everything is perfect (especially battery life, i didn't expect that it will be the same as with macOS), but only one thing is annoying me - i still can not find suitable touchpad settings.
I use .conf file for Synatpics, which locate in /etc/X11/xorg.conf.d/, file content is here: 70-synaptics.conf
What i want to have for sure - tap to click, 2 finger tap for context menu, 3 finger tap for middle button (to open links in new tab), drag-and-drop until tap.
But i still have annoying accidental tap happening, and sometimes while i scroll page with to fingers motion selection process is happening.
In the end of the day i can live with it, but would like to improve it if possible. May be you can share with me some settings?
I'm looking to buy an old, budget-friendly MacBook to use during blackouts and was thinking of installing Fedora on it. But I'm still unsure about which model to choose and how well it performs in terms of battery life.
What’s the best older MacBook model for this purpose? Is it straightforward to install Linux on it? Also, how do these older Macs handle battery life and cooling? I've read that for MacBook Pros, you might need to tweak the cooling, which can impact performance.
Am I on the right track with a MacBook, or should I consider something else? I’m after a compact, lightweight laptop that can run for at least 4–6 hours (mostly browsing, with moderate brightness) and stay within a $200 budget. Right now, an old MacBook is the only option that comes to mind. Any advice?
How to make speakers work again after sleep ?
On 2016 macbook with Fedora (or any other distro) sleep mode works with a specific command line at boot, but now after sleep sound wont work (it does with bluetooth though). I cant get it to work by restarting pipewire (service seems to be active anyway but no sound). What can I do ? Other than rebooting.
TL/DR: Are there distros that support Thunderbolt or DP-over-USB-C during the setup process, before installing any drivers?
Hi all,
I have a 2016 13" MacBook Pro that I plan on installing Linux on. Sadly the built-in display is broken (FlexGate) and I'm planing on using it as a desktop. I've used Linux on another machine for the last 2-3 years so I have some experience, but I'm definitely still a newbie. Would I be able to connect a Thunderbolt Dock to the Mac and go through Linux setup on an external display or would I have better luck with a simple USB-C to HDMI/DisplayPort cable?
hi guys
Following the instructions here for systemd (I guess so, right - Ubuntu base) on Mint 22 to get mbpfan to open on boot.
Begins with:
sudo cp mbpfan.service /etc/systemd/system/
...which gives the following:
cp: cannot stat 'mbpfan.service': No such file or directory
...and leaves me kind of stumped. Followed the setup instructions on the same page to get it working, played around to get it configured (and then haven't touched that machine a lot - it's an MBA relegated to spare status in the office). Just heard the fans going again and reminded me to try to get this working.
Any advice?
Hi, I have installed linux on my mac mini. Now I am looking at that 100gb of the memory that is floating unused.
Am I allowed to format that partition and use it?
I've not found a distro so far that recognizes the webcam. I'm looking for one that does out of the box, or if that doesn't exist, one that will recognize and install what's needed for it to work and for it to continue working after kernel updates.
Anybody with experience?
I have a 2019 Macbook Pro with a windows bootcamp installed on it. I would like to install Mint or Ubuntu in place of this windows install. What is the best way to do this? And what considerations do I need to consider when installing linux on a mac?
As the title suggests, I have a 6,1 Mac Pro (with the D500 graphics) and can't seem to get a solid install that will allow some form of GPU accelerated Video Rendering (Kdenlive, Davinci Resolve, etc.). I am distro agnostic and will attempt any of them, but let's get something that works, so there is a concise guide to help out anybody else.
I have tried multiple distros and the AMDGPU-Install package with numerous switches.
Currently, I am on Ubuntu 22.04 and am using the built in AMDGPU drivers with the radeon.si_support=0 amdgpu.si_support=1 parameters. This allows Vulkan to use the AMD cards. I also have the mesa-opencl-icd package installed which does identify the AMD cards for OpenCL.
If I attempt to use the AMDGPU drivers from AMD, then Vulkan goes to the CPU and OpenCL can't find any devices.
I just want to be able to use the desktop regularly and attempt to edit/render video at whatever speed the machine can handle (I know that it's not fast, but it was free).
Thanks for any input/help.
Tried different solutions to compile the touchbar module with repositories from roadrunner and many others.
It still fails to compile.
I am on kernel 6.10.9 on Debian Sid.
Has anyone found an updated version of the roadrunner repository for touchbar ?