SilverWav's Journal

The best is yet to come…

Posts Tagged ‘codecs

Ubuntu Natty Narwhal 11.04: Stunning and Beautiful.

leave a comment »

Elegant, Clever and Functional… Canonical Have A Winner.

______________________________

OK this article is a work-in-progress and will be updated and edited as I learn more.
______________________________

Tips

  • Reading the Release Notes would probably be a good idea… but I never do until something bugs me and I have to go looking for the cause.
  • If you are setting mount points in the installer, be aware that you may need to use “Paste” as there is a bug stopping text entry.
    That is, all you can choose are the items in the drop down list.
    I used gedit to copy my mount points text e.g. “/backup”.
    There is a screen-shot of what I am referring to later on in the post.
  • Use the recommenced Nvidia driver, or you will be sorry ;-)
    As an example I tried “173″ but it didn’t cut it on my system.
    Current is working very well even with dual monitors :-D
  • Unity is only designed to work on the left, that is you need to have the launcher on the far left most side of your left most monitor.
    Don’t use it in the centre of two screens as this will cause issues.
  • Dual monitor system Launcher displays on start-up at the left of the right monitor?
    [Fix] Swap the dvi cables connecting the graphics card over :-D
    Now the left most monitor is the default monitor and you can enable the right most monitor via TwinView.
  • Unity Mouse & Keyboard Tips Here.
  • Show the Month, Date & Locations in the Indicator Here.
  • Panel Indicators (See Below). Pastie, syspeek, Weather Indicator, Indicator Multiload and Indicator Workspaces.
  • Remove the “Me Menu”. sudo apt-get remove indicator-me

______________________________

First Thoughts

The Launcher is very slick and well thought out particularly for something this immature.

To add items, open the app, right click and choose “Keep in Launcher “.

You can pick an item and then move it up or down the stack, the mechanics of this are handled in a very cool way :-)

A search for “CCSM” brings up the CompizConfig Settings Manager. This allows you to tweak the  “Ubuntu Unity Plugin”. Search is already set for the Super Key. I set F1 for the Launcher and F2 for Run.

There are a lot of different ways to access your applications but if you get lost you can always use “Applications” from the bottom of the Launcher.

As you fill the Launcher with apps you will notice that they start getting stacked at the bottom :-D

Observations

I am playing about with various ways of using the Workplace Switcher…

The one I am having fun with ATM is to have Firefox in one space and Chromium in another. Just clicking on the app in the Launcher and BANG! I am straight into another Workplace… Nice.

______________________________

Installing Natty

I publish to the web as a kind of script that I can follow when installing. You can do this as well, just choose to “Try Ubuntu” not “Install Ubuntu” at the CD prompt. You then get booted into a fully working OS off the CD. You have an install shortcut on the desktop and you can use Firefox to look up this post to help you with the install.

Note that I am performing a Clean Install not an Upgrade. My /home is on its own partition. This enables me to keep 99% of my configuration information, (Application Settings, Desktop, Panels, etc.) and is a huge time saver.

To make life interesting I am swapping the system HD with another and I am also reformatting my /home to ext4 from ext3.
This means I will need to copy all of my data back to /home after the format. I mention this in passing as I may add some extra information in regards to this so I don’t have to look it up the next time :-) .

______________________________

Preparation

Note your Partition details and send to the Web or Gmail, (I use GParted or Systems Monitor).
This will allow you to refer to these screen-shots from Firefox while you are installing.

Set-up

Download an image: 11.04-desktop-amd64.iso or 11.04-desktop-i386.iso

  • It is advisable to use VirtualBox to do a dry run of the following in a VM prior to the real thing.
  • Backup your system.
  • Burn a CD with K3b at 4 speed and check integrity.
  • K3b will display a MD5 of the ISO, this should be “7de611b50c283c1755b4007a4feb0379″ for ubuntu-11.04-desktop-amd64.iso.
  • Boot the CD and hold down shift key.
    Choose language. Choose test integrity.
  • Reboot, Choose “Try Ubuntu”.

______________________________

Installing

  • Wait for the CD files to be uncompressed and loaded.
    This will take a while if you don’t have a Linux swap.
  • On the desktop click the short-cut “Install”.
  • I start the Installer and open Firefox on this post so I can check on details e.g. partitions.
  • I chose the 3rd option on how to “Allocate drive space”.
    • I went through each of the partitions in turn, hitting “change” and setting Type and Mount Point.
    • I didn’t have to create or size any partitions as I had used GParted prior to this.

  • Double checking is a good idea at this point.
    Have you set the correct file system for each partition?
    That tick box marked “format”, are you sure?
  • Reboot when the installer is finished.

______________________________

Post Install Set-up

If needed, install the NVIDIA, or other restricted driver, then reboot.

Add Codecs and Packages

1. Add the Medibuntu Repository.

sudo wget http://www.medibuntu.org/sources.list.d/natty.list  --output-document=/etc/apt/sources.list.d/medibuntu.list
sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update

2. Automatically Install Favourite Packages.
You will need the following two files:

cleanstart-packages.list.sh
Download the file cleanstart-packages.list.sh.

packages.list
Create the file packages.list and add the code below (click “show source” then hover your mouse over the code and choose “view source” from the toolbar).
Copy and paste into the file you have just created.

################################################################################
#
# cleanstart-packages.list.sh
# by silverwav - OpenPGP key:03187548 15 Apr 2009
#
# Any line starting with a # is ignored as are Blank lines.
# Any other lines, the first word is taken as the package name.
#
################################################################################

# Add Repositories before you start
# Add medibuntu.org repo 1st!
# sudo wget http://www.medibuntu.org/sources.list.d/lucid.list --output-document=/etc/apt/sources.list.d/medibuntu.list
# sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update
#

#*** Extras
ubuntu-restricted-extras - Commonly used restricted packages
timer-applet - a countdown timer applet for the GNOME panel

#***VMWare
build-essential
#xinetd
#linux-headers-$(uname -r)

#***Prefernces
compizconfig-settings-manager - Compiz configuration settings manager
#simple-ccsm - Simple Compizconfig settings manager
hardinfo - UNIX/Linux hardware information

#***Administration
gparted - GNOME partition editor
firestarter - gtk program for managing and observing your firewall
bum - graphical runlevel editor
nvidia-settings - Tool of configuring the NVIDIA graphics driver

#***Accessories
revelation - GNOME2 Password manager
#parcellite - A lightweight GTK+ clipboard manager
glipper - Clipboard manager for the GNOME panel

pcmanfm - an extremely fast and lightweight file manager for X
gmountiso - a PyGTK GUI to mount your cd images
#xfe - lightweight file manager for X11
#gnome-commander - nice and fast file manager for the GNOME desktop

#***Accessories - Search
catfish - file search tool that support several different engines
recoll - Personal full text search package with a QT GUI

#***Accessories - Text
notecase - hierarchical note manager (aka outliner)
emacs - GNU Emacs is the extensible self-documenting text editor.
vim-gnome - Vi IMproved - enhanced vi editor - with GNOME2 GUI

#***Games
#doom-wad-shareware - Shareware game files for the 3D game DOOM
#prboom - clone of the legendary first person shooter Doom

#***Graphics
gimp - The GNU Image Manipulation Program
gthumb - an image viewer and browser
mtpaint - painting program to create pixel art and manipulate digital photos
gwenview – image viewer for KDE 4
kolourpaint4 - simple image editor for KDE 4
kiconedit - icon editor for KDE 4
shotwell - digital photo organizer
xpdf - Portable Document Format (PDF) suite

##***Internet
pidgin - graphical multi-protocol instant messaging client for X
chromium-browser
epiphany-browser - Intuitive web browser
#***SABnzb+
sabnzbdplus
sabnzbdplus-theme-smpl
ushare – lightweight UPnP A/V Media Server (x-box)

#***Office

#***Programming
geany - A fast and lightweight IDE
meld - graphical tool to diff and merge files
regexxer - A visual search and replace tool

#***Sound & Video
#Add medibuntu.org repo 1st!

#***Sound & Video - Codecs
w64codecs
libdvdcss2 - Simple foundation for reading DVDs - runtime libraries
lame - LAME Ain't an MP3 Encoder

#***Sound & Video - Player
mplayer - The Ultimate Movie Player For Linux - Medibuntu package
mplayer-fonts - Fonts for mplayer
mplayer-skin-blue - blue skin for mplayer
mplayer-skins - Skins for the Ubuntu mplayer Package
mplayer-gui – movie player for Unix-like systems
#mozilla-mplayer - MPlayer-Plugin for Mozilla
vlc - multimedia player and streamer
xine-ui - the xine video player, user interface

#***Sound & Video - DVD
acidrip - ripping and encoding DVD tool using mplayer and mencoder
audacity - A fast, cross-platform audio editor
avidemux - a free video editor - gtk version
devede - program to create video DVDs
dvd95 - DVD9 to DVD5 converter
dvdrip - perl front end for transcode
k3b - A sophisticated KDE CD burning application
k9copy - DVD backup tool for KDE
mkvtoolnix-gui - mmg a set of tools to work with Matroska files - GUI frontend
arista - multimedia transcoder for the GNOME Desktop
pitivi - non-linear audio/video editor using GStreamer

#***Sound & Video - Sound Tools
padevchooser - PulseAudio Device Chooser
pavumeter - PulseAudio Volume Meter
soundkonverter - audio converter frontend for KDE
bbe – sed-like editor for binary files
normalize-audio – adjusts the volume of files to a standard volume level
mpeg4ip-server – end-to-end system to explore streaming multimedia
espeak - A multi-lingual software speech synthesizer

#***System Tools
samba - a LanManager-like file and printer server for Unix
nautilus-gksu - privilege granting extension for nautilus using gksu - Open as Administrator
nautilus-open-terminal - nautilus plugin for opening terminals in arbitrary local paths
nautilus-actions - nautilus extension to configure programs to launch
gconf-editor - An editor for the GConf configuration system
sysinfo - UNIX/Linux system information (MONO)
bleachbit - delete unnecessary files from the system
ttf-liberation - Free fonts with the same metrics as Times, Arial and Courier
testdrive - run the daily Ubuntu ISO in a virtual machine

This is a list of the packages that I use, you may have to adjust the list for your system.

For example note that I own a 64bit system which uses Nvidia graphics.

3. Make the script executable.

cd /home/sil/Downloads
ls
chmod +x ./cleanstart-packages.list.sh

4. Run the script and install the packages.

sudo ./cleanstart-packages.list.sh

Note: Change …/sil/… to your user name.

If a licence pop-up appears, you may need to “page down” to the end and use space/tab, to get to the OK so that you can press enter.
______________________________

Panel Indicators

Start via Alt + F2 “AppName” and enter.

Pastie
sudo add-apt-repository ppa:hel-sheep/pastie
sudo apt-get update
sudo apt-get install pastie

Indicator Workspaces
sudo add-apt-repository ppa:geod/ppa-geod
sudo apt-get update
sudo apt-get install indicator-workspaces

Indicator Syspeek
sudo add-apt-repository ppa:vicox/syspeek
sudo apt-get update
sudo apt-get install syspeek

______________________________

Add PPA Repositories.

Only add these if you want the very latest features.

Low safety, daily packages have not undergone any quality assurance.
Sometimes very safe but sometimes may not work at all.

Firefox-6:

sudo add-apt-repository ppa:silverwave/one-daily-a-month-3
sudo apt-get update
sudo apt-get install firefox-trunk

And possibly one of these

sudo add-apt-repository ppa:chromium-daily/beta
sudo add-apt-repository ppa:chromium-daily/dev
sudo add-apt-repository ppa:chromium-daily/ppa
sudo apt-get update
sudo apt-get install chromium-browser

______________________________

Notes

Manual install is needed for NeroDigitalAudio.zip (Details here).

Copy /home to the New Partition
Copy all files, directories and sub-directories from your current /home folder into the new partition:

sudo rsync -axS --exclude='/*/.gvfs' /home/. /media/home/.

Check Copying Worked (from here).

sudo diff -r /home /media/home

Add VirtualBox 4.0 Oracle Repository Here.

Fix Virtualbox Error “Failed to access the USB subsystem” Here.

Lucid 10.04 – All the stuff people forget to tell you – Flash, Codecs, Medibuntu, Packages, Fixes.

with 19 comments

All the stuff you need in one place so you don’t have to go looking.

  • Add Codecs and Packages.
    Add Medibuntu repository.
    Install favourite packages from a list.
  • Buttons not working on iPlayer, Flash.
    Confirmed workaround.
  • Add PPA’s
  • Light-themes: panel-background isn’t scaling.
    Confirmed workaround.
  • Customise Theme.
    Tooltips, Window Border.

______________________________

Here We Go.

Set-up:

Download: 10.04-desktop-amd64.iso or 10.04-desktop-i386.iso

  • Use TestDrive to do a dry run in a vm.
  • Backup (Recommended).
  • Burn CD with K3b at 4 speed and check integrity.
  • Check md5 sum.
    md5sum ubuntu-10.04-desktop-amd64.iso >check.md5
  • Get Partition Screenshots (send to Web or Gmail).
    Use GParted or Systems Monitor.

  • Boot the CD and hold down shift key.
    Choose language. Choose test integrity.
  • Reboot, Choose “Try Ubuntu”.

Clean Install:

  • I am performing a Clean Install not an Upgrade.
    I was previously running Karmic 9.10 64bit.
  • My /home is on its own partition.
    This enables me to keep 99% of my configuration information.
    (Application Settings, Desktop, Panels, etc.) and is a huge time saver.

Installing:

  • Wait for the CD files to be uncompressed and loaded.
    This will take a while if you don’t have a Linux swap.
  • On the desktop click the short-cut “Install”.
  • As you can see below the Lucid Installer is open on the left and Firefox on the right.
    This allows you to consult the previously saved screenshot of your partitions.

  • Double checking is a good idea at this point.
    Have you set the correct file system for each partition?
    That tick box marked “format”, are you sure?
  • Reboot when the installer is finished.

