List of update and software sites in Eclipse

If you installed Eclipse from the Ubuntu repositories, your software sites list might be emty. In that case, Eclipse won’t update itself and you won’t be able to install new software.

Here is a way you can fix this. Go to help->install new software->click on the blue hyperlink “Available software sites”

Now either import the bookmarks.xml with this as contents or do it manually.

Continue reading List of update and software sites in Eclipse

Num pad doesn’t work in Ubuntu

When I installed Ubuntu 9.10, my num pad stopped working as it used to – it moved the mouse instead of inputing numbers. Pressing num lock didn’t help either.

Anyway I found the solution quickly on Ubuntu forums:
http://ubuntuforums.org/showthread.php?t=514554

It appears it’s some accessibility feature. I probably pressed some key combo that turned it on.

Syncronizing your usb and hard disk with Unison

Today I decided to automate the tedious process of syncronising my SD card and hard drive (for example to get files to an e-book reader faster and be able to read from it more often (which is way better than straining your eyes reading from a monitor)). The good thing is that you can later use the same technique to sync USBs, external hard drives, even remote machines via ssh or ftp – you just tweak the paths.

First I thought of Linux’ rsync command, but Unison is suggested as a bit more user-friendly and abstract program that achieves the deed. Here’s how you do it.

Continue reading Syncronizing your usb and hard disk with Unison

Dynamic web page construction in Ubuntu – Part 1: installing a LAMP server

Introduction

In this topic (which will span through several posts) I will share my experiences in creating a dynamic web page on the example of www.epska.org, the site I am currently building on my own from scratch (unlike this blog, which is done using the Drupal CMS). It is dynamic on several levels: 

1. content is separated from design using a .css file
2. navigation menu, header and footer are separated from the content of the page by using the php include function.
3. content is dynamically extracted from a MySQL database

The business

In this first part, we will install and set up a working localhost server – for debugging or (in case you have your own server) actual hosting of the web site.

Continue reading Dynamic web page construction in Ubuntu – Part 1: installing a LAMP server