在终端中打开终端:code
gnome-terminal
同时打开多个终端:blog
gnome-terminal --window --window
此处有几个 --window 就会打开几个终端
最大化形式打开终端:terminal
gnome-terminal --maximize
全屏形式打开终端:it
gnome-terminal --full-screen
指定大小和位置打开:file
gnome-terminal --geometry=80x25+10+10
参数的意义:宽度x高度+左侧偏移量+上方偏移量。
打开终端并自动执行命令:终端
gnome-terminal -x ls
终端将一闪而过,为避免其一闪而过能够进行以下设置:
在terminal点右键,选择Profiles->Profile Preferences而后找到Title and Command,里面有一项When command exits,后面选择为Hold the terminal open。
command