Archive for the ‘Linux – Ubuntu’ Category

Read commercial DVDs in Ubuntu

Monday, June 18th, 2007

I had libdvdcss working for a while on my Ubuntu PC, but at some point it stopped working for most if not all DVDs.  I could not read the DVDs at all, let alone play them.  I tried a number of players, and a number of techniques to back them up, but nothing worked.  I had installed libdvdcss from medibuntu, which is referred to in the main Ubuntu help here.  I added the medibuntu to my apt sources.list as shown in the medibuntu howto.   There are multiple other sites and forums which explain this process, but that is straight from the horses mouth.

I still do not know why the package stopped working for me; however, to solve my problem I removed libdvdread and libdvdcss from my installation with the package manager.  I also removed all dependant packages.  I then installed libdvdcss the old fashioned way as detailed here, among other places.  I needed to follow the directions I was given to build an “experimental” install on my AMD64 machine.  Voila, reinstall libdvdread, vlc, and some of the other packages that had been removed, and everything worked fine.  I’m still not sure exactly what the root cause was…

Backup an entire DVD with dvdbackup (no transcoding)

Sunday, April 22nd, 2007

I had to hunt quite a bit to find a utility that would let me back up an entire DVD in its original format. My only goal is to back the DVD up onto the hard drive. I’m not interested in transcoding, or playing it on my iPod. dvdbackup is available in the ubuntu repository. The man page shows how to back up a DVD. In its simplest form, the command line looks something like this:

dvdbackup -i /dev/scd0 -M -o outdir

Where /dev/scd0 is the DVD device, -M says full backup, and -o points to the output directory.

Make nvidia driver work after Ubuntu Feisty upgrade

Sunday, April 22nd, 2007

My /etc/X11/xorg.conf had been modified by a previous download of the nvidia driver. I think it may have been a tar file from nvidia’s website. At any rate, the driver was no longer loading after I upgraded to Feisty (and maybe it had not been working before). xorg.conf provides a command to overwrite the file with the repository version, which worked perfectly for me. It also realized that I had nvidia-glx installed already, and put in the correct settings for it.

sudo dpkg-reconfigure -phigh xserver-xorg

While I was cleaning up, I removed the old open source nv driver, xserver-xorg-video-nv.

06/18/2007 Hmmm… Somehow my nvidia driver got screwed up and I had to use vesa (installed via the above example) to get GDM up. I tried reinstalling the nvidia-glx-new driver mulitple times, as well as the restricted modules to no avail. Finally in reading through this  (dead link: http://doc.gwos.org/index.php/Latest_nvidia_feisty)  example, I found the command:

sudo apt-get install linux-generic

which seemed to upgrade my restricted-modules to match my current kernel. I’m not sure how they got out of date, but after running:

sudo nvidia-xconfig --no-composite

everything seems OK again.

Set up netbios name with Samba

Tuesday, April 17th, 2007

I’m not sure why the System->Administration->Shared Folders gui does not let one set up the netbios name for your Samba server, but it does not seem to in Feisty Beta at least. To set the name, you must edit /etc/smb.conf and add a line

netbios name = <the name you want>

I restarted Samba for good measure: sudo /etc/init.d/samba restart. I found this in a post here.