Skip to content

Instantly share code, notes, and snippets.

@justinmklam
Last active March 6, 2019 18:22
Show Gist options
  • Save justinmklam/a72b18b8a80ce51c7815b06ca8dd9134 to your computer and use it in GitHub Desktop.
Save justinmklam/a72b18b8a80ce51c7815b06ca8dd9134 to your computer and use it in GitHub Desktop.
Additional software installs for a fresh OS install of linux.
#=================
# Add Custom PPAs
#=================
# For latest stable git
sudo add-apt-repository ppa:git-core/ppa
sudo apt install git -y
# GUI to easily change GRUB boot order (set Windows first for its updates)
sudo add-apt-repository ppa:danielrichter2007/grub-customizer
sudo apt install grub-customizer -y
# For custom battery thresholds
sudo add-apt-repository ppa:linrunner/tlp
sudo apt install tlp tlp-rdw tp-smapi-dkms acpi-call-dkms -y
# For Pinta photo editing
sudo add-apt-repository ppa:pinta-maintainers/pinta-stable
sudo apt install pinta -y
# Latest version of nodejs
curl -sL https://deb.nodesource.com/setup_10.x | sudo bash -
sudo apt install nodejs -y
#=============
# Misc Tools
#=============
# Setup HP Laserjet 1020 printer (source: https://forums.linuxmint.com/viewtopic.php?t=112850)
sudo hp-setup -i
# Install Microsoft fonts
sudo apt-get install ttf-mscorefonts-installer -y
# Install thinkpad battery management tools
sudo apt-get install tlp tlp-rdw tp-smapi-dkms acpi-call-dkms
# Set charging thresholds. Reset using `sudo tlp fullcharge`
sudo tlp setcharge 70 80 BAT0
# Install Gimp 2.10
sudo apt install flatpak -y
flatpak install https://flathub.org/repo/appstream/org.gimp.GIMP.flatpakref
#=====================================
# Pair Bose QC35 bluetooth headphones
#=====================================
# (source: https://askubuntu.com/questions/833322/pair-bose-quietcomfort-35-with-ubuntu-over-bluetooth)
sudo vim /etc/bluetooth/main.conf
#** Replace '#ControllerMode = dual' with 'ControllerMode = bredr'
sudo service bluetooth restart
# Make sure the headphones are in pairing mode.
# Pair with System Settings > Bluetooth
# Select & test the headphones in System Settings > Sound. You may want to choose High Fidelity Playback (A2DP Sink) for high playback quality.
# If Connection is grayed out in System Settings > Bluetooth, you can use the Bluetooth menu in the menu bar (next to the clock) to do Connection On/Off.
#==============================================
## Fix Microsoft Sculpt Ergonomic Mouse Scroll
#==============================================
# Download .deb from https://sourceforge.net/projects/resetmsmice/
sudo dpkg -i resetmsmice_1.1.3_amd64.deb
# Run this command to fix the scroll mouse right now. It will always be executed on reboot
resetmsmice
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment