如何在 Ubuntu 上安装 Guake 下拉终端
ubuntulinux更新于 2026/5/11 14:22:17
Guake 是一款适用于 GNOME 和其他桌面环境的下拉终端。它旨在提供一个快速访问终端,只需按一下键即可在屏幕上显示/隐藏。它的窗口风格基于 FPS 游戏,其目标之一就是方便用户访问。
Guake 主要用 Python 编写,并包含少量 C 代码。本文将介绍如何在 Ubuntu 上安装 Guake 终端。功能特性
- 轻量级终端
- 简洁易用,优雅美观
- 终端与图形用户界面 (GUI) 无缝集成
- 按下预设热键(默认为 F12)即可启动终端,并在使用完毕后自动关闭
- 支持 Compiz 透明度
- 支持多标签页
- 支持多种颜色调色板
- 点击文件名即可快速在您喜爱的文本编辑器中打开文件(支持行号)
- 可自定义标签页切换、标签页重组、背景透明度、字体大小等热键
- 极其……可配置
- 通过在 Guake 启动时运行 bash 脚本来配置 Guake 启动
- 支持多显示器(在指定显示器上打开,在鼠标显示器上打开)
- 将终端内容保存到文件
- 在浏览器中打开 URL
安装 Guake
要安装 Guake 终端,请使用以下命令 -
# sudo apt-get install guake
示例输出应如下所示 -
Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: libglade2-0 libkeybinder0 libvte-common libvte9 python-cairo python-dbus python-gconf python-gi python-glade2 python-gobject-2 python-gtk2 python-keybinder python-notify python-vte python-xdg Suggested packages: python-dbus-doc python-dbus-dbg python-gnome2-doc python-gi-cairo python-gtk2-doc python-gobject-2-dbg The following NEW packages will be installed: guake libglade2-0 libkeybinder0 libvte-common libvte9 python-cairo python-dbus python-gconf python-gi python-glade2 python-gobject-2 python-gtk2 python-keybinder python-notify python-vte python-xdg 0 upgraded, 16 newly installed, 0 to remove and 2 not upgraded. Need to get 1,794 kB of archives. After this operation, 9,716 kB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://in.archive.ubuntu.com/ubuntu xenial/main amd64 libglade2-0 amd64 1:2.6.4-2 [44.6 kB] Get:2 http://in.archive.ubuntu.com/ubuntu xenial/main amd64 python-dbus amd64 1.2.0-3 [83.5 kB] Get:3 http://in.archive.ubuntu.com/ubuntu xenial/main amd64 python-gobject-2 amd64 2.28.6-12ubuntu1 [181 kB] Get:4 http://in.archive.ubuntu.com/ubuntu xenial/universe amd64 python-gconf amd64 2.28.1+dfsg-1.1 [22.3 kB] ......................................................................
要打开 guake,请使用以下命令 –
$ guake
启动后,使用 F12(默认)键在 Gnome 桌面上卷起和卷起终端。
guake 的输出如下所示 –
要运行 Guake Preferences,可以从应用程序菜单运行,也可以运行以下命令。
$ guake --preferences
示例输出应如下所示 –

滚动属性应如下所示–

外观属性 −使用外观属性,您可以修改文本和背景颜色,以及调整透明度,如下所示。

要了解有关 Guake 的更多信息,请使用以下命令。
$ guake -help
示例输出应如下所示。
Options: -h, --help show this help message and exit -f, --fullscreen Put Guake in fullscreen mode -t, --toggle-visibility Toggles the visibility of the terminal window --show Shows Guake main window --hide Hides Guake main window -p, --preferences Shows Guake preference window -a, --about Shows Guake's about info -n NEW_TAB, --new-tab=NEW_TAB Add a new tab (with current directory set to NEW_TAB) -s SELECT_TAB, --select-tab=SELECT_TAB Select a tab (SELECT_TAB is the index of the tab) -g, --selected-tab Return the selected tab index. -e COMMAND, --execute-command=COMMAND Execute an arbitrary command in the selected tab. -i TAB_INDEX, --tab-index=TAB_INDEX Specify the tab to rename. Default is 0. --bgcolor=BGCOLOR Set the hexadecimal (#rrggbb) background color of the selected tab. --fgcolor=FGCOLOR Set the hexadecimal (#rrggbb) foreground color of the selected tab. --rename-tab=TITLE Rename the specified tab. Reset to default if TITLE is a single dash "-". -r TITLE, --rename-current-tab=TITLE Rename the current tab. Reset to default if TITLE is a single dash "-". -q, --quit Says to Guake go away =( -u, --no-startup-script Do not execute the start up script
读完本文,您将了解如何在 Ubuntu 上安装 Guake(下拉式终端)。在接下来的文章中,我们将分享更多 Linux 使用技巧和窍门。敬请期待!
有用资源
linux 参考教程 - 该教程包含有关 linux 的更多信息:/linux/