Showing posts with label medibuntu. Show all posts
Showing posts with label medibuntu. Show all posts

Saturday, June 27, 2009

Watching a DVD in Xubuntu 9.04

After the previous reinstall two months ago, DVDs stopped working.

Here's how I got it to work:

  1. Add the medibuntu repository, if you haven't already
    sudo cp /etc/apt/sources.list /etc/apt/sources.list~   # Backup the sources.list file
    sudo mousepad /etc/apt/sources.list &                  # Open the sources.list file in an editing window
    
      ## In sources.list, append the following two lines at the bottom, then save (don't close it)
      ## Medibuntu
      deb http://packages.medibuntu.org/ jaunty free non-free
      ## If you use debtorrent, use: deb debtorrent://localhost:9988/packages.medibuntu.org/ jaunty free non-free
    
    sudo apt-get update
    sudo sudo apt-get install medibuntu-keyring
    sudo apt-get update
    
  2. Use these two terminal commands to add the correct software (source):
    sudo apt-get install totem-xine libxine1-ffmpeg libdvdread4
    sudo /usr/share/doc/libdvdread4/install-css.sh
    # Note - this installs the libdvdcss2 package, which is *not* in the repositories.
    # If you use this list of packages to rebuild your system, for example by using a 
    # Jablicator metapackage, it will fail due to this missing dependency.
    
  3. I installed ubuntu-restricted-extras for unrelated reasons. So I don't *think* it's necessary.
    sudo apt-get install ubuntu-restricted-extras
    
  4. Finally, I got an error message when I put in a dvd:
    "Could not open location; you might not have permission to open the file." This is indeed a permission issue. Fix it with:
    sudo chmod 755 /media/cdrom0
    And then try opening the DVD from within your player application (Totem).

Saturday, April 25, 2009

Upgrading from Xubuntu 8.04 to 9.04

It's finally time to reinstall to dist-upgrade, which I haven't done in a year.
Burning the 9.04 CD: Instead of installing Brasero or another burner, I used the command wodim dev=$PATH-TO-DEVICE driveropts=burnfree -v -data $PATH-TO-ISO, so in my case wodim dev=/dev/scd0 driveropts=burnfree -v -data /home/me/Ubuntu\ Images/xubuntu-9.04-desktop-i386.iso. Very easy and fast that way.

Using the 9.04 LiveCD installer: Very simple. One hiccup when automatic partitioning failed. I chose to reuse my existing partition *without* formatting it first, and (COOL!) my /home directory was untouched. All my preferences and saved fies were still there...as if they had been migrated. Networking and sound worked immediately from the default installation.

Enabling Medibuntu and debtorrent: Medibuntu is for non-free packages like skype. Debtorrent is a method of using torrents instead of mirrors to download. Both require changes to the /etc/apt/sources.list file. debtorrent instructions

sudo cp /etc/apt/sources.list /etc/apt/sources.list~   # Backup the sources.list file
sudo mousepad /etc/apt/sources.list &                  # Open the sources.list file in an editing window

  ## In sources.list, append the following two lines at the bottom, then save (don't close it)
  ## Medibuntu
  deb debtorrent://localhost:9988/packages.medibuntu.org/ jaunty free non-free

sudo apt-get update
sudo sudo apt-get install medibuntu-keyring debtorrent apt-transport debtorrent

  ## In sources.list, substitute each occurrence of the string 'deb http://' prefix with 'deb debtorrent://localhost:9988/'
  ## Save and close the sources.list file.

sudo apt-get update

Bringing back my favorite apps: Using this table, it's pretty easy to figure out what to install and remove. Downloading all this stuff took about 40 minutes.

The droid fonts are nice, but not special.
SubjectPackages I RemovedPackages I AddedInstall Notes
E-Mailthunderbirdevolution
spamassassin
mail-notification-evolution
Evolution needed a couple restarts to start working properly
Scriptingbluefish
d-feet
curl
devscripts
Fontsmsttcorefonts
ttf-droid
Codecsgstreamer0.10-ffmpeg
gstreamer0.10-plugins-ugly
gstreamer0.10-plugins-bad
libdvdcss2
Download-at-first-need for audio also works well.
Printingcups-pdf
GPSgpsd
python-gps
Remote desktopvinagreopenssh-server
xtightvncviewer
xtightvncviewer required manual config: sudo update-alternatives --set vncviewer /usr/bin/xtightvncviewer
Networktransmission-gtk
xchat
deluge
skype
Officeopenoffice.org
openoffice.org-gtk
Otherbluez
bluez-gnome
bluez-cups
gnome-pilot
wine
simutrans
powertop
inkscape
flashplugin-installer
pmount
blues-gnome gets rid of bluetooth-applet
pmount mounts usb drives as user instead of root
Non-Ubuntuskype4pidginhttp://eion.robbmob.com/skype4pidgin.deb

Several launcher icons were missing - the launchers were still in the right place and fully functional, but the application (like bluefish) was gone. After reinstallation, most images came back automatically. A couple needed to be reassociated with the image by right-clicking on 'properties'.

Two important shortcuts were missing.
  • The Home folder icon on the desktop was gone - fixed by right clicking on the desktop, then Desktop Settings -> Icons.
  • The shortcut to my imadison script was missing from /bin. Easy to replace with sudo cp -l imadison.py /bin/imadison

The crontab was gone and had to be recreated.

The mail-notification icon couldn't find evolution (Bug 355209). The bug report has the simple workaround.