Lucid 10.04 – All the stuff people forget to tell you – Flash, Codecs, Medibuntu, Packages, Fixes.
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:
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.
/usr/share/themes/Radiance/gtk-2.0
/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] = "panel_bg.png"
e.g.
#bg_pixmap[NORMAL] = "panel_bg.png"
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).
Guys.. have you tried to install restricted packages.. ? open Software Center or Synaptic or KPackageKit and search for restricted – there are 3 of them – xubuntu, ubuntu, kubuntu – select which of them you need – and install.. why are you search for something special and new with a lot of commands, when you have everything you need in your distro !?
Rodislav Moldovan
May 3, 2010 at 3:16 pm
thanks for the comment Rodislav,
You… haven’t looked at the packages.list, have you ;-)
ubuntu-restricted-extras is one of the packages it installs… but there are a lot more that you will need, for instance you will need libdvdcss2 just to play a DVD, if we are talking codecs…
…and we are not. This is a list of all my favourite packages and with one command they are all installed.
__________
Note this whole script just does:
apt-get install -y package1 package2 package3 …
But it reads the packages from a file(packages.list) and does some checking. This turns out to be very handy as you can add notes or comment things out. (After 6 months its good to have a note of what packages to reinstall and why!) Useful for clean installs and VMs to load optional packages quickly.
__________
A Cleanstart for your new Ubuntu (Install Packages from a list)
SilverWav
May 3, 2010 at 5:09 pm
Here is what I am talking about…
SilverWav
May 3, 2010 at 5:23 pm
Or just use Mint.
linuxmint.com
Brent
May 3, 2010 at 4:22 pm
hi Brent,
I have heard a lot of good things about mint… but I like the ppl who stand behind Ubuntu, and they have a huge range of software in the repositories… so I don’t really see any advantage tbh.
and…
Ubuntu Forums.
:-)
Its just the best support community going.
SilverWav
May 3, 2010 at 5:18 pm
There is no need for nspluginwrapper anymore, just apt-get install flashplugin-nonfree and you are good to go.
Also I’m not sure of the need for medibuntu repos… Ubuntu universe/multiverse has everything you might need with gstreamer0.10-ffmpeg and gst-plugins* as well as the unstripped libavcodec.
Daniel
May 3, 2010 at 5:18 pm
thanks for the comment Daniel,
>just apt-get install flashplugin-nonfree and you are good to go.
So that’s OK for 64bit?
>Also I’m not sure of the need for medibuntu repos
hmmmm what about libdvdcss2?
SilverWav
May 3, 2010 at 5:42 pm
Hi Daniel,
If you have a look at the dependencies…
it goes 1> 2 > 3
1. ubuntu-restricted-extras
Commonly used restricted packages for Ubuntu
2. flashplugin-installer
Adobe Flash Player plugin installer
3. nspluginwrapper
A wrapper to run Netscape plugins on other architectures
__________
flashplugin-nonfree is a dummy for flashplugin-installer which depends on nspluginwrapper.
SilverWav
May 3, 2010 at 6:03 pm
You could use flashplugin64-installer in this ppa: https://launchpad.net/~sevenmachines/+archive/flash
ChaoticXSinZ
May 3, 2010 at 9:36 pm
thanks for the heads up ChaoticXSinZ,
I may give it a try now we have OOPP in firefox ;-)
IIRC I have tried the last 64bit alpha and I found it crashed a lot… particularly on google mail :-(
I actually find that flash is very good on Ubuntu these days…(except high cpu!) cant remember the last crash.
I will try to dig out some background on what the present issue is with flash… I have it here somewhere >8-)
SilverWav
May 3, 2010 at 9:56 pm
Found it!
Some background on this issue.
______________________________
Comment 225 for bug 410407
pablomme wrote on 2010-03-02: #225
> Is it a problem with GTK+ or ia32-libs?
The big picture here is that GTK+ changed the way it does certain things, intentionally and as an improvement. What should happen then is that every piece of software that relies on GTK+ would be updated to cope with/take advantage of the new stuff. And so it has happened with all FOSS projects using GTK+. However, nobody but Adobe can change libflashplayer.so, and they haven’t. That is THE problem, and THE solution lies with Adobe.
Now, for workarounds. The GTK+ change came with the ability to revert to the old behaviour via environment variables. A possible workaround would be to modify web browsers (and everything else that uses libflashplayer.so) to set up their environment so that the GTK+ calls made from within the Flash player stick to legacy behaviour. Chromium (if the reports above are correct) has done this, others haven’t. Remember that this situation is supposed to be temporary – one would expect Adobe to *eventually* fix libflashplayer.so – so it might not be worth for browsers to go through this.
Another workaround is applicable to 64-bit systems, where a 32-bit libflashplayer.so is used (this is sub-optimal, and again nothing can be done because of Flash being proprietary). The interface between the 64-bit browser and the 32-bit plugin is nspluginwrapper. The 32-bit plugin then uses 32-bit libraries (including GTK+), which are gathered in this thing called ia32-libs. By modifying the nspluginwrapper scripts, one can directly modify the environment under which libflashplayer.so is run, without need to modify the browser itself.
To answer your question, there is no problem with GTK+, there is a problem with Flash not being updated to cope with updates to GTK+. And ia32-libs simply mirrors the current versions of common libraries, it’s not to be blamed either.
______________________________
SilverWav
May 3, 2010 at 9:58 pm
[…] Lucid 10.04 – All the stuff people forget to tell you – Flash, Codecs, Medibuntu, Packages, Fixe… […]
Links 3/5/2010: Lubuntu 10.04 Released; Peppermint OS Reviewed | Techrights
May 3, 2010 at 11:57 pm
Folks,
That seems like a lot of work to get an OS running. That is why I created BleedingEdge. Now my students and colleagues can install the software that they want without pulling their hair out.
http://sourceforge.net/projects/bleedingedge/
Enjoy,
Paul
Paul
May 4, 2010 at 12:27 am
thanks for the comment Paul,
>That seems like a lot of work to get an OS running.
Nope. I wiped my old OS and installed the new OS in 20-30 min.
I added all my applications and completed the fixes in less than another 30 :-)
The advantage of keeping the script very simple is that anyone can confirm that it is safe with a quick look…
All it does is: apt-get install -y package1 package2 package3 :-)
After a quick look at your code I have to say it looks a little more complicated ;-)
Also it looks as if you are providing a small number of packages that you think are best…
The idea of the Packages.List is that you should add what you find useful and remove what you dont need.
I provide my list as a starting point and as a example.
I notice that the same steps as I outlined would be needed to run your script as well… dl, make executable etc.,
SilverWav
May 4, 2010 at 12:55 am
This kind of stuff scares the hell out of Linux newbies.
Chinmoy
May 4, 2010 at 6:47 pm
thanks for the comment Chinmoy,
But what are you referring to in particular?
If its the terminal commands… then I would argue than they are an easier ways of doing things than trying to explain by detailing every click needed in a GUI.
Its just a way of getting things done quickly and efficiently.
Its certainly no more difficult than some windows instructions on how to fix say… the registry :-)
SilverWav
May 4, 2010 at 7:07 pm
[…] Lucid 10.04 – All the stuff people forget to tell you How to install Flash, codecs, Medibuntu, packages and Fixes in Ubuntu […]
LinXs 2010-05-05 | Maxim's blog
May 5, 2010 at 12:36 pm
I just wanted to thank you for writing this and the other “walkthroughs”. I am basically a linux noob and am constantly in search of knowledge and help on the web. I am fighting to learn linux because I see the amazing possibilities and opportunities that Linux offers over windows.
I have found that unfortunately most experienced linux users are annoyed by new people asking for help (I do understand that answering the same questions would get old). They seem to forget that they too were once a linux noob but now are somehow superior to everyone else. There are some that try to help but noobs dont understand all the abbreviations and lengthy instructions that are summarized with various blanket statements and symbols that have no meaning to a noob.
It is very helpful when you not only say what to do… but also why it is done. Then you not only give a man a fish.. you teach him how to fish so he can help himself.
The advice you provide like “at this point you want to do this because you will avoid certain problems later” or “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.” and also when you describe that adding a certain repo is only when a user wants certain features.. and that those in that repo have certain inherent attributes that may not be desirable for some situations…
Great advice… and very helpful.
I am a very experienced Windows user. If I am given a system that is already setup I can look at it and figure everything out… unfortunately many linux distros arent like this. The attitude I have seen so far is…. “I dont want anything on my install until I put it on there…” also many advanced features such as a DHCP, DNS or other servers arent configured at all (at least what i have encountered) and becomes very tedious to figure it all out and causes a “noob” to go to countless pages to find what is needed (and thus annoy advance linux users).
To make a short story long… I wanted to say thank you… and keep up the good work.
Patrick
June 4, 2010 at 3:24 pm
Hi Patrick,
Glad you found you it useful.
I was in exactly the same position as you a few years ago, it is a whole new world :-)
The best thing you can do is join http://ubuntuforums.org/
They are very helpful and have a very strict policy on treating new users with respect.
I joined in Dec 2006 and its been great fun.
If I need to find a fix I do a search first, in this form:
ubuntu vmware site:http://ubuntuforums.org/
That usually gets me to the right page where others are posting fixes or answering questions.
SilverWav
June 4, 2010 at 4:28 pm