compiz dbus로 돌리기
Posted by 미스란디르
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를 좀 고치면 해결이 되긴 한다.

실행했더니
root@MAANU:~ # dbus-send—type=methodcall—dest=org.freedesktop.compiz /org/freedesktop/compiz/rotate/allscreens/rotateleft org.freedesktop.compiz.activate string:root int32:0×52 bash: dbus-send—type=method_call—dest=org.freedesktop.compiz: command not found
이런 에러 메시지가 나옵니다.
compiz는
#!/bin/bash gnome-window-decorator & compiz --replace gconf decoration wobbly fade minimize cube rotate zoom scale move resize place switcher dbus &
이렇게 실행했습니다.
흠.. 위에 댓글이 좀 이상하게 달리는 군요.
/bin/bash부분이 gwd윗부분에 있어야 하는데...