Last active
September 20, 2020 18:57
-
-
Save ahasverus/0171ddea2da3cad97f3540dc3ab9795f to your computer and use it in GitHub Desktop.
Setup Debian Buster on Lenovo X1 Carbon 7th Gen
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
## Switch to Admin | |
su - | |
## Remove GRUB Menu | |
cd /etc/default | |
cp grub grub-OLD | |
sed -re 's/^(GRUB_TIMEOUT=)5/\10/' -i grub | |
update-grub | |
## Add Non-free and Contrib Repositories (for firmware) | |
cd /etc/apt | |
cp sources.list sources.list-OLD | |
nano sources.list | |
# -> ... | |
apt-get update | |
## Download Firmware (Wireless Card and Others) | |
apt-get install firmware-iwlwifi | |
#apt-get install linux-firmware | |
#apt-get install linux-firmware-nonfree | |
reboot | |
## Grant Admin Rights to User | |
su - | |
usermod -aG sudo ahasverus | |
reboot | |
## Test Sudo | |
sudo apt-get update && sudo apt-get full-upgrade | |
## Lock ROOT Account | |
sudo passwd -l root | |
## Stop Bluetooth on Startup | |
sudo apt-get update | |
sudo apt-get install rfkill | |
sudo rfkill block bluetooth | |
# ->... | |
## Remove GNOME Games and Useless GNOME Apps | |
sudo apt-get purge aisleriot gnome-chess five-or-more \ | |
hitori iagno gnome-klotski lightsoff \ | |
gnome-mahjongg gnome-mines gnome-nibbles \ | |
quadrapassel four-in-a-row gnome-robots \ | |
gnome-sudoku swell-foop tali gnome-taquin \ | |
gnome-tetravex | |
sudo apt-get purge gnome-todo gnome-todo-common gnome-music \ | |
gnome-calculator gnome-weather gnome-maps \ | |
gnome-documents cheese | |
## Update Kernel | |
sudo nano /etc/apt/sources.list | |
# -> add Debian Buster Backports. | |
# -> deb http://deb.debian.org/debian buster-backports main | |
sudo aptitude update | |
sudo aptitude search linux-image | |
sudo aptitude install linux-image-5.6.0-0.bpo.2-amd64 | |
sudo aptitude install linux-headers-5.6.0-0.bpo.2-amd64 | |
### NOTES | |
### ------------------------------------------------------------------------- | |
## Microphone Issues | |
https://mathieularose.com/ubuntu-19-10-on-lenovo-thinkpad-x1-carbon-7th-gen/ | |
https://forums.lenovo.com/t5/Ubuntu/ThinkPad-X1-Carbon-7th-Gen-X1C7-mirophone-not-working/td-p/4484156 | |
https://bbs.archlinux.org/viewtopic.php?id=249900 | |
## Update Firmware | |
sudo fwupdmgr update | |
## Install APT Adding | |
sudo aptitude install apt-file | |
sudo apt-file update | |
sud apt-get install gnome-shell-extension-dash-to-panel |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment