Hardy에 compiz 추가 플러그인 설치하기

컴퓨터/리눅스 : 2008/06/12 14:09
원본: http://forum.compiz-fusion.org/showthread.php?p=56851

의존성 해결하기
sudo apt-get install compiz-bcop compiz-dev build-essential libtool libglu1-mesa-dev libxss-dev git-core

파일 다운 받기
mkdir ~/compiz
cd ~/compiz
git clone git://anongit.compiz-fusion.org/users/wodor/anaglyph
git clone git://anongit.compiz-fusion.org/fusion/plugins/atlantis
git clone git://anongit.compiz-fusion.org/users/metastability/atlantis2
git clone git://anongit.compiz-fusion.org/users/smspillaz/fireflies
git clone git://anongit.compiz-fusion.org/users/warlock/freewins
git clone git://anongit.compiz-fusion.org/users/b0le/photowheel
git clone git://anongit.compiz-fusion.org/users/pafy/screensaver
git clone git://anongit.compiz-fusion.org/fusion/plugins/snow
git clone git://anongit.compiz-fusion.org/users/metastability/snowglobe
git clone git://anongit.compiz-fusion.org/users/smspillaz/stars
git clone git://anongit.compiz-fusion.org/fusion/plugins/tile
git clone git://anongit.compiz-fusion.org/fusion/plugins/wallpaper

화면 효과 모음집
mkdir -p ~/compiz/elements
wget -O /tmp/elements.tar.gz 'http://www.elementsplugin.com/downloads/elements-most-recent.tar.gz'
tar -xf '/tmp/elements.tar.gz' -C ~/compiz/elements

컴파일 하기
cd ~/compiz/atlantis2
make; make install
끝!!!

그리고는 ccsm(compizconfig-settings-manager)를 열어 설정한다.

지우기

cd ~/compiz/atlantis2
make uninstall









이올린에 북마크하기(0) 이올린에 추천하기(0)
Posted by 나그대로

eth0:avahi

컴퓨터/리눅스 : 2008/05/20 00:45

계속 우분투로 부팅을 하다가 무슨 일이 있어 윈도로 부팅을 했다!
그러다가 일을 마치고 다시 윈도를 끄고 정다운 우분투로 부팅을 했다.

그런데 이런...
랜카드가 IP를 받아오지 못하는 것이다.
스위치를 보니 링크 불이 들어오지 않는다.
그래서 다시 윈도로 부팅을 하니... 잘 되는 것이 아닌가!

이 무슨 조화인가?
우분투 Hardy에서 RTL8139를 쓰고 있었다.
.
.
.
이유는 간단하다.
윈도XP는 셧다운을 하면서 랜카드를 못쓰게(Disable)로 만들어 버린다. 이유는 랜카드를 거쳐 컴퓨터 켜기(Wake-On-Lan) 기능을 못쓰게(Disable)하기 위해서이다. 이렇게 하고 우분투로 부팅을 하면 우분투 랜카드 드라이버는 못쓰게 되어 있는 기능을 쓰도록(Enable)시키지 못한다. 그러다 보니 하드웨어는 인식을 하는데 하드웨어가 제대로 작동하지 못하고 DHCP로 부터 IP를 받아오지 못하는 현상이 발생한다.

해결 방법은 두 가지이다.
1. 윈도XP의 랜카드 드라이버 설정에서 Wake-On-Lan을 Enable로 바꾼다.(그림참조)

사용자 삽입 이미지

2. 하드웨어마다 다르겠지만 컴퓨터를 끄고, 전원까지 뽑으면 몇 초만에 랜카드가 쓰는(Enable)로 바뀐다고 한다.

이올린에 북마크하기(0) 이올린에 추천하기(0)
Posted by 나그대로

VMWare 6 and Ubuntu Hardy: vmmon compile error

컴퓨터/가상머신 : 2008/04/25 11:02
Hardy Heron에  VMWare Workstation 6 을 설치할 때 vmmon compile error가 난다.
이 때 다음과 같은 순서로 해결해 보자...
원본은 http://eitchpress.eitchnet.ch/?p=13에서 발췌했지만 몇군데 본인이 고쳤다.

