
Ubuntu 10.04 Start script
Source (link to git-repo or to original if based on someone elses unmodified work):
The main purpose of this script is to speed up configuring Ubuntu 10.04 immediately after you've just installed it. This includes both installing popular applications and codecs as well as fixing some annoyances in Ubuntu 10.04.
You can search for each package in Synaptic or Ubuntu Software Center and manually install it. But then you'll also need to go to the Skype website and manually download and install it (Skype is no longer available in the Medibuntu repository), the same for Google Chrome, and so on. You can also use Ubuntu Tweak for some tweaks (but only a few of the tweaks in this script). But this script combines the most popular tweaks which are not available in a single application with installing common packages which almost everyone uses, so the time spent configuring Ubuntu 10.04 is decreased dramatically.
The script should also help new Ubuntu users since the script configures lots of things without any input from the user (such as automounting NTFS drives on startup and so on).
The script supports multiple languages: Czech, Spanish, French, German, Slovak, Italian, Polish, Japanese, Dutch, Portuguese (PT), Malaysian, Galician, Korean, Turkish, Brazilian Portuguese, Catalan, Estonian, Simplified Chinese, Bahasa Indonesia, Asturian, Romanian, Arabic, Swedish, Slovenian, Traditional Chinese, Vietnamese, Urdu, Danish, Latvian, Russian, Norwegian and Lithuanian.
The scripts needs Zenity, so make sure you install it before running the script:
A list of features and usage can be found @ http://www.webupd8.org/2010/04/what-to-do-after-fresh-ubuntu-install.html
0.4.9.13:
Updated sharp fonts download location (since the old one no longer works)
0.4.9.x:
#adding more languages
#0.4.9
bug fixes; new features in 0.5
0.4.8.x:
#adding more languages
0.4.8
#added Docky, Cairo Dock and AWN in a separate dialog
#made Google Earth installation autoaccept the license so the user doesn't have to interact with the terminal
#multiple language support; current languages: Czech, Spanish, French, German, Slovak, Italian, Polish, Japanese, Dutch, Portuguese (PT), Malaysian, Galician, Korean, Turkish, Brazilian Portuguese, Catalan and Estonian
#changed the way the current logged in user is detected; this should hopefully fix multiple accounts issues
0.4.7
#added extra themes (community themes and bisigi themes)
#added Google Earth
0.4.6
#added extra Compiz plugins to install
#added Getdeb mirror
#code optimizations
0.4.5
#Added reset options for the tweaks
#Changed the way day of the week from Sunday to Monday works - it now asks the user to enter his locale.
Ratings & Comments
5 Comments
why not propose a script to install more screen saver (not extremely useful but can be part of personalizing you desktop) why not add a script that disable the screen saver when watching a flash video (full screen?) many script can be found on google to do so, it would be worth making them more accessible as they seem to be popular. anyway good idea, and good luck
Here is the piece of code you have: if [ "$UID" -ne "$ROOT_UID" ]; then /usr/bin/zenity --warning --title="Error" --text="You must have sudo privileges to run this script. Try: sudo ./ubuntu-10.04-script" echo "Exiting ... please run the script with sudo (eg: sudo ./ubuntu-10.04-script)" exit fi here is what I suggest: if [ "$UID" -ne "$ROOT_UID" ]; then gksudo -k -u root bash $0 fi Instead of telling the user what to do, it will only ask the user for the root-password and then re-run the script as root. Other then that the code looks great :) Thanks for this ;)
Thanks for the suggestion but for some reason gksudo sometimes fails. I've tested it on 2 computers (initially I was planning on using gksudo for install Zenity and more) and sometimes it opens the password input, sometimes it does nothing. Don't know why...
Ah... there's no edit for the comments. Actually, your suggestion seems to work, my zenity installation with gksudo didn't for some reason. Anyway, thank you very much!
I'm glad it works, I use that particular line all the time so I knew it should work. I really like this script, so if you need some more coding done - or are working on additional features let me know. On a side note, I'm not sure if the script uses "~/" or needs to access the home-folder of the user running the script because the "-u root" will change HOME to /root, well it will change the user to root completely.