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

Thursday, October 13, 2011

R.I.P Dennis Ritchie

"When Steve Jobs passed away last week, people said that he had changed computing forever and called him one of the greatest inventors since Thomas Edison. I don't know whether or not this is true, but I can say with 100% certainty that this is a perfect description of Dennis Ritchie.
I can only hope that 100 years from now, when schoolchildren are taught about the great inventors of the digital age that somewhere in every gradeschool history textbook is a section about Ritchie and Thompson. They deserve no less." - (Reddit)

R.I.P Dennis Ritchie 


http://imgs.xkcd.com/comics/admin_mourning.png

Monday, October 10, 2011

How to setup tightvnc server on LINUX MINT.

It might work on other distros.



  1. sudo apt-get install tightvncserver
  2. cd ~/.vnc 
  3. ls
  4. nano (or your favorite text editor.) xstartup
  5. edit anything you need to.
  6. then run: tightvncserver
  7. go to your other computer. 
  8. run a vnc viewer. And enter in your IP.
THE END.


    Thursday, October 6, 2011

    Wednesday, October 5, 2011

    Inside the tardis.

    Bloody HELL.


    o_o

    Switched to Linux Mint

    I have been 'hopping' from one distro to another in the past few days. I must say. I really do like Linux Mint. Perfect for newbies. But also good for experts/intermediate users.

    Two thumbs up.

    Tuesday, October 4, 2011

    Got X to work through ssh

    Probably already known... But w/ever.
    (ON THE computer you are connecting to.)
    1. cd  into /etc/ssh
    2. Then edit: nano sshd_config
    3. Add at the bottom:  X11Forwarding yes
    4. reboot

    then use this command to connect:
    ssh -l username -X -v ipaddress 



    Then start:
    xcalc to test.

    ENJOY!

    Wednesday, September 14, 2011

    Customized install_nquake.sh

    I get the error: wget: unable to resolve host address `nquake.localghost.net\r'
    Error: Some distribution files failed to download. Better luck next time. Exiting.



    The one I downloaded somehow didn't work.
    So here is my modded one:
    http://hostfile.org/install_nquake.sh

    Wednesday, June 22, 2011

    Funny spam mail

    No. This does not have to do with linux. But wth? Its my blog anyways!

    GOOD DAY FROM MISS ALICE

    Greetings,

    Dear, I am writing you this letter in confidence believing that you will not betray the trust & confidence i am putting on you even through we've not meet before. My name is MissAlice Mark  from republic of Sierra Leone, My late father was the former Sierra Leone director of mines and energy. He died in political crisis in my country, where my mother died when i was a baby and before my Father died in hospital, He secretly called me before he died and told me that He deposited the sum of $7.5million us dollars in a Finance House, which he used me as the next of kin in case of death or incapacitation.

    I want you to stand as my late Father’s foreign business partner in which this fund can be release to you and me. However I have concluded to compensate you with 30% of the total sum for your assistance as long as you will handle the transaction in good faith and utmost trust. Now I have decided to withdraw the deposit fund for any possible investment only abroad hence my contacting you. Please, your quick responds will be highly appreciated as I have concluded arrangements, also you will assist me to come over to your country to further my education again.

    soon as I hear from you I will send to you every other required information that will enable you to have more knowledge of this exercise, please kindly forward your full contact details to me on your respond to enable me use it write/submit an application letter of claim/nomination to the finance house and introduce you as my foreign partner or representative.

    (1) Full Name,,,,,,,,,,,,,,,,,,,,,,,,,,
    ,,,,,,,,,,,,,,,,,
    (2) Home Address,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    (3) Country,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    (4) Age And Occupation,,,,,,,,,,,,,,,,,,,,,,,,,
    (5) Phone Number And Fax,,,,,,,,,,,,,,,,,,,

    I look forward for your immediate reply through.
    My PRIVATE E-mail alice_p211@yahoo.com.sg
    Thanks and God Bless you.

    Yours Faithful,
    MISS Alice Mark

    Monday, June 20, 2011

    Just added the binarys page

    If you haven't already seen it check out...
    http://linux780.blogspot.com/p/binarys.html

    Hi!

    Welcome to my blog! My name is Greg, I am 12 years old and love computers and programming, on this blog I will be posting random tips and tricks(and some ELF binarys.) for linux.

    Enjoy!