Vol.script xmms support

Posted in Uncategorized on December 29th, 2008 by Ronald Prettyman

Added XMMS support. Get it here.

Tags:

Debian

Posted in Uncategorized on December 29th, 2008 by Ronald Prettyman

After the 100th packet to fail or come back broken (openafs-client & openafs-fileserver) i felt it was a good time to jump the Ubuntu-server ship, way to unstable for my use. Now back to good old stable Debian. Ah, nice, oh snap the sun just came out, on my task bar, I don’t know if its syncing right with the rest of the world. But yes back to ubuntu, all my config files transfered nicely. I think I set a personal record, 2 hours, for a complete setup of all my setting, blew away GNOME, and put up KDE, setup Bind with my realms, setup LDAP with my schema and usersname, then setup Samba, then SMBLDAP and all with in 2 hours. A personal best. Now to try and move all my NFS stuff over to AFS, just for shits and giggle and because they use AFS at work well technically they developed AFS at work but who’s keeping track. Well technically I’ll be using OpenAFS which is a spin off of AFS and not sure what the major difference are, but i’ll find out soon enough.

Tags: , , , , , ,

misanthrope comakozie or misanthrope Kamikaze

Posted in Uncategorized on December 28th, 2008 by Ronald Prettyman

Google misanthrope comakozie. Here I’ll do it for you, http://www.google.com/search?hl=en&q=misanthrope+comakozie&btnG=Search. Now look, no results. Crazy chances that no one has ever thought that misanthrope and comakozie should be on the same page. Now they are, now granted comakozie is not a word. So one more, unwhackable.
http://www.google.com/search?hl=en&q=%22misanthrope+Kamikaze%22&btnG=Search
misanthrope Kamikaze so their it is.

misanthrope comakozie or misanthrope Kamikaze

Posted in Uncategorized on December 28th, 2008 by Ronald Prettyman

Google misanthrope comakozie. Here I’ll do it for you, http://www.google.com/search?hl=en&q=misanthrope+comakozie&btnG=Search. Now look, no results. Crazy chances that no one has ever thought that misanthrope and comakozie should be on the same page. Now they are, now granted comakozie is not a word. So one more, unwhackable.

http://www.google.com/search?hl=en&q=%22misanthrope+Kamikaze%22&btnG=Search

misanthrope Kamikaze so their it is.

xbindkey support

Posted in Uncategorized on December 25th, 2008 by Ronald Prettyman

To add xbindkey support to the aforementioned script add the following to .xbindkeysrc

vi ~/.xbindkeysrc

“vol.script 10″
Mod2+Mod4 + c:98

“vol.script -10″
Mod2+Mod4 + c:104

“vol.script left”
Mod2+Mod4 + c:102

“vol.script right”
Mod2+Mod4 + c:100

“vol.script play”
Mod2+Mod4 + t

“vol.script stop”
Mod2+Mod4 + p

“vol.script mute”
Mod2+Mod4 + m

In case you didn’t get the memo you can get the script here.

Tags:

xbindkey support

Posted in Uncategorized on December 25th, 2008 by Ronald Prettyman

To add xbindkey support to the aforementioned script, add the following to .xbindkeysrc

vi ~/.xbindkeysrc

“vol.script 10″
Mod2+Mod4 + c:98

“vol.script -10″
Mod2+Mod4 + c:104

“vol.script left”
Mod2+Mod4 + c:102

“vol.script right”
Mod2+Mod4 + c:100

“vol.script play”
Mod2+Mod4 + p

“vol.script stop”
Mod2+Mod4 + t

“vol.script mute”
Mod2+Mod4 + m

In case you didn’t get the aforementioned script you can get it here.

Tags:

Vol.Script Added OSDsh support

Posted in Uncategorized on December 13th, 2008 by Ronald Prettyman

You can download the script Here
Make sure you add this command to your xstartup file

osdsh -p 1

where the -p 1 puts it at the bottom of the screen

Tags:

The Music

Posted in Uncategorized on December 11th, 2008 by Ronald Prettyman

I often get emails about the music on my website, to paraphrase my explanation.

To whom it may concern,

I do apologize that my taste is not up to par with your standards. Music is like wine and if you don’t have the taste for a certain variety it can be quite repulsive. I do apologize, but their is a stop pause and mute button, and a “No Flash” link at the bottom. But for all its worth, it is my personal website. I feel it would be an implied dishonesty to not only have music on my site, but music that I particularly enjoy.

Sincerely

Ronald Prettyman

Tags: ,

Dragon Warrior 2 Game Genie Codes

