Firefox ignores Thunar as default File Manager

Symptom: – Your default File Manager is e.g. Thunar but Firefox uses Nautilus when saving files which is driving you bananas. Solution (for XFCE): 1. Firstly make sure that your default Applilcation for that particular mime type (in this case it is the ‘inode/directory’ mime type) is actually setup properly. Open the “Preferred Applications” applet […]

Continue reading


XWindow: How to find my window PID… (command line arguments/working directory)?

Summary: To find the PID of a running UNIX/XWindow process: $ xprop _NET_WM_PID If that fails: $ ps -ww -fp <PID> $ pwdx <PID> Detailed explanation: So How can you find the PID (not Window ID!) of a running UNIX/XWindow process? Method 1 (simple): $ xprop _NET_WM_PID … and then click on window of interest […]

Continue reading


The ‘ls’ command – how to show seconds?

Being able to see seconds in the UNIX ‘ls’ command is particularly useful for comparing/viewing recently created files, because by default ‘ls -l’ will simply show “Today” in the date/time field for such files. Here’s how you can make ‘ls’ show also the seconds (and not only seconds but also microseconds, for that matter… oh […]

Continue reading


error: rpmdb: … DB_RUNRECOVERY Fatal error, run database recovery

Getting DB_RUNRECOVERY error from yum/rpm, what can you do to fix it? The error messages look something like this: $ sudo yum install google-chrome-stable error: rpmdb: Thread/process 9662/3077695168 failed: Thread died in Berkeley DB library error: db4 error(-30974) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery error: cannot open Packages index using db4 – (-30974) […]

Continue reading