Pages

23 January 2010

Squeeze and the Java plugin (SOLVED)

Another Squeeze issue popped up: the Sun Java plugin (i.e., sun-java6-plugin) doesn't work. It took a bit of poking around to find a fix, but here it is. As root in a terminal:

# nano /etc/sysctl.d/bindv6only.conf

Then change
net.ipv6.bindv6only = 1
to
net.ipv6.bindv6only = 0

Finally,
# invoke-rc.d procps restart

I have no idea what other positive or negative ramifications this will have to your system, so proceed with caution. I'm pretty sure you can undo any damage by setting the 0 back to 1 and doing the invoke-rc.d call over.

FWIW, the icedtea6-plugin doesn't work either, but I haven't been able to figure out that one.

16 January 2010

Squeeze and GRUB dual boot problems (SOLVED)

Earlier this evening, I installed a command-line version of Debian Squeeze (i.e., still "testing" as of this writing) from the netinstall CD alongside a regular Ubuntu Karmic installation and had an issue with GRUB that nearly had me cleaning my underwear.

Toward the end of the installation, the Debian installer told me that it saw I had Ubuntu installed and so would I want to install GRUB? It also assured me that it recognized that I had Ubuntu installed and that everything would be ok.

I've been through similar prompts with dual-boot installations before, and indeed everything has always gone just swimmingly. So, I said, "Sure." What I didn't know was that Squeeze is using the new and possibly-not-entirely-ready-for-prime-time GRUB 2. (I guess Karmic is as well.)

When I rebooted, GRUB gave me options for the new Squeeze install, but any trace of the Ubuntu install was gone. Hunting for /boot/grub/menu.lst gave me nothing. That's when I discovered that Squeeze installed GRUB 2 and most of the GRUB repair stuff on the Internet was obsolete. I was about the resort to drastic measures when this post inspired me to try

# update-grub

and it worked.

02 January 2010

Changing keyboard layouts

Just a quick post to mention an easy way to change keyboard layouts. From the command line:

setxkbmap [layout]

For example, I sometimes need to switch to Turkish Q:

setxkbmap tr

And then back to US:

setxkbmap us

Cheers.