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.

Fix Video Thumbnails in Dolphin 15.08.1 (KDE 5.17.0) in Fedora 23

When updating KDE in my Fedora 23, I lost the video previews in Dolphin. Even after installing ffmpegthumbs did not work.

So here is the solution:

sudo cp /usr/share/kde4/services/ffmpegthumbs.desktop /usr/share/kservices5/
sudo cp /usr/lib64/kde4/ffmpegthumbs.so /usr/lib64/qt5/plugins/

You need to have installed ffmpegthumbs for this to work, to install it:

sudo dnf install ffmpegthumbs

And you need to enable the video preview again in Dolphin.

zsh with oh-my-zsh

Zsh is a shell designed for interactive use.

To install it in Fedora:

yum install zsh

Once installed, you can run it with:

zsh

This will create a new file: ~/.zshrc with all the defaults configurations.

oh-my-zsh

oh-my-zsh it’s a community-driven framework for managing your zsh configuration. Includes a bunch of plugins and themes.

To install it:

curl -L http://install.ohmyz.sh | bash

To set zsh as the default shell:

chsh -s /bin/zsh

And restart your terminal.

And for sharing or synchronizing history between Zsh and Bash:

$ cat ~/.histfile >> ~/.bash_history
$ youreditor ~/.zshrc
# Here change your config to:
HISTFILE=~/.bash_history
$ rm ~/.histfile

For themes and plugins for oh-my-zsh:

Themes: https://github.com/robbyrussell/oh-my-zsh/tree/master/themes
Plugins: https://github.com/robbyrussell/oh-my-zsh/tree/master/plugins

And that’s it.

Enjoy your zsh.

FUDCon Managua 2014

Well, FUDCon Managua is now over. It was awesome!!!

There were many interesting talks by Fedora Contributors and Users. I was able to be in a few of them and meet really interesting and kind people.

Some of the talks I attended were: oVirt, Nagios, Flask, Virtualization with KVM, OpenStack, SELinux, Icaro, among others.

Thanks to the people that gave time and energy into this, we really appreciate it.

I will be posting more information later, with URL to the talks when they are available online.

Now, some pictures I was able to take during the event.

DSC04151

DSC04161

DSC04165

DSC04177

DSC04246

DSC04247

DSC04255

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 Oracle JDK 6 update 35 in Debian Sid

Oracle asked many linux distros to remove their JDK package from their repositories, the latest version was 6.0u26, now the latest is the update 35.

In order to get in installed in Debian Sid, some easy steps must be followed.

1. Download the latest JDK from Oracle Website
jdk-6u35-linux-x64.bin

2. Install debian package java-package

#aptitude install java-package

3. Let run the command to get our downloaded bin file converted into a debian package (this has to be made as a normal user, not root:

$fakeroot make-jpkg jdk-6u35-linux-x64.bin

4. Let’s install our new debian package:

#dpkg -i oracle-j2sdk1.6_1.6.0+update35_amd64.deb 

5. Now let’s update our alternatives:

#update-java-alternatives -s j2sdk1.6-oracle

6. Let’s make sure that we now have our Oracle JDK:

$java -version

This should be our output:

$java -version
java version "1.6.0_35"
Java(TM) SE Runtime Environment (build 1.6.0_35-b10)
Java HotSpot(TM) 64-Bit Server VM (build 20.10-b01, mixed mode)

If we get this, then we got it right.

Hope that works for you.