Posts

Problem running OpenGL program in a virtual machine

In case you encounter the following issue when running OpenGL program in a virtual machine OpenGL Warning: XGetVisualInfo returned 0 visuals for 0x180fb10 OpenGL Warning: Retry with 0x8002 returned 0 visuals Segmentation fault (core dumped) You may set the LIBGL_ALWAYS_INDIRECT environment variable to 1 before running my GLUT programs, as follows. export LIBGL_ALWAYS_INDIRECT=1 Reference

cannot start eclipse in Ubuntu 12.04 -- java.lang.UnsatisfiedLinkError: Could not load SWT library.

The needed stuff are under /usr/lib/jni/ folder. One needs to symlink them in and it worked. ln -s /usr/lib/jni/libswt-* ~/.swt/lib/linux/x86_64/ Reference

Run 32-bit executables on 64-bit Linux

Look for the package/library called ia32.

Ubuntu 12.04 wired internet connection no longer works

Image
My solution: Right-click on the "network manager" applet icon on the top of the ubuntu panel. Select "Edit connection". Delete the respective entry under the "Wired" tab. Then depending on your connection type, you may be able to have the connection auto-detected. In that case, click on the "network manager applet icon again and select that auto-detected item (e.g. Auto ethernet). Then it is suddenly all set.

Add back "Show Desktop" icon in Gnome Fallback session of Ubuntu 12.04

Holding both Alt and Super (Windows) keys, right-click on the top or bottom panel. Select the appropriate icon. Reference

Cannot detect blank disc when using brasero in Linux gnome environment

It appears that there is a problem between brasero and the Gnome file manager nautilus. In case you encounter similar problems, use xfburn instead. But that your Linux machine may lose the capability to open a burned DVD disc automatically. In that case, mount the disc by yourself. To load a disc: mkdir /mnt/cdrom mount /dev/cdrom /mnt/cdrom To unload a disc umount /mnt/cdrom

ffmpeg convert from flv to mp4

ffmpeg -i input.flv output.mp4 Ref: here