Monthly Archives: April 2015

Linux Mint 17.1: Navit (Car Navigation) Installation

I have been using Navit for car navigation around six years now. It is a very useful piece of software if you are like me (don’t have a normal navigation system hehe..). I have been traveling around Europe using this program. My first Navit setup ran on Pentium 3 Laptop. It was a little bit slow, but it worked. My second Navit run on Intel i3 Laptop with Debian Squeeze. It worked very good. Now I use the same Laptop with Linux Mint 17.1. My hardware consists of a Laptop and a Navilock Bluetooth BT-413 GPS receiver. And here is my software installation:

1. Install Navit:

$ sudo apt-get install navit
$ sudo apt-get install maptool

2. Install gpsd:

$ sudo apt-get install gpsd

3. Configure Bluetooth Device.

3.1. Here is my “/etc/bluetooth/rfcomm.conf”:

#
# RFCOMM configuration file.
#

rfcomm0 {
    # Automatically bind the device at startup
    bind yes;

    # Bluetooth address of the device
    device 00:09:DD:10:37:7A;

    # RFCOMM channel for the connection
    channel    1;

    # Description of the connection
    comment "BT-GPS";
}

3.2. Here is my “/etc/rc.local”:

#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

# BT GPS Maus mit rfcomm0 binden
/usr/bin/rfcomm bind 0

exit 0

4. Download map (maps.navit-project.org):

planetextractor5. Configure navit.xml. Change the Map filename in xml file with the one you have downloaded. Mine is “osm_bbox_-5.1,45.5,10.9,53.6.bin”.

<map type="binfile" enabled="yes" data="~/.navit/maps/osm_bbox_-5.1,45.5,10.9,53.6.bin"/>

6. I found out that voice produced by Mbrola sounds better than directly from Espeak. Here is how to install Mbrola:

$ sudo apt-get install mbrola
$ sudo apt-get install mbrola-de7

7. Set the speech in navit.xml. Here is my setting:

<speech type="cmdline" data="espeak -vmb-de7 -s130 -a150 '%s' &amp;"/>

8. Start Navit:

navit29. Happy driving!

Linux Mint LMDE Mate: Missing Menu Button

I have experienced disappearing Mate Menu Button. I could solve the problem using solution on this page.

1. Press Alt-F2. And you will get following window.

run2. Type in following command, click run and you will get a terminal console.

$ mate-terminal

3. Type in following command and press enter.

$ mate-panel --reset

That’s it. Enjoy!

Linux Mint LMDE: Manually Create 70-persistent-net.rules

I have installed Linux Mint LMDE on a PC with 2 LAN ports and a WLAN card. And I realized that there is no file “70-persistent-net.rules” in directory “/etc/udev/rules.d”. This file is important for keeping the same name of network adapters across boots. After googling for a while, I have found the solution on this page.

Basically what I have done was executing this command:

$ sudo udevadm trigger --action=add

Thats it!