Ubuntu KDE setup for Dart

Dart requires Ubuntu 12.04.

http://www.ubuntu.com/

This can be installed on VirtualBox.
(my host OS is opeSuSE)

-----------------
I tried to use gnome, unity, but it sucked.
no menu to start application.
it is probably designed for mass like ipod/ipad.

-------------
So I installed KDE desktop.
http://www.psychocats.net/ubuntu/kde

Still it does not allow to login to the desktop with root user.
To fix this:
http://kav.in/root-login-with-kdm-gdm-login-managers-in-ubuntu-linux/
KDM’s configuration file is located in /etc/kde4/kdm/kdmrc.
Kate opens the file. Now look for a line that says “AllowRootLogin=false”. Change it to “AllowRootLogin=true” . Self explanatory.

-----------

chromium does not allow to run in root.
This is also annoying default.
To fix this:
http://productforums.google.com/forum/#!topic/chrome/ifUQU8O0TXc
Simply modify the /etc/chromium-browser/default file with gedit or leafpad or another pure text file editor to add this flag to the chromium flags:
--user-data-dir
And voilá, chromium starts in a root profile!
-----------
Dart also requires JDK(1.6-), so we need to install JDK as well.
 http://www.oracle.com/technetwork/java/javase/downloads/jdk7u7-downloads-1836413.html

http://www.zimbio.com/the+ubuntu+guy/articles/82/How+set+JAVA_HOME+environment+variable+Ubuntu
One way that you can set your JAVA_HOME variable and add to your PATH, is be doing the folowing.  As 'sudo' open up /etc/bash.bashrc and add the following to the end of the file.  NOTE: Set the java path to whatever the actual path is on your environment if it does not match /usr/lib/jvm/java
JAVA_HOME=/usr/lib/jvm/java
export JAVA_HOME
PATH=$PATH:$JAVA_HOME/bin
export PATH

No comments:

Post a Comment