在終端中打開終端: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