Last active
January 22, 2022 22:23
-
-
Save andrew-ma/ac2aa81d1ef36e469c3157396e7c00b5 to your computer and use it in GitHub Desktop.
First things after installing linux
This file contains 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
## Change privacy settings in Settings app | |
## Update Grub Settings to Work with Brightness Slider | |
``` | |
# In /etc/default/grub | |
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_backlight=vendor acpi_osi=linux" | |
# Run this | |
sudo update-grub | |
reboot | |
``` | |
## Update software | |
sudo apt update | |
sudo apt upgrade | |
## Install software from list | |
APT | |
- vim-gtk3 | |
- screen | |
- tldr | |
- build-essential | |
- gnome-tweaks | |
- python3-pip | |
- ufw | |
``` | |
sudo ufw enable | |
``` | |
- firefox | |
- chrome | |
- libreoffice | |
- brctl | |
- moka-icon-theme | |
Manual | |
- vscode | |
``` | |
curl -OJL "https://code.visualstudio.com/sha/download?build=stable&os=linux-deb-x64" | |
sudo dpkg -i code_*.deb | |
``` | |
- brightness-controller | |
``` | |
sudo add-apt-repository ppa:apandada1/brightness-controller | |
sudo apt update && sudo apt install brightness-controller | |
``` | |
- Matcha-gtk-theme | |
``` | |
sudo apt install gtk2-engines-murrine gtk2-engines-pixbuf | |
git clone https://github.com/vinceliuice/Matcha-gtk-theme ~/Matcha-gtk-theme | |
~/Matcha-gtk-theme/install.sh | |
``` | |
Optional | |
- kvm (virt-manager) | |
## Import firefox settings | |
``` | |
# Copy to /usr/lib/firefox/defaults/pref/local-settings.js | |
# Copy to /usr/lib/firefox/mozilla.cfg | |
## Install firefox extensions: | |
- https://addons.mozilla.org/en-US/firefox/addon/ublock-origin | |
- https://addons.mozilla.org/en-US/firefox/addon/privacy-badger17 | |
- https://addons.mozilla.org/en-US/firefox/addon/videospeed | |
- https://addons.mozilla.org/en-US/firefox/addon/gnome-shell-integration | |
## Then import firefox bookmarks | |
``` | |
## Import vimrc and screenrc | |
``` | |
# Download .vimrc from github | |
wget https://raw.githubusercontent.com/andrew-ma/CTF_Shortcuts/main/.vimrc -O ~/.vimrc | |
## Link .vimrc to /etc/vim/vimrc.local so 'sudo vim' can use the settings too | |
sudo cp -s "$(realpath ~/.vimrc)" /etc/vim/vimrc.local | |
# Download .screenrc from github | |
wget https://raw.githubusercontent.com/andrew-ma/CTF_Shortcuts/main/.screenrc -O ~/.screenrc | |
``` | |
## Install nvidia drivers | |
Download installer from "https://www.nvidia.com/Download/driverResults.aspx/184163/en-us" | |
## Update Xorg Configuration File (/etc/X11/xorg.conf) | |
Open 'Nvidia X Server Settings' app | |
In 'X Server Display Configuration', click 'Save to X Configuration File' button, click 'Show preview...' button | |
Copy differences in the 'Section "Device"' part, like the BoardName line | |
## Configure Gnome Tweaks | |
Add 'User Themes' extension from 'https://extensions.gnome.org/extension/19/user-themes/' | |
Add 'Removable drive menu' extension from 'https://extensions.gnome.org/extension/7/removable-drive-menu/ | |
## Sync Vscode settings | |
Install 'syncing' extension | |
Gist ID: 'f0e8209f3982f7010fdeb1ac247d48f0' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment