Skip navigation

Camera syncs automatically on plug in

December 31st, 2006

Step 1

Create the following script somewhere. I choose ~/bin.

#!/bin/bash
src=/insert/path/to/mounted/camera
DST=/home/shared/Photos/camera_sync/
rsync -rtv --modify-window=1 --progress --ignore-existing $SRC $DST
xmessage "Camera Sync Complete!"

Step 2

Find the gnome removable media preferences application. (On Ubuntu it’s at System->Preferences->Removable Drives and Media).

Under the Multimedia tab change the Digital Camera command to:

gnome-terminal -e "/path/to/your/script"

Exaile!

December 30th, 2006

Matt’s music player of choice under ubuntu. Essentially does the same job as iTunes without the online sales bit. Playlists, external media, rating, album art, id3 tags etc
http://www.exaile.org/

Can I upgrade my version after having apt-get install(ed) it?
A quick visit to getdeb revealed a newer SoftwarePackage exaile_0.2.5b-1getdeb1_i386.deb so I downloaded that and installed it using the GUI(gdebi 0.1.4ubuntu13), clicked my desktop icon and … nothing! Invoking the app from the command line gave me this error

matt@precuntu:~$ exaile
Traceback (most recent call last):
File "/usr/bin/exaile", line 65, in ?
from xl import *
File "/usr/share/exaile/xl/tracks.py", line 18, in ?
import common, media, db, config, trackslist
File "/usr/share/exaile/xl/media.py", line 18, in ?
import mutagen, mutagen.id3, mutagen.flac, mutagen.oggvorbis
ImportError: No module named oggvorbis

This ubuntu forum link provided a source for the missing python-mutagen package so I was able to download, build and install as per the instructions there.

Sound Debugging

December 27th, 2006

Using dyne:bolic 1.4.1 my soundcard is correctly detected but I get no sound when playing something.

start fx xmms and let it play a song. This xterm command will do that:

xmms somesong.mp3 &

or type one of the following lines:

cat /dev/urandom > /dev/dsp
cat /dev/urandom > /dev/sound/dsp

(will produce noise)

In the xterm then write:

alsamixer

here you can with the left/right arrow on the keyboard choose different output possibilities. With uparrow turn up one after the other each output until you get which output the card is using. When the correct one is found - turn down the others. (for me the correct one was DAC)

Dyne:bolic Sound

December 26th, 2006

I’ve got an on-board soundcard and a PCI one, but cannot make it (PCI) work. What’s wrong?

Maybe you have to disable your on-board soundcard. You can do this through the BIOS setup.

Another trick got mentioned on the mailing list, by jaromil:

The /dev/dsp device configured by default in dyne:bolic sound applications is a symbolic link (see ‘man ln’) to the real soundcard, and as such it can be linked to a different soundcard.

A list of the soundcard devices is given by the command:

ls /dev/snd/dsp*

which basically prints out all files starting by ‘dsp’ in the /dev/sound directory.So you can easily change it with:

ln -sf /dev/snd/dspN /dev/dsp

where N is the number of the soundcard you want, normally the onboard is the first.This way you will change the default soundcard pointed by the /dev/dsp device in dyne:bolic.

About the volume: it starts to a default value on the first soundcard, all other soundcards are muted. most simple soundcards can be setted using the ‘audio levels mixer’ from the menu, but multichannel soundcards need alsamixer (command from the XTERM) to change volumes on their channels.

Dyne:bolic 2

December 22nd, 2006

Fantastic free linux distro focussed on providing fully featured multimedia authoring on modest hardwarare. It runs as  Live CD which means you don’t need to install it if you want to just test it out - find it at www.dynebolic.org

So far I’ve run it on Tabadley and it has a few problems.

Video

try

X -configure :1
in a terminal window.

It will generate a file /root/xorg.conf.new
Copy this file to /etc/X11/xorg.conf
Then, hit Ctrl+Alt+Backspace
your screen should clear and come back at the highest resolution it can handle
if it doesn’t come back, but drops you to a command line, type “startx” and hit Enter

Hope this helps,
Richard

The vga=794 didn’t work for my computer, but searching through the archives, I found this other method.

When in dyne:bolic

  1. Open up the Home folder (the second button from the top on the right
    hand side)
  2. Click the up arrow to move to the parent directory
  3. Open etc
  4. Open X11
  5. There are two files that need to be altered: xorg.conf and xorg.conf.dist
    After opening each of these files, scroll down to the “Screen” section, and then the “Display” section.
    You will see a list of resolutions in quotes for each of three “Modes”.
    Add your own computer’s native resolution to that list (e.g. “1200×800″) for each of the three modes.
  6. Save xorg.conf and xorg.conf.dist after you have altered them
  7. In the partition where you have dyne:bolic installed, find the dyne folder.
  8. Open that folder and open the dyne.cfg file. Because this is a
    read-only file, it will ask you permission.
  9. Scroll down until you find the line:
    # X_RESOLUTION=1024x786
    add another line below without the number hash (pound sign) front of it
    X_RESOLUTION=1200x800
    (of course replace the 1200×800 with whatever your native resolution
    should be)
  10. Save the file. Reboot dyne:bolic.

That’s what worked for me.

December Dub

December 18th, 2006

Serendipidous music tendencies

So my usual radio standby of Five Live decides to throw in a few lame late-night hosts which forced me to go a searchin’.

Vibronics featured on Brinsley Forde’s Dub Basment show

Saturday 23 and 30 December 2006
This week and next we’ll be dedicating two shows to the work of Vibronics, plus there’ll be interviews and more…
See the studio pics

Free Software

December 15th, 2006

Windows 2000/XP/Tablet PC software used on Tabadley

  • Dopewars

  • Cssed
  • Python
  • Ghostscript
  • GSView
  • VideoLan
  • OpenOffice
  • Blender3D
  • HydraIRC
  • Jedit
  • Gimpshop
  • Scribus
  • Putty
  • Inkscape
  • Thunderbird
  • Firefox
  • 7Zip
  • PDFCreator
  • Google Earth
  • Google Sketchup
  • Skype
  • UltraVNC
  • Flickr Uploader
  • Picasa
  • PDFTK Builder
  • GNuPG
  • Amaya
  • AVG Anti Virus
  • Opera
  • pwWebSpeak

ImageMagick

November 12th, 2006

Batch desaturate on command line:

for img in `ls *.gif`;
do convert -fx G $img $img;
done;

Where G means grayscale (greyscale)

Proprietory Software

November 3rd, 2006

Last found on Tabadley some of this is what keeps me running a Windows partition.

  1. OneNote
  2. Fireworks
  3. Freehand
  4. Flash
  5. MindManager Pro
  6. Quicktime
  7. Swish

Multiple TYPO3 sites

September 25th, 2006

On my fresh new virtual machine from Bytemark I’ve installed apache, mysql and everything else needed to run TYPO3 4.02 - and it works! To allow me to delegate some admin procedures I’ve installed webmin and I’ve created some nifty links on my ubuntu desktop that allow me Nautilus access over ssh straight into the filesystem. For everyday admin and setup I find myself preferring the CLI (again over ssh) and I try to test everything beforehand on my “spare” office server.

Read the rest of this entry »

Otter

August 8th, 2006

Otter (disambiguation)
Otters are aquatic or marine carnivorous mammals, members of the large and diverse family Mustelidae, which also includes weasels, polecats, badgers, and others.

Top Otter Links

Ubuntu multiple sound sources

May 13th, 2006

I kept getting told that sound resources were already in use, etc, etc, maybe I want to consider a sound daemon. Well I do! So I researched around these keywords - sound daemon to allow multiple simultaneous sound sources.

I decided to follow this guide http://doc.gwos.org/index.php/Hear_multiple_sounds

and it all works a treat! It’s just a shame that such an apparently simple fix didn’t make it into the standard ubuntu desktop installation. AFAICR all of the required packages were already installed on my machine leaving the simple addition of .conf file for it all to work.

FullXML Warning To complete installation, you must install VBScript runtime version 5.6.

February 6th, 2006

Found this zombie-late thread answer over at http://dev.fullxml.com/forums which should cure dickdutch.com’s recent affliction with said warning.

lharbin Posted - 01/31/2005 : 19:53:00
The error is caused by a permissions issue with some folders inside the wwwroot folder. It has been a couple of years since I set mine up, but I do remember it took some time before I got it right. It seems like I had to allow write permissions to the db directory for I_USR.

pbshaver Posted - 08/07/2005 : 19:45:39
> quote:Originally posted by lharbin
> …It seems like I had to allow write permissions to the db directory for I_USR.
This fixed two problems, one the “You must install…” problem and also fixed access issue where no account was allowed to login. Thanks

miedema Posted - 07/20/2006 : 01:11:13
I also had this problem a number of times and it has to do with permissions.

With the new backup module the problem is easily fixed.
Just delete data.xml and rename data.xml.tmp to data.xml and the message has gone.

So - it’s officially a permissions deal :. bumping it upline

Good Old Days

January 8th, 2006
Dm / G7

If Queen Bodecia is long dead and gone
Well the spirit in her childrens childrens children still lives on
And if Elvis he was the king had his piece of the pie
Well now his century's over im having mine

Dm / Bb / F / A

But if you've lost your faith in love and music the end wont be long
Because if its gone for you then i too may lose it and that would be wrong
You know ive tried so hard to keep myself from falling
Back into my bad old ways
And it chars my heart to always hear you calling
Calling for the good old days
Because there were no good old days
These are the good old days

And its not about, tenements and needles
And all the elvis in the eyes and the backs of their minds
Daisy chains and school yard games
And a list of things we said we'd do tomorrow

The arcadian dream has all fallen through
But the Albion sails on course
So man the decks and hoist the rigging
Because the pig mans found the source
And theres twelve rude boys on the oars
(they're singing "row row row")

Libertines
Up the Bracket