DAMZIE.net – The Geeky Things

Just another BS

Archive for the ‘Linux’ Category

Wednesday
Oct 21,2009

After upgrading my Ubuntu box I find that everytime I boot up I see alot of items on my GRUB list.

So I decided to delete the useless ones.

So just so that I wont forget next time here’s how I did it:

Hit ALT+F2 then type the following & run:

gksu gedit /boot/grub/menu.lst

Scroll down to the bottom of the page. Select & delete the ones you dont want.

Here’s a screenshot of my case:

Screenshot-menu.lst (-boot-grub) - gedit-1

(If you cant see the image then click to view larger size)

I deleted the ones that I have selected (highlighted) & “Save” the file.

Reboot & there you go. All those useless items are gone!

Tuesday
Oct 20,2009

I finally decided to upgrade my 8.04 (Hardy Heron) to 9.04 (Jaunty Jackalope)

It’s AWESOME!! I love Ubuntu & I love linux OS! I can really feel the huge difference on 9.04 compared to 8.04.

Here’s a tutorial on How-To Upgrade to your latest Ubuntu distribution, in my case Ubuntu 9.04 using Torrent.

The first thing I did was:

Go to http://www.ubuntu.com/getubuntu/downloadmirrors#alternate

Then, I download:

ubuntu-x.xx-alternate-i386.iso.torrent

* I assume that you are on i386 platform.

Since I do not want to waste my CD/DVD, i mounted the ISO file directly from terminal by typing:

sudo mount -o loop /location/of/ubuntu-x.xx-alternate-1386.iso /media/cdrom0

And then from terminal, I typed the following:

gksu sh /cdrom0/cdromupgrade

Lasty, we wait untill all the updating & installing is completed, restart your computer and there you go. Full upgrade yo!

Here’s a screenshot of my desktop:

Screenshot-9.04

Ubuntu 9.04 (Jaunty Jackalope)

Friday
Jul 18,2008

Here’s a simple tutorial for setting up Synergy with Ubuntu as client and Vista as Server

I have a CPU running on Ubuntu and a Laptop running on Vista. I use my Ubuntu box as a test server for my projects while Vista for my daily use. My monitor is placed on my left side and my laptop on the right.

So basically here’s how my setup would look like:

Left – Ubuntu (no keyboard & mouse)
Right – Vista (with keyboard & mouse)

Left – Ubuntu (Client)
right – Vista (Server)

Setup Synergy on Vista

Download Synergy here and install it.

On Vista run Synergy & configure the server

  • Click the Share this computer’s keyboard and mouse (server) radio button
  • Click the Screens & Links Configure… button
  • Click the + button to add the server to the Screens list
    • Enter the name of server (the computer’s name is the recommended name)
    • Optionally enter other names the server is known by
    • Click OK
  • Use the + button to add your other computers
    • Using a computer’s name as its screen name is recommended
    • Choose desired screen options on the Add Screen dialog
  • Use the controls under Links to link screens together
    • Click (once) on the server’s name in the Screens list
    • Choose the screen to the left of the server; use — if there is no screen to the left of the server
    • Choose the screens to the right, above and below the server
    • Repeat the above steps for all the other screens
  • Click OK to close the Screens & Links dialog
  • If the server’s screen name is not the server’s computer name:
    • Click Advanced…
    • Enter the server’s screen name next to Screen Name
    • Click OK

Now click Start, your server is running!

Setup Synergy on Ubuntu

Open up your terminal and type:

sudo apt-get install synergy

Then type:

synergy -f ip-address-of-server

Now your client is running. You can move your mouse and see that it is working superbl

Autostart on GNOME

If you want to run your client on autostart, just go to Systems > Preferences > Sessions

Click Add and put the following:

Name: Synergy
Command: synergyc -f ip-address-of-server

Click OK, restart and your DONE!

I learned all these from:

* http://synergy2.sourceforge.net/index.html
* https://help.ubuntu.com/community/SynergyHowto

Ubuntu 8.04 Hardy Heron

  • Filed under: Linux
Tuesday
Jul 15,2008

Will you look at that! Just installed Hardy Heron on my desktop. Very fast yet locks up alot, I updated the kernel but nothing happen so I played around with the graphic card. Mine’a lame ATI card and its awfully annoying when its on Linux. After days of feeling utterly annoyed because my desktop hangs so much I managed to fix it. I really wish I can share with you what I did but thing is I dont exactly know what I did. heheee! Anyways here’s a screenshot of my 1024×768 desktop.

Ubuntu 8.04 Hardy Heron

Click image above to see a bigger view

HOW TO: Record Your Desktop

Tuesday
Mar 11,2008

Another simple tutorial post from me.

So, have you ever wanted to record your desktop to create video tutorials, or to show off your desktop to your friends on Youtube? recordMyDesktop is a simple and easy application for these desktop recording and I have been using it since forever!

recordMyDesktop is a desktop session recorder that attempts to be easy to use, yet also effective at it’s primary task. As such, the program is separated in two parts; a simple command line tool that performs the basic tasks of capturing and encoding and an interface that exposes the program functionality in a usable way.

recordMyDesktop has the ability to record audio through ALSA, OSS or the JACK audio server.

To install recordMyDesktop, we start with typing the following to the terminal:

adamz@Ubuntu:~$ sudo apt-get install recordmydesktop gtk-recordmydesktop

Now you have two ways to use recordMyDesktop:

  • Terminal
  • GUI

To use it through terminal just type the following:

adamz@Ubuntu:~$ recordmydesktop

recordMyDesktop will start capturing and once you’re done press Ctrl + C and the video file will be stored in your /home/username/ directory.

If you prefer to use the GUI, go to Applications > Sound & Video > gtk-recordMyDesktop

From there you can record your desktop straight away, to stop the recording just click on the white box on your system tray.

The default video output will be in OGG format. Though you can convert it to AVI using mencoder. You can install it by typing the following on your terminal:

adamz@Ubuntu:~$ sudo aptitude install mencoder

Once you’re done installing mencoder you can start converting your OGG file to AVI format using the following:

adamz@Ubuntu:~$ mencoder -idx ogg_format_filename.ogg -ovc lavc -oac mp3lame -o new_avi_format_filename.avi

Hope it’s useful :)