Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Tutorials & Tips
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Tutorials & Tips
The place to find Ubuntu related Tips & Tricks.

 
Thread Tools Display Modes
Old May 11th, 2009   #1
TheShiv
First Cup of Ubuntu
 
Join Date: Oct 2008
Beans: 5
Ubuntu 9.04 Jaunty Jackalope
Send a message via AIM to TheShiv Send a message via MSN to TheShiv
Lightbulb HowTo Achieve "Ubuntu-Desktop-Minimal"

I've noticed on brainstorm.ubuntu.com that there are a few people who would like to have an ubuntu-desktop-minimal edition instead of the default ubuntu-desktop which bundles software that not all of us use.

I'm one of those users who likes to build his system from the ground up, so I wrote this simple post-install script which will give you a complete minimal desktop.

After running this script your system will look the same as a fresh install of ubuntu just without all the added software.

The first step to accomplish this is install a base system either using the Ubuntu Minimal CD (I use this along with my personal repository to create quick installs) or you can use the Ubuntu Server edition.

Once the base installation completes, login and run the following script, then reboot.

Note: This script is for users who use the gnome environment.

Code:
#!/bin/bash
#######################################################################
# Ubuntu-Desktop-Minimal: Post-install script to install only the bare
#			  essentials of an Ubuntu Desktop.
#######################################################################
echo "[*] Installing Gnome Essentials"
sudo apt-get -y install gnome-core gdm network-manager-gnome fast-user-switch-applet \
human-theme x11-xserver-utils tangerine-icon-theme gnome-themes-ubuntu ubuntu-artwork \
jockey-gtk gnome-screensaver gnome-utils
echo "[*] Installing Application Essentials"
sudo apt-get install -y gcalctool tsclient
The actual script I use also includes:
epiphany-browser : Lighter equivalent to firefox.
vlc;vlc-plugin-* : For media etc.
openoffice.org-writer : Office Writer
openoffice.org-calc : Office Spreadsheet
openoffice.org-impress : Office Presentation

After using this script I've lowered the memory usage from around 250-350mb to about 80-90mb. All of the themes are there, the network-manager, gedit, restricted hardware tool, etc.

I use this setup for Old & New Desktops/Laptops. I purchased a Netbook recently (ASUS eeePC 1000HD) and found this script makes it run very well.

Of course this is just a starting template, you will want to modify it to add the packages you use.

-TheShiv

Last edited by TheShiv; May 14th, 2009 at 07:25 AM..
TheShiv is offline   Reply With Quote
Old May 12th, 2009   #2
jpeddicord
Barrel of Ubuntu
 
jpeddicord's Avatar
 
Join Date: Apr 2006
Location: Ohio, USA
Beans: 2,157
Ubuntu Development Release
Re: HowTo Achieve "Ubuntu-Desktop-Minimal"

Approved and thank you for your tutorials & tips contribution!
__________________
Previously known as jacobmp92
Site ║ ⬢ Launchpadµ Identi.caµ Twitter ║ ☃ Unicodeism
Hey! Help test Mound Data Manager!
jpeddicord is online now   Reply With Quote
Old May 13th, 2009   #3
abhiroopb
Fresh Brewed Ubuntu
 
abhiroopb's Avatar
 
Join Date: Apr 2006
Location: Coventry
Beans: 1,235
Ubuntu 9.04 Jaunty Jackalope
Re: HowTo Achieve "Ubuntu-Desktop-Minimal"

No offence, but how is this useful at all? I mean all you are providing is a list of apps to install. Its an interesting concept, but perhaps it may be useful to come up with a list of programs that can be removed, startup applications that can be stopped, applications that load during boot that you don't need (e.g. bluetooth).

Something simple like:

sudo apt-get remove ekiga etc etc. Might be useful.

Again just trying to understand how this could be effectively used.
__________________
Laptop: HP dv5242ea | Core Duo 1.60GHz | 2GB RAM | 320GB SATA | DVD-RAM Matshita UJ 840S | nVidia GeForce Go 7400 256mb | Intel PRO 3945ABG
Ubuntu Extreme
Get Dropbox

Last edited by abhiroopb; May 13th, 2009 at 10:06 AM..
abhiroopb is offline   Reply With Quote
Old May 13th, 2009   #4
ericreboisson
First Cup of Ubuntu
 
Join Date: Dec 2008
Location: THIONVILLE (FRANCE)
Beans: 1
Ubuntu 8.10 Intrepid Ibex
Send a message via ICQ to ericreboisson Send a message via AIM to ericreboisson Send a message via MSN to ericreboisson Send a message via Yahoo to ericreboisson Send a message via Skype™ to ericreboisson
Re: HowTo Achieve "Ubuntu-Desktop-Minimal"

Quote:
Originally Posted by abhiroopb View Post
No offence, but how is this useful at all? I mean all you are providing is a list of apps to install. Its an interesting concept, but perhaps it may be useful to come up with a list of programs that can be removed, startup applications that can be stopped, applications that load during boot that you don't need (e.g. bluetooth).

