2021-05-12 14:32:11
Ubuntu 17.10安裝終端分屏:Terminator終端終結者
本文所指的Terminator不是Ubuntu 17.10預設自帶的命令列終端,而是GNOME圖形化介面下的gnome-terminal,現在我們就來看一下Ubuntu上安裝GNOME命令列終端Terminator的教學。
目的:
可以將終端分屏,這樣我們在練習程式和編寫或者對比檔案的時候非常有用。
對Linux系統進行管理時,我們經常需要通過終端視窗輸入各種操作命令。在GNOME整合桌面環境下,GNOME終端(gnome-terminal)是我們經常使用的終端程式,每次執行該程式都將開啟一個單獨的終端視窗。當我們進行命令列操作時,有時需要開啟多個終端視窗,並且希望這些視窗能同時平舖顯示,那該怎麼辦呢?其實,藉助一款小巧而實用的軟體——Terminator就可以輕鬆實現這一功能。
使用Terminator可以在一個視窗中顯示多個GNOME終端視窗,並且可以按照使用者的要求對視窗進行任意分割。
安裝terminator
開啟終端,輸入以下命令:
sudo apt-get install terminator
安裝終端程式terminator,安裝完畢後按ctrl+alt+t開啟終端如下圖所示
這個終端程式可以分屏,常用操作快捷鍵如下:
Ctrl+Shift+O
Split terminals Horizontally.(上下開新視窗)
Ctrl+Shift+E
Split terminals Vertically.(垂直開新視窗)
Ctrl+Shift+Right
Move parent dragbar Right.(放大當前視窗 向右)
Ctrl+Shift+Left
Move parent dragbar Left.
Ctrl+Shift+Up
Move parent dragbar Up.
Ctrl+Shift+Down
Move parent dragbar Down.
Ctrl+Shift+W
Close the current terminal.
Alt+Up
Move to the terminal above the current one.(切換當前視窗)
Alt+Down
Move to the terminal below the current one.
Alt+Left
Move to the terminal left of the current one.
Alt+Right
Move to the terminal right of the current one.
Ctrl+Shift+S
Hide/Show Scrollbar.(隱藏捲軸)
Ctrl+Shift+F
Search within terminal scrollback
Ctrl+Shift+N or Ctrl+Tab
Move to next terminal within the same tab, use Ctrl+PageDown to move to the next tab. If cycle_term_tab is False, cycle within the same tab will be disabled
Ctrl+Shift+P or Ctrl+Shift+Tab
Move to previous terminal within the same tab, use Ctrl+PageUp to move to the previous tab. If cycle_term_tab is False, cycle within the same tab will be disabled
Ctrl+Shift+C
Copy selected text to clipboard
Ctrl+Shift+V
Paste clipboard text
Ctrl+Shift+Q
Quits Terminator
Ctrl+Shift+X (最大化當前視窗)
Toggle between showing all terminals and only showing the current one (maximise).
Ctrl+Shift+Z
Toggle between showing all terminals and only showing a scaled version of the current one (zoom).
Ctrl+Shift+T
Open new tab
Ctrl+Shift+Alt+T
Open new tab at root level, if using extreme_tabs.
Ctrl+PageDown
Move to next Tab
Ctrl+PageUp
Move to previous Tab
Ctrl+Shift+PageDown
Swap tab position with next Tab
Ctrl+Shift+PageUp
Swap tab position with previous Tab
Ctrl+Shift+F
Open buffer search bar to find substrings in the scrollback buffer. Hit Escape to cancel.
Ctrl+Plus (+)
Increase font size. Note: this may require you to press shift, depending on your keyboard
Ctrl+Minus (-)
Decrease font size. Note: this may require you to press shift, depending on your keyboard
Ctrl+Zero (0)
Restore font size to original setting.
F11
Toggle fullscreen(放大當前視窗)
Ctrl+Shift+R
Reset terminal state
Ctrl+Shift+G
Reset terminal state and clear window
更多截圖:
相關文章