Tuesday, August 31, 2010

Installing ubuntu 10.04 and KDE

KDE 4.4 looks good on the Ubuntu 10.04. Yup, finally have the time to upgrade but I only had the Ubuntu CDROM, so later after the install had to manually install KDE4.

Using reference from my previous blog on Installing Kubuntu 9.10. Launch from KMenu the Synaptics or Kpackagekit to install additional applications and libraries. Below is a checklist of items to install.

note: to install via the terminal (CLI), e.g.
sudo apt-get install wvdial

A. Adding KDE desktop manager to Ubuntu
  1. kdebase-workspace
  2. kde-window-manager

B. For the web experience to surf and email
  1. openjdk-6-jre (using hotspot)
  2. thunderbird & enigmail
  3. icedtea6-plugin
  4. adobe-flashplugin
  5. See item D.
C. System tools
  1. gdecrypt
  2. password-gorilla
  3. ssh sshfs ksshaskpass
  4. khelpcenter4
  5. wvdial
  6. nmap
  7. wireshark
  8. ksnapshot

D. Multimedia, Fonts and codecs
  1. ttf-mscorefonts-installer & cabextract
  2. kubuntu-restricted-extras
  3. vlc videolan-doc mozilla-plugin-vlc vlc-plugin-sdl (include libvcdinfo0)
  4. k3b libk3b6-extracodecs
  5. gstreamer0.10-ffmpeg gstreamer0.10-plugins-bad
  6. gimp-help-en & gimp-data-extras
  7. kdenlive
  8. recorditnow
E. IBM Thinkpad utils
  1. tpb
  2. tp-smapi-dkms
F. OpenOffice.org extra stuff
  1. openoffice.org-ogltrans
  2. openoffice.org-report-builder
  3. openoffice.org-presentation-minimizer
  4. mozilla-openoffice.org
  5. openoffice.org-mysql-connector & mysql-server
  6. myspell-en-gb
  7. openoffice.org-kde
  8. libmysql-java
  9. mdbtools

G. Software development, Eclipse and Android (refer to previous post)

G.1. Apache, PHP & mysql (see previous post)
  1. apache2 & php5 & php-pear (after done check that modules are enabled, run command a2enmod php5 )
  2. mysql-server
  3. php5-mysql libapache2-mod-php5 libapache2-mod-auth-mysql


Not everything can be done via the synaptics. Others that require downloading from the internet manually;
  1. truecrypt-6.3a & libstdc++5_3.3.6-17ubuntu1_i386.deb
  2. Extract PCL_ZTEDCV.tar.gz and install (ZTE usb modem) & libqt3-mt_3.3.8-b-0ubuntu3_i386.deb
  3. Download AdobeReader (to view PDF files) from http://get.adobe.com/reader

Monday, August 30, 2010

Plasma widget error - "could not create a python scriptengine"

In Kubuntu 10.04, Adding widgets may give webkit and scriptengine errors. Here are some of the solutions.

"could not create a python scriptengine"
When installing Solar System widget to desktop, that error appears. Solution is to install plasma-scriptengine-python, e.g. at the terminal (CLI) type;
sudo apt-get install plasma-scriptengine-python


"could not create a webkit scriptengine for the scripted image widget"
When installing Scripted Image widget to desktop, above error appears. Solution, install plasma-scriptengine-webkit. E.g. at CLI type;
sudo apt-get install plasma-scriptengine-webkit

-the end-

Sunday, August 15, 2010

Android development on Eclipse

My notes on Android development


Install Eclipse and the java base (about 256Mb)

Install Java

Ubuntu 10.04 provides Java6 in the form of OpenJDK (openjdk-6-jdk). This is great for developers, but for those who wants to install Sun (Oracle) version of Java6, I will also provide the steps here

A) Install OpenJDK (check if its already installed before doing this!)
Step 1: open a terminal and type the following;

update-alternatives --query java

If you already have OpenJDK, then you do not need to install it anymore. If you do not have any Java JDK listed, then continue to step 2.

Step 2:
sudo apt-get install openjdk-6-jdk openjdk-6-jdk icedtea6-plugin

B) Install Sun (Oracle) Java JDK.
Step 1: Add the repository for Sun Java. Open a terminal and type the following;

sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
sudo apt-get update

Step 2: Install the JDK along with the plugin

sudo apt-get install sun-java6-jdk sun-java6-plugin

Step 3: Make it your default
Sun Java is now installed, but you need to make it the default java to use:

sudo update-alternatives --config java


Install Eclipse

Open a terminal and type;

sudo apt-get install eclipse eclipse-pde eclipse-jdt eclipse-plugin-cvs



Install Android plugin for Eclipse

Refer for details at Android.com
Download and add the Eclipse plugin for Android by (update 15 Feb 2010)
wget http://dl.google.com/android/android-sdk_r09-linux_x86.tgz
wget http://dl.google.com/android/ADT_9.0.0.zip


previous post was;
$ wget http://dl.google.com/android/ADT-0.9.7.zip

The tgz is for the android SDK.

Blog Archive