RSS

Tag Archives: ubuntu

Ubuntu: cannot apply the stored configuration for monitors


If you are running Ubuntu 13.04 or 14.04, some times after system startup, you will find an error message:

ubuntu cannot apply the stored configuration for monitors

image

To get rid of this, simply remove .config/monitors.xml.

Open a terminal and run below commands:

cd .config/
rm monitors.xml

Reboot and everything should work fine.

Advertisements
 
Leave a comment

Posted by on August 19, 2014 in Linux

 

Tags: , , , , , ,

Gradle: SDK location not found, the problem and solution


In a recent project, I created a Gradle project in windows, but when I load the project in Ubuntu and Mac OSX, an error “SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable”

image

I then followed the instruction, and in the ~/.bashrc file, I added the environment variable ANDROID_HOME

image

Read the rest of this entry »

 
8 Comments

Posted by on July 2, 2014 in General, Linux, Mac, Programming, Windows

 

Tags: , , , , , , , , , , , , ,

Install Genymotion In Ubuntu


Genymotion is a great virtual machine, especially for emulating Android VMs.

In my earlier post, I have shown how to emulate Nexus 10 using Genymotion.

image

Recently, I need to do the same work in Ubunut, and found this post very useful to guide me in installation of Genymotion in Ubuntu. Below is from the post by Gregory Schier:

Read the rest of this entry »

 
1 Comment

Posted by on May 29, 2014 in Android, Linux, Programming

 

Tags: , , , , , , , , , , , , ,

VirutalBox: VERR_PDM_MEDIA_LOCKED cannot mount guest additions iso


After installing VirtualBox in windows, and if you use Menu > Devices > Install Guest Additions, most probably you might encounter the below errors:

image

“Unable to mount the CD/DVD image
Could not mount the media/drive VBoxGuestAdditions.iso (VERR_PDM_MEDIA_LOCKED)”

A simple solution is to open a terminal in Ubuntu, and then type below command:

sudo apt-get install virtualbox-guest-additions-iso
 
4 Comments

Posted by on September 30, 2013 in Linux

 

Tags: , , , , , , , , ,

Install OSG for Android On Ubuntu 13.04: Step-by-Step tutorials


Installation of essential tools and packages

  

Installation of open scene graph

     

Build the 1st Android OSG Example Application

  

Read the rest of this entry »

 
6 Comments

Posted by on September 24, 2013 in Linux, osg, Programming

 

Tags: , , , , , , , , , , , ,