如何在Gnome Classic中启用compiz?

我正在运行Ubuntu Oneiric 11.10。

我的理解是Gnome Classic带有Compiz效果,而Gnome Classic(无效果)没有Compiz。

但是,当我运行Gnome Classic时 ,compiz似乎没有运行。 如果我打开compiz-settings-manager,我有我的所有设置,但它们都没有生效。

我需要做些什么来在Gnome Classic中启用Compiz吗?


根据答案的评论中的要求,这是〜/ .xsession-errors的输出:

gnome-session[20450]: DEBUG(+): GsmDBusClient: obj_path=/org/gnome/SessionManager interface=org.gnome.SessionManager method=Is Inhibited gnome-session[20450]: DEBUG(+): GsmDBusClient: obj_path=/org/gnome/SessionManager interface=org.gnome.SessionManager method=Is Inhibited gnome-session[20450]: DEBUG(+): GsmDBusClient: obj_path=/org/gnome/SessionManager interface=org.gnome.SessionManager method=Is Inhibited gnome-session[20450]: DEBUG(+): Starting app: /org/gnome/SessionManager/App37 gnome-session[20450]: DEBUG(+): GsmAutostartApp: starting jockey-gtk.desktop: command=sh -c 'test -e /var/cache/jockey/check | | exec jockey-gtk --check' startup-id=102cff201a509beb8813189506573089800000204500036 gnome-session[20450]: DEBUG(+): GsmAutostartApp: started pid:20888 gnome-session[20450]: DEBUG(+): Starting app: /org/gnome/SessionManager/App29 gnome-session[20450]: DEBUG(+): GsmAutostartApp: starting update-notifier.desktop: command=update-notifier startup-id=102cff20 1a509beb88131895065698387500000204500028 gnome-session[20450]: DEBUG(+): GsmAutostartApp: started pid:20889 gnome-session[20450]: DEBUG(+): GsmAutostartApp: (pid:20888) done (status:0) Gtk-Message: Failed to load module "rgba" gnome-session[20450]: DEBUG(+): GsmDBusClient: obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameOwnerC hanged gnome-session[20450]: DEBUG(+): GsmDBusClient: obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameOwnerC hanged gnome-session[20450]: DEBUG(+): GsmDBusClient: obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameOwnerC hanged gnome-session[20450]: DEBUG(+): GsmDBusClient: obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameOwnerC hanged gnome-session[20450]: DEBUG(+): GsmDBusClient: obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameOwnerC hanged gnome-session[20450]: DEBUG(+): GsmDBusClient: obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameOwnerC hanged `menu_proxy_module_load': update-notifier: undefined symbol: menu_proxy_module_load (update-notifier:20889): Gtk-WARNING **: Failed to load type module: (null) `menu_proxy_module_load': update-notifier: undefined symbol: menu_proxy_module_load (update-notifier:20889): Gtk-WARNING **: Failed to load type module: (null) `menu_proxy_module_load': update-notifier: undefined symbol: menu_proxy_module_load (update-notifier:20889): Gtk-WARNING **: Failed to load type module: (null) `menu_proxy_module_load': update-notifier: undefined symbol: menu_proxy_module_load (update-notifier:20889): Gtk-WARNING **: Failed to load type module: (null) 

要解决此问题,请编辑此文件:

 sudo nano /usr/share/gnome-session/sessions/gnome-classic.session 

并替换此行:

 RequiredProviders=windowmanager;notifications; 

与这一个:

 RequiredProviders=windowmanager; 

然后只需注销并重新登录,它应该可以正常工作。 这解决了我的问题。

编辑1:

1)访问gnome面板菜单现在需要在面板上使用“windows key + alt + right click”而不是“alt + right click”

2)另一个问题可能是“alt + tab”,但你只需要在应用程序 – >系统工具 – >系统设置 – >键盘 – >快捷方式中重新分配它

编辑2:

3)在与GTK或gnome相关的系统更新后,您可能需要为您的图形卡重新安装任何“自定义”驱动程序,例如NVIDIA linux驱动程序

如果你启用了加速,Gnome Classic应该运行compiz(你可以尝试运行/usr/lib/gnome-session/gnome-session-check-accelerated; echo $?它应该返回0),如果它返回别的东西,那就是可能你没有硬件加速,所以后退到GNOME经典(没有效果)。

如果不是,正在运行/usr/bin/gnome-wm --replace用compiz替换你当前的环境吗?

为了完整,

另一个适合我的解决方案是通过以下方式将“/ usr / bin / compiz –replace”添加到GNOME启动应用程序:

 gnome-session-properties 

我也丢失了Alt-RightClickfunction(Windows + Alt-Rightclick是必要的)但是Alt + Tab仍然有效。

亲切的问候

在Ubuntu 10.04中启动时,Compiz效果经常无法加载。 要启用Compiz,我必须注销然后再次登录。 这通常可以解决问题。