Last active
November 26, 2024 12:18
-
-
Save eclecticc/096235e8e2d2d92f780d49c317522ffc to your computer and use it in GitHub Desktop.
Ubuntu 22.04 LTS Installation on the Framework Laptop steps
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Make sure to update your packages to get the latest kernel | |
sudo apt update && sudo apt upgrade -y | |
# To enable headset mic input, edit /etc/modprobe.d/alsa-base.conf | |
echo "options snd-hda-intel model=dell-headset-multi" | sudo tee -a /etc/modprobe.d/alsa-base.conf | |
# On some SSDs (e.g. SN750 with older firmware), there is a workaround to improve suspend battery life | |
sudo sed -i 's/^GRUB_CMDLINE_LINUX_DEFAULT.*/GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nvme.noacpi=1"/g' /etc/default/grub | |
# Then refresh the GRUB configuration | |
sudo update-grub | |
# And reboot | |
sudo reboot |
Hi @eclecticc!
Please correct the following line with double quotes at the end of the value:
sudo sed -i 's/^GRUB_CMDLINE_LINUX_DEFAULT.*/GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nvme.noacpi=1/g' /etc/default/grub
->
sudo sed -i 's/^GRUB_CMDLINE_LINUX_DEFAULT.*/GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nvme.noacpi=1" /etc/default/grub
Thanks, corrected.
Is this gist in public domain? What license should I reference if I were to fork it?
Yes, it is in the public domain.
cool. ty. Same for your other gists? Also public domain?
Yes, unless otherwise specified in the gist, our gists are public domain.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Good idea. Edited.