Last active
August 29, 2015 14:01
-
-
Save waja/4b72414bc31f131ddbc1 to your computer and use it in GitHub Desktop.
Setup an Ubuntu trusty after installation
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
#!/bin/bash | |
# get clipboard installed | |
sudo apt-get install diodon diodon-plugins | |
# install flash for chromium | |
[ $(dpkg -l | grep chromium-browser | grep ^ii | wc -l) -ge "1" ] && sudo apt-get install pepperflashplugin-nonfree | |
# audio video codecs | |
sudo apt-get install ubuntu-restricted-extras | |
sudo apt-get install libavcodec-extra | |
# disable apport (like on stable release on default) | |
sudo sed -i s/^enabled=1/enabled=0/g /etc/default/apport && sudo service apport stop | |
# remove guest account | |
echo allow-guest=false | sudo tee -a /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf | |
## on laptop you may install this too | |
# cpu freq indicator | |
sudo apt-get install indicator-cpufreq | |
# http://linrunner.de/en/tlp/docs/tlp-linux-advanced-power-management.html | |
[ $(dpkg -l | grep laptop-mode-tools | grep ^ii | wc -l) = "0" ] && sudo add-apt-repository ppa:linrunner/tlp && sudo apt-get update && sudo apt-get install tlp tlp-rdw gsmartcontrol smart-notifier acpi-call-tools tp-smapi-dkms ethtool && sudo tlp start |
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
#!/bin/bash | |
wget -q -O - https://fixubuntu.com/fixubuntu.sh | bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment