Mutter 창 관리자를 독립형으로 실행

Mutter 창 관리자를 독립형으로 실행

저는 Debian 7(즉, 현재 설치된 Gnome 3 없이)에서 독립형 창 관리자를 실행하려고 합니다. 분명히 Gnome은 이미 mutter창 관리자를 실행하고 있습니다.

$ wmctrl -m
Name: Mutter
Class: N/A
PID: N/A
Window manager's "showing the desktop" mode: N/A

하지만 실행할 Mutter 실행 파일을 찾을 수 없는 것 같습니다. 나에게 실행 파일처럼 보이는 $PATH결과는 없습니다 . ( 및 아래 출력의 두 디렉터리는 모두 디렉터리입니다.)locate mutter/usr/share/mutter//usr/lib/mutter/

$ sudo locate mutter
/usr/lib/libmutter.so.0
/usr/lib/libmutter.so.0.0.0
/usr/lib/mutter
/usr/lib/mutter/Meta-3.0.typelib
/usr/share/mutter
/usr/share/GConf/gsettings/mutter-schemas.convert
/usr/share/app-install/desktop/mutter.desktop
/usr/share/doc/gir1.2-mutter-3.0
/usr/share/doc/libmutter0
/usr/share/doc/mutter-common
/usr/share/doc/gir1.2-mutter-3.0/AUTHORS
/usr/share/doc/gir1.2-mutter-3.0/NEWS.gz
/usr/share/doc/gir1.2-mutter-3.0/README.gz
/usr/share/doc/gir1.2-mutter-3.0/changelog.Debian.gz
/usr/share/doc/gir1.2-mutter-3.0/changelog.gz
/usr/share/doc/gir1.2-mutter-3.0/copyright
/usr/share/doc/libmutter0/AUTHORS
/usr/share/doc/libmutter0/NEWS.gz
/usr/share/doc/libmutter0/README.gz
/usr/share/doc/libmutter0/changelog.Debian.gz
/usr/share/doc/libmutter0/changelog.gz
/usr/share/doc/libmutter0/copyright
/usr/share/doc/mutter-common/AUTHORS
/usr/share/doc/mutter-common/NEWS.gz
/usr/share/doc/mutter-common/README.gz
/usr/share/doc/mutter-common/changelog.Debian.gz
/usr/share/doc/mutter-common/changelog.gz
/usr/share/doc/mutter-common/copyright
/usr/share/glib-2.0/schemas/org.gnome.mutter.gschema.xml
/usr/share/gnome-control-center/keybindings/50-mutter-windows.xml
/usr/share/locale/am/LC_MESSAGES/mutter.mo
/usr/share/locale/ar/LC_MESSAGES/mutter.mo
/usr/share/locale/as/LC_MESSAGES/mutter.mo
/usr/share/locale/ast/LC_MESSAGES/mutter.mo
/usr/share/locale/az/LC_MESSAGES/mutter.mo
/usr/share/locale/be/LC_MESSAGES/mutter.mo
/usr/share/locale/be@latin/LC_MESSAGES/mutter.mo
/usr/share/locale/bg/LC_MESSAGES/mutter.mo
/usr/share/locale/bn/LC_MESSAGES/mutter.mo
/usr/share/locale/bn_IN/LC_MESSAGES/mutter.mo
/usr/share/locale/br/LC_MESSAGES/mutter.mo
/usr/share/locale/bs/LC_MESSAGES/mutter.mo
/usr/share/locale/ca/LC_MESSAGES/mutter.mo
/usr/share/locale/ca@valencia/LC_MESSAGES/mutter.mo
/usr/share/locale/cs/LC_MESSAGES/mutter.mo
/usr/share/locale/cy/LC_MESSAGES/mutter.mo
/usr/share/locale/da/LC_MESSAGES/mutter.mo
/usr/share/locale/de/LC_MESSAGES/mutter.mo
/usr/share/locale/dz/LC_MESSAGES/mutter.mo
/usr/share/locale/el/LC_MESSAGES/mutter.mo
/usr/share/locale/en_CA/LC_MESSAGES/mutter.mo
/usr/share/locale/en_GB/LC_MESSAGES/mutter.mo
/usr/share/locale/eo/LC_MESSAGES/mutter.mo
/usr/share/locale/es/LC_MESSAGES/mutter.mo
/usr/share/locale/et/LC_MESSAGES/mutter.mo
/usr/share/locale/eu/LC_MESSAGES/mutter.mo
/usr/share/locale/fa/LC_MESSAGES/mutter.mo
/usr/share/locale/fi/LC_MESSAGES/mutter.mo
/usr/share/locale/fr/LC_MESSAGES/mutter.mo
/usr/share/locale/ga/LC_MESSAGES/mutter.mo
/usr/share/locale/gl/LC_MESSAGES/mutter.mo
/usr/share/locale/gu/LC_MESSAGES/mutter.mo
/usr/share/locale/ha/LC_MESSAGES/mutter.mo
/usr/share/locale/he/LC_MESSAGES/mutter.mo
/usr/share/locale/hi/LC_MESSAGES/mutter.mo
/usr/share/locale/hr/LC_MESSAGES/mutter.mo
/usr/share/locale/hu/LC_MESSAGES/mutter.mo
/usr/share/locale/hy/LC_MESSAGES/mutter.mo
/usr/share/locale/id/LC_MESSAGES/mutter.mo
/usr/share/locale/ig/LC_MESSAGES/mutter.mo
/usr/share/locale/is/LC_MESSAGES/mutter.mo
/usr/share/locale/it/LC_MESSAGES/mutter.mo
/usr/share/locale/ja/LC_MESSAGES/mutter.mo
/usr/share/locale/ka/LC_MESSAGES/mutter.mo
/usr/share/locale/kn/LC_MESSAGES/mutter.mo
/usr/share/locale/ko/LC_MESSAGES/mutter.mo
/usr/share/locale/ku/LC_MESSAGES/mutter.mo
/usr/share/locale/la/LC_MESSAGES/mutter.mo
/usr/share/locale/lt/LC_MESSAGES/mutter.mo
/usr/share/locale/lv/LC_MESSAGES/mutter.mo
/usr/share/locale/mai/LC_MESSAGES/mutter.mo
/usr/share/locale/mg/LC_MESSAGES/mutter.mo
/usr/share/locale/mk/LC_MESSAGES/mutter.mo
/usr/share/locale/ml/LC_MESSAGES/mutter.mo
/usr/share/locale/mn/LC_MESSAGES/mutter.mo
/usr/share/locale/mr/LC_MESSAGES/mutter.mo
/usr/share/locale/ms/LC_MESSAGES/mutter.mo
/usr/share/locale/nb/LC_MESSAGES/mutter.mo
/usr/share/locale/nds/LC_MESSAGES/mutter.mo
/usr/share/locale/pa/LC_MESSAGES/mutter.mo
/usr/share/locale/pl/LC_MESSAGES/mutter.mo
/usr/share/locale/pt/LC_MESSAGES/mutter.mo
/usr/share/locale/pt_BR/LC_MESSAGES/mutter.mo
/usr/share/locale/ro/LC_MESSAGES/mutter.mo
/usr/share/locale/ru/LC_MESSAGES/mutter.mo
/usr/share/locale/rw/LC_MESSAGES/mutter.mo
/usr/share/locale/si/LC_MESSAGES/mutter.mo
/usr/share/locale/sk/LC_MESSAGES/mutter.mo
/usr/share/locale/sl/LC_MESSAGES/mutter.mo
/usr/share/locale/sq/LC_MESSAGES/mutter.mo
/usr/share/locale/sr/LC_MESSAGES/mutter.mo
/usr/share/locale/sr@latin/LC_MESSAGES/mutter.mo
/usr/share/locale/sv/LC_MESSAGES/mutter.mo
/usr/share/locale/ta/LC_MESSAGES/mutter.mo
/usr/share/locale/te/LC_MESSAGES/mutter.mo
/usr/share/locale/th/LC_MESSAGES/mutter.mo
/usr/share/locale/tk/LC_MESSAGES/mutter.mo
/usr/share/locale/tr/LC_MESSAGES/mutter.mo
/usr/share/locale/ug/LC_MESSAGES/mutter.mo
/usr/share/locale/uk/LC_MESSAGES/mutter.mo
/usr/share/locale/vi/LC_MESSAGES/mutter.mo
/usr/share/locale/wa/LC_MESSAGES/mutter.mo
/usr/share/locale/xh/LC_MESSAGES/mutter.mo
/usr/share/locale/yo/LC_MESSAGES/mutter.mo
/usr/share/locale/zh_CN/LC_MESSAGES/mutter.mo
/usr/share/locale/zh_HK/LC_MESSAGES/mutter.mo
/usr/share/locale/zh_TW/LC_MESSAGES/mutter.mo
/usr/share/man/man1/mutter-message.1.gz
/usr/share/man/man1/mutter-theme-viewer.1.gz
/usr/share/man/man1/mutter-window-demo.1.gz
/usr/share/man/man1/mutter.1.gz
/usr/share/mutter/icons
/usr/share/mutter/icons/mutter-window-demo.png
/var/lib/dpkg/info/gir1.2-mutter-3.0.list
/var/lib/dpkg/info/gir1.2-mutter-3.0.md5sums
/var/lib/dpkg/info/libmutter0.list
/var/lib/dpkg/info/libmutter0.md5sums
/var/lib/dpkg/info/libmutter0.postinst
/var/lib/dpkg/info/libmutter0.postrm
/var/lib/dpkg/info/libmutter0.shlibs
/var/lib/dpkg/info/mutter-common.list
/var/lib/dpkg/info/mutter-common.md5sums
/var/lib/dpkg/info/mutter-common.preinst

