Nov 292009
 

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 new “embedded preview mode” you must install python poppler:

sudo aptitude install python-poppler
VN:F [1.9.22_1171]
Rating: 10.0/10 (1 vote cast)
Nov 282009
 

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= read a
echo "Name of album?"
A= read A
echo "genre?"
g= read g
echo "year?"
y= read y
for f in *.ape; do mac "$f" "${f%.ape}.wav" -d; done
mkdir "$a"'-'"$A"
for f in *.wav; do lame --vbr-new -V2 --replaygain-accurate -q 2 "$f" ./"$a"'-'"$A"/"${f%.wav}.mp3"; done
rm *.wav
cd ./"$a"'-'"$A"
for f in *.mp3; do id3v2 "$f" -t "${f%.mp3}" -a "$a" -A "$A" -y "$y" -g "$g"; done

example usage:

Nov 252009
 

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 file and output the results in the flac format:

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

resources

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
Nov 232009
 

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
VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
Nov 202009
 

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
VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
Nov 172009
 

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, use it;
  # otherwise set root as per value in device.map.
  echo "set root=`${grub_probe} --device ${device} --target=drive`"
  if fs_uuid="`${grub_probe} --device ${device} --target=fs_uuid 2> /dev/null`" ; then
    echo "search --no-floppy --fs-uuid --set ${fs_uuid}"
  fi

Safe/close the file and then regenerate the grub entries:

sudo update-grub
VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
Nov 162009
 

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 also change the dependencies of the debian .deb file found here. This is some advanced stuff as it involves extracting the debian package, changing the file DEBIAN/control and reassembling the package again:

Nov 112009
 

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 / cue / toc images
uif2iso - converts UIF files (used by MagicISO) to ISO or other formats

So we chose bchunk:

sudo aptitude install bchunk

now we convert:

bchunk foo.bin foo.cue foo
VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)