发布时间:2025-12-09 16:23:35 浏览次数:17
转自 http://blog.csdn.net/liuxiaoheng1992/article/details/54409711
http://blog.csdn.net/xungjhj/article/details/69377812
http://blog.csdn.net/u011762313/article/details/53151543
ctrl+alt+t 打开终端
运行命令
sudo apt-get install terminator 安装终端程序terminator,安装完毕后按ctrl+alt+t打开终端如下图所示
这个终端程序可以分屏,常用操作快捷键如下:
Ctrl+Shift+OSplit terminals Horizontally.(上下开新窗口)Ctrl+Shift+ESplit terminals Vertically.(垂直开新窗口)Ctrl+Shift+RightMove parent dragbar Right.(放大当前窗口 向右)Ctrl+Shift+LeftMove parent dragbar Left.Ctrl+Shift+UpMove parent dragbar Up.Ctrl+Shift+DownMove parent dragbar Down.Ctrl+Shift+WClose the current terminal.Alt+UpMove to the terminal above the current one.(切换当前窗口)Alt+DownMove to the terminal below the current one.Alt+LeftMove to the terminal left of the current one.Alt+RightMove to the terminal right of the current one.Ctrl+Shift+SHide/Show Scrollbar.(隐藏滚动条)Ctrl+Shift+FSearch within terminal scrollbackCtrl+Shift+N or Ctrl+TabMove 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 disabledCtrl+Shift+P or Ctrl+Shift+TabMove 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 disabledCtrl+Shift+CCopy selected text to clipboardCtrl+Shift+VPaste clipboard textCtrl+Shift+QQuits TerminatorCtrl+Shift+X (最大化当前窗口)Toggle between showing all terminals and only showing the current one (maximise).Ctrl+Shift+ZToggle between showing all terminals and only showing a scaled version of the current one (zoom).Ctrl+Shift+TOpen new tabCtrl+Shift+Alt+TOpen new tab at root level, if using extreme_tabs.Ctrl+PageDownMove to next TabCtrl+PageUpMove to previous TabCtrl+Shift+PageDownSwap tab position with next TabCtrl+Shift+PageUpSwap tab position with previous TabCtrl+Shift+FOpen 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 keyboardCtrl+Minus (-)Decrease font size. Note: this may require you to press shift, depending on your keyboardCtrl+Zero (0)Restore font size to original setting.F11Toggle fullscreen(放大当前窗口)Ctrl+Shift+RReset terminal stateCtrl+Shift+GReset terminal state and clear window因为初始化界面不太美观,可以设置配置文件,方法如下:
cd ~/.config/terminator/ sudo vim config 如果报错,Unable to open ~/.config/terminator/config ,解决方法:
打开terminator终端,然后右击终端的黑色背景,选择preference->layouts->add,关闭该窗口即可找到config文件。
修改配置文件,我的配置文件如下:
http://blog.csdn.net/ipatient/article/details/51547658
最后效果如下:
设置terminator为默认终端:
1、安装Terminator
sudo apt-get install terminator2、安装dconf-tools
sudo apt-get install dconf-tools3、设置Terminator为默认Terminal
gsettings set org.gnome.desktop.default-applications.terminal exec /usr/bin/terminatorgsettings set org.gnome.desktop.default-applications.terminal exec-arg "-x"