Posts from 2009-11

Update gedit LaTeX Plugin

This post describes how I updated the gedit LaTeX plugin after I had it installed in an older version previously.

Backup your tools.xml file (definitions of tools to use with the plugin) etc.

cd ~/.gnome2/gedit/plugins
rm -rf GeditLaTeXPlugin
rm -rf GeditLaTeXPlugin.gedit-plugin
cd ~/Downloads/
rm -rf gedit-latex
svn co https://gedit-latex.svn.sourceforge.net/svnroot/gedit-latex/GeditLaTeXPlugin/trunk gedit-latex
cd ~/Downloads/gedit-latex/
chmod +x install.sh
./install.sh

To support the...

Read on

Convert ape audio files to mp3 on the terminal

http://ubuntuforums.org/showthread.php?p=6879960#post6879960

Requirements: Having the executables mac, lame and id3v2 installed.
I haven't done it myself yet, but this seems to be a nice and quick way to do a conversion and set the ID3 tags in the newly created MP3:

#!/bin/bash
echo "Artist name?"
a= <span...

Read on

Split Large Monkey's Audio Files with CUE Sheets into Single Files

Installation:

sudo apt-get install cuetools shntool flac wavpack

Run:

cuebreakpoints sample.cue | shnsplit -o flac sample.flac

In this example, a flac file called sample.flac is split according to the break-points contained in sample.cue and the results are output in the flac format.

To split a monkey’s audio file (.ape) by cue...

Read on

Get Monkey's audio (.ape file format) binaries on Ubuntu amd64 Architecture

http://ubuntu-ky.ubuntuforums.org/showthread.php?p=7990721#7

sudo -i
echo "deb http://ppa.launchpad.net/g-christ/ppa/ubuntu jaunty main"  >> /etc/apt/sources.list
exit
gpg --recv-keys FB34808D7ED779F6
gpg --export --armor FB34808D7ED779F6 | sudo apt-key add -
sudo apt-get update
sudo apt-get install mac
...

Read on

Install VirtualBox Non-OpenSource

http://www.virtualbox.org/wiki/Linux_Downloads

sudo -i
echo "deb http://download.virtualbox.org/virtualbox/debian karmic non-free"  >> /etc/apt/sources.list
wget -q http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc -O- | sudo apt-key add -
apt-get update
apt-get install virtualbox-3.0
...

Read on

Problems with Grub after Reinstallation

Grub wouldn't boot after a reinstallation on my system.

Workaround to be able to boot: http://ubuntuforums.org/showthread.php?p=8292225#post8292225

This fix worked: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/391044 (comment 14)

sudo gedit /usr/lib/grub/grub-mkconfig_lib

Remove the lines 170 - 175 in the file grub-mkconfig_lib:

# If there's a filesystem UUID that GRUB is capable of identifying,...

Read on

QtiPlot on Ubuntu

newer debian build

Get the debian build (that is newer than the version shipped with Ubuntu 9.10):

sudo apt-get install liborigin2-1
cd ~/Downloads
wget http://ftp.de.debian.org/debian/pool/main/q/qtiplot/qtiplot_0.9.7.8-1_amd64.deb
sudo dpkg -i --force-depends qtiplot_0.9.7.8-1_amd64.deb

or for i386 platform:

sudo apt-get install liborigin2-1
cd ~/Downloads
wget http://ftp.de.debian.org/debian/pool/main/q/qtiplot/qtiplot_0.9.7.8-1_i386.deb
sudo dpkg -i --force-depends qtiplot_0.9.7.8-1_i386.deb

change the dependencies of the .deb file

you might...

Read on

Recover Deleted Files on an ext3 File System

Tools

  • unrm
  • ext3grep
  • foremost

Resources

...

Read on

Get nonfree Flash Player And Replace swfdec

sudo aptitude remove swfdec-mozilla
sudo aptitude install flashplugin-nonfree
...

Read on

Convert a CUE / BIN CD Image to ISO Format

http://ubuntuforums.org/showthread.php?t=239407 and http://he.fi/bchunk/

A search for tools that can do the conversion

apt-cache search convert cue bin iso

reveals several candidates to fulfill this task:

bchunk - CD image format conversion from bin/cue to iso/cdr
mdf2iso - A simple utility to convert mdf to iso /...

Read on

Install Adobe Reader and Flash Plugin for Firefox on Ubuntu (restricted extras)

http://ubuntuguide.org/wiki/Ubuntu:Karmic#Restricted_Extras

The Ubuntu Restricted Extras will install Adobe Flash Player, Java Runtime Environment (JRE) (sun-java-jre) with Firefox plug-ins (icedtea), a set of Microsoft Fonts (msttcorefonts), multimedia codecs (w32codecs or w64codecs), mp3-compatible encoding (lame), FFMpeg, extra Gstreamer codecs, the package for DVD decoding (libdvdread4), the unrar archiver, odbc, and cabextract....

Read on

IPv6

This blog post has grown to large. Please refer to the more detailed posts on IPv6 tagged with ipv6:

https://blog.philippklaus.de/tag/ipv6/

DNS entries for IPv6 ready web sites

http://en.wikipedia.org/wiki/List_of_DNS_record_types

  • A record: normal domain to ip address resolution
  • MX record: email server lookup, must resolve to a server address that is resolved to an IP...

Read on

Uninstall Mathematica on Ubuntu Linux

Basically, you have to:

  • delete the folders /usr/local/Wolfram and /usr/share/Mathematica.
  • remove a number of links in /usr/local/bin: mathematica mcc Mathematica math MathKernel.
  • in your home directory you can remove the folder ~/.Mathematica

The following commands do that all:

sudo rm -rf /usr/local/Wolfram
sudo rm -rf /usr/share/Mathematica
cd /usr/local/bin
sudo rm mathematica mcc Mathematica math MathKernel
rm -rf...

Read on

Defend Your Network From Slow Scanning

http://www.builderau.com.au/strategy/businessmanagement/soa/Defend-your-network-from-slow-scanning/0,339028271,339272421,00.htm

...

Read on

Slow Network Due to DNS Problems

Let's say you network is kinda slow and you are sure that there is nothing wrong with your hardware (broken cables, bad switches etc.). The first thing you should have a look at are your DNS servers. If the primary one is unreachable and the secondary is, you network works...

Read on