How to setup DDclient on Raspberry Pi for use with Namecheap DynDNS

raspberry pi logoOnce we have clarified in this article how to set up a the DynDNS (Dynamic DNS) service for your domains rented at Namecheap.com, we will have to focus on how keep the IP/DNS records for each DynDNS domain up to date.
In another article I have explained how to do this using a Fritzbox. As for me, I have not only my Fritzbox 24/7 connected to the internet, but also my Raspberry Pi. So I will show you how to setup your Raspberry Pi to use it as a DynDNS client for use with Namecheap.
How to use Namecheap DynDNS service with ddclient on the Raspberry
Log into your Raspberry Pi (by ssh for example) or open a terminal window if you are working directly on Pi. In the first step we have to install ddclient, a DynDNS software, […]

How to use Ubuntu software center on Linux Mint

Ubuntu Software Center StartbildschirmLinux Mint itself is well and good, but the included software management is admittedly not quite my thing. I personally think it’s quite sluggish (long loading times) and also eye candy looks different. Concerning the software center Ubuntu has done a far better job. And that’s why I want to show you today, how to get Ubuntu’s software center running up on Linux Mint.
In the first step the software center must be installed with the following shell command.

sudo apt-get install software-center

Then a python script must be created. Therefore you copy an existing script and edit it. See the following shell commands to get to know what exactly is going on.

sudo cp -r /usr/share/software-center/softwarecenter/distro/Ubuntu.py /usr/share/software-center/softwarecenter/distro/LinuxMint.py

In this script, you need to edit some lines. So replace

class Ubuntu(Debian)

with

class LinuxMint(Debian)

For this purpose, just open the file with the following command:

gksudo gedit […]

Bash script doesn’t work on Linux Mint

fromdos_tofrodosToday I wanted to run (once again) a bash script on Linux Mint. (I had downloaded it from Pastebin.com). But unfortunately nothing happened. Not even an error message. Whereas solution was quite simple. The script was apparently stored with line breaks in Windows format (r), so the bash interpreter couldn’t parse it correctly.
Quick and easy solution was promised by fromdos. To repair the script, you just have to call the following command:

fromdos myScriptFile.sh

Should you have fromdos not yet installed, you can catch up by simply typing the following into a shell window.

sudo apt-get install tofrodos

And now, have fun fix you files! ;)

How to edit Linux Mint start menu

Gnome Menu vs. Linux Mint MenüMeanwhile, I have used Linux Mint for a few weeks and I’m in between, of course, repeatly encountered one or another obstacle. One of them is for example the fact that some programs that are installed by the shell, are only visible to the the Gnome menu, but aren’t showing up in Linux Mint start menu. How to fix this, I want to show you today. (Who does not know the difference between Linux Mint start menu and the Gnome menu should simply click once on the little picture above-left of the article.)
The solution for the problem is a little program called “alacarte”, which you can install by Linux Mint’s software management. After installation, you can freely manage (delete, add and categorize) the entries in the Linux Mint start menu.