Skip navigation.

running & settling in

between spaces

Swimming Pools

Weekly cleansing schedule is here
Temporary closure notice is here
Maintenance schedule is here

Linux / Ubuntu directories

  • /bin - binary applications (most of your executable files)
  • /boot - files required to boot (such as the kernel, etc)
  • /dev - your devices (everything from drives to displays)
  • /etc - just about every configuration file for your system
  • /etc/profile.d - contains scripts that are run by /etc/profile upon login.
  • /etc/rc.d - contains a number of shell scripts that are run on bootup at different run levels. There is also typically an rc.inet1 script to set up networking (in Slackwar), an rc.modules script to load modular device drivers, and an rc.local script that can be edited to run commands desired by the administrator, along the lines of autoexec.bat in DOS.
  • /etc/rc.d/init.d - contains most of the initialization scripts themselves on an rpm-based system.
  • /etc/rc.d/rc*.d - where “*” is a number corresponding to the default run level. Contains files for services to be started and stopped at that run level. On rpm-based systems, these files are symbolic links to the initialization scripts themselves, which are in /etc/rc.d/init.d.
  • /etc/skel - directory containing several example or skeleton initialization shells. Often contains subdirectories and files used to populate a new user’s home directory.
  • /etc/X11 - configuration files for the X Window system
  • /home - locally stored user files and folders
  • /lib - system libraries (similar to Program Files)
  • /lost+found - lost and found for lost files
  • /media - mounted (or loaded) devices such as cdroms, digital cameras, thumbdisks, etc.
  • /mnt - mounted file systems
  • /opt - location for “optionally” installed programs
  • /proc - dynamic directory including information about and listing of processes
  • /root - “home” folder for the root user
  • /sbin - system-only binaries (see /bin)
  • /sys - contains information about the system
  • /tmp - temporary files
  • /usr - applications mainly for regular users
  • /var - mainly logs, databases, etc.
  • /usr/local/bin - the place to put your own programs. They will not be overwritten with upgrades.
  • /usr/share/doc - documentation.
Blogged with the Flock Browser

Tags: ,

Test through flock

testing one two three.
Blogged with the Flock Browser

Tags:

Language Learning

I have found these sites for great language learning:


Forvo - it reads out words for you. You can add words that you want to know how to pronounce and you will get native speakers to read them to you.

Quizlet - a quiz site for flash-card like quizzes. Many flash card sets are available already. A superb learning tool. I found this site while checking out Mootools.

Migrating to Linux

<meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8"> <meta name="GENERATOR" content="OpenOffice.org 2.4 (Linux)"> <style type="text/css"> </style>

Today marks a new day for my cyber life. I finally got rid TOTALLY of Microsoft!! Hurray!!

After quitting two jobs that I worked concurrently for the past year and they both used Microsoft, I can now enjoy the new found freedom to ditch anything Microsoft. The hardest to kick out for anyone is Outlook since so many companies use Exchange Server for their emails.

Here is my deal: I own a ThinkPad ultraportable X61 that used to run XP. I installed an Ubuntu desktop on it as a regular program that can be removed from within Windows (I do intend to keep Windows as a remote backup plan). My ThinkPad can dual-boot with either Windows or Ubuntu. The dual boot works just fine for me.

Booting up is quick though I hate the text screen of technical messages during boot-up.

I need to log in with my username and password which I assigned during my installation.

In no time am I given the standard Ubuntu desktop. It is not fancy at all. I have yet to look for prettier themes / wallpapers.

I will skip a few steps here...

Installing email software, Mozilla Thunderbird

Then I started to first install my email. Ubuntu Desktop comes with Evolution Mail. I have not tried it yet. Since I have been using Mozilla Thunderbird for a while and it has a Linux version, I decided to stick to Thunderbird for now. The nice thing about Thunderbird is that I can have my email data file stored on my thumb disk which I carry around all the time (mind you, I am a very mobile user). One quick note though, if your company uses Exchange Server, just forget about anything 'Open' because Microsoft is just one big advocate of proprietary software. Thunderbird talks to all standard email servers, POP & IMAP, just not Exchange.

The Thunderbird I installed was 2.0b. It is a tar.gz. Many people have told me how difficult or user-unfriendly Linux' installation is. I feel that too. However, I was lucky enough to find the right information to guide me through it. It is nothing more than a few simple commands in a Ubuntu terminal (if you are not used to typing commands in a 'terminal' then this may feel strange to you). Thanks to a clear and helpful tutorial, I installed it without a sweat:

1. I downloaded it from Mozilla.org (it has a number of different language versions. Although I am Chinese, I use the English [GB] version, knowing that my Chinese emails will display just fine in my English [GB] Thunderbird. I just hate funny / cryptic Chinese menus and user interface in any software I use. It is not a problem about Chinese, it is one about translation.)

