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