# = root

$ = 일반사용자


제가 사용하는 fedora17 x64에서는 기본적으로 ibus가 깔리던데요 한영전환이 오른Alt키로 대더라고요 ㅡㅡ;;;;;;; 제길슨 ㅎ;;

그래서 버스 지우고 나비를 깔아볼라고합니다. 초간단 어렵지 아나요;;;

다운받으로 가야겠죠.

https://code.google.com/p/nabi/

나비 최신버젼을 받아보세용 저는 0.99.11 을 받았습니다. /Download 디렉토리에 받았습니다.

또 필요한거 있어요 libhangul도 받아야됩니다.

https://code.google.com/p/libhangul/downloads/list


두 파일을 받아서 잘 쟁여놓으시고 기존에 있던 ibus와  libhangul을 지워버립니다. 과감하게 !!


1 - 기존거 지우기

 
# su
 
# yum erase ibus ibus-hangul libhangul                         ##지워버리기

# yum install glibc-devel gcc cpp gtk2-devel               ## 실행전 필요한 준비물 설치. (미리 설치해놔야 오류가 없겠죵)




2 - libhangul 0.1.0 설치하기  (혹시 gcc없으면 # yum install gcc 로 설치)


압축풀은 폴더에서
   
[root@localhost libhangul-0.1.0]# ./configure --prefix=/usr
[root@localhost libhangul-0.1.0]# make
[root@localhost libhangul-0.1.0]# make install


설치되었는지 확인

# pkg-config --list-all | sort


만약 리스트에 libhangul이 안나와있을경우 아래명령 고고


# export PKG_CONFIG_PATH=/usr/share/pkgconfig:/usr/lib64/pkgconfig:/usr/lib/pkgconfig

다시 확인 명령해보고 libhangul이 안나온다면 libhangul.pc 파일의 위치를 찾아내서 위와같은명령으로 응용해서 위치를 잡아줘야합니다. 그래야 나비 설치할때 오류가 안납니다.




3 - nabi 설치하기

 
[root@localhost nabi-0.99.11]# ./configure --prefix=/usr
[root@localhost nabi-0.99.11]# make
[root@localhost nabi-0.99.11]# make install


해서 설치


혹시라도

configure: error: nabi needs GTK+ 2.4.0 or higher 오류가 나온다면


# yum install gtk2-devel


  설치로 해결할수있습니다.



4 - 나비인식시키기


root 를 해제하고 진행

/home 디렉토리에 .i18n 파일을 만들어서
   
$ cd ~
 
$ touch .i18n
 
$ vi .i18n

 

그안에 아래 내용을 입력해줍니다.

 
export XMODIFIERS="@im=nabi"
export XIM_PROGRAM=/usr/bin/nabi


혹시 nabi가 다른경로에 있을경우 찾아서 바꿔줍니다. /usr/local/bin/nabi 가 될수도 있습니다.

저의경우는 /usr/bin/안에 nabi가 있었습니다.




5 - 시작프로그램등록

아래 명령으로 시작프로그램을설정을 들어가줍니다.
$ gnome-session-properties



추가 -> 시작프로그램추가 창에서

이름 (N): 나비

명령 (M): nabi &

설명 (E)




이제 시스템설정에서 기본언어를 한글로 설정해주고 키보드 101/104키보드 추가해주면 한글됩니다.

재부팅하면 나비가 실행됩니다. 저는 이렇게 해서 잘사용하고있습니다...

이제 아까다운받은 nabi 와 libhangul 폴더와 압축파일들을 지워주면됩니다.


고생하셨슴닷!!!

    잔해 지우기 ㅋ
[root@localhost Downloads]# rm -rf libhangul-0.1.0/
 
[root@localhost Downloads]# rm -rf nabi-0.99.11/
 
[root@localhost Downloads]# rm nabi-0.99.11.tar.gz
 
yes 눌르심됨다
 
[root@localhost Downloads]# rm libhangul-0.1.0.tar.gz
 
yes 눌르심됨다


Vmware에 리눅스 설치했을때 다음과같은 오류가 난다면.

 The default sound device cannot be opened : 
시스템의 영역을 벗어난 장치 ID를 사용했습니다.
Sound will disconnected.


방법은 이렇게..
 방법 1
Analog Stereo Duplex 를 Analog Stereo Output 으로 바꿔주고 리부팅해본다.
 

Very late response,

but i might have a solution(if you did not find it on your own).

 

Just as you i was struggeling with the sound problem.

(Win 7, VM workstation 7.1.3 build 324285)

But found the problem within the ubuntu 10.10 installation.

goto

System-->Preferences-->Sound

Then hit the tab "Hardware".

On the bottem you will find "Profile:"

Witch has the value of "Analog Stereo Duplex".

Change the value to "Analog Stereo Output".

Hit "close".

 

Reboot the VM and if all goes well you shoeld have no more sound problems.

 


 방법 2

If like me you use MPD as a service daemon to listen to music, you might be annoyed anytime GDM start a pulseaudio process which prevents MPD from accessing the sound device.

Typically, the output of ps will produce the following output:

$ ps aux | grep pulse
gdm 1371 0.0 0.4 98180 4776 ? S<sl Jun13 0:00 /usr/bin/pulseaudio --start --log-target=syslog
gdm 1411 0.0 0.2 10748 2968 ? S Jun13 0:00 /usr/lib/pulseaudio/pulse/gconf-helper

One way to sort the situation would be to kill this process manually, unfortunately, next time you reboot, the issue will happen again.

Another solution is to simply tell GDM not to use the sound. This can be done by editing/var/lib/gdm/.pulse/client.conf and add:

autospawn = no
daemon-binary = /bin/true

Mind that this file or parent directories might not exist, hence you might have to create them.

And the last thing to do is to grant access to this file to gdm user:

# chown gdm:gdm /var/lib/gdm/.pulse/client.conf

Now, next time you will restart your graphical session, the sound device will be accessible by mpd.

 
 
 

참조페이지
http://communities.vmware.com/thread/291874

http://www.debuntu.org/how-disable-pulseaudio-and-sound-gdm

+ Recent posts