Video working with Logitech QuickCam Communicate STX on Linux 64bit

I have a 046d:08d7 Logitech, Inc. QuickCam Communicate STX that works perfectly well with all the native linux applications (ekiga, cheese, empathy) and even with the Flash Player powered TokBox, but it does not work with Skype.

After a bit of digging I’ve found out how to make Skype detect the video input from my Webcam. The secret is to preload the library as shown on the Ubuntu Wiki:

bash -c 'LD_PRELOAD=/usr/lib/libv4l/ skype'

That does the trick for 32bit systems, and since there isn’t a native Skype version for 64bit

[email protected]:~$ file /usr/bin/skype 
/usr/bin/skype: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.8, stripped

we need to tell skype to preload the 32bit version of the library like so:

bash -c 'LD_PRELOAD=/usr/lib32/libv4l/ skype'

Now video works perfectly using Skype under Ubuntu 9.10 64bit


Listen to Windows Media Player Feeds on Linux and Mac

If you want to listed to an audio/video feed while you’re running Linux or Mac is a bit ridiculous for a site to suggest you to install WMP (windows media player). There is one solution tho. Open the feed and it should get a windows that is expecting you to play the feed with WMP. View the source code of that page and you should find the URL of the feed.

You can play the feed easily on Linux or Mac using VLC. Just open a terminal an type:

vlc feed_url_here
PHP ubuntu zend framework

Install Zend Framework and Zend_Tool using PEAR on Ubuntu

I work every day with Zend Framework and the easiest way i find to install it is by using the PEAR packages offered by the betta channel ZF Campus

Here is what you have to do install Zend Framework and Zend_Tool using PEAR on Ubuntu:

sudo pear channel-discover
sudo pear install zfcampus/zf
# for some reason the installer does not correctly link the zf.php and Zend_Tool won't work
# so we need to setup a symlink
sudo ln -s /usr/share/php/zf.php /usr/bin/zf.php

That’s it! You can now test your install:

zf show version

In my care the output was this one:

[email protected]:~$ zf show version
Zend Framework Version: 1.9.2

Install GIMP 2.7 on Ubuntu

This tutorial will show you how to install GIMP 2.7 on Ubuntu Jaunty without affecting the default GIMP 2.6 install

sudo apt-get install ruby # needed by gegl
git clone git://
git clone git://
cd babl
sudo make install
cd ../gegl
sudo make install
sudo apt-get install libjasper-dev # the jasper libs are required to provide JPEG2000 support in GIMP
cd ..
tar jxvf gimp-2.7.0.tar.bz2
cd gimp-2.7.0
./configure --prefix=/opt/gimp-2.7
sudo make install

Now just create a file gimp-2.7 inside /usr/bin as follows:


export PATH

/opt/gimp-2.7/bin/gimp-2.7 "[email protected]"

Run /usr/bin/gimp-2.7 🙂

linux ubuntu

Chmod only files or chmod only folders

I moved the blog the a new server and i realised that all the permissions got screwed up on the process. All files and folders were having chmod 777, and that’s not exactly ideal. After digging a bit on google on how to chmod only files or chmod only folders, i came up with this:

1. Recursive chmod only files within this folder:
find . -type f -exec chmod 0600 {} ;

2. Recursive chmod only folders within this folder:
find . -type d -exec chmod 0755 {} ;

Hope this helps!


Install native 64bit Flash Player 10 on Linux

EDIT 4 (14 July 2011): Adobe released Adobe Flash Player 11 beta 1 so i’ve wrote a tutorial on how to install adobe flash player 11 on linux 64 bit

EDIT 3 (17 Sept 2010): Adobe launched Adobe® Flash® Player “Square” so i’ve put together a tutorial on how to install adobe flash player square on linux

EDIT 2: Libflashplayer is now hosted on this site since Adobe killed the URL. It’s not anything official or whatever, just a temp home 🙂

EDIT: updated the scripts to install the 64-bit Flash Player 10 alpha refresh for Linux that was released on February, 2010.

Adobe FINALLY released a native 64bit Flash Player 10 plugin. Although this is still an alpha release, the news is very exciting for Linux users, since we don’t longer depend on nspluginwrapper, which although does the job, has it’s drawbacks.

I have put together a small tutorial on how to install the native flash player 10 64bit plugin for linux.

# Script  created by
# Romeo-Adrian Cioaba [email protected]

echo "Stopping any Firefox that might be running"
sudo killall -9 firefox

