Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ctsdownloads/f6d61380e0e9dc0a916a6b0247345b53 to your computer and use it in GitHub Desktop.
Save ctsdownloads/f6d61380e0e9dc0a916a6b0247345b53 to your computer and use it in GitHub Desktop.
11th gen - Ubuntu 22.04 LTS Installation on the Framework Completing Setup
# This is for 11th Gen ONLY.
# Copy the entire text block below, paste into the terminal, press enter and type your
user's password as prompted.
# This will:
# - Update your Ubuntu install's packages.
# - Install the recommended OEM kernel.
# - Workaround needed to get the best suspend battery life for SSD power drain.
# - Enable improved fractional scaling support for Ubuntu's GNOME environment using Wayland.
# - Enable headset mic input.
## *****COPY AND PASTE THIS CODE BELOW*****
sudo apt update && sudo apt upgrade -y && sudo apt-get install linux-oem-22.04c && echo "options snd-hda-intel model=dell-headset-multi" | sudo tee -a /etc/modprobe.d/alsa-base.conf && gsettings set org.gnome.mutter experimental-features "['scale-monitor-framebuffer']" && sudo sed -i 's/^GRUB_CMDLINE_LINUX_DEFAULT.*/GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nvme.noacpi=1"/g' /etc/default/grub && sudo update-grub &&
echo "[connection]" | sudo tee /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf && echo "wifi.powersave = 2" | sudo tee -a /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf
## *****COPY AND PASTE THIS CODE ABOVE*****
## then press enter key, password, reboot.
# If you would rather enter the commands individually instead:
## Updating packages.
sudo apt update && sudo apt upgrade -y
## Install the recommended OEM kernel.
sudo apt install linux-oem-22.04c
## Enable headset mic input.
echo "options snd-hda-intel model=dell-headset-multi" | sudo tee -a /etc/modprobe.d/alsa-base.conf
## Enable improved fractional scaling support for Ubuntu's GNOME environment using Wayland.
gsettings set org.gnome.mutter experimental-features "['scale-monitor-framebuffer']"
## Workaround needed to get the best suspend battery life for SSD power drain.
sudo gedit /etc/default/grub
## Append the following to the GRUB_CMDLINE_LINUX_DEFAULT="quiet splash section.
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nvme.noacpi=1"
## Preventing wifi drop offs.
sudo gedit /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf
## Change 3 into a 2
wifi.powersave = 2
# Sudo with your fingerprints.
## To run sudo in a terminal with the fingerprint reader, you need to run this command in a terminal and follow the prompts.
sudo pam-auth-update
## Also, if you've previously enrolled fingerprints in Windows or another Linux distro, you may find that fingerprint enrollment errors until you manually force clear the stored fingerprints.
https://knowledgebase.frame.work/en_us/fingerprint-enrollment-rkG6YP7xF
## Additional ways to extend battery life can be found at this link: https://community.frame.work/t/linux-battery-life-tuning/6665.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment