How to make a "back up" copy of a movie DVD using open source tools
Posted by: JDS
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
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
- 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'
- gunzip pkgutil-1.6.1\,REV\=2009.06.05-SunOS5.8-sparc-CSW.pkg.gz
- pkgrm CSWpkgutil
- 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
For reference, some steps and links.
Steps
- Starting with monolithic storage, and tables already set to InnoDB storage engine
- Change server to use files-per: Add "innodb_file_per_table" at the end of the InnoDB options in /etc/my.cnf
- Restart server
- Re-convert the tables to the InnoDB storage engine. I.e. Run "ALTER TABLE tablename ENGINE = InnoDB;" on every table you want changed over
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
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
Sound solution: Install the Static/OSS version of Skype. Presto!
Desktop integration link here: http://webupd8.blogspot.com/2009/06/ubuntu-jaunty-notification-system-for.html
Adding "Log Out" button back to Ubuntu 9.04 Main Menu
Posted by: JDS
- Right-click Main Menu or Menu Bar. Choose "Edit Menus". See Fig 1.

- 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 the "New Item" button
- 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.

- 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.