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 이상 값으로 지정한다.

유분투 유니티로 로그인시 메뉴와 태스크바가 표시되지 않을 때

유분투 2d로 로그인하여 터미널에서 'unity --reset' 입력

2012년 1월 23일 월요일

Windows 8 x64 Developer Preview를 VMWare 8.0에서 설치

1. CD/DVD탭에서 "I will install the OS later."를 체크하고 새로운 VM파일을 만든다.

2. VM파일 생성완료후 설정편집으로 들어가 CD/DVD탭에서 이미지파일을 로드한 후 부팅.

2011년 12월 13일 화요일

wget 이용하여 developer.android.com 문서 가져오기

$wget -r -p -np -k developer.android.com/dev


-r모든 하위디렉토리 내용들을 가져오기
-p웹페이지의 내용 표현에 필요한 css, 이미지파일들을 가져오기
-np상위디렉토리의 내용은 가져오지 않기
-k다운로드된 웹페이지들의 링크들을 로컬 상대주소로 변경