Something simple like:

sudo apt-get remove ekiga etc etc. Might be useful.

Again just trying to understand how this could be effectively used.
I fully agree with abhiroopb
ericreboisson is offline   Reply With Quote
Old May 13th, 2009   #5
tomstrummer
First Cup of Ubuntu
 
Join Date: Dec 2007
Beans: 8
Re: HowTo Achieve "Ubuntu-Desktop-Minimal"

Quote:
Originally Posted by abhiroopb View Post
No offence, but how is this useful at all? I mean all you are providing is a list of apps to install. Its an interesting concept, but perhaps it may be useful to come up with a list of programs that can be removed, startup applications that can be stopped, applications that load during boot that you don't need (e.g. bluetooth).

Something simple like:

sudo apt-get remove ekiga etc etc. Might be useful.

Again just trying to understand how this could be effectively used.
Well, if you read his entire post, he said you should start with a "minimal" or "server" install, in which case there isn't anything to remove. This is a lot more efficient than doing the default install and then removing a bunch of stuff, not to mention there are usually user conig files and other cruft left behind after you remove everything.
tomstrummer is offline   Reply With Quote
Old May 13th, 2009   #6
abhiroopb
Fresh Brewed Ubuntu
 
abhiroopb's Avatar
 
Join Date: Apr 2006
Location: Coventry
Beans: 1,235
Ubuntu 9.04 Jaunty Jackalope
Re: HowTo Achieve "Ubuntu-Desktop-Minimal"

Quote:
Originally Posted by tomstrummer View Post
Well, if you read his entire post, he said you should start with a "minimal" or "server" install, in which case there isn't anything to remove. This is a lot more efficient than doing the default install and then removing a bunch of stuff, not to mention there are usually user conig files and other cruft left behind after you remove everything.
That is true, but still this seems just like an install command that installs a few packages. Perhaps a more complete list with all possible packages which people can choose to install, etc.
__________________
Laptop: HP dv5242ea | Core Duo 1.60GHz | 2GB RAM | 320GB SATA | DVD-RAM Matshita UJ 840S | nVidia GeForce Go 7400 256mb | Intel PRO 3945ABG
Ubuntu Extreme
Get Dropbox
abhiroopb is offline   Reply With Quote
Old May 13th, 2009   #7
mdmadph
Spilled the Beans
 
Join Date: Jun 2008
Beans: 13
Ubuntu 8.04 Hardy Heron
Re: HowTo Achieve "Ubuntu-Desktop-Minimal"

Quote:
Originally Posted by abhiroopb View Post
That is true, but still this seems just like an install command that installs a few packages. Perhaps a more complete list with all possible packages which people can choose to install, etc.
It's an install command that installs a few packages from a minimal install.

If you're not interested in starting from a minimal install, this isn't for you. Stop bashing it and go complain elsewhere.
mdmadph is offline   Reply With Quote
Old May 13th, 2009   #8
abhiroopb
Fresh Brewed Ubuntu
 
abhiroopb's Avatar
 
Join Date: Apr 2006
Location: Coventry
Beans: 1,235
Ubuntu 9.04 Jaunty Jackalope
Re: HowTo Achieve "Ubuntu-Desktop-Minimal"

Quote:
Originally Posted by mdmadph View Post
It's an install command that installs a few packages from a minimal install.

If you're not interested in starting from a minimal install, this isn't for you. Stop bashing it and go complain elsewhere.
This is why people get put of by linux threads. I phrased my comments quite clearly. I did not intend to bash the author or his howto. I merely wanted to comment on how this could be improved, and where exactly this would be useful.

Even starting from a minimal install, this is still a simple apt-get install nothing more. Perhaps it may be more useful (like I have already suggested) to include which startup applications and bootup applications can be stopped.
__________________
Laptop: HP dv5242ea | Core Duo 1.60GHz | 2GB RAM | 320GB SATA | DVD-RAM Matshita UJ 840S | nVidia GeForce Go 7400 256mb | Intel PRO 3945ABG
Ubuntu Extreme
Get Dropbox
abhiroopb is offline   Reply With Quote
Old May 13th, 2009   #9
PandaPop
First Cup of Ubuntu
 
Join Date: Nov 2008
Beans: 3
Re: HowTo Achieve "Ubuntu-Desktop-Minimal"

Now using this script, thank you very much! (would have to a agree a list of apps to remove would help alot of people)
PandaPop is offline   Reply With Quote
Old May 13th, 2009   #10
MySchizoBuddy
5 Cups of Ubuntu
 
Join Date: Jun 2005
Beans: 15
Re: HowTo Achieve "Ubuntu-Desktop-Minimal"

What affect did this have on battery life?
MySchizoBuddy is offline   Reply With Quote

Bookmarks

Tags
installation, minimal

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:05 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry