如何将 Unity 2d 与 Metacity 之外的其他窗口管理器一起使用?

如何将 Unity 2d 与 Metacity 之外的其他窗口管理器一起使用?

我如何将 Unity 2d 与 Metacity 以外的其他窗口管理器一起使用?(例如 openbox)

答案1

您可以将其添加compiz --replace到启动应用程序中。重新启动会话(注销,然后重新登录),现在您就可以使用 Compiz 了。

openbox 也会使用类似的操作。我认为openbox --replace

答案2

要使更改永久生效,您必须编辑 Unity 会话文件。以下是 Unity2d 和 openbox 的简短指南: http://spacecat3000.blogspot.com/2011/11/replace-metacity-with-openbox-in.html

安装 openbox:

  1. sudo apt-get install openbox
  2. 可选择安装其他软件包(就我而言,这些软件包是作为依赖项安装的):sudo apt-get install obconf openbox-themes
  3. 编辑/usr/share/gnome-session/sessions/2d-ubuntu.session文件并替换:

    DefaultProvider-windowmanager=metacity with
    
    DefaultProvider-windowmanager=openbox
    
  4. 注销、登录(使用 Unity 2d 会话)。
  5. 运行 obconf,选择一些好看的主题(我的是在 box-look.org 上找到的,稍作改动)并配置按钮位置。

相关内容