Linux‎ > ‎Desktop‎ > ‎

.Fedora Linux On Macbook

run update:
dnf update or yum update

Install wireless drivers
dnf install kernel-devel akmod-wl

Check the packages and rebuild them for kernel:
akmods

After reboot check if wireless modules are loaded:
lsmod |grep wl

If not loaded, load them:
modprobe wl

Also Add this entry into /etc/dracut.conf
add_drivers+="wl"

run :
dracut -f -v

#Fix  rogue mouse cursor/jumping mouse cursor while typing
cd /etc/X11/xorg.conf.d/
ln -s /usr/share/X11/xorg.conf.d/50-synaptics.conf

vi /etc/X11/xorg.conf.d/50-synaptics.conf
Add this section to one of the input class fields:
option  "PamMinZ"       "100"

Disable double tap right click, put this entry in $HOME/.bashrc and /etc/skel/.bashrc
synclient TapButton2=0


Create a startup script to make few other tweaks:

vi /usr/local/sbin/rc.local
chmod +x /usr/local/sbin/rc.local

In rc.local

#!/bin/bash
#
#/usr/local/sbin/rc.local: local multi-user startup script.

#Keyboard tilde and backtick mapping
echo 0 > /sys/module/hid_apple/parameters/iso_layout
#disable wakeup after suspend
echo XHC1 > /proc/acpi/wakeup
echo LID0 > /proc/acpi/wakeup
#Function key swap
echo 2 > /sys/module/hid_apple/parameters/fnmode


Make the startup script a service:
vi /etc/systemd/system/rc.local.service

[Unit]
Description=/etc/rc.local Compatibility
ConditionFileIsExecutable=/usr/local/sbin/rc.local

[Service]
Type=oneshot
ExecStart=/usr/local/sbin/rc.local
TimeoutSec=0
StandardOutput=tty
RemainAfterExit=yes
SysVStartPriority=99

[Install]
WantedBy=multi-user.target

#Enable the rc.local service on boot
systemctl enable rc.local.service



#reboot








Comments