Monday, November 28, 2011

Intro: The quest for getting siag-office working.

I just 'adopted' https://aur.archlinux.org/packages.php?ID=14904

I am now the maintainer of the package.

I will be documenting my progress on this blog.

I hope you enjoy!

Tuesday, November 15, 2011

Setting a wallpaper in fluxbox. (Another way.)

COPIED FROM MY OTHER BLOG: http://theshadowfog.com/blog/

You need feh and zenity installed.

If you are on a debian based distribution, then run: sudo apt-get install feh zenity

You can download the script here (You will need to edit the script a little. Just open it up and you will see what I mean.)

To install:

wget theshadowfog.com/bckgrnd

chmod +x bckgrnd

then,

cd .fluxbox

vi menu

COPY and paste this lines into the beginning of the file:

[exec] (Background Changer) {~/bckgrnd} <>



Enjoy!

Friday, November 11, 2011

Simple screencast shell script.

screencastr.sh /screencastr

You need ffmpeg installed.
 #!/bin/bash  
 if which ffmpeg >/dev/null; then  
   echo "ffmpeg exists"  
 else  
 echo does not exist  
 echo "sudo apt-get install ffmpeg"  
 exit  
 fi  
 echo "Name of video?"  
 read name  
 echo "Resolution?"  
 read ress  
 echo "FPS? Up to 25."  
 read fps  
 ffmpeg -f x11grab -r $fps -s $ress -i :0.0 /tmp/$name.avi  
 mv /tmp/$name.avi $HOME  
 echo "Your screencast was saved to: $HOME/$name.avi"   

You can either copy and paste the code, or you can download the script from here:
theshadowfog.com/screencaster

To install:
 sudo apt-get install ffmpeg  
 chmod +x screencaster  
 ./screencastr