最後活躍 6 months ago

post-setup.sh 原始檔案
1#!/bin/bash
2
3# get clipboard installed
4sudo 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
8sudo apt-get install ubuntu-restricted-extras
9sudo apt-get install libavcodec-extra
10# disable apport (like on stable release on default)
11sudo sed -i s/^enabled=1/enabled=0/g /etc/default/apport && sudo service apport stop
12# remove guest account
13echo 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
16sudo 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 原始檔案
1#!/bin/bash
2wget -q -O - https://fixubuntu.com/fixubuntu.sh | bash
3