How to convert RPM software packages to Debian (.deb) using alien

Maybe you have had this problem: you are using Debian or Ubuntu Linux and a software package you would like to install is only available in RPM format. The solution is the handy tool called alien, which converts .rpm files to .deb files. Install alien: apt-get install alien Converting an rpm package to Debian format: ... Read more

Solution for: fatal: open database /var/lib/postfix/smtpd_scache.db: File exists

If your mail server stops working (neither incoming nor outgoing email works) and you find the following error message in the mail.log file: fatal: open database /var/lib/postfix/smtpd_scache.db: File exists then the smtpd_scache.db might got corrupted. Postfix will recreate this file if it does not exist. So it can be removed to solve the issue: /etc/init.d/postfix ... Read more

Solution for dovecot error: /path/ is no longer mounted. If this is intentional, remove it with doveadm mount

Dovecot is watching the whole server filesystem for modifications and removed or added sub filesystems. If you get errors similar to this one on your server: Aug 30 09:10:23 server1 dovecot: master: Warning: /var/www/clients/client1/web1/log is no longer mounted. If this is intentional, remove it with doveadm mount  (the directory path may vary), then you can ... Read more

Apache mod_security settings for WordPress and ModX

If you use the apache mod_security module on your apache server, you might encounter wrong 403 errors for several URL's of the cms systems. Here are some exception rules to avoid that: For WordPress Blogs <locationmatch "/wp-admin/admin-ajax.php"> SecRuleRemoveById 300013 SecRuleRemoveById 300015 SecRuleRemoveById 300016 SecRuleRemoveById 300017 </locationmatch> <locationmatch "/wp-admin/page.php"> SecRuleRemoveById 300013 SecRuleRemoveById 300015 SecRuleRemoveById 300016 SecRuleRemoveById ... Read more

How to exclude mouse pointer by default for screenshots made with gnome-screenshot on Linux

Gnome-Screenshot is the default tool to take screenshots on Ubuntu and Mint and brings a great deal of functionality. While it also has the ability to exclude the mouse pointer for screenshots if you use the graphical interface, you won't find this feature if you want to take them from the command line - the ... Read more

Using document templates in Linux

The usual thing you find when you right-click your desktop to create a new document is the option to create an empty text document. This selection can be widened however by using the Templates folder in your home folder. Any document that is put in there will be selectable; this is also possible with pictures ... Read more

Useful apt commands (Ubuntu, Debian, Mint etc.)

Terminal commands for package management can be an essential thing if you come across an unexpected error or are just interested in how things work. Here are a few of the more important ones:   apt-cache search --names-only --installed Followed by a pattern, the above command searches every package in its cache for it (you ... Read more

Remove left dependencies after application removal on Ubuntu/Mint Linux

Most of the people using Ubuntu or Mint will be using Synaptic Package Manager or Ubuntu Software Center to manage the applications installed on their systems (the former because of its light interface and ability to queue a whole lot of actions, the latter because of the user friendly interface). But while the two do ... Read more

Guake – Dropdown-Terminal for Gnome

Guake saves you the time of managing your terminal windows with circumstantial key-combinations and mouse-clicks by providing a configurable dropdown-terminal which you can call with F12 by default. Just like with usual terminals, it is possible to create new tabs, but also to edit the opacity, the size, colors and everything you need: Guake is ... Read more