Posted in Uncategorized on December 4th, 2008 by Ronald Prettyman

My cousin made a guide for Dragon Warrior 2 Game Genie Codes download it here.
Here

It keeps growing and growing

Posted in Uncategorized on December 4th, 2008 by Ronald Prettyman

Well I added support to my script for any keybinding programming, i’m actually running flux box so i’ll include my keys file but i recommend changing the key association to better fit your needs as I use key association that are used by other programs(i just disabled them in the programs)

This script allow you to control what ever program you want, how ever you have to change the script to match the program you want it to control.

touch ~/vol.script
chmod +x ~/vol.script

then add this code

vi ~/vol.script

Here is the code

#!/bin/bash
#
#
#
#
#
#
######Ron’s Alsa Volume Script########
#
#This script can be controlled with what ever keyshortcut command you want, or by hand
#to activate script simple type out the name ./vol.script (argument)
#Positive Numbers increase the Volume
#Negative Numbers decrease the Volume
#Mute toggles the Mute
#the mute toggle is stored in your home directory default $unmuteFile
#
#This script uses amixer, we are assuming that you are using the Analog Front for your audio output.
#If your using a different audio output update the AVOL line as applicable
#
#Argument Passed to Variable

CONL=”${1}”

#Current Volume Passed to Variable
#IF YOUR AUDIO IS COMING OUT OF ANOTHER PORT OTHER THEN ‘Analog Front’ replace it below

AVOL=`amixer sget ‘Analog Front’ | grep ‘Front Left:’ | cut -d’ ‘ -f6`

#DEFINE OUTPUT FILES

unmuteFile=~/.unmute
playFile=~/.play

#DEFINE COMMANDS AND PROGRAM TO CONTROL

stopCom=’amarok –stop’
playCom=’amarok –play’
nextCom=’amarok –next’
bakCom=’amarok -r’
pausCom=’amarok –pause’

#check for Variable file existence
if [ -a $playFile ]; then
PLAY=`cat $playFile`
else
echo 1 >> $playFile
PLAY=`cat $playFile`
fi
if [ -a $unmuteFile ]; then
UNMUTE=`cat $unmuteFile`
else
echo 1 >> $unmuteFile
UNMUTE=`cat $unmuteFile`
fi

#if mute
if [ $CONL = mute ]; then
#if unmute
if [ $AVOL -eq 0 ]; then
amixer sset ‘Analog Front’ $UNMUTE
rm -f $unmuteFile
UNMUTE=0
exit 0
else
echo `echo $AVOL >> $unmuteFile`
amixer sset ‘Analog Front’ 0
RES=2
cat /var/log/unmute
exit 0
fi
fi
#
#STOP
#
if [ $CONL = "stop" ]; then
$stopCom
rm $playFile
exit 0
fi
#
#Play Pause
#
if [ $CONL = play ]; then
if [ $PLAY -eq 0 ]; then
$playCom
rm -f $playFile
exit 0
else
$pausCom
rm -f $playFile
echo `echo 0 >> $playFile`
exit 0
fi
fi
#if volume increase
if [[ $CONL = [0-9]* ]]; then
#Add Augument to Current Volume
RES=4
let VOL=$(($AVOL+$CONL))
amixer sset ‘Analog Front’ $VOL
fi
#if volume decrease
if [[ $CONL < [0-9]* ]]; then
#Add Augument to Current Volume
RES=4
let VOL=$(($AVOL+$CONL))
amixer sset ‘Analog Front’ $VOL
fi
#forward
if [ $CONL = "right" ]; then
$nextCom
fi
#back
if [ $CONL = "left" ]; then
$bakCom
fi

#end script

And link it your $PATH so you can access it easily for the scripts

echo $PATH
ln ~/vol.script /usr/bin

Your want to create a file called vol.script with an executable permission.

touch ~/vol.script
chmod +x ~/vol.script

If your using fluxbox you can place this code at the bottom of your keys file
/home/$USER/.fluxbox/keys
or
~/.fluxbox/keys

vi ~/.fluxbox/keys

at the bottom put

Mod4 Up :ExecCommand vol.script 15
Mod4 Down :ExecCommand vol.script -15
Mod4 Right :ExecCommand vol.script right
Mod4 Left :ExecCommand vol.script left
Mod4 m :ExecCommand vol.script mute
Mod4 p :ExecCommand vol.script play
Mod4 t :ExecCommand vol.script stop

Windows key + Down Arrow volume down etc, etc, etc

Download the Script here vol.script

Tags: , ,