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






    How do I mount shared folders (win7 host) in Ubuntu (guest) using VMware(tools v6) - Ask Ubuntu

    How do I mount shared folders (win7 host) in Ubuntu (guest) using VMware(tools v6) - Ask Ubuntu

    I have set up on Windows 7 host with Ubuntu 11.04 Desktop with VMware Tools installed on.

    Virtual Machine settings

    • Folder sharing = Always Enabled
    • Make sure you have at least one Folder shared between the host and guest

    On the Ubuntu Guest

    • check /mnt/hgfs that you can access your shared folder.
      If you don't see your shared folders (automounted) inside /mnt/hgfs , run VMware configuration tools:
      sudo vmware-config-tools.pl
    • update your fstab using the details below:
      gksu gedit /etc/fstab
      (I am using ubuntu desktop so use other text editor to enter the next line at the end of the file)
      .host:/{shared-folder} /{path-to-mount-on} vmhgfs defaults,ttl=5,uid=1000,gid=1000 0 0
    • Restart your vm (You may need to restart few times or get error message saying unable to mount just skip the error and restart)

    Linux Persistent USB on Windows

    Persistent USB on Windows

    Converting between Ubuntu Linux desktop distros.

    Converting between Ubuntu Linux desktop distros.

    Kubuntu: apt-get install kubuntu-desktop (KDE)
    Xubuntu: apt-get install xubuntu-desktop (XFCE)
    Lubuntu: apt-get install lubuntu-desktop (LXDE)
    Ubuntu GNOME: apt-get install ubuntu-gnome-desktop (Gnome)

    Tuesday, March 18, 2014

    How to add application to dash

    http://askubuntu.com/questions/67753/how-do-i-add-an-application-to-the-dash

    Monday, March 17, 2014