I found a faster way to change your display from terminal.
To check what resolution does your monitor support type:
adamz@UBUNTU:~$ xrandr -q
It will show something like this:
adamz@UBUNTU:~$ xrandr -q
Screen 0: minimum 320 x 200, current 1024 x 768, maximum 4096 x 4096
VGA1 connected 1024×768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
1360×768 59.8
1024×768 60.0*
800×600 60.3 56.2
848×480 60.0
640×480 59.9 59.9
Example I’m on 800×600 resolution and I want to change to 1024×768. I type this:
adamz@UBUNTU:~$ xrandr -s 1024×768
Thats it!
If you want to specify a refresh rate when switching your resolution, you can do it like this:
adamz@UBUNTU:~$ xrandr -s 1024×768@75
I recently come across with a problem on Windows Vista. When Vista is started the login screen didn’t come out and the background was all black and only with a moving mouse pointer. When I went to Safe Mode it
works perfectly fine.
It happens that the logs in the Event Viewer corrupted. So to fix this problem you do this:
1. Insert Windows Vista DVD and go to repair your computer.
2. Select your OS and hit NEXT
3. Click open Command Prompt
4. You are now on X:\Sources so now we go to the C drive by typing
C:
5. Go to the Windows event log folder by typing
cd C:\Windows\System32\winevt
6. Type
ren Logs Logs_old
7. Type
mkdir Logs
8. Restart your Windows Vista
Hope that works! :P
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:

(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!
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:
As I was installing the latest WordPress on my localhost, I found out that my mod_rewrite wasn’t working properly. So What I did was first I typed:
sudo apache2ctl -l
To know if this module is already loaded. Turns out it’s not, so what I did after that was I typed in:
a2enmod rewrite
To enable the mod_rewrite module. So i tested accessing my localhost link and it didn’t work. I checked back by typing the first command line and it says that the module isn’t enabled yet. So what I did next was I typed in:
sudo gedit /etc/apache2/sites-available/default
Then I looked for AllowOverRide and change it from None to All
I restarted Apache2 by typing:
sudo /etc/init.d/apache2 restart
And everything works perfectly fine! My mod_rewrite is working!
Error: Please make sure the Twitter account is <a href="http://support.twitter.com/forums/10711/entries/14016">public</a>.