Monday, October 19, 2009

Big Four Tak Lagi Untouchable

Manchester - Akhir pekan lalu, dua dari empat anggota Big Four mengalami kekalahan. Pelatih Manchester City, Mark Hughes, menyebut musim ini dominasi keempatnya bisa diganggu.Ketika Manchester United dan Arsenal sukses meraup tiga poin, tidak demikian halnya dengan Liverpool dan Chelsea. Dua yang terakhir takluk di tangan Sunderland 0-1 dan Aston Villa 1-2.Sementara di lain tempat, MU sukses

Thursday, October 15, 2009

How To Open VirtualBox Guest OS Directly

Opening guest OS in VirtualBox requires an extra click. You have to open VirtualBox OSE from Accessories and click start to run guest OS.

Instead of this you can create a launcher to directly open VirtualBox guest OS.
So just a single click and your guest OS will start running.

The backend for this is powerful VBoxManage CLI command. It can do lot more than the GUI can do. For example check how to hide menubar and statusbar in VirtualBox.

Now to open guest OS directly from panel do the following. I'll assume your guest OS name as "guestos1"

  1. Right click empty area in panel and choose Add to Panel
  2. Select Custom Application Launcher (its on top)
  3. Fill the dialog box it brings as:

    • Type: application
    • Name: guestos1
    • Command: VBoxManage startvm "guestos1"
    • Comment:  Start guest os names "guestos1"

  4. Click the icon and choose icon of your choise
  5. Click OK.


Now your launcher is ready to open guest os directly.

Tuesday, October 6, 2009

Beautiful Karmic Koala Desktop



OS: Ubuntu Karmic Koala Beta
Theme: Nightly Impression with Conky

Beautiful Horizontal Conky



In the desktop above you can see the horizontal conky at the bottom of the desktop. Following is the configuration file .conkyrc from which you can achieve this.


#avoid flicker
double_buffer yes


#own window to run simultanious 2 or more conkys
own_window  yes
own_window_transparent yes
own_window_type override
own_window_hints undecorate,sticky,skip_taskbar,skip_pager


#borders
draw_borders no
border_margin 1


#shades
draw_shades no


#position
gap_x 0
gap_y 1
alignment bottom_left


#behaviour
update_interval 5


#colour
#default_color  8f8f8f
default_color    e0e0e0
#default_shade_color 000000
own_window_colour 262729


#font
use_xft yes
xftfont sans:size=9


# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes


#to prevent window from moving
use_spacer none
minimum_size 1200 0


TEXT
${alignc}${color}Kernel:${color e0e0e0}$kernel${color 000000} | ${color}Uptime:${color e0e0e0}${uptime_short}${color 000000} | ${color}Cpu1:${color e0e0e0}${cpu cpu1}%${color 000000} | ${color}Cpu2:${color e0e0e0}${cpu cpu2}%${color 000000} | ${color}Ram:${color e0e0e0}${memperc}%${color}${color 000000} | ${color}Swap:${color e0e0e0}${swapperc}%${color}${color 000000} | ${color}Root:${color e0e0e0}${fs_used_perc /}%${color 000000} | ${color}Home:${color e0e0e0}${fs_used_perc /home}%${if_existing /proc/net/route wlan0}${color 000000} | ${color}Signal:${color e0e0e0}${wireless_link_qual wlan0}%${color 000000} | ${color}Up:${color e0e0e0}${upspeed wlan0}kb/s${color}/Down:${color e0e0e0}${downspeed wlan0}kb/s${color}${else}${if_existing /proc/net/route eth0}${color 000000} | ${color}eth0:${color e0e0e0}${downspeed eth0}/${upspeed eth0} kb/s${color}${endif}${else}Network Unavailable${endif}${color 000000} | ${color}DiskIO:${diskio}${alignc}


You can optimize this file by decent use of ${color} variable. I messed this up as I am lazy and quite busy.


If you are new to conky, I'll write a short instruction on how to achieve this.
  1. Install conky by clicking here or by opening terminal and typing sudo aptitude install conky or from add/remove program or from synaptic package manager.
  2. Create a file with name .conkyrc and copy the content from top and save it in your homefolder.
  3. Now press Alt+F2 and type conky
  4. You'll see the bar at the bottom of your screen.
  5. You can change the update_interval 5 to smaller number. Actually you can change everything to suit your needs. You can look for more .conkyrc  file or read conky manual by doing man conky.
  6. Put it in Syste/Preferences/Startup Application to make it start on every boot.

Monday, October 5, 2009

[Solved] couldn't open demos/TUTORIAL.dm_68

I usually don't play games. This festival season with long vacation we group of guys decided to play some FPS games. As me being the LAN party organizer I was busy checking few games. I checked Unreal Tournament*, Urban Terror, Assault Cube and America's Army.
Urban Terror is a free multiplayer first person shooter developed by FrozenSand, that (thanks to the ioquake3-code) does not require Quake III Arena anymore. It is available for Windows, Linux and Macintosh. The current version is 4.1.
Yes Urban Terror supports both 32 bit and 64 and Linux, Mac and Windows.


To check Urban Terror, first I had to add some bots. Adding bot isn't officially supported but is very easy.
  • Goto console by pressing ~ key 
  • /bot_enable 1 to enable bots 
  • /reload if you have already started the server 
  • /addbot chicken to add bot named chicken or /addbot puma to add puma, here is more bots. 
The bots were very difficult for me so I decided to check demo. I couldn't open the demo and got error " couldn't open demos/TUTORIAL.dm_68". I checked the path and file and both exists.

After googling the solution was to convert the demo filename from small caps to upper caps.
Thats it and the demo will run.

*I had to download Unreal Tournament from linux.softpedia.com because the archive I downloaded from unrealtournament2003.com was corrupted.