Wednesday, March 19, 2014

Day 0.1 - Fresh Linux Install

  1. Fresh new install of Ubuntu 13.10.
  2. Enabled root login
    1. sudo passwd root
    2. sudo gedit /etc/lightdm/lightdm.conf.d/50-unity-greeter.conf
    3. Add line:greeter-show-manual-login=true
http://ubuntuhandbook.org/index.php/2013/11/login-as-root-ubuntu-13-10-saucy-salamander/


  1. Login as root



  1. Ubuntu Software updates



  1. Install OpenJDK7 Java using Ubuntu Software Center



  1. Update environment variables


  1. http://askubuntu.com/questions/308422/android-sdk-and-path
  2. gedit .bash_aliases
  3. gedit /etc/environment




  1. PATH

export ANDROID_HOME=/opt/android/sdk
export PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools


  1. JAVA_HOME


Issue: There was an issue with gedit whenever I opened it: “** (gedit:9280): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found”

Solution: http://askubuntu.com/questions/369915/warnings-while-launching-gedit-from-the-ubuntu-terminal

Updating gir1.2-gtksource-3.0 solved the problem for me; the errors no longer appear.
sudo apt-get install gir1.2-gtksource-3.0

Issue: gedit Gtk-WARNING GtkScrolledWindow is mapped but visible child GtkScrollbar is not mapped”

Solution: http://askubuntu.com/questions/435528/gedit-warning-gtkscrolledwindow-is-mapped-but-visible-child-gtkscrollbar-is-not

It was a bug in overlay-scrollbar which has been fixed here at launchpad. It has been fixed.

So just run
sudo apt-get update
sudo apt-get install overlay-scrollbar


  1. Download Android ADK
  2. Install Eclipse 4.3.2 Standard
installed it to /opt/ and followed this URL to setup it up so you can run it from the Dash.


Create a desktop file and place it into /usr/share/applications

# sudo gedit /usr/share/applications/eclipse.desktop
Copy the following to the eclipse.desktop file
[Desktop Entry]
Name=Eclipse
Type=Application
Exec=/opt/eclipse/eclipse
Terminal=false
Icon=/opt/eclipse/icon.xpm
Comment=Integrated Development Environment
NoDisplay=false
Categories=Development;IDE
Name[en]=eclipse.desktop
Exec=env UBUNTU_MENUPROXY=0 /opt/eclipse/eclipse

Exec=env UBUNTU_MENUPROXY=0 /opt/eclipse/eclipse 
4. Drag and Drop eclipse icon from /usr/share/applications/eclipse.desktop to your Dash Bar.
Very important for Ubuntu 13.10: you have to add the line below to the end of eclipe.desctop fil

Exec=env UBUNTU_MENUPROXY=0 /opt/eclipse/eclipse
Create a desktop file and place it into /usr/share/applications
# sudo gedit /usr/share/applications/eclipse.desktop
Copy the following to the eclipse.desktop file
[Desktop Entry]
Name=Eclipse
Type=Application
Exec=/opt/eclipse/eclipse
Terminal=false
Icon=/opt/eclipse/icon.xpm
Comment=Integrated Development Environment
NoDisplay=false
Categories=Development;IDE
Name[en]=eclipse.desktop
4. Drag and Drop eclipse icon from /usr/share/applications/eclipse.desktop to your Dash Bar.
Very important for Ubuntu 13.10: you have to add the line below to the end of eclipe.desctop file.
- See more at: http://www.blogs.digitalworlds.net/softwarenotes/?p=54#sthash.sqFwqJQo.dpuf
Create a desktop file and place it into /usr/share/applications
# sudo gedit /usr/share/applications/eclipse.desktop
Copy the following to the eclipse.desktop file
[Desktop Entry]
Name=Eclipse
Type=Application
Exec=/opt/eclipse/eclipse
Terminal=false
Icon=/opt/eclipse/icon.xpm
Comment=Integrated Development Environment
NoDisplay=false
Categories=Development;IDE
Name[en]=eclipse.desktop
4. Drag and Drop eclipse icon from /usr/share/applications/eclipse.desktop to your Dash Bar.
Very important for Ubuntu 13.10: you have to add the line below to the end of eclipe.desctop file.
- See more at: http://www.blogs.digitalworlds.net/softwarenotes/?p=54#sthash.sqFwqJQo.dpuf






    No comments:

    Post a Comment