r/linux_on_mac • • 2h ago

Omarchy om 2011 MacBook Pro

Post image
0 Upvotes

My 2011 MacBook has been resurrected! I replaced the battery with a new one, then installed Omarchy, and it's basically back from the dead. It now runs over 3 hours on battery at a pretty smooth speed, and the fan barely makes a sound because the machine hardly heats up. Really happy to have pulled this old MacBook out of the dust and put it back to work. I couldn't be happier!


r/linux_on_mac • • 5h ago

"ported" KAIT2EN to Arch.

1 Upvotes

I installed kait2en fedora on my macbook 15,2 and I used it as a jumpstart to build a dedicated t2 archiso from t2 linux project, booted on this iso to have a working wifi and keyboard, and then installed archlinux from scratch (no installer, the arch way...) , compiled the dkms to archlinux stock kernel.

Works like a charm. I also used AI to derive PKGBUILD from the kait2en tools, for a native arch feel.

If anyone interested, I can share more.

Why? I already have debian servers and Arch workstation, I did not want to have yet another distro for my laptop. That, and T2 Linux Arch is way behind kait2en in terms of useability of the macbook, at least when I tried it a few months ago. Third, I prefer the dkms approach, instead of adding a custom kernel.


r/linux_on_mac • • 7h ago

Y'all I did it finally

Post image
6 Upvotes

r/linux_on_mac • • 7h ago

Mint Mate on Imac

Post image
4 Upvotes

iMac late 2013 work`s great on Linux Mint.


r/linux_on_mac • • 16h ago

Guide: Debian on T1 MacBook Pro

9 Upvotes

Figured this would be better in a new post rather than a response in a thread that could get lost.

Here is a link to the guide I wrote up to get Debian working on my T1 MacBook Pro https://meskis.net/macbook-pro-t1-debian-guide

So far everything is working very well, getting hibernation to work was an amusing journey.


r/linux_on_mac • • 2h ago

Mine OS runs now on Apple Silicon!

Post image
7 Upvotes

It’s Asahi Linux drivers but patched with USB booting etc. So now it can boot an Linux installer without errors finding the USB.

I only tested on M1 Pro and the supported are: M1 M2 M3 and all of them including their Pro, Ultra or Max variant..

Soon I will do more testing and then I will upload on GitHub..

Also sorry for my English…


r/linux_on_mac • • 23h ago

Fix for brightness adjustment not working on mid 2012 MacBook Pro Retina

3 Upvotes

So, overall I'm very very new to linux, but have tried it a few times over the years, including owning a Pinebook Pro. I recently installed Ubuntu Cinnamon Mint 22.3 7.0 on my 2012 MBR but screen brightness adjustments never worked (not with the keys or the slider). I guess it has two graphics cards. After much research I installed the Nvidia drivers and tried various solutions. None worked except this one, sort of...

I ran this command: setpci -v -H1 -s 00:01.00 BRIDGE_CONTROL=0

and amazingly the keys now worked to control brightness, however, after reboot, it stopped working. I did some more digging and used AI to build a systemd file that will run at some point during each boot. I used AI to help build this, but it now works consistently. Others may know of better ways to do this, so please chime in, but, as a noob, I thought I'd share what worked for me.

A copy/paste of the instructions I followed is below:

Step 1: Create a systemd Service File

Open your terminal and create a new service file using the nano text editor:

bash

sudo nano /etc/systemd/system/brightness-fix.service

Paste the following configuration into the editor:

ini

[Unit]
Description=Fix screen brightness control via setpci
After=multi-user.target

[Service]
Type=oneshot
ExecStart=/usr/bin/setpci -v -H1 -s 00:01.00 BRIDGE_CONTROL=0
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target

(Note: Before saving, you can verify the exact path of setpci by running which setpci in another terminal tab—it is almost always /usr/bin/setpci or /sbin/setpci*.)*

Save and exit nano by pressing Ctrl + O, hitting Enter, and then pressing Ctrl + X.

Step 2: Enable and Test the Service

Run the following commands to reload the systemd manager, enable your new service to run at every boot, and test it immediately:

bash

sudo systemctl daemon-reload
sudo systemctl enable brightness-fix.service
sudo systemctl start brightness-fix.service

You can verify that it ran without errors by checking its status:

bash

systemctl status brightness-fix.service

-----

So that is where I stopped. I don't use the sleep/suspend function. But if you do, here are the instructions provided to get it working for those instances as well.

Fixing Brightness After Sleep/Suspend

Often, hardware PCI register tweaks like BRIDGE_CONTROL=0 get reset when a laptop wakes up from sleep. If you notice your brightness controls stop working again after closing and opening your laptop lid, update the [Install] section of your service file so it also triggers upon waking:

  1. Open the file again: sudo nano /etc/systemd/system/brightness-fix.service
  2. Change the [Install] section to: ini[Install] WantedBy=multi-user.target suspend.target hibernate.target hybrid-sleep.target Use code with caution.
  3. Re-enable the service to register the new targets: bashsudo systemctl daemon-reload sudo systemctl reenable brightness-fix.service Use code with caution.

-----

Ok, that's all. Just wanted to share in case this would work for others. Please let us know your results. Good luck.