Posts

Download mms stream in Ubuntu

Try msdl introduced here . Example: msdl -s 10 -r 00:20:00-00:59:58 rtsp://59.188.18.228/rthk/201009/radio1/23/2010092322.ra msdl -s 10 -r 00:20:00-00:59:58 mms://202.177.192.111/rthk/radio1/20110901/2011090122.asf

Rotate both screen and touchpad at the same time

This seems to offer a complete solution.

Install JOGL on Ubuntu 10.04

Basically follow the instruction here . The Java install path is changed to /usr/lib/jvm/java-6-sun-1.6.0.20

JOGL and JNLP useful tips

To have JNLP apps using JOGL to work properly on all operating systems (Windows/Linux/MACOS/Solaris) and CPU architectures (Intel/AMD), one needs to offer the native libraries of all these possible combinations. An example is at here . To have the native libraries (offered in the form of jar files from the web) work on the computers, one has to sign all of them. And in the JNLP file, specify you want all permissions in the security attribute. A related reference is available here . In case you use all-permissions security setting, you need to move all the jar files to be downloaded into one single URL. See here . The use of native libraries in Java applet is not recommended. See here .

Play octoshape stream on windows with VLC player

Install windows octoshape plugin at http://www.octoshape.com/files/octosetup.exe Install VLC player at http://www.videolan.org/vlc/download-windows.html . Use the installer so later octoshape can pick it as the preferred player. (Updated 12/26/2010: A dirty way to make sure windows associate all media files to vlc player is to explicitly set in vlc's Tool -> Preferences -> Interface -> Set up associations, select all file types. Then in Octoshape Settings (right click on the Octoshape system tray icon and select Settings), select use "System player") Create a bat file named stream.bat. In Windows XP, type in the bat file. "C:\Documents and Settings\ [user]\Application Data\Octoshape\Octoshape Streaming Services\OctoshapeClient.exe" -url:[octostream] In Windows Vista/7 "C:\Users\[user] \AppData\Roaming\Octoshape\Octoshape Streaming Services\OctoshapeClient.exe" -url:[octostream] Replace [user] with your current user name, [octostream] w...

Ubuntu 10.04 VNC Keymapping problem

You may find that if you connect to your Ubuntu 10.04 machine with VNC, the 's' key is incorrectly mapped to initiating the logout menu on the Desktop. The current best solution I can find so far is as follows, adopted from jarondl here . Rewrite ~/.vnc/xstartup as follows: ##!/bin/sh xrdb $HOME/.Xresources xsetroot -solid navy # Choose your color x-window-manager & { (gnome-panel 2> /dev/null &) } xterm &

Persona and Silvermel/Charamel living together in Firefox 3.6

Starting from Firefox 3.6, the Persona addon is installed by default. However, instead of an extension, it is now a theme, sitting in parallel to Silvermel/Charamel. This means you can either use the Silvermel/Charamel theme, or the Persona theme. You can't use both together as when you use Firefox 3.5 or before. To fix the problem, you can first uninstall the Persona extension, and then reinstall it from Mozilla addon site (The most recent 1.5.2 version doesn't work, install some older version instead). Finishing these two simple steps, you can enjoy the benefit of both Silvermel/Charamel and Persona at the same time once again.