2. I use Archive Manager to extract it and I think you can use any other software to extract it. Extract it to a location and mark the location. I will denote the extracted to location as <path>.

3. Move the extracted archive to this location (/usr/local is where you put the apps you build):

sudo mv <path>/thunderbird /usr/local

4. Link it as follows:

sudo ln -s /usr/local/thunderbird/thunderbird /usr/local/bin/thunderbird

5. Install it by apt-get: sudo apt-get thunderbird

6. You are now ready to run Thunderbird by just typing 'thunderbird' in a terminal. Alternatively, you can create a menu item for it.

7. Type 'alacarte' in a terminal to invoke the menu set-up. Create a 'New Item' under 'Applications'->'Internet'. Call the 'New Item' 'Thunderbird'. Voila.

Find out about GTK version Software running on Linux / Ubuntu requires GTK. Very often you have to find out if your system supports certain software. You need to look at your GTK version. Here is how:

dpkg -l libgtk[0-9]* | grep ^i

I have mine at 2.14.

Installing mplayer to play WMV movies Add the following lines to your /etc/apt/sources.list file:

deb http://archive.ubuntu.com/ubuntu intrepid universe multiverse deb-src http://archive.ubuntu.com/ubuntu intrepid universe multiverse

Then update & install them using these commands:

sudo apt-get update sudo apt-get install mplayer

Voila

sudo wget http://www.medibuntu.org/sources.list.d/`lsb_release -cs`.list --output-document=/etc/apt/sources.list.d/medibuntu.list; sudo apt-get -q update; sudo apt-get --yes -q --allow-unauthenticated install medibuntu-keyring; sudo apt-get -q update

Installing the GPG key:

sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update

Enhancing Flash & Mplayer plugins in Flock Flock shares part of the same code with Firefox. So they share the same plugins too.

I have had a problem with installing Flash plugins in Flock, as do many other Flock users. So I follow the advice of InverseFlux and did this:

cd ~/flock sudo cp /usr/lib/firefox/plugins/*.* plugins/~

Voila! Now my Flock runs smoothly with Youtube & other Flash videos.

Upgrading to Kubuntu

Kubuntu (running on KDM & KDE) is so much better Ubuntu (running on Gnome). It looks like a competitive enough product to Windows.

sudo apt-get update sudo apt-get upgrade sudo apt-get install kdm sudo apt-get install kubuntu-desktop sudo apt-get install kde sudo dpkg-reconfigure kdm sudo apt-get install kubuntu-artwork-usplash sudo apt-get install kubuntu-grub-splashimages sudo apt-get purge --remove gdm

Tags: , , , , , ,

All my services

Joomla - Change date, time format

,

Joomla 1.5

1. Navigate to the language\en-GB folder in your Joomla dir.
2. Edit the en-GB.ini file.
3. Find %A or %H in "LC2=" string
4. Change to the desired format. All the format codes are here.
http://php.net/manual/en/function.strftime.php

泰國之旅

要做Spa
可去海灘
可去十日
要去扎道扎
shopping
唔好leave him alone
2月尾/3月頭
提佢帶電話
去澳門
唔去disco
要買寶石

Total elimination of microsoft from my life

I have been wanting to get rid of Microsoft and proprietary software from my life. It has not been easy. Now I am totally clean.

Here is my journey.

First, I removed all the Microsoft applications on all of my computers by replacing each with an open source application, as far as possible. Yes, I have not been able to remove them all. I would tell you more on why. But for those that I can, here they are and their open source counterparts:

Internet Explorer-> Mozilla Firefox (There are other variations using the same code. Since it is one of the major open source project, some developers use the same code to develop their variations.) and Opera.
Outlook Express, Outlook (Email)-> Mozilla Thunderbird (I use this mostly) and Evolution Mail (it comes with my Ubuntu 8.10 and that comes after I switched to Linux. There isn't one version on XP).
Outlook (Calendar)-> Mozilla Sunbird (I am happy with this one because I can share calendars in ICS format with others)
MSN Messenger-> Meebo (more about this. It is not a clean transition.)
Microsoft Office -> Open Office and Star Office

Second, I replace other proprietary applications with open source applications:

Adobe Illustrator -> Inkscape, Open Office Draw
Adobe Photoshop -> GIMP
Adobe PageMaker -> Scribus

Third, I switch from Windows XP to Linux.

Jenga wisdom

from DE FOTO ALA STANLEY

Perfection is not when there is no more to add, but no more to take away


- Antoine de Saint-Exupéry (author of The Little Prince)

Photograph originally from blog "DE FOTO ALA STANLEY" of Stanley Tjhie
November 2009
S M T W T F S
October 2009December 2009
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30