web-dev-qa-db-ja.com

gnomeなしでmetacityを実行する-シェル(gnome 3)

こんにちは、gnome-Shellを使用せずに複合マネージャーでmetacityを使用するにはどうすればよいですか。カスタムxsessionでそうしようとしています

#!/bin/bash
if test -z "$DBUS_SESSION_BUS_ADDRESS"; then
eval `dbus-launch --sh-syntax --exit-with-session`
fi

metacity --replace ccp & wmpid=$!
xsetroot -solid white &
sleep 1
if [ -f ~/.metacity-session ]; then
source ~/.metacity-session &
else
xterm &
fi
# Wait for WM
wait $wmpid

しかし、私はこれを私の〜/ .xsession_errorsに持っています

GNOME_KEYRING_CONTROL=/run/user/rumkin/keyring-Ar8I4j
SSH_AUTH_SOCK=/run/user/rumkin/keyring-Ar8I4j/ssh
GNOME_KEYRING_CONTROL=/run/user/rumkin/keyring-Ar8I4j
SSH_AUTH_SOCK=/run/user/rumkin/keyring-Ar8I4j/ssh
GNOME_KEYRING_CONTROL=/run/user/rumkin/keyring-Ar8I4j
SSH_AUTH_SOCK=/run/user/rumkin/keyring-Ar8I4j/ssh
GPG_AGENT_INFO=/run/user/rumkin/keyring-Ar8I4j/gpg:0:1
GNOME_KEYRING_CONTROL=/run/user/rumkin/keyring-Ar8I4j
SSH_AUTH_SOCK=/run/user/rumkin/keyring-Ar8I4j/ssh
GPG_AGENT_INFO=/run/user/rumkin/keyring-Ar8I4j/gpg:0:1
Initializing tracker-miner-fs...
Tracker-Message: Setting up monitor for changes to config file:'/home/rumkin/.config/tracker/tracker-miner-fs.cfg'
Starting log:
  File:'/home/rumkin/.local/share/tracker/tracker-miner-fs.log'
Initializing tracker-store...
Tracker-Message: Setting up monitor for changes to config file:'/home/rumkin/.config/tracker/tracker-store.cfg'
Tracker-Message: Setting up monitor for changes to config file:'/home/rumkin/.config/tracker/tracker-store.cfg'
Starting log:
  File:'/home/rumkin/.local/share/tracker/tracker-store.log'

(tracker-store:7825): Tracker-CRITICAL **: D-Bus service name:'org.freedesktop.Tracker1' is already taken, perhaps the daemon is already running?
Failed to play sound: File or data not found

** (gnome-screensaver:7804): WARNING **: Config key not handled: disable-application-handlers

** (gnome-screensaver:7804): WARNING **: Config key not handled: disable-command-line

** (gnome-screensaver:7804): WARNING **: Config key not handled: disable-log-out

** (gnome-screensaver:7804): WARNING **: Config key not handled: disable-print-setup

** (gnome-screensaver:7804): WARNING **: Config key not handled: disable-printing

** (gnome-screensaver:7804): WARNING **: Config key not handled: disable-save-to-disk

** (seapplet:7809): WARNING **: Error showing notification: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface `org.freedesktop.Notifications' on object at path /org/freedesktop/Notifications
Starting Dropbox...** Message: applet now removed from the notification area
Done!

(gnome-Shell:7796): folks-WARNING **: Failed to find primary PersonaStore with type ID 'eds' and ID 'system'.
Individuals will not be linked properly and creating new links between Personas will not work.
The configured primary PersonaStore's backend may not be installed. If you are unsure, check with your distribution.
** Message: applet now embedded in the notification area
Window manager warning: CurrentTime used to choose focus window; focus window may not be correct.
Window manager warning: Got a request to focus the no_focus_window with a timestamp of 0.  This shouldn't happen!
** Message: Stopping applet secret agent because GNOME Shell appeared
Initializing nautilus-open-terminal extension
Initializing nautilus-dropbox 1.4.0

(rhythmbox:8172): GLib-GObject-CRITICAL **: g_value_get_uint: assertion `G_VALUE_HOLDS_UINT (value)' failed
Window manager warning: Log level 8: meta_window_raise: assertion `!window->override_redirect' failed
Window manager warning: Log level 8: meta_window_focus: assertion `!window->override_redirect' failed

(rhythmbox:8172): GLib-GObject-CRITICAL **: g_value_get_uint: assertion `G_VALUE_HOLDS_UINT (value)' failed
[8304:8329:0212/111557:ERROR:object_proxy.cc(608)] Failed to get name owner. Got org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.chromium.Mtpd': no such name
[8304:8329:0212/111557:ERROR:object_proxy.cc(608)] Failed to get name owner. Got org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.chromium.Mtpd': no such name
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x2800051 (linux - Ho)
Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x2800051 (linux - Ho)
Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.
[8304:8304:0212/111558:ERROR:object_proxy.cc(513)] Failed to call method: org.chromium.Mtpd.EnumerateStorage: object_path= /org/chromium/Mtpd: org.freedesktop.DBus.Error.ServiceUnknown: The name org.chromium.Mtpd was not provided by any .service files
Created new window in existing browser session.

(rhythmbox:8172): GLib-GObject-CRITICAL **: g_value_get_uint: assertion `G_VALUE_HOLDS_UINT (value)' failed

Fedora 17で実行します。私が見逃したことは何ですか?

2
Paul Rumkin

最後に~/.xinitrcに入れます(&なし)。ただし、そのように使用することを意図していないため、強制終了するには、pkill -9 metacityを使用するか、コンピューターをシャットダウンする必要があります。 (それ以外はうまく機能します。OpenBoxが見つかるまで、Debianで何年もの間そのように使用していました。)しかし、心配しないで、習慣的にに戻りたい場合は、pkillコマンドのエイリアスを作成できます。コンソール;そして、そのようなMetacityを終了する害はありません。

1
Emanuel Berg