Category Archives: Linux

How to modify a timestamp of a file

A file can have two timestamp attributes: accessed and modified. You can set them individually, or both to the same time. If the  accessed and modified time should be the same: $ touch -a -m -t 201512180130.09 fileName.ext Where: -a = accessed -m = modified -t = timestamp – use [[CC]YY]MMDDhhmm[.ss] time format If you …

Continue reading

HOWTO batch resize pictures

Resize and apply prefix: $ for file in *.jpg; do convert $file -resize 25% re_$file; done Add suffix _re, place the files in parent folder $ convert *.jpg -resize 80% -set filename:f ‘%t’ ../’%[filename:f]_re.jpg’ Will place converted files in the folder above. The option -set filename:f ‘%t’ sets the property filename:f to the current filename …

Continue reading

[Guide] CyanogenMod 13 on Xiaomi Mi 4 (cancro)

This guide helps you upgrade your Xiaomi Mi 4 (and Mi 3, which are both codenamed by CyanogenMod as “cancro”) from the stock ROM or CyanogenMod 12 (based on Android “Lollipop” 5.0.x) to CyanogenMod 13 (based on Android “Marshmallow” 6.0.x) without data loss. A and B are preparatory measures,  before the actual installation process can …

Continue reading

Create a poster with pdfposter

Creating a poster of a large format pdf input file split into smaller output files with overlap.

Continue reading

transmission-gtk | Failed to register: Timeout was reached

Transmission BitTorrent client fails to start When Transmission crashes (e.g. forced quit after a “not responding”), it may refuse to start with the following error message: $ transmission-gtk Failed to register: Timeout was reached The solution is to delete the settings file: $ rm ~/.config/transmission/settings.json If this doesn’t resolve the problem, remove transmission’s whole config …

Continue reading

HowTo install the Brother DCP-7065DN in a Linux network environment & Troubleshooting

Guide to install a Brother DCP-7065DN Printer and Scanner in a Linux network environment.
Troubleshooting: “receiving data”, but not printing. printer not discovered.

Continue reading

Disarm Flash Cookies aka LSO’s (Local Shared objects)

Better Privacy is a great plugin for firefox that lets you manage LSO’s. However, if you do not want your browser to store LSO’s on your local drive in the first place, you can follow the below steps: Change permissions of folder #SharedObjects Congratulations, you have just made the flash player’s LSO folder non writeable …

Continue reading

/dev/dvd vs /dev/sr0

Today, I encountered an error I haven’t experienced before when wanting to burn a DVD. Since I knew the file was existing, something with the dvd device might be wrong. Investigating the problem yields: Allright, the disk in the drive is indeed recognized. But guess what: Now you have to access it directly via its …

Continue reading

Prevent application to be shown in panel/taskbar of openbox

For programs that are running all the time, it is convenient to prevent them from being displayed in the panel. Fortunately, openbox includes all we need to accomplish this goal in ~/.config/openbox/rc.conf, where you define the desired program in the applications section (at the end of the file). Among many other options (which are explained …

Continue reading

GLib-Warning & GConf Error when launching emacs

When launching emacs from terminal in my openbox system, I got the following warning message (emacs started all the same):   The solution to this problem was the following: I changed the .xinitrc from to Specifying to launch dbus turned out to be the solution.    

Continue reading