[LINUX] HOW-TO achieve "Ubuntu-Desktop-Minimal"

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Gamester17 Offline
Team-XBMC Forum Moderator
Posts: 10,523
Joined: Sep 2003
Reputation: 10
Location: Sweden
Rainbow  [LINUX] HOW-TO achieve "Ubuntu-Desktop-Minimal"
Post: #1
This is for users who also want to use their computer as a desktop machine as well!

http://ubuntuforums.org/showthread.php?t=1155961
Quote: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
This can probably be stripped down even more for XBMC for Linux or XBMC Live usage Nod

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
(This post was last modified: 2009-05-16 19:03 by Gamester17.)
find quote
lcapriotti Offline
a.k.a Luigi, Team-XBMC XBMCbuntu Dev
Posts: 816
Joined: Jan 2008
Reputation: 12
Location: Italy
Post: #2
Live is even more stripped down since it does not have any desktop environment (gnome, kde, xfce, etc), only fluxbox wm Smile

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
zosky Offline
Donor
Posts: 304
Joined: Dec 2008
Reputation: 1
Location: toronto. canada
Post: #3
l.capriotti Wrote:Live is even more stripped down since it does not have any desktop environment (gnome, kde, xfce, etc), only fluxbox wm Smile
this weekend i killed my xbmc 8.10 htpc with dist-upgrade to 9.04 Oo
i managed to build a new 9.04 htpc with the steps from XBMCbuntu
i tried live, but i didnt stick with it, (...cant remember why)
the wiki article ( xbmc+ubuntu.minimal ) i bookmarked in Dec was updated a few weeks ago,
it now reads - "The old guide was removed as it was deprecated and not
supported
by the XBMC team."

Devs & project crue, please point to XBMCbuntu for linux HTPC builds. give it some love in the official manual... it clearly indicates this is not n00b friedly, and this should be emphasised even more IMHO, but it is an awesome way to build a light weight kick ass htpc

i've rolled my own with as follows
  • amd 2x 2.2G / Asus M3A78-EM / 2GB ram
  • 40" 1080p hdTV in the living room
  • XBMCbuntu ... 9.04 minimal + fglrx + xbmc + xbmc-live
  • x11 -- aticonfig --intial = 1080p auto
  • alsa -- analog on by default ... had to tweak alsa for HDMI
    i cant seem to get the correct digital settings in Audio HardWare
    using this solution i'm forcing alsa to hw:1,3 as default
  • loads of TV shows / Movies / Music / Pictures ( 1TB local + 2TB NFS )
  • Leo's Launcher & 2 logitech cordless rumble pads
    all the emu's -- no wires. no cartridges, only TWO controls. Nerd
  • ipod touch + the XBMC remote
    library views of my entire collection on the ipod from anywhere in my bachelor pad
    displays for all db data and covers from the http api @ ipod's wifi
    it even has traditional remote control buttons for old school in-front of the TV action
    BT'dub: i'm a fan & beta tester for Dave & Rand @ Collect 3
    i higly recommend this to any iphone / touch owners that uses xbmc, well worth 2.99
    ... watch the video on thier home page ...
    <-- end unsolicited-plug -->
  • i'm still sold on MediaStream (hope some of the new stuff takes off soon)

LONG LIVE XBMC Cool
thanks to everyone who makes it possible


PS. how can i get the grub background used in live ?
could this be included in the xbmc-live package please
( do i need to ask for this elsewhere ? )
find quote
dannybullit Offline
Senior Member
Posts: 114
Joined: Dec 2008
Reputation: 0
Location: Sweden
Post: #4
Will this minimal setup support wine?
I want to be able to run spotify in ubuntu.

Br, Daniel
find quote
krijeck Online
Senior Member
Posts: 184
Joined: Aug 2009
Reputation: 0
Location: Vienna
Post: #5
hej!

nice script!
is this still valid for Ubuntu 9.10? I will test this script on my old eee.

I would be intrested in the other way around ... to have a script removing all unused packages from the normal Ubuntu desktop install and just leave the essentials. would be much easier for me as a linux newbie Wink



Love XBMC (and Boxee) running on my Zotac MAG and controlled via Logitech Dinovo Mini ....
find quote