2012년 4월 30일 월요일

2012년 4월 29일 일요일

안드로이드 에뮬레이터 초기화


$cd ~/.android/avd/[user-defined.avd]/
$rm -f userdata-qemu.img

안드로이드 개발환경 설치


pre. 유분투 64에서 ia32-libs 설치

1. 이클립스 설치
$sudo apt-get install eclipse eclipse-jdt -force-yes=yes

2. 이클립스 실행문제
 #eclipse가 실행되지 않을 경우
$sudo update-alternatives --config java
실행하여 openjdk를 선택
 OR
 ln -s /usr/lib/jni/libswt-* ~/.swt/lib/linux/x86_64/
3. ADT 설치
 eclipse에서 Help-Install New Software를 클릭햐여
 https://dl-ssl.google.com/android/eclipse/ 주소를
추가하여 ADT를 설치








2012년 4월 28일 토요일

오라클 자바 최신버전 설치

Add ppa (ppa:webupd8team/java) then install Oracle Java Development Kit 7,
 run command below in terminal:
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo mkdir -p /usr/lib/mozilla/plugins #just in case, this will be added to the package in the next version
sudo apt-get install oracle-jdk7-installer 
To remove Oracle Java Development Kit 7, run command below :
sudo apt-get remove oracle-jdk7-installer
 
 
 $ sudo update-alternatives --config java
There are 2 choices for the alternative java (providing /usr/bin/java).

  Selection    Path                                      우선순  Status
------------------------------------------------------------
* 0            /usr/lib/jvm/java-6-openjdk/jre/bin/java   1061      auto mode
  1            /usr/lib/jvm/java-6-openjdk/jre/bin/java   1061      manual mode
  2            /usr/lib/jvm/java-6-sun/jre/bin/java       63        manual mode

Press enter to keep the current choice[*], or type selection number: 2
update-alternatives: using /usr/lib/jvm/java-6-sun/jre/bin/java to provide /usr/bin/java (java) in manual mode.

유분투 12.04 마우스 커서 크기 변경

Tutorial on how to change Mouse Cursors Size in Ubuntu 11.10 or 12.04 and other Gnome 3 based systems. Ideal if you have visual impairment that makes it difficult to see the default small cursor on the screen.

Instructions:
Open Terminal (Ctrl+Alt+T)
sudo apt-get install dconf-tools
gedit ~/.Xresources
Xcursor.size: 64
(Could also use 16, 32, 48, or 64)
Open DConf-Editor
Org - Gnome - Desktop - Interface
Change cursor-size to match earlier size
Reboot

Please note this won't work with the KDE Oxygen cursors

ubuntu 11.10/12.04 gnome3/unity에서 마우스커서 바꾸기

Tutorial on how to change Mouse Cursors in Gnome 3 with Ubuntu 11.10 and 12.04. I show you how to get the fancy KDE Oxygen coloured mouse cursors selected, but the same also applies for any other X-Cursor Theme.

Install:
gnome-tweak-tool
oxygen-cursor-theme
oxygen-cursor-theme-extra

Open Advanced Settings (gnome-tweak-tool)
Select new cursor theme

Open Terminal (Ctrl+Alt+T)
sudo update-alternatives --config x-cursor-theme

Press Alt+F2
compiz --replace
(Alternatively reboot if compiz --replace doesn't work)

To undo the changes simply repeat all the commands above but choose DMZ-White Cursor theme.

파이어폭스 스크롤 속도 증가시키기

about:config 주소를 입력하여 mousewheel.withnokeys.sysnumlines를 fault로 설정하고 mousewheel.withnokeys.numlines를 6 이상 값으로 지정한다.