Problem: include/asm/bitops_32.h:9:2: error: #error only <linux/bitops.h> can be included directly, and vmmon-only compile failes

Solution: change line 74 in vmmon-only source file to read: #include “linux/bitops.h”

Steps:

  1. cd /usr/lib/vmware/modules/source
  2. sudo cp vmmon.tar vmmon.tar.orig
  3. sudo tar xvf vmmon.tar
  4. sudo nano vmmon-only/include/vcpuset.h
  5. 74줄에서 #include “asm/bitops.h” 을 #include “linux/bitops.h”으로 바꾼다.
  6. sudo rm vmmon.tar
  7. sudo tar cvf vmmon.tar vmmon-only/
  8. sudo rm -rf vmmon-only/
  9. sudo vmware-config.pl
이렇게 하면 제대로 작동한다.
이올린에 북마크하기(0) 이올린에 추천하기(0)
Posted by 나그대로

compiz와 에머랄드를 동시에 시작하는 스크립트

컴퓨터/리눅스 : 2008/04/09 00:51
우분투에서 컴피즈를 설치한 후 에머랄드를 설치 했으나 에머랄드 테마가 나타나지 않는 경우가 있다. 이럴 경우 다음과 같이 해 보자.

/usr/bin/ 등의 폴더에 compiz-start.sh 등의 적당한 이름으로 다음 내용의 텍스트 파일을 만든다.
=============================================
#/usr/bin/compiz-start.sh
compiz --replace ccp --sm-disable &
emerald --replace &
=============================================
해당 파일에 실행 권한을 준다.
sudo chmod +x /usr/bin/compiz-start.sh

다음으로 그놈 메뉴에서 '시스템>기본 설정>모양새'를 연다.
화면 효과 탭을 클릭하여 없음을 선택한다.

다음으로 그놈 메뉴에서 '시스템>기본 설정>세션'을 연다.
시작 프로그램 탭에서 추가 버튼을 눌러 위에서 만든 compiz-start.sh를 등록한다.

로그오프 후 다시 로그인해 본다.

이올린에 북마크하기(0) 이올린에 추천하기(0)
Posted by 나그대로

AWN Repository 이동

컴퓨터/리눅스 : 2008/04/01 10:04
deb http://ppa.launchpad.net/reacocard-awn/ubuntu gutsy main
deb-src http://ppa.launchpad.net/reacocard-awn/ubuntu gutsy main

https://launchpad.net/~reacocard-awn/+archive에 자세한 내용...


이올린에 북마크하기(0) 이올린에 추천하기(0)
Posted by 나그대로

Gomplayer on Linux

컴퓨터/리눅스 : 2008/03/23 22:15
http://kldp.org/node/91607
필요 파일만 정리해 놓음...
이올린에 북마크하기(0) 이올린에 추천하기(0)
Posted by 나그대로

Grub 재설치

컴퓨터/리눅스 : 2008/01/31 14:00
1. Live CD를 이용해서 데스크탑까지 부팅을 한다.
2. 터미널 프로그램을 열거나 tty로 변경한다.
3. "grub"를 실행한다.
4. "root (hd0, 3)"을 친다. (hd0, 3)은 linux의 root partition을 나타낸다.   
5. "setup (hd0, 3)"을 친다. windows와 함께 멀티부팅시 (hd0) 식으로 하면 MBR에 저장된다.
6. "quit"를 입력하고 grub를 종료한다.
7. 재시작한다.

Posted by 나그대로

[꾸미기] 마우스 포인터 바꾸기...

컴퓨터/리눅스 : 2007/11/28 12:53
gnome에서만...

sudo apt-get install gcursor

www.gnome-look.org 등에서 테마를 받아
/home/[ID]/.icons/
폴더에 압축을 풀어 넣으면 선택할 수 있다.