내 생각에 창 관리자를 실행하려면 Gnome Desktop Manager를 끄고 다음 .xinitrc과 같이 X를 실행하면 됩니다.

$ /etc/init.d/gdm3 stop
$ cat .xinitrc
#!/bin/bash
[[ -f ~/.Xresources ]] && xrdb -merge ~/.Xresources
exec mutter
exec xterm -maximized
$ startx

이것이 활성화된 창 관리자로 xterm을 시작하는 올바른 방법입니까? 어디선가 하나만 exec허용된다는 글을 읽은 기억이 나는데 .xinitrc, 어쩌면 제가 잘못된 방법을 시도하고 있는 것일까요?

답변1

exec mutter스크립트를 로 바꾸 mutter므로 해당 줄 아래에는 아무것도 실행되지 않습니다. xterm이전에 실행하려면 다음을 수행하십시오 mutter.

xterm -maximized &
exec mutter

mutter이전에 실행하려면 다음을 수행하십시오 xterm.

mutter &
wm_pid=$!
xterm -maximized &
wait $wm_pid

또는 Mutter가 xterm -maximized시작될 때 실행되도록 구성하십시오. 이것이 가능한지 모르겠습니다. mutter는 구성할 수 없도록 설계되었습니다.

Mutter 실행 파일을 찾는 경우 /usr/bin패키지 관리자를 통해 설치했다면 이미 검색 경로(in)에 있으므로 할 일이 없습니다.

관련 정보