______________________________

Post Install Set-up.

If needed, install the NVIDIA, or other restricted driver, then reboot.

Add Codecs and Packages

1. Add medibuntu repository

sudo wget http://www.medibuntu.org/sources.list.d/lucid.list  --output-document=/etc/apt/sources.list.d/medibuntu.list
sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update

2. Reinstall all of your favourite packages from a list.

Download the following files:

cleanstart-packages.list.sh

packages.list

This is a list of the best/most useful packages I use.
Note that I have a 64bit system and Nvidia graphics.
You may have to adjust the list for your system.
I test it in a vm first, (via TestDrive). Details here.

3. Make the script executable.

cd /home/sil/Downloads
ls
chmod +x ./cleanstart-packages.list.sh

4. Run the script and install the packages.

sudo ./cleanstart-packages.list.sh 

Note: Change …/sil/… to your user name.
______________________________

Buttons not working on iPlayer, Flash.

gksudo gedit /usr/lib/nspluginwrapper/i386/linux/npviewer

Add this line:

export GDK_NATIVE_WINDOWS=1

Before this line:

. /usr/lib/nspluginwrapper/noarch/npviewer

Example:

#!/bin/sh
TARGET_OS=linux
TARGET_ARCH=i386
export GDK_NATIVE_WINDOWS=1
. /usr/lib/nspluginwrapper/noarch/npviewer

____________________________

Add PPA Repositories.

Only add these if you want the very latest features.

Low safety, daily packages have not undergone any quality assurance.
Sometimes very safe but sometimes may not work at all.

Firefox-3.6 Lucid:

sudo add-apt-repository ppa:silverwave/one-daily-a-month-0

Firefox-3.7 Lucid:

sudo add-apt-repository ppa:silverwave/one-daily-a-month-1
sudo apt-get update
sudo apt-get install firefox
sudo apt-get install firefox-3.7

Or

sudo add-apt-repository ppa:ubuntu-mozilla-daily

And possibly one of these

sudo add-apt-repository ppa:chromium-daily/beta
sudo add-apt-repository ppa:chromium-daily/dev
sudo add-apt-repository ppa:chromium-daily/ppa
sudo apt-get update
sudo apt-get install chromium-browser

____________________________

Light-themes: panel-background isn’t scaling.

Bug #532309
Confirmed workaround1:

If confident with image resizing you can just resize the panel_bg.png to whatever size you have set the panel to.

Below are examples of resizing to 32 pixels using Gwenview.

R32 ><

/usr/share/themes/Radiance/gtk-2.0

A32><

/usr/share/themes/Ambiance/gtk-2.0

Confirmed workaround2:

This is more involved but doesn’t require any image manipulation.

sudo gedit /usr/share/themes/Ambiance/gtk-2.0/gtkrc
sudo gedit /usr/share/themes/Radiance/gtk-2.0/gtkrc

Comment out:

bg_pixmap[NORMAL] = &quot;panel_bg.png&quot;

e.g.

#bg_pixmap[NORMAL] =  &quot;panel_bg.png&quot;

Set “fit”, “stretch” and “rotate” to true:

gconftool-2 --type bool --set /apps/panel/toplevels/top_panel_screen0/background/fit true
gconftool-2 --type bool --set /apps/panel/toplevels/top_panel_screen0/background/rotate true
gconftool-2 --type bool --set /apps/panel/toplevels/top_panel_screen0/background/stretch true

Right Click Panel > properties > Background Tab > Select Background image: > panel_bg.png

Log out then Log in again.

______________________________

Customise Theme.

  • I now use Radiance, with the Ambiance Window Border.
    Right Click on Desktop > Change Desktop Background.
    Theme (Ambience) > Customise > Window Border.
  • Set Theme Tooltips to yellow (#F5F5B5) with black text (#000000).
    Right Click on Desktop > Change Desktop Background.
    Theme (Ambience) > Customise > Colour >Tooltips.
  • Set background to the Simple Ubuntu Purple.

______________________________

Errata:

There are a couple of packages that I need to add to the Package List for next time:

ushare – lightweight UPnP A/V Media Server (x-box)
mplayer-gui – movie player for Unix-like systems
gwenview – image viewer for KDE 4
bbe – sed-like editor for binary files
normalize-audio – adjusts the volume of files to a standard volume level
mpeg4ip-server – end-to-end system to explore streaming multimedia

Manual install needed for this:

NeroDigitalAudio.zip (Details here).

Written by SilverWav

May 1, 2010 at 5:53 pm

Follow

Get every new post delivered to your Inbox.