이올린에 북마크하기(0) 이올린에 추천하기(0)
Posted by 나그대로

[VirtualBox] Could not load the Host USB Proxy Service

컴퓨터/가상머신 : 2007/11/06 11:02
Gutsy에 VirtualBox를 설치하고 실행시키면 다음과 같은 에러 메시지가 나오는 경우가 있다.
====================================================================================
Could not load the Host USB Proxy Service (VERR_FILE_NOT_FOUND). The service might be not installed on the host computer.


결과 코드:
0x80004005
구성 요소:
Host
인터페이스:
IHost {81729c26-1aec-46f5-b7c0-cc7364738fdb}
호출자:
IMachine {31f7169f-14da-4c55-8cb6-a3665186e35e}
=====================================================================================
원인은 Gutsy에서는 usbfs에 대한 지원이 기본적으로 비활성화되어 있어서 그렇단다.

그럼 해결을 해 보자. 참조 사이트(http://www.arsgeek.com/?p=2776)

1. /etc/init.d/mountdevsubfs.sh을 열어 아래 부분의 주석 표시를 해제한다.
==============================================
#
# Magic to make /proc/bus/usb work
#
#mkdir -p /dev/bus/usb/.usbfs
#domount usbfs “” /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644
#ln -s .usbfs/devices /dev/bus/usb/devices
#mount –rbind /dev/bus/usb /proc/bus/usb
==============================================
을 아래와 같이 바꾼다.
==============================================
#
# Magic to make /proc/bus/usb work
#
mkdir -p /dev/bus/usb/.usbfs
domount usbfs “” /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644
ln -s .usbfs/devices /dev/bus/usb/devices
mount –rbind /dev/bus/usb /proc/bus/usb
==============================================

2. 시스템->관리->사용자와 그룹에서 usbusers라는 그룹을 만든다.
3. /etc/udev/rules.d/40-permissions.rules 파일을 열어 아래 부분을 수정한다.
==============================================
# USB devices (usbfs replacement)
SUBSYSTEM=="usb_device",              MODE="0664"
==============================================
을 아래와 같이 바꾼다.
==============================================
# USB devices (usbfs replacement)
SUBSYSTEM==”usb_device”, GROUP=”usbusers”, MODE=”0664″
==============================================
4. /etc/fstab 파일을 열어 다음 부분을 파일 최 하단에 추가한다.

none /proc/bus/usb usbfs devgid=46,devmode=664 0 0

5. 재부팅

이렇게 하면 각 가상머신에 USB 파트가 생긴다.

이올린에 북마크하기(0) 이올린에 추천하기(0)
Posted by 나그대로

[gutsy] 드디어 Mobility Radeon 9000에서 compiz-fusion 성공!!!

컴퓨터/리눅스 : 2007/11/06 01:25
오랜 숙원이 해결됐다.
내가 쓰고 있는 노트북은 IBM T41 기종이다. 이 노트북은 다 좋은데 딱 두 가지 문제가 나를 아주 힘들게 만들었다.
첫째, 하드디스크. 원래는 삼성 어쩌고 하는 하드가 들어 있다. 이놈의 하드는 우분투를 설치하고 나면 커널 패닉이 난다. 커널 패닉이 나면 웜부팅도 안되기 때문에 리셋버튼이 없는 T41에서는 파워 버튼을 몇 초간 눌러야만 전원이 꺼진다. 그것도 재부팅해서 커널패닉이 안나고 부팅할 확률은 매우 적었다.
결국 나는 T41이 정말 윈도 전용이라고 정하기에 이르렀다.
지금은 결국 다른 노트북 하드로 바꿨다. 아이러니 하게도 여기서 말한 다른 노트북은 삼성 노트북이고 하드는 원래 들어있던 하드디스크는 삼성하드가 아닌 후지쯔 하드다. 결국 삼성도 삼성 노트북에 삼성 하드디스크를 쓰지 않는다는 것이다. 왜일까?

둘쨰, 비디오카드다. ATI Mobility Radeon 9000. 망할놈의 비디오 카드다. 이 비디오카느는 ATI 마저도 더 이상 지원하지 않겠다고 애초에 선언한 구형 중의 상 구형이다. 노트북은 비디오카드를 바꿀 수 없는 애물단지다.
그래서 기존에는 edgy를 설치하고 fglrx 드라이버를 설치한 후 beryl을 쓰고 있었다. 하지만 모든 데스크탑을 compiz-fusion으로 업그레이드 한 후 베릴은 영 손에 맞지 않는 존재가 되고 말았다.

그러다가 어제 혹시나 구글링을 하다가 드디어 찾아 냈다.
그리고 지금 이순간 난 내 노트북으로 compiz-fusion을 즐기고 있다.
아우 신난다.

원본 주소는 http://ubuntuforums.org/archive/index.php/t-550082.html 이다.

중간쯤에 있는 Michael Longval의 글이 해답이다.
각설하고 간략하게 설명하자면...

1. gutsy를 새로 설치하고, compiz fusion을 설치한다.
    sudo apt-get install compiz compizconfig-settings-manager
2. /etc/X11/xorg.conf를 손질한다. 핵심은 색깊이를 24Bit 에서 16Bit으로 내리는 것이다. xorg.conf에서 중요 부분은 글 후미에 싣도록 하겠다.
3. compiz를 실행시킬때 SKIP_CHECKS=yes라는 명령어와 같이 실행시킨다. (예를 들어: $ SKIP_CHECKS=yes compiz --replace )

이상이다. 상상외로 간단했다.

아래는 xorg.conf에서 중요 부분을 발췌한 것이다.
===================================================================================
Section "Device"
    Identifier "Radeon 9000"
    Driver "ati"
    BusID "PCI:1:0:0"
    Option "XAANoOffscreenPixmaps"
EndSection

Section "Monitor"
    Identifier "Generic Monitor"
    Option "DPMS"
    HorizSync 30-70
    VertRefresh 50-160
EndSection

Section "Screen"
    Identifier "Default Screen"
    Device "Radeon 9000"
    Monitor "Generic Monitor"
    DefaultDepth 16
    SubSection "Display"
        Depth 16
        Modes "1400x1050"
    EndSubSection
EndSection

Section "ServerLayout"
    Option "AIGLX" "true"
    Identifier "Default Layout"
    Screen "Default Screen"
    InputDevice "Generic Keyboard"
    InputDevice "Configured Mouse"
EndSection

Section "DRI"
    Mode 0666
EndSection

Section "Extensions"
    Option "Composite" "Enable"
EndSection

이올린에 북마크하기(0) 이올린에 추천하기(0)
Posted by 나그대로

[우분투 gutsy] ATI에서 compiz-fusion과 xgl 문제

컴퓨터/리눅스 : 2007/10/22 10:21
다른 그래픽카드는 실험을 해 보지 않았지만,
ATI Radeon 9600에서 나타난 현상이다.

일단 gutsy 설치를 끝내고 나면 제한된 드라이버가 있다고 나온다. 물론 source.list에서 restrict에서 주석을 제거한 경우다.

제한된 드라이버를 설치하겠다고 하면 xorg-drivers-fglrx를 설치한다.

compiz-fusion을 실행시키려고 하면 xgl이 없다는 메시지가 나오며 작동이 되지 않는다.
- compiz-fusion이 제대로 작동 되지 않을 경우 터미널에서 compiz --replace를 쳐보면 메시지를 확인할 수 있다.

이때는 다음과 같이 설치해 주면 된다.

sudo apt-get install xserver-xgl

이올린에 북마크하기(0) 이올린에 추천하기(0)
Posted by 나그대로

[우분투] Session에 시작 프로그램 추가할 때

컴퓨터/리눅스 : 2007/10/22 10:05
누구나 아는 문제일 수 있지만, 경험으로 얻어낸 실수라서 적는다.

Session에 시작 프로그램을 추가할 때
터미널 명령에서 하듯이 끝에 & 를 붙이면 안된다.

이올린에 북마크하기(0) 이올린에 추천하기(0)
Posted by 나그대로

[우분투 gutsy] 설치하면서

컴퓨터/리눅스 : 2007/10/21 22:26
우분투 새 버전이 나왔다. gutsy
gutsy는 많이 안정되었다고 볼 수 있다.

지금까지 여섯 번 정도 설치해 보았으니 그리 많은 횟수는 아니다.
하지만 그 과정에서 제일 어렵게 한 문제가 주서버 문제였다.
설치하면서 지역을 우리나라로 설치하면 프로그램 소스를 우리나라 서버로 설정하고 우리나라 서버에서 여러 프로그램들을 받아오게 된다.

그런데 문제는 이 서버가 자주 죽는다는 것이다.

그러면서 설치 과정에서 서버리고 만다.

다른 문제가 아니라 국내에 설치된 서버 문제인 것 같다.
쩝...

이올린에 북마크하기(0) 이올린에 추천하기(0)
Posted by 나그대로

[VMWare] 우분투에 VMWare Server 깔고 Console 접속이 안될 때

컴퓨터/가상머신 : 2007/10/19 16:58
우분투에 VMWare 서버를 에러 없이 깔고
VMware Console로 접속을 시도하자 접속이 거부되었다는 메시지가 나올 경우가 있다.
이 경우에는...

sudo apt-get install xinetd

를 해주고,

vmware-config.pl

을 실행시켜 재 설정을 하면 해결 된다.

이올린에 북마크하기(0) 이올린에 추천하기(0)
Posted by 나그대로

[VMWare] Linux에서 도는 Works에서 Promiscuous모드 만들기

컴퓨터/가상머신 : 2007/09/29 10:01
Using Virtual Ethernet Adapters in Promiscuous Mode on a Linux Host Products
    
VMware GSX Server
VMware Workstation
Details
    
How do I set my virtual Ethernet adapter on my Linux host to run in promiscuous mode?
Solution
    

VMware software does not allow the virtual Ethernet adapter to go into promiscuous mode unless the user running the VMware software has permission to make that setting. This follows the standard Linux practice that only root can put a network interface into promiscuous mode.

When you install and configure your VMware software, you run the installation as root, and we create the vmnet0-vmnet3 devices with root ownership and root group ownership. We also give those devices read/write access for the owner root only. For a user to be able to set the virtual machine's network adapter to promiscuous mode, the user who launches the VMware product needs to have read/write access to the vmnetx device (/dev/vmnet0 if using basic bridged mode).

One way to do this is to create a new group, add the appropriate users to the group, and give that group read/write access to the appropriate device. These changes need to be made on the host operating system as root (su). For example:

chgrp newgroup /dev/vmnet0
chmod g+rw /dev/vmnet0
where newgroup is the group that should have the ability to set vmnet0 to promiscuous mode.

If you want all users to be able to set the virtual network adapter (/dev/vmnet0 in our example) to promiscuous mode, you can simply run the following command on the host operating system as root:

chmod a+rw /dev/vmnet0

More issues regarding promiscuous mode are discussed in Knowledge Base article 514. Please see:

www.vmware.com/support/kb/enduser/std_adp.php?p_faqid=514.

Product Versions
    
VMware GSX Server 2.0.x (Linux hosts)
VMware GSX Server 2.5.x (Linux hosts)
VMware GSX Server 3.x (Linux hosts)
VMware Workstation 3.x (Linux Hosts)
VMware Workstation 4.x (Linux hosts)

이올린에 북마크하기(0) 이올린에 추천하기(0)
Posted by 나그대로

[꾸미기] screenlets 날씨 기능 수정.

컴퓨터/리눅스 : 2007/08/20 02:24
screenlets는 여전히 개발중인 상태다.
여러 기능 가운데 필자는 windowslist와 날씨, 노트, 시계를 주로 사용한다.
그리고 무슨 이유인지 실행 시키는 중심 데몬이 없는 관계로 하나 하나 기능을 따로 실행시키고 있고, 몇몇 기능은 이미 설정한 셋팅이 없어진다. 시계나 windowslist는 문제가 안되지만...
날씨는 매번 서울(ksxx0037)을 입력하는 것이 귀찮다.
그래서 소스를 수정했다.
아래 파일을 /usr/local/share/screenlets/Weather에 넣어주면 된다.



이올린에 북마크하기(0) 이올린에 추천하기(0)
Posted by 나그대로

[멀티미디어] mplayer에 한글 자막을 위한 config

컴퓨터/리눅스 : 2007/08/18 03:58
다음 내용을 ~/.mplayer/config에 넣는다.

========================================================================================
vo=x11                  #설정 변경  - 비디오모드를 SDL모드로 openGl를 사용하고싶으시면 gl2, 안된다면 x11, xv 로..
ao=oss                  #or oss     #오디오 모드 - SDL로 -그냥 SDL모드로 하세요 안되시면 oss로 하시고요
unicode=1               # 한글 자막을 위해서 입니다.
suvfont-text-scale=2
subcp=cp949
fs=no
font=/home/twilight/.fonts/gulim.ttc
========================================================================================

이올린에 북마크하기(0) 이올린에 추천하기(0)
Posted by 나그대로

[리눅스] Grub 화면에 배경을 넣어보자

컴퓨터/리눅스 : 2007/08/18 00:41
1. 첨부 파일을 받아 /boot/grub/에 넣는다.
2. sudo nano /boot/grub/menu.lst로 파일을 열어 아래와 같이 한 줄을 추가한다.
   단, 주의할 점은 (hd1,1)은 바로 아래에 있는 우분투 설치 하드 디스크와 숫자가 같아야 한다. 그렇지 않을 경우 XP가 부팅이 안되는 현상이 발생할 수 있다.
===================================================================================
:
:
## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## ## End Default Options ##

splashimage=(hd1,1)/boot/grub/ubuntu_usplash_grub.xpm.gz

title           Ubuntu, kernel 2.6.20-16-generic
root            (hd1,1)
kernel          /boot/vmlinuz-2.6.20-16-generic root=UUID=28bbf2ea-bbe8-404a-9b93-1f9f01a14d0d ro quiet splash
initrd          /boot/initrd.img-2.6.20-16-generic
quiet
savedefault

title           Ubuntu, kernel 2.6.20-16-generic (recovery mode)
root            (hd1,1)
kernel          /boot/vmlinuz-2.6.20-16-generic root=UUID=28bbf2ea-bbe8-404a-9b93-1f9f01a14d0d ro single
initrd          /boot/initrd.img-2.6.20-16-generic

title           Ubuntu, memtest86+
root            (hd1,1)
kernel          /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST
:
:
===================================================================================

이렇게 하면 grub 화면에 배경을 넣을 수 있다.
이올린에 북마크하기(0) 이올린에 추천하기(0)
Posted by 나그대로

[우분투] 새 Repository (pidgin,아래한글)

컴퓨터/리눅스 : 2007/08/17 18:56
/etc/apt/sources.list에 다음을 추가한다.

## haz3.com repository
## Pidgin
#wget http://archive.haz3.com/key.gpg -O- | sudo apt-key add -
deb http://archive.haz3.com/ubuntu feisty all
deb http://archive.haz3.com/ubuntu feisty pidgin

다음과 같이 설치한다.

sudo apt-get install haansoft-hwp-trial
sudo apt-get install gaim pidgin-nateon

위 Repository에 포함된 패키지는 다음과 같다.
all
hannsoft-hwp
audacious charset patch
pidgin
pidgin

리눅스용 아래한글 60일 사용 제한 풀기: 다음 두 파일을 지운다.
rm ~/.gconf/apps/%gconf.xml
rm ~/.gconf/apps/HNC/%gconf.xml
이올린에 북마크하기(0) 이올린에 추천하기(0)
Posted by 나그대로