Skip to content

Instantly share code, notes, and snippets.

View eclecticc's full-sized avatar

Nirav Patel eclecticc

View GitHub Profile
@eclecticc
eclecticc / Ubuntu 22.04 LTS Installation on the Framework Laptop steps
Last active January 24, 2023 05:18
Ubuntu 22.04 LTS Installation on the Framework Laptop steps
# 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
eclecticc / Fedora 37 Installation on the Framework Laptop (12th Gen Intel Core)
Last active January 24, 2023 05:18
Fedora 37 Installation on the Framework Laptop (12th Gen Intel Core) commands
# 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
eclecticc / Fedora 37 Installation on the Framework Laptop
Last active January 24, 2023 05:20
Fedora 37 Installation on the Framework Laptop commands
# 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
eclecticc / Ubuntu 22.04 LTS Installation on the Framework Laptop (12th Gen Intel Core)
Last active September 12, 2022 22:53
Ubuntu 22.04 LTS Installation on the Framework Laptop (12th Gen Intel Core)
# 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
@eclecticc
eclecticc / M.2.scad
Last active November 19, 2019 16:52
Parametric M.2 mockup generator
// 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.