post-setup.sh
· 1006 B · Bash
Surowy
#!/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
| 1 | #!/bin/bash |
| 2 | |
| 3 | # get clipboard installed |
| 4 | sudo apt-get install diodon diodon-plugins |
| 5 | # install flash for chromium |
| 6 | [ $(dpkg -l | grep chromium-browser | grep ^ii | wc -l) -ge "1" ] && sudo apt-get install pepperflashplugin-nonfree |
| 7 | # audio video codecs |
| 8 | sudo apt-get install ubuntu-restricted-extras |
| 9 | sudo apt-get install libavcodec-extra |
| 10 | # disable apport (like on stable release on default) |
| 11 | sudo sed -i s/^enabled=1/enabled=0/g /etc/default/apport && sudo service apport stop |
| 12 | # remove guest account |
| 13 | echo allow-guest=false | sudo tee -a /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf |
| 14 | ## on laptop you may install this too |
| 15 | # cpu freq indicator |
| 16 | sudo apt-get install indicator-cpufreq |
| 17 | # http://linrunner.de/en/tlp/docs/tlp-linux-advanced-power-management.html |
| 18 | [ $(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 |
| 19 |
post-user-setup.sh
· 67 B · Bash
Surowy
#!/bin/bash
wget -q -O - https://fixubuntu.com/fixubuntu.sh | bash
| 1 | #!/bin/bash |
| 2 | wget -q -O - https://fixubuntu.com/fixubuntu.sh | bash |
| 3 |