echo "Removing any other flash plugin previously installed:"
sudo apt-get remove -y --purge flashplugin-nonfree gnash gnash-common mozilla-plugin-gnash swfdec-mozilla libflashsupport nspluginwrapper
sudo rm -f /usr/lib/mozilla/plugins/*flash*
sudo rm -f ~/.mozilla/plugins/*flash*
sudo rm -f /usr/lib/firefox/plugins/*flash*
sudo rm -f /usr/lib/firefox-addons/plugins/*flash*
sudo rm -rfd /usr/lib/nspluginwrapper

echo "Installing Flash Player 10"
cd ~
# since adobe is not hosting libflashplayer anymore, the lib is downloaded from my site.
# wget
tar zxvf
sudo cp /usr/lib/mozilla/plugins/

echo "Linking the libraries so Firefox and apps depending on XULRunner (vuze, liferea, rsswol) can find it."
sudo ln -sf /usr/lib/mozilla/plugins/ /usr/lib/firefox-addons/plugins/
sudo ln -sf /usr/lib/mozilla/plugins/  /usr/lib/xulrunner-addons/plugins/

# now doing some cleaning up:
sudo rm -rf
sudo rm -rf

You can now restart firefox 😉

Some users seem to have problems with viewing this page, so i wrapped everything needed to install the native 64bit flash player on linux into a shell script. Grab the Ubuntu script here, chmod +x and execute it.

Thanks to Claudio de Taunay for providing a script that works in OpenSuSE 11. You can pick it up here.

Thanks to Homer Xing from the Ailurus project you can now install native flash player 64bit on Fedora. You can pick up the script here.

Let me know if you encounter any bugs.

the scripts to install in different distro:
Ubuntu: install native flash 64bit on Ubuntu

Fedora: install native flash 64bit on Fedora

OpenSuse: install native flash 64bit on OpenSuse

This article is translated to Serbo-Croatian language by Anja Skrba from

chrome linux ubuntu web browsers

Google Chrome for Linux and Mac with CrossOver Chromium

Two weeks ago i have posted a tutorial on how to make Google Chrome run on Linux using wine. That gave Linux users the option to test the browser without having to go to a Windows machine, but it was not perfect as it lacked HTTPS support.

CrossOver packaged for both Linux and Mac the browser and it supports HTTPS. Check it out at:

Note that this package does NOT play flash files. In order to get flash pages to play you just have to go to and install the flash player as if you were running windows.

chrome ubuntu

Install Google Chrome on Linux using wine

Google launched a few days ago a new web browser, that has some interesting features which might give FF 3, Safari and IE8 a run for their money. Although not yet for Linux, i’ve put together (following some ubuntuforms posts) a detailed tutorial to help you Install Google Chrome on Linux using wine >= 1.1.3.

1. install wine (follow the official instructions

2. make sure wine >= 1.1.3 is installed by entering the following in the terminal
wine –version

3. Download winetricks and install it
wget cp winetricks /usr/sbin

4. Install some dependencies for Chrome (Flash is not mandatory but will allow you to play youtube videos :-))winetricks riched20 riched30 flash
4.1 Install allfonts (this is optional)
winetricks allfonts

5. Download the Chrome installer

6. Install Chrome (just follow the onscreen instructions and make sure you create a desktop icon)
wine chrome_installer.exe

7. After the install is finished, you won’t be able to use Chrome as it needs a bit more hacking. Just close it and opent with your favorite editor the Google Chrome.desktop icon created on your Desktop. Make sure your add “–new-http –in-process-plugins”, without the quotes at the end of this line:

Exec=env WINEPREFIX=”/home/mimir/.wine” wine “C:\windows\profiles\mimir\Local Settings\Application Data\Google\Chrome\Application\chrome.exe”

to make it look like this:
Exec=env WINEPREFIX=”/home/mimir/.wine” wine “C:\windows\profiles\mimir\Local Settings\Application Data\Google\Chrome\Application\chrome.exe” –new-http –in-process-plugins

Save the file!

NOTE: mimir is my username, you will have something like /home/yourusername/.wine

8. Go to desktop and start Google Chrome


Checking some youtube videos 🙂


HTTPS Note: it seems that the https is not working due to the fact that wine is missing TSL/SSL features, the dlls that should handle that being just stubs at the moment. If you have any information regarding this, please share.

Wine appdb page for Chrome
Install Google Chrome On Mac OS X using wine

linux ubuntu

Install Adobe Flash Player 10 on Ubuntu 64bit

UPDATE: Native Adobe 64bit Flash Player has been released.
I have put together a small tutorial on how to install the native flash player 10 64bit plugin for linux.

Adobe recently launched Flash Player 10 Beta codenamed “Astro”. Great news, as it supports a bunch of new features, but as usually nothing yet for the 64 bit users. I’m going to show you how to get flash player 10 running on Ubuntu 64bit using nspluginwrapper. Before doing anything in the terminal make sure you close Firefox else you might not get the expected result.

1. Make sure you don’t have any other flash plugin installed on your system:
sudo apt-get remove -y –purge flashplugin-nonfree gnash gnash-common mozilla-plugin-gnash swfdec-mozilla libflashsupport nspluginwrapper

1.1 To be sure we don’t have any other old flash libs let’s cleanup the folders where it usually resides:
sudo rm -f /usr/lib/mozilla/plugins/*flash*
sudo rm -f ~/.mozilla/plugins/*flash*
sudo rm -f /usr/lib/firefox/plugins/*flash*
sudo rm -rfd /usr/lib/nspluginwrapper

2. Install ia32-libs and latest nspluginwrapper
sudo apt-get install ia32-libs nspluginwrapper

3. Download the latest flash player from Adobe Labs and extract it:
cd ~
tar zxvf flashplayer10_install_linux_051508.tar.gz
sudo cp install_flash_player_10_linux/ /usr/lib/mozilla/plugins/
rm -rf ~/install_flash_player_10_linux/

4. Use nspluginwrapper to install the plugin and link it to firefox
sudo nspluginwrapper -i /usr/lib/mozilla/plugins/
sudo ln -sf /usr/lib/nspluginwrapper/plugins/ /usr/lib/mozilla/plugins/
sudo ln -sf /usr/lib/nspluginwrapper/plugins/ /usr/lib/firefox-addons/plugins/

EDIT: here is how to install flash player 10 on 64bit systems for Liferea and Vuze

sudo ln -sf /usr/lib/nspluginwrapper/plugins/ /usr/lib/xulrunner-addons/plugins/

5. Start Firefox and type in the address bar about:plugins and press enter. You should get a result similar to this one:


6. Go to and test the new features.

EDIT: if you are lazy by nature, you can just grab install_flash_player_10_ubuntu64bit, a small script i put together. Make it executable (chmox +x install_flash_player_10_ubuntu64bit) and run it in terminal. It will kill ask you for root password the kill any Firefox you might have running and install the flash player 10

NOTE: for the new and improved script follow this URL: