Tuesday, February 15, 2011

Gimp changing the interface language back into English

So today, I installed Gimp to play with some pictures.
I'm using Vista by the way....yes...can't wait to change the OS.

Anyhow, go to C:\Users\<User Name>\.gimp-<version>
It's a hidden folder so you have to set the folder option to show hidden folders.
Delete .gimp-<version> folder.
Start Gimp, it should be in English.

Friday, February 11, 2011

Wordpress Contact Form Problem: Mail Not Sent

I've used Contact Form 7 Plugin for my website contact form.
Installation, super easy.
Sending email, super easy....but

I had this problem.
I see a response message “Your message was sent successfully” with green border, but I never receive a mail for that.
Which was exactly an FAQ at Contact Form 7 site.

I know the cause can vary according to your server.
In my case, the reason was postfix wasn't working.

So I typed the following command, and everything works fine.
sudo /etc/init.d/postfix start
sudo /sbin/chkconfig postfix on

Thursday, February 10, 2011

How to hide a page from menu in Wordpress

Since I set a static page called "Welcome" as "HOME".
In my menu, I see "HOME" and "Welcome".

Well, this is quite annoying and makes the page less professional.
I used the following plugin to work around this problem.
It let me exclude a page from showing up in menu.

Exclude Pages Plugin
http://wordpress.org/extend/plugins/exclude-pages/installation/

configuring sun-java6-jre license screen: can't press

I'm still struggling my way through with Ubuntu Linux.
I was installing java6-jdk with the following command.

$ sudo apt-get install sun-java6-jdk

Then, configuring sun-java6-jre license screen shows up.
It has <ok> but I couldn't figure out how to select it.

The solution was Press <TAB> and then Press <Enter>.

Well, this was really annoying....
http://ubuntuforums.org/showthread.php?t=657917
http://forum.nginx.org/read.php?26,120455,120455

Wordpress Admin Login Page URL

I just started using Wordpress for my friends website.
I changed a theme, then, I lost access to the Admin page.
Here's the URL.

If the website can be accessed  using the following URL
http://localhost/wordpress/

Then, the Admin login page is at the following URL
http://localhost/wordpress/wp-login.php

Monday, January 31, 2011

Where to install Eclipse on Ubuntu

I don't know. I'm not an expert on Linux system at all.
However, I found a nice post and decided to install under /opt folder.

sudo mv eclipse /opt/eclipse cd /opt sudo chown -R root:root eclipse
sudo mv eclipse /opt/eclipse cd /opt sudo chown -R root:root eclipse
sudo chmod -R +r eclipse
sudo chmod +x `sudo find eclipse -type d`
Then create an eclipse executable in your path
sudo touch /usr/bin/eclipse
sudo chmod 755 /usr/bin/eclipse
sudoedit /usr/bin/eclipse
With these contents:
#!/bin/sh
export ECLIPSE_HOME="/opt/eclipse"
$ECLIPSE_HOME/eclipse $*

http://informationideas.com/news/2008/11/16/where-to-install-eclipse-on-ubuntu/
http://flurdy.com/docs/eclipse/install.html

VirtualBox Screen Size too small: Windows Host OS + Ubuntu Guest OS

I've been using VirtualBox to run Ubuntu on my PC.
The screen size is too small.
So here's what you have to do to install GuestAdditions.


1. Start the virtual machine
2. Select "Mount CD/DVD-ROM" from the "Devices" menu in the virtual machine's menu bar and then "CD/DVD-ROM image".
3. Before installing the Guest Additions, you will have to prepare your guest system for building external kernel modules. This works similarly as described in Section 2.3.2, “The VirtualBox kernel module”, except that this step must now be performed in your Linux guest instead of on a Linux host system, as described there.

Again, as with Linux hosts, we recommend using DKMS for Linux guests as well. If it is not installed, use this command for Ubuntu/Debian systems:

sudo apt-get install dkms

4. Mount the VBoxGuestAdditions.iso file as your Linux guest's virtual CD-ROM drive.

5. Change to the directory where your CD-ROM drive is mounted and execute as root:

sudo ./VBoxLinuxAdditions-x86.run
In a 64-bit Linux guest, use VBoxLinuxAdditions-amd64.run instead.

6. Restart the system

7. After the system starts, Host Key + F (Default setting is Right CTL + F) to try out Full Screen mode.
This worked for me, and hopefully this will work for you too.

After all of this, I found a very useful post.
http://www.nerdgrind.com/how-to-increase-screen-size-or-resolution-in-virtualbox-for-ubuntu-or-linux/