gnome-terminal

    xiaoxiao2022-07-13  184

    1.在终端中打开终端:

    gnome-terminal

    2.同时打开多个终端:

    gnome-terminal --window --window

    此处有几个 --window 就会打开几个终端

    3.最大化形式打开终端:

    gnome-terminal --maximize

    4.全屏形式打开终端:

    gnome-terminal --full-screen

    5.指定大小和位置打开:

    gnome-terminal --geometry=80x25+10+10

    参数的意义:宽度x高度+左侧偏移量+上方偏移量。 6.打开终端并自动执行命令: 

    gnome-terminal -x ls

    终端将一闪而过,为避免其一闪而过可以进行如下设置: 在terminal点右键,选择Profiles->Profile Preferences然后找到Title and Command,里面有一项When command exits,后面选择为Hold the terminal open。

    最新回复(0)