首页 > 代码库 > ubuntu终端分屏

ubuntu终端分屏

一:更新source 列表:

将/etc/apt/sources.list的镜像源改为网易源:http://mirrors.163.com/ubuntu/dists/

deb http://mirrors.163.com/ubuntu/ devel main universe restricted multiverse
deb-src http://mirrors.163.com/ubuntu/ devel main universe restricted multiverse
deb http://mirrors.163.com/ubuntu/ devel-security universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ devel-security universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ devel-updates universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ devel-proposed universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ devel-proposed universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ devel-backports universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ devel-backports universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ devel-updates universe main multiverse restricted

然后 sudo apt-get update


二:按装在分屏:

1:安装terminator

 sudo apt-get install terminator
 二默认ctrl+alt+T打开Terminator
 gsettings set org.gnome.desktop.default-applications.terminal exec   /usr/bin/terminator 
 gsettings set org.gnome.desktop.default-applications.terminal exec-arg "-x"




使用方法:

  • 上下分屏=>c+s+o,左右分屏=>c+s+e
  • 关闭一个窗口或分屏=>c+s+w,退出终端=>c+s+q
  • 控制窗口大小 快捷式:c+s+ ←↑↓→,切换窗口c+tab 窗口最大化=> F11


参考链接:

http://liuzhigong.blog.163.com/blog/static/17827237520121113103236820/

http://www.lavachen.cn/?post=28

ubuntu终端分屏