Skip navigation

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)

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 »

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

LugRadio.org

July 1st, 2005

An irreverent look at the world of Linux and Open Source. The Wolverhampton based bunch provide a welcome UK voice amongst the glut of US based offerings. If you’re easily offended by industrial language then listen from behind the sofa.

http://lugradio.org/

Mandrake Log (4)

March 8th, 2005

XFCE4.2

another thing, I’ve tried the first release of xfce4 is there a way now to remove the upper taskbar and use only the lil’iconbox? :-P

if your distribution uses the Session Manager (e.g. you log in using GDM on Debian 3.1), then right-click on the session manager system tray icon (you may need to enable the tray icon via the xfce settings screen), Session Control, and kill xftaskbar. then save the session, with xftaskbar extinct and xfce4-iconbox living.

otherwise, look into the starxfce4 script, and more specifically the programs it loads using xinitrc

Good tip - it allowed me to finally suss how to get the taskbar working - I’m using it in preference to the iconbox but it doesn’t appear by default.

I really tried to like Gjots as my chosen replacement for Kjots and as the author has a Psion background I expected a paragon of simplicity and function. Unfortunately the layout was far more cluttered than Kjots, export functions were missing, copying and pasting was erratic and the system requirements of all the python stuff behind it seemed exhorbitant considering it’s such a lightweight app. On top of all that it had the audacity to fall over twice so I uninstalled it along with all the python libraries it required. So far Kjots is the only KDE app I’m hankering after.

Why am I getting core.xxx files in my home folder?

These files are a memory dump as a result of a programme crash. You can (maybe) find out which app was the culprit by issuing the following command:
# file core.xxx
(where xxx is particular to your file)
If you’ve got a few of them you could use:
# file core.*

Mandrake Log (3)

March 7th, 2005

Yay!! I can now play my wma files! Small but important :)

As su created /usr/local/firefox in which to install my browser of choice and then ran firefox-installer.

Post install I searched in vain for a Gnome equivalent to kappfinder as an easy way of adding apps to the menu. I couldn’t find anything like it so I added Firefox manually using menudrake - the icon is in firefox’s icon folder.

It appears that some of my wma files are encrypted rendering Totem unable to play them. Instead of googling for ages and risking breaking the 95% correct audio thus far I’ll re-rip them from the original CDs.

I’ve only got a few contacts to migrate from kontact into evolution but I should have maybe done some looking before deciding to shun KDE altogether as I only made a .csv backup.
Luckily I found http://jdshelp.org/howtos/evolution/outlook-to-evolution.php with a Perl file included for download (http://jdshelp.org/howtos/evolution/01-csv2vcard.pl)
Oh dear! The .csv that Kmail spits out is clearly different to Outlook version that the Perl file was expecting. I’d like to think that it’s worthwhile hacking the Perl but
1. I haven’t started the “Teach Yourself Perl in 24Hours” book yet.
2. Opening the .csv in OO.org reveals that I’ve only got eight friends anyway!
It also appears to be impossible to import Kmail messages into Evolution if the maildir format is used - bummer. My cunning plan to get round this is to copy my ~/.Mail folder over to the KDE laptop and create a few new folders using the mbox format. Then I’ll copy the messages from the old folders to the new before sending them back over for import

Gnome observations:-
I don’t like the Gnome CD player but RhythmBox integrates nicely with Nautilus (Gnome’s file manager/browser)

One of the most frustrating aspects of my last installation was the determined inability to rip CDs. Having installed both RhythmBox and SoundJuicer I’m attempting to rip as I type -exciting! Previously I only managed to get files which were either hopelessly corrupted with noise or were about 5% of their predicted witgh play lengths to match.
Nope! Sound Juicer took at least an hour to produce a 60 odd Mb ogg file but it stuttered and skipped so much as to be unplayable.
Frustrating indeed as I can rip music using Windo$e on this very same machine. When I’ve got time I’ll investigate I/O matters.
*Just realised that I was trying to rip directly to my lacie pocket drive which is only hooked up with plain old USB. On retrying a much smaller file direct to the HD i get about the same result so I’ll try later when I’m not working on the machine at the same time.

Real Player 10 doesn’t want to play ball. When I run realplay it spawns a realplay.bin or two and sits in the background only visible in top - no sign of anything in the taskbar. I’ve tried a few switches revealed by realplay –help but they make no difference. I’ve also tried running as root with no joy.

Mandrake’s rpmdrake logs activity to /var/log/messages so I can find out whether I installed Real Player from an rpm or the bin file. Maybe I’m not a newbie any more if I can use
# cat /var/log/messages |grep 885 > /home/matt/rpm.log
without having to think too hard about it. Better still
# cat /var/log/messages |grep "[885]: Installing" > /home/matt/rpm.log

The solution/hack is found at the Helix forums
https://helixcommunity.org/forum/forum.php?thread_id=906&forum_id=7
and involves (as root) removing two files
swfformat.so
swfrender.so

As soon as they are moved or renamed realplayer fires up just fine (and all those background realplay.bin processes suddenly display their GUIs)
I’d installed Real Player from RealPlayer10GOLD.rpm found at www.real.com/linux

I was hoping that Real Player would play my CDs just like the W$ version but it doesn’t want to so I’m loading up my catapult with a stone that’ll hopefully kill two birds. IOW I’m installing grip to see if it’s a better player and ripper.
Annoyance #1 the gnome volume control doesn’t have any effect on grip so you have to use the internal one.
Success #1 grip plays one of Mr Hollands home baked CD mixes :)))))
Failure #1 grip makes a convincing looking 2.8Mb test wav that contains complete silence

How do I disable specific system sounds within Gnome?
Quick answer: Make a new document, call it empty.wav, bung it (or a link to it) into /usr/share/sounds/ and select it as the sound for the event that you’d like to disable.
Long CLI answer:

# mkdir ~/.sounds
# touch ~/.sounds/empty.wav
# su
# ln -s ~/.sounds/empty.wav /usr/share/sounds/

First you make a hidden folder in your home account so the wav gets backed up and retained when you install a new distro.
Then you make an empty wav file called empty.wav in your newly made and hidden sounds folder.
Then you substitute user to root as you don’t have permission to rummage in the /usr/share/sounds/ folder.
Finally you make a soft link (shortcut, alias, symlink whatever) from the new file to the sounds folder.
The last two stages just make the next bit a lazy clickers dream.
From the Gnome Control Centre (Desktop Preferences) choose Sound and pick your empty alias for any event that you’d like to disable.

Inkscape is a program I really like as it pretty much alleviates my need to dive into FreeHand on Windows. I’ve previously installed it using autopackage without problems but I just can’t get it work with my current config. Complaints of a lack of GTK2 C++ stop the process and the instructions point to using urpm to install gtkmm. I duly did as I was told and opted for the most up to date version but that didn’t do it. I regressed to an earlier version with the same non result. I’m really keen to get the latest version of inkscape as it’s developing fast but I can only get .3.9 through rpmdrake and the latest is .4.1.1
Maybe it’s time I learnt to hand roll?

Inkscape up and working but I’m missing a few items to ensure complete happiness which I’ll rectify when time allows:
Extension "AI Output" failed to load because a dependency was not met.
Extension "Postscript Input" failed to load because a dependency was not met.
Extension "Sketch Input" failed to load because a dependency was not met.
Extension"EPS Input" failed to load because a dependency was not met.

I’ll be needing illustrator (AI) output for blender.

While I mention blender it’s worth noting that it’s still ghastly on this machine - it really doesn’t like my graphics card (MGA 400 DH) and the price of a comparable (but compatible) card these days is in the low 10’s of £s so I should swap.

The Gnome Control Centre thingy doesn’t seem to allow access to all sound events so I’m twanging and swooshing when changing Terminal tabs for instance.

Good Gnome thing: the terminal understands hyperlinks.