Find files bigger than a specific file size

To achieve this, we can use the command find with its -size flag.


To find files larger than 10MB:

find . -type f -size +10M

If you want to find only in the current directory:

find . -maxdepth 1 -type f -size +10M

Keep SSH session alive

To avoid having your SSH session timeout due to inactivity, you can tweak your server and client settings.

Server side

Edit the fie: /etc/ssh/sshd_config
Set the values:

ClientAliveInterval 120
ClientAliveCountMax 720

Client Side

Edit the file: ~/.ssh/config
Set the value:

ServerAliveInterval 120

That should do the trick!

Cron jobs

Cron jobs are perfect for executing a specific task or script at a scheduled time or different time periods.

Cron jobs can be run hourly, daily, weekly and monthly.

Cron configuration file is located:


This file should look like this:

# Example of job definition:
# .---------------- minute (0 - 59)
# |  .------------- hour (0 - 23)
# |  |  .---------- day of month (1 - 31)
# |  |  |  .------- month (1 - 12) OR jan,feb,mar,apr ...
# |  |  |  |  .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat
# |  |  |  |  |
# *  *  *  *  * user-name command to be executed

Execute a job every X minutes

*/5 * * * * /path/to/script/

Use */10 for every 10 minutes, */15 for every 15 minutes… and so forth..

Execute a job every X hours

0 */5 * * * /path/to/script/

Use */2 for every 2 hours, */3 for every 3 minutes… and so forth..

Execute a job every Xth day of the week

Lets assume you want to execute a cron job every Wednesday at midnight:

0 0 * * 3 /path/to/script/


0 0 * * Wed /path/to/script/

You can use the corresponding number or the three letters for each weekday:


Please note that numbers starts with 0 for Monday, and not 1.

Execute a job every X months

You need to specify the what specific month or months you want to job to be executed. Like January and September:

0 0 1 1,9 * /path/to/script/


0 0 1 Jan,Sep * /path/to/script/

If you only want January and September, you should use a comma. If you want the job to be executed starting January and ending September, you need to use this format: 1-9.

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/ /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:


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


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 | 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:
$ rm ~/.histfile

For themes and plugins for oh-my-zsh:


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.








Asus G74SX-DH71 Keyboard lights Function Keys in KDE (Debian and Fedora)

I was trying for a while to make my Function Keys (volume, keyboard lights, etc) work in KDE 4.x, and I was finely able to do it with a *funny* workaround. It turns out that the Fn keys works just fine in Gnome, so I dig a little bit and found that the responsible of making this work is a small daemon called gnome-settings-daemon… So it’s just a matter of starting up this daemon in KDE and that’s it.

So, for doing that I just needed to add the next bash file:

$vi ~/.kde/Autostart/

and add this line:

For Debian:


For Fedora:


we save the file and then add exec permissions

$chmod u+x ~/.kde/Autostart/

Now you need to logout and login again and that’s it.

For getting the screen brightness function keys working properly, we need to edit our xorg.conf file:

#vi /etc/X11/xorg.conf

Under the section “Device” we need to add:

Option "RegistryDwords" "EnableBrightnessControl=1"

So, at the end, our “Device” section should look similar to:

Section "Device"                                                                                                                     
    Identifier  "Video Card"                                                                                                         
    Driver      "nvidia"                                                                                                             
    Option "RegistryDwords" "EnableBrightnessControl=1"                                                                              

You need to reboot in order to get this working.

Hope that works for you. 🙂