Friday, March 22, 2013

Virtual Box Guest Additions 4.2.10 in Latest Scientific Linux 6.3

This bug report helped me track down how to compile the OpenGL module. While the compiler error and fix for Scientific Linux (RHEL / CentOS) was different, than the one listed, the process was the same.
https://www.virtualbox.org/ticket/10756


Additionally, this bug was not encountered with the initial 6.3, but only when I updated. My system information is as follows:

[root@localhost ~]# uname -a
Linux localhost.localdomain 2.6.32-358.2.1.el6.x86_64 #1 SMP Tue Mar 12 14:18:09 CDT 2013 x86_64 x86_64 x86_64 GNU/Linux
[root@localhost ~]# lsb_release -a
LSB Version:    :core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID:    Scientific
Description:    Scientific Linux release 6.3 (Carbon)
Release:    6.3
Codename:    Carbon

Thursday, March 14, 2013

Remapping CAPSLOCK to CTRL in Fedora 18

This guy figured out how to rebind CAPSLOCK to CTRL in Fedora 18.
http://simonbaird.blogspot.com/2013/01/fixing-caps-lock-key-in-gnome-in-fedora.html

Basically, running this command will change the setting:
gsettings set org.gnome.desktop.input-sources xkb-options "['ctrl:nocaps']"

Saturday, March 9, 2013

Making Your Own InnoTab 2 Videos Using HandBrake on Linux

I was able to get my own videos working on the InnoTab 2 by following the InnoTab 2 product manual (you can download the PDF from the VTech website http://www.vtechkids.com/support/product_manuals). The only thing that tripped me up was that, according to the documentation, the InnoTab 2 expects a container type of AVI, but HandBrake only has MP4 and MKV containers. Using the MKV container type, but renaming the file extension to AVI seemed to do the trick. Here is the command line I used for a 16x9 movie that needed an audio gain increase:

HandBrakeCLI \
--format mkv \
--encoder x264 \
--x264-profile baseline \
--vb 600 \
--maxWidth 480 \
--maxHeight 272 \
--aencoder lame \
--ab 96 \
--gain 9 \
--input /dev/dvd \
--title 1 \
--output movie.avi