-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


Sponsoring


-
- Content .- Fans (11) . 

Ubuntu 10.04 Start script

   0.4.9.13  

Other GNOME Stuff

Score 77%
Ubuntu 10.04 Start script
zoom


Ubuntu 10.04 Start script
zoom


Blog:  Link
Depends on  GNOME 2.x
Downloads:  8596
Submitted:  Apr 18 2010
Updated:  Jul 14 2010

Description:

What to do after a fresh Ubuntu install? Just run this script!

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




Changelog:

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.




LicenseGPL
(Ubuntu 10.04 Start)
Send to a friend
Subscribe
Other  Artwork  from hotice
Report inappropriate content



goto page: prev   1  2 

-

 Language

 
 by TheWiseDj on: May 6 2010
 
Score 50%

The method you're using is quite a mess, I've tried it before too, but it has a lot of problems, especially on updates/changes.

The best way is using localizations:

script) $this is a var

file .pot) $this is a var = THIS IS A VAR

The medium way is to use this trick:

lang file:

%IDENTIFICATION_WORD%translation

script: .. title="$(grep "%IDENTIFICATION_WORD%" file.pot | cut -d'%' -f3)" ...


zenity --checklist supports --separator=$'\n' option instead of using IFS=|


Reply to this

-

 Re: Language

 
 by hotice on: May 6 2010
 
Score 50%

I only knew some very basic bash commands before starting this script and used pure logic and google to implement what I wanted.

I improved some things on the way, as I learned them and they way I implemented the multiple languages was the only way I could think of at the time.

I would use your suggestion(s) but I don't understand how it works


Reply to this

-

 Re: Re: Language

 
 by TheWiseDj on: May 6 2010
 
Score 50%

Example:

en.pot:

%maintitle%Lucid Script
...
%kerneloption%Do you want to remove it?

script:

zenity --title="$(grep "$maintitle%" en.pot | cut -d'%' -f3)" --text="$(grep "$kerneloption%" en.pot | cut -d'%' -f3)"

Let me explain:

"$(grep "$maintitle%" en.pot | cut -d'%' -f3)"

$() indicates that the variable is the result of an operation (such as you mean with ans=$(zenity...)" )

grep TEXT FILE returns all the occurences of TEXT in FILE

cut -d'DELIMITER' -f'FIELD'

cuts a particular string (or more) into pieces depending on the DELIMITER, so, take for example %maintitle%Lucid script:

cut -d'%' cuts the string in:

1) ''
2) 'maintitle'
3) 'Lucid Script'

-f'FIELD' selects the field you need so the result of the commands are only the translations, give it a try.


Reply to this

-

 Language

 
 by TheWiseDj on: May 6 2010
 
Score 50%

The method you're using is quite a mess, I've tried it before too, but it has a lot of problems, especially on updates/changes.

The best way is using localizations:

script) $this is a var

file .pot) $this is a var = THIS IS A VAR

The medium way is to use this trick:

lang file:

%IDENTIFICATION_WORD%translation

script: .. title="$(grep "%IDENTIFICATION_WORD%" file.pot | cut -d'%' -f3)" ...


zenity --checklist supports --separator=$'\n' option instead of using IFS=|


Reply to this

-

 Some more corrections

 
 by TheWiseDj on: May 6 2010
 
Score 50%

if [ "i686" = `uname -m` ]; then
sudo apt-get -y --force-yes install googleearth googleearth-data
else
sudo apt-get -y --force-yes install ia32-libs
sudo apt-get -y --force-yes install googleearth googleearth-data
sudo apt-get install -f -y
fi

Will become, better:

sudo apt-get -y --force-yes install googleearth googleearth-data

if [ "i686" != `uname -m` ]; then
sudo apt-get -y --force-yes install ia32-libs
sudo apt-get install -f -y
fi


However:

echo "a" >> file
echo "b" >> file

is just useless:

echo "a
b" >> file


Reply to this

-

 Re: Some more corrections

 
 by hotice on: May 6 2010
 
Score 50%

The script was originally written in a completely different way. There are some more ugly parts in it but I didn't modify it because I don't have any time right now, I just implemented new features going around the original code. For example the way the Ubuntu repos are added was totally different in the beginning that's why the script deletes them and then checks to see if they already exist (obviously they can't exist because I delete them) but I would have to re-write too much and like I said I don't have time. And it works like it is now. If I'll have time, I'll re-write it for Maverick (and add more features of course).


Reply to this

-

 good !

 
 by jayanramesh on: May 28 2010
 
Score 50%

But ! WiseD is right- few are not working perfectly


Reply to this

-

 Script

 
 by TheWiseDj on: May 29 2010
 
Score 50%

However, you can create a new script that launches the main one with:

gksudo -k script.sh

in this way you would remove all the sudo inside the script and preserve the $HOME and $USER variables.


Reply to this

goto page: prev   1  2 

Add commentBack






-
 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
Events RSS   

Participate
Groups
Forum
Add Artwork
Public API
About GNOME-Look.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2003-2014 GNOME-Look.org Team  
All rights reserved. GNOME-Look.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
GNOME and the foot logo are trademarks of the GNOME Foundation.