Preview sound files in Gnome

Nautilus, the file manager for the GNOME desktop has a cool feature of playing music whenever the mouse is over an icon representing an audio file. To enable sound preview, you will have to install GStreamer Ugly Plug-ins and turn on Preview sound files in Nautilus.

Linux pranks

How to popup a window on remote Linux desktop or make remote Linux to speak. In this post I will show you harmless tricks that can be really funny. Among helping, fixing and upgrading Linux systems there should be time for joking. So sit back, relax and open your terminals.

Ad block

This post speaks about blocking ad sites without installing any kind of software (net filter, local proxy, browser add-ons …). Browsing without ads should be faster because browser has less content to render. It is can be used on Windows, Mac OS X, BeOS, Netware and so on. The trick is to define ad sites in the hosts file with localhost IP address. This way, browser will not be able to resolve real IP address and ad will not be loaded.

Select windows when the mouse moves over

After installation of Fedora Core 12, I couldn’t find option “focus window on mouse over”. In previous Fedora, there was Window Preferences in GNOME with following options: Window Selection, Titlebar Action and Movement Key. The solution was to install control-center-extra package.

GNOME – always on top

How to permanently set application window to be always on top in GNOME? Yes, you can right click on window header in GNOME, and check always on top. Unfortunately, after closing window, this setting will not remain. In three steps, I will show how to set calculator (gcalctool) to stay permanently above …

The rpm command

rpm is a powerful Package Manager, which can be used to build, install, query, verify, update, and erase individual software packages. This is the first sentence in the long rpm manual that lacks examples. On the other hand, I will try to write nothing more but the rpm examples.

The find command

The “find” command is very useful. It can search the entire file system for one or more files that you specify to look for. With the “find” command, not only are you able to locate files, but you can also perform actions on the files it finds like move, delete, rename …

How to find files in Linux

Files in Linux can be searched with “find” and “locate” command. “Find” exists very long, while “locate” is a new Linux feature. The main difference between them is the way they work – “locate” uses database to search files, while “find” searches for files in a directory hierarchy.

Tmpwatch – recursively delete files

If you are a Linux administrator, then you certainly need tool to delete old files – especially old backup files or /tmp directory. Here comes tmpwatch. With parameter time and path, tmpwatch will recursively delete all files older then a given time. But if you use NetBackup, then you might have a problem with deleting files.

Fedora VPN client and routing

This post is second part of “Configuring VPN client”. After completion steps in previous post, VPN will work with starting pppd and manually adding route. With a few PHP lines and configuration of ip-up.local file, VPN connection can be automated and reduced to only one script.

Yum install mplayer in Fedora

After upgrade to the Fedora Core 10 and Fedora Core 12, I was surprised when ‘yum install mplayer’ didn’t find any package. I’m sure yum worked in Fedora Core 9 with installed Livna repository. I checked my Livna configuration once again, but there was no luck with mplayer. Something has definitely changed in the meantime.