Терминальный размер при запуске?

У меня есть терминальный запуск при запуске, который отображает часы. выполненный с

[Desktop Entry]
Type=Application
Exec=gnome-terminal --command /home/noah/bin/clock
Hidden=false
NoDisplay=false
X-GNOME-Autostart-enabled=true
Name[en_NG]=Terminal
Name=Terminal
Comment[en_NG]=Start Terminal On Startup
Comment=Start Terminal On Startup

сохраненный в /.config/autostart Как я сказал бы что терминал запускаться в определенном размере окна? Это все еще очень плохо мне знакомо, таким образом, я действительно ценю справку спасибо

8
задан 23 April 2020 в 04:46

2 ответа

Просто добавьте geometry к команде со значениями Вам нужно:

Exec=gnome-terminal --command /home/noah/bin/clock --geometry=24x24

Вы видите все опции с этой командой

gnome-terminal --help-all

Вывод:

Usage:
  gnome-terminal [OPTION?] [-- COMMAND ?]

Help Options:
  -h, --help                      Show help options
  --help-all                      Show all help options
  --help-gtk                      Show GTK+ Options
  --help-terminal                 Show terminal options
  --help-window-options           Show per-window options
  --help-terminal-options         Show per-terminal options

GTK+ Options
  --class=CLASS                   Program class as used by the window manager
  --name=NAME                     Program name as used by the window manager
  --gdk-debug=FLAGS               GDK debugging flags to set
  --gdk-no-debug=FLAGS            GDK debugging flags to unset
  --gtk-module=MODULES            Load additional GTK+ modules
  --g-fatal-warnings              Make all warnings fatal
  --gtk-debug=FLAGS               GTK+ debugging flags to set
  --gtk-no-debug=FLAGS            GTK+ debugging flags to unset

Options to open new windows or terminal tabs; more than one of these may be specified:
  --window                        Open a new window containing a tab with the default profile
  --tab                           Open a new tab in the last-opened window with the default profile

Window options; if used before the first --window or --tab argument, sets the default for all windows:
  --show-menubar                  Turn on the menubar
  --hide-menubar                  Turn off the menubar
  --maximize                      Maximize the window
  --full-screen                   Full-screen the window
  --geometry=GEOMETRY             Set the window size; for example: 80x24, or 80x24+200+200 (COLSxROWS+X+Y)
  --role=ROLE                     Set the window role
  --active                        Set the last specified tab as the active one in its window

Terminal options; if used before the first --window or --tab argument, sets the default for all terminals:
  -e, --command                   Execute the argument to this option inside the terminal
  --profile=PROFILE-NAME          Use the given profile instead of the default profile
  -t, --title=TITLE               Set the initial terminal title
  --working-directory=DIRNAME     Set the working directory
  --wait                          Wait until the child exits
  --fd=FD                         Forward file descriptor
  --zoom=ZOOM                     Set the terminal?s zoom factor (1.0 = normal size)

Application Options:
  --load-config=FILE              Load a terminal configuration file
  --preferences                   Show preferences window
  -p, --print-environment         Print environment variables to interact with the terminal
  -v, --verbose                   Increase diagnostic verbosity
  -q, --quiet                     Suppress output
  --display=DISPLAY               X display to use
10
ответ дан 25 April 2020 в 10:42

Выбрать Edit и затем Profile Preferences:

Terminal Edit Profiles.png

Заметить 92 столбцы и 30 строки. Можно скорректировать эти значения для создания терминала более крупным или меньшим. В моем случае у меня есть он набор точно 1 менее, чем необходимая строка (когда я просто обнаружил при ответе на вопрос):

enter image description here

3
ответ дан 25 April 2020 в 10:42

Другие вопросы по тегам:

Похожие вопросы: