How to make a "back up" copy of a movie DVD using open source tools

Posted by: JDS

I use Linux. The Linux software ecosystem has reached a maturity level where copying DVDs is actually easy. This was not always the case!

Tools you need:

  • A good Linux OS. I recommend Ubuntu's latest, 9.10.
  • Handbrake. There are other similar tools but Handbrake is by far the superior choice. I've tried "KungFu DVD Ripper", "DVD::Rip", and "AcidRip" and while those all work, they are confusing and hard to configure. Finally, Handbrake worked on some hard-to-rip DVD's that the others would not.
  • Devede DVD creator. It is missing some "eye candy" features that you might find in a product from, say, Apple. But Devede is incredibly easy to use, and is very full featured, letting you optionally configure the menu layout, DVD bitrates and anything else related to pressing the DVD short of burning it.
  • A way to burn the final .ISO DVD image. Ubuntu comes with that already there in the form of the Brassero CD/DVD burner tool, but we won't use that directly.

Step by step details, when I get a chance

Solaris: Out of Memory error with pkgutil v1.5

Posted by: JDS

Solution: upgrade to latest pkgutil

pkgutil was spinning in an infinite loop and using all free memory when I tried to (a) do a general package upgrade and (b) install a new package. See. Links On This Topic. Solution was to upgrade pkgutil

  1. wget 'http://ftp.math.purdue.edu/mirrors/opencsw.org/unstable/sparc/5.10/pkgutil-1.6.1,REV=2009.06.05-SunOS5.8-sparc-CSW.pkg.gz'
  2. gunzip pkgutil-1.6.1\,REV\=2009.06.05-SunOS5.8-sparc-CSW.pkg.gz
  3. pkgrm CSWpkgutil
  4. pkgadd -d pkgutil-1.6.1\,REV\=2009.06.05-SunOS5.8-sparc-CSW.pkg

Answer "y" to everything.

Changing InnoDB from monolithic to files-per-table data storage

Posted by: JDS

Luckily, it's easy! Not sure if that also means painless...

For reference, some steps and links.

Steps

  1. Starting with monolithic storage, and tables already set to InnoDB storage engine
  2. Change server to use files-per: Add "innodb_file_per_table" at the end of the InnoDB options in /etc/my.cnf
  3. Restart server
  4. Re-convert the tables to the InnoDB storage engine. I.e. Run "ALTER TABLE tablename ENGINE = InnoDB;" on every table you want changed over
    1. Apparently these steps cause MySQL to reevaluaate the storage options for each table and start saving data in file-per-table format. I don't know if it is safe at this point to get rid of what is surely a huge ibdata1 file in your /path/to/mysql/data directory. It probably isn't! That is unfortunate...

Java on Ubuntu Jaunty (9.04) - Problem with Fonts?

Posted by: JDS

I keep getting an error like 'Warning: Cannot convert string "-b&h-luxi sans-medium-r-normal--*-140-*-*-p-*-iso8859-1" to type FontStruct' and one Java app in particular just doesn't work because of it!

The Java app is the JScape SSH management console. JScape is really quite nice, but that's an aside.

The error is like this:

jeff@jeff-laptop:~
> /opt/JSCAPE_Secure_FTP_Server/client
Warning: Cannot convert string "-b&h-luxi sans-medium-r-normal--*-140-*-*-p-*-iso8859-1" to type FontStruct
Warning: Cannot convert string "-arphic-ar pl shanheisun uni-medium-r-normal--*-*-*-*-p-*-iso10646-1" to type FontStruct
Warning: Cannot convert string "-arphic-ar pl uming uni-medium-r-normal--*-*-*-*-p-*-iso10646-1" to type FontStruct
Warning: Cannot convert string "-kochi-gothic-medium-r-normal--*-140-*-*-c-*-jisx0208.1983-0" to type FontStruct
Warning: Cannot convert string "-baekmuk-gulim-medium-r-normal--*-140-*-*-c-*-ksc5601.1987-0" to type FontStruct

I don't yet have a solution!!

Skype Stuff

Posted by: JDS

Two things: better desktop notification integration, and, more importantly, fixing broken sound problems.

Adding "Log Out" button back to Ubuntu 9.04 Main Menu

Posted by: JDS

They took away the logout button! Why?? The Fast User Switcher applet? For logout??? That is in no way obvious, especially if you have just upgraded and are used to the previous way. Here's how to get it back.
  1. Right-click Main Menu or Menu Bar. Choose "Edit Menus". See Fig 1. Figure 1: Edit Menus
  2. Scroll down in left panel of menu editor to "Applications" (actually, you can add this anywhere, but if you add it here it is most visible in the menu. I actually end up adding this to "Applications" and to "System"). See Fig 2. Choose New Item
  3. Choose the "New Item" button
  4. For item properties, choose
    • Type: Application
    • Name: Log Out
    • Command: gnome-session-save --logout-dialog
    • Comment: Log Out of your Desktop Session
    • Click on the default "icon" button and browse to choose a better icon. WARNING: Gnome's icon chooser sucks monkey nuts. I mean, it is just plain awful. I ended up choosing /usr/share/icons/Human/scalable/actions/system-log-out.svg
    • See Fig 3. Figure 3: Launcher Properties
  5. Choose "Ok". Item should now appear in Menu Editor. You might have to click the item's checkbox to uncheck-then-check-it-again to make the real menu load the item.