mirror of
https://github.com/LCTT/TranslateProject.git
synced 2024-12-23 21:20:42 +08:00
translation complete
This commit is contained in:
parent
b3c0a231df
commit
0a96d876f3
@ -1,38 +0,0 @@
|
||||
Linux FAQs with Answers--How to open multiple tabs in a GNOME terminal on Ubuntu 15.04
|
||||
================================================================================
|
||||
> **Question**: I used to be able to open multiple tabs inside gnome-terminal on my Ubuntu desktop. On Ubuntu 15.04, however, I can no longer open a new tab in my terminal window. How can I open tabs in gnome-terminal on Ubuntu 15.04?
|
||||
|
||||
On Ubuntu 14.10 or earlier, gnome-terminal allowed you to open either a new terminal or a tab inside a terminal window. However, starting with Ubuntu 15.04, gnome-terminal has removed "New Tab" menu option. This is actually not a bug, but a feature that attempts to unify new tab and new window. GNOME 3.12 has introduced a [single "Open Terminal" option][1]. The ability to open a new terminal tab has been migrated from the terminal menu to Preferences.
|
||||
|
||||
![](https://farm1.staticflickr.com/562/19286510971_f0abe3e7fb_b.jpg)
|
||||
|
||||
### Open Tabs via Preferences ###
|
||||
|
||||
To be able to open a new tab in new gnome-terminal of Ubuntu 15.04, go to "Edit" -> "Preferences", and change "Open new terminals in: Window" to "Open new terminals in: Tab".
|
||||
|
||||
![](https://farm1.staticflickr.com/329/19256530766_ff692b83bc_b.jpg)
|
||||
|
||||
Now if you open a new terminal via menu, it will automatically open a new tab inside the terminal.
|
||||
|
||||
![](https://farm4.staticflickr.com/3820/18662051223_3296fde8e4_b.jpg)
|
||||
|
||||
### Open Tabs via a Keyboard Shortcut ###
|
||||
|
||||
If you do not want to change Preferences, you can hold down <Ctrl> to "invert" Preferences setting temporarily. For example, under the default Preferences, if you hold down <Ctrl> and click on "New Terminal", it will open a new tab, not a terminal.
|
||||
|
||||
Alternatively, you can simply use a keyboard shortcut <Shift+Ctrl+T> to open a new tab in a terminal.
|
||||
|
||||
In my view, this UI change in gnome-terminal is not quite an improvement. For example, you are no longer able to customize the name of individual terminal tabs. This feature is useful when you have many tabs open in a terminal. With the default tab name fixed to the current prompt (whose length can grow quickly), you easily cannot see the whole prompt string in the limited tab name space. Hope this feature will become available soon.
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://ask.xmodulo.com/open-multiple-tabs-gnome-terminal-ubuntu.html
|
||||
|
||||
作者:[Dan Nanni][a]
|
||||
译者:[译者ID](https://github.com/译者ID)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](https://linux.cn/) 荣誉推出
|
||||
|
||||
[a]:http://ask.xmodulo.com/author/nanni
|
||||
[1]:http://worldofgnome.org/opening-a-new-terminal-tabwindow-in-gnome-3-12/
|
@ -0,0 +1,38 @@
|
||||
Linux 答疑--如何在 Ubuntu 15.04 的 GNOME 终端中开启多个标签
|
||||
================================================================================
|
||||
> **问**: 我以前可以在我的 Ubuntu 台式机中的 gnome-terminal 中开启多个标签。但升到 Ubuntu 15.04 后,我就无法再在 gnome-terminal 窗口中打开新标签了。要怎样做才能在 Ubuntu 15.04 的 gnome-terminal 中打开标签呢?
|
||||
|
||||
在 Ubuntu 14.10 或之前的版本中,gnome-terminal 允许你在终端窗口中开启一个新标签或一个终端窗口。但从 Ubuntu 15.04开始,gnome-terminal 移除了“新标签”选项。这实际上并不是一个 bug,而是一个合并新标签和新窗口的举措。GNOME 3.12 引入了 [单独的“开启终端”选项][1]。开启新终端标签的功能从终端菜单移动到了首选项中。
|
||||
|
||||
![](https://farm1.staticflickr.com/562/19286510971_f0abe3e7fb_b.jpg)
|
||||
|
||||
### 偏好设置中的开启新标签 ###
|
||||
|
||||
要在 Ubuntu 15.04 的 gnome-terminal中开启新标签,选择“编辑” -> “首选项",并把“开启新终端:窗口”改为“开启新终端:标签”。
|
||||
|
||||
![](https://farm1.staticflickr.com/329/19256530766_ff692b83bc_b.jpg)
|
||||
|
||||
如果现在你通过菜单开启新终端,就会显示在当前终端中的一个新标签页中。
|
||||
|
||||
![](https://farm4.staticflickr.com/3820/18662051223_3296fde8e4_b.jpg)
|
||||
|
||||
### 通过键盘快捷键开启标签 ###
|
||||
|
||||
如果你不想更改首选项,你可以按住 <Ctrl> 临时改变设置。比如,在默认情况下,在点击“新终端”的同时按住 <Ctrl>,终端就会在新标签中打开而不是开启新的终端。
|
||||
|
||||
另外,你还可以使用键盘快捷键 <Shift+Ctrl+T> 在终端中开启新标签。
|
||||
|
||||
在我看来,gnome-terminal 此番在 UI 上的改变并非一个进步。比如,你无法自定义终端中各个标签的标题了。当你在一个终端中打开了多个标签时,这个功能会很有用。而如果终端名称保持默认标题(并不断变长)时,你就不能在有限的标题空间里看见终端的标题了。希望能被尽早加入这个功能。
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://ask.xmodulo.com/open-multiple-tabs-gnome-terminal-ubuntu.html
|
||||
|
||||
作者:[Dan Nanni][a]
|
||||
译者:[KevSJ](https://github.com/KevSJ)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](https://linux.cn/) 荣誉推出
|
||||
|
||||
[a]:http://ask.xmodulo.com/author/nanni
|
||||
[1]:http://worldofgnome.org/opening-a-new-terminal-tabwindow-in-gnome-3-12/
|
Loading…
Reference in New Issue
Block a user