Video Thumbnail in Dolphin – Fedora 23/24

After a long, long, long time, finally I can view my videos thumbnails in Dolphin.

I reported a Bug in RPMFusion Bugzilla back in Januay 2016 and earlier this morning I got the surpise that it was Resolved!

I want to thank Leigh Scott for getting this done. I’m really happy about it, since I have lots and lots of videos and being able to look at a small thumbnail is really helpful.

So, to get the package installed, all you need to do is:

$sudo dnf install ffmpegthumbs

After that, just need to enable it in Dolphin by going to Preferences > Configure Dolphin > General > Previews > Video files (ffmpegthumbs) and that’s it!

Thanks again for making this happen.

Check your internet speed from command line with speedtest_cli

I found this the other day and couldn’t resist.

You can test your internet speed from command line using the python script “speedtest_cli”.

Here’s how to get it:

1. You can install it with pip:

pip install speedtest-cli

or use pip from github:

pip install git+https://github.com/sivel/speedtest-cli.git

2. Clone the whole code from github and install it with python:

git clone https://github.com/sivel/speedtest-cli.git
python speedtest-cli/setup.py install

3. Or just download the script and execute it.

wget -O speedtest-cli https://raw.github.com/sivel/speedtest-cli/master/speedtest_cli.py
chmod +x speedtest-cli

How to use it

From the command line:

$./speedtest_cli.py

Typical outout will be:

$ ./speedtest-cli 
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from XXX (XXX.XXX.XXX.XXX)...
Selecting best server based on latency...
Hosted by XXX (XXX) [2.12 km]: 92.277 ms
Testing download speed........................................
Download: 2.73 Mbits/s
Testing upload speed..................................................
Upload: 0.88 Mbits/s

You can even share your results by getting an image of it:

$ ./speedtest-cli --share

Which will generate a png file you can share.

Make sure to check all the option by using:

$ ./speedtest-cli --help

Install Firefox 14 in Debian

We need to enable the Ubuntuzilla Project repository for the latest Mozilla Firefox/Thunderbird/SeaMonkey build.

Add to our /etc/apt/sources.list:

deb http://downloads.sourceforge.net/project/ubuntuzilla/mozilla/apt all main

Then we need to add the GPG key:

apt-key adv --recv-keys --keyserver keyserver.ubuntu.com C1289A29

Then:

#apt-get update
#apt-get remove iceweasel ; apt-get install firefox-mozilla-build

This will remove Iceweasel and install the latest Firefox build.

Hope this works for you 🙂

VNC Server – Fedora 16

This are the basic steps I use to create a VNC Server configuration in my Fedora 16.

1. Install VNC Server (as root):

# yum -y install tigervnc-server

2. Create a password for our VNC Server (this has to be done as a regular user, not as root):

# vncpasswd

3. Let’s create a start configuration that we can later edit:

# vncserver :1

4. Now that we have just created a basic configuration, let stop our running server:

# vncserver -kill :1

5. Let’s edit our VNC configuration file:

# vi ~/.vnc/xstartup

Let’s comment the actual last line:

#twm &

Now, we need to add a line at the end of the file:

exec gnome-session & # This is for using Gnome

6. Now we can start up again our VNC Server:

# vncserver :1 -geometry 800x600 -depth 24

You can change the resolution at your convenience.

7. Now it’s safe to test and use our running VNC Server:

If you need any more info please refer to this article:

Install VNC Server

Install Skype in Fedora 14 (64 bits)

Since Skype doesn’t provide a 64 bits version, we can use the 32 bits version if we are using a Fedora of 64 bits.

1. Install the i686 pre-requisite packages.

yum -y install pulseaudio-libs.i686 pulseaudio-libs-devel.i686 alsa-plugins-pulseaudio.i686 libv4l.i686   libXv.i686 libXv-devel.i686 libXScrnSaver.i686  libXScrnSaver-devel.i686 dbus-qt.i686 dbus-qt-devel.i686 qt.i686 qt-devel.i686

2. Download Skype i586 (fedora 10+)

wget http://download.skype.com/linux/skype-2.1.0.81-fc10.i586.rpm

3. Install Skype

yum -y localinstall skype-2.1.0.81-fc10.i586.rpm --nogpgcheck

We can now run our new Skype Installation.

Enable Java plugin in Firefox (Fedora)

To enable the Java plugin in Firefox under our Fedora 64 or 32 bits, this is what we need to do, a simple symbolic link:

64 bits:
ln -s /usr/java/latest/jre/lib/amd64/libnpjp2.so /usr/lib64/mozilla/plugins
32 bits:
ln -s /usr/java/latest/jre/lib/i386/libnpjp2.so /usr/lib/mozilla/plugins/

This is assuming that we have properly installed JDK first. If you see, we are pointing to the latest java instalation, this will be usefull when we update our java version.

We can check if everything worked out fine over here:

Mozilla Plugin Check

If everything is working correctly, we should see an output like this:

Mozilla Plugins Checker

Hope this works for you.