Archive

Archive for May, 2008

Pulseaudio Not Remembering Default Sound Device?

May 19th, 2008

The solution is simple! Look to this thread:

http://www.fedoraforum.org/forum/showpost.php?p=948028&postcount=5

It’s as simple as shutting down and restarting the Pulse daemon as soon as you’ve got everything set up the way you like it. Otherwise, when you log off or shut down, the daemon is killed before it can save its settings, reloading the defaults on the next boot.

Pulseaudio daemon won’t save it’s settings to ~/.pulse if just killed when exiting your login session. It will only save if you kill the daemon with pulseaudio -k command. So I had to add a 1-line script (/usr/bin/pulseaudio -k) to /etc/kde/shutdown directory. Now it works.

sloik2004 Lab Notes

Change Java Version…

May 19th, 2008

To change the Java version you’re currently using under Fedora 8 (and maybe other distros) run the following command as a root user. Take note: this command is in /usr/sbin/, so just running it through su may not work.

update-alternatives –config java

sloik2004 Lab Notes

WG311T Connect At Startup – OpenSuSE

May 17th, 2008

This was a bit annoying, but eventually was easy to fix according to this thread:

http://www.suseforums.net/index.php?s=5bb4454b3b055089ec6b1deae9bb940c&showtopic=49571&pid=244126&st=0&#entry244126

There’s a boot script at /etc/init.d/boot.local. Add
modprobe ath_pci
sleep 5
ifup ath0
sleep 5

sloik2004 Lab Notes

Batch Processing Recursively In Windows

May 14th, 2008

It’s so much easier in Linux, but this page finally revealed what it takes.

http://kennethhunt.com/archives/000173.html

Recursive Find Text String In Files, Output Line Number:

FOR /R c:\~kenneth %v IN (*.css) DO find /N /I “#banner” “%~fv” >> test.txt

sloik2004 Lab Notes

Gnome’s Default Application Association

May 4th, 2008

Evolution likes to use Gnome’s setting for the default web browser. To edit Gnome’s default web browser, you use this command:

gnome-default-applications-properties

In order to get this app to work in a KDE only environment, the following package is needed:

control-center

sloik2004 Lab Notes , , , ,

Mounting An ISO Under Linux

May 3rd, 2008

The most beautiful built in feature ever.

mount -o loop disk1.iso /mnt/disk

Mounts an ISO to the specified directory.

sloik2004 Lab Notes , , ,