Instantly share code, notes, and snippets.
Formerly@nrpatel until I foolishly lost 2FA and recovery codes.
- San Francisco, CA
- http://eclecti.cc
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
RMMR RMMR | |
FRMWWWWWWMF FRMWWWWWWMRF | |
RMWWWWWWWWWWWWWMMWWWWWWWWWWWWWMR | |
MWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWR | |
MWWWWWWWWWWWWWMMMMMMWWWWWWWWWWWWWM | |
MWWWWWWWWMRF FRMWWWWWWWWM | |
WWWWWWMF RMWWWWWM | |
FMWWWWWF RWWWWWMF | |
FMWWWWWWM FMWWWWWMRF | |
FMWWWWWWWWM FWWWWWWWWWMF |
eclecticc /Ubuntu 22.04 LTS Installation on the Framework Laptop steps
Last activeNovember 26, 2024 12:18
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 |
eclecticc /Fedora 37 Installation on the Framework Laptop (12th Gen Intel Core)
Last activeJanuary 24, 2023 05:18
Fedora 37 Installation on the Framework Laptop (12th Gen Intel Core) commands 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 first | |
sudo dnf upgrade | |
# To enable brightness up/down keys | |
sudo grubby --update-kernel=ALL --args="module_blacklist=hid_sensor_hub" |
eclecticc /Fedora 37 Installation on the Framework Laptop
Last activeJanuary 24, 2023 05:20
Fedora 37 Installation on the Framework Laptop commands 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 first | |
sudo dnf upgrade | |
# If you want to enable fractional scaling: | |
gsettings set org.gnome.mutter experimental-features "['scale-monitor-framebuffer']" | |
# If you want to enable tap-to-click on the touchpad: | |
gsettings set org.gnome.desktop.peripherals.touchpad tap-to-click true | |
# If your SSD is one that needs the standby power saving workaround |
eclecticc /Ubuntu 22.04 LTS Installation on the Framework Laptop (12th Gen Intel Core)
Last activeSeptember 12, 2022 22:53
Ubuntu 22.04 LTS Installation on the Framework Laptop (12th Gen Intel Core) 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
# Switching to a more recent OEM kernel | |
sudo apt-get install linux-oem-22.04 | |
# Fixing the brightness up/down behavior | |
# Opening the grub config file | |
gedit admin:///etc/default/grub & | |
# The line to edit in the grub config | |
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash module_blacklist=hid_sensor_hub" | |
# or if you also need the SSD power saving workaround |
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
// M.2 Mockup Generator | |
// by Nirav Patel <https://eclecti.cc> | |
// | |
// To the extent possible under law, Nirav Patel has waived all copyright | |
// and related or neighboring rights to M.2 Mockup Generator. | |
// | |
// An easy to use parametric M.2 mockup generator. | |
// See https://en.wikipedia.org/wiki/M.2 for more information about the | |
// M.2 (formerly NGFF) standard. |