如何在Ubuntu上安装Guake下拉终端

How to install guake drop down terminal terminal on ubuntu

Guake是GNOME和其他桌面的下拉终端。它的目的是提供一个快速访问终端,该终端可以通过简单的按键显示/隐藏在屏幕上。它的窗口风格基于fps游戏,其目标之一就是易于实现。 Guake主要用python编写,并用C编写了一小段。本文介绍了如何在Ubuntu上安装Guake终端。

特征

  • 它是轻量级的终端
  • 简单简单优雅
  • 终端到GUI的平滑集成
  • 它在您呼叫时显示,并在通过按预定义的热键完成后消失(默认为F12)
  • Compiz透明度支持
  • 它支持多标签
  • 它支持大量的调色板
  • 单击文件名在您喜欢的文本编辑器中快速打开(支持行号)
  • 可定制的热键,用于标签访问,重组,背景透明度,字体大小等
  • 高度可配置
  • 在Guake启动时通过运行bash脚本来配置Guake启动
  • 多显示器支持(在指定的显示器上打开,在鼠标显示器上打开)
  • 将终端内容保存到文件
  • 打开浏览器的URL

安装Guake

要安装Guake终端,请使用以下命令-

1
# sudo apt-get install guake

样本输出应如下所示–

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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,请使用以下命令-

1
$ guake

启动后,使用F12(默认)滚动并滚动Gnome桌面上的终端。 guake的输出如下所示–

通过从应用程序菜单运行它或通过运行以下命令来运行Guake首选项。

1
$ guake --preferences

样本输出应如下所示–

滚动属性应如下所示–

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

要获取有关guake的更多信息,请使用以下命令-

1
$ guake -help

样本输出应如下所示–

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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的技巧。继续阅读!