compiz dbus로 돌리기

Posted by 미스란디르 Sat, 16 Sep 2006 19:51:00 GMT

dbus-send --type=method_call --dest=org.freedesktop.compiz   
/org/freedesktop/compiz/rotate/allscreens/rotate_left   org.freedesktop.compiz.activate string:root int32:0x52

하면 왼쪽으로 돈다.

이걸 하려면 compiz의 dbus 플러긴과 rotate플러긴을 켜줘야 한다.

문제는 포인터가 0,0 (왼쪽 위 끝) 으로 가버린다는 건데, 이건 compiz를 좀 고치면 해결이 되긴 한다.

Posted in  | 2 comments | no trackbacks

screen 안에서 emacs 사용하기

Posted by 미스란디르 Mon, 10 Jul 2006 16:41:00 GMT

emacs에는 자체적으로 desktop(실행중의 각종 환경)을 저장하는 기능이 있지만, 컴퓨터를 끌 일이 없다면 screen을 사용하는 것 역시 매력적이다. 하지만 screen의 기본 escape키가 C-a 라서 매우 불편한데, 간단히 옵션을 주면 바꿀 수 있다. (이걸 몰라서 2년간 screen을 안썼다 -_-...) > screen -e '``' 혹은 $HOME/.screenrc에 escape '``' 이제 `키를 C-a 대신 사용할 수 있다. '`' 를 입력하고 싶다면, `키를 두번 누르기만 하면 된다.

Posted in  | Tags ,  | 4 comments | no trackbacks

Older posts: 1 2 3