Wednesday, December 28, 2011

Linux Mint.

Alas. I have moved back to Linux Mint. :(

I like it... BUT IT REALLY MISS the PKGBUILDS. .debs are so messy IMO.

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  

Monday, October 24, 2011

How to take screenshots in fluxbox.

First. Install gnome-screenshot (Or any other screenshot software)
sudo apt-get install gnome-screenshot
or
yum install gnome-screenshot

Or you might already have it installed.

Now...

1. cd .fluxbox
2. nano (Or whatever text editor you want.) keys
3. add to the bottom: None Print :ExecCommand gnome-screenshot

You can change print to whatever key you want. (Print = print scr on your keyboard.)

More info.

Monday, October 17, 2011

IRC server.

I bought a VPS today!

I am hosting a minecraft classic server and an irc server!

Connect to my PERSONAL IRC server at:
IP: 199.167.197.173
Port: 6667

How to search for process's with top & grep

Lets say we run a java program. And you couldn't find it by running the command 'top'...
run:
top | grep processnamehere


and then

pkill processnamehere


or

kill processpid


Or you could use a task-manager. :)
But if you are using ssh this is really useful.
Enjoy!
Manual Pages:

GREP
TOP