ENDEBook a demo
← Back to all tasks

Ubuntu

I click in terminal: terminal->132x43 to change terminal size but after each reboot terminal size is set to default setting and I have to change it again. Help me set it permanently

Result
Solved
Points
1 / 1
Steps
7
Duration
4 min 10 s

Evaluation criteria

  • Checks that every expected line appears in the output as a line of its own, and that no forbidden line does.
View the task definition in the OSWorld repository

Final response

Done! I set the GNOME Terminal default size to 132 columns x 43 rows permanently using gsettings on the default profile (b1dcc9dd-5262-4d8d-a863-c897e6d979b9). Verified by opening a new terminal window and running `stty size`, which outputs `43 132` — the setting will persist across reboots.

Trajectory

  1. Step 10:01

    The user wants to permanently set GNOME Terminal's default size to 132 columns x 43 rows. Per the KB FACTS, the correct approach is to use gsettings on the org.gnome.Terminal.Legacy.Profile schema at the path /org/gnome/terminal/legacy/profiles:/:<UUID>/ where <UUID> comes from `gsettings get org.gnome.Terminal.ProfilesList default`. I need to: (1) get the UUID, (2) set default-size-columns=132 and default-size-rows=43 at the correct path, (3) verify by opening a new terminal and running `stty size`.

    • Plan created
      1. Get the default GNOME Terminal profile UUID
      2. Set default-size-columns=132 and default-size-rows=43 at the correct profile path
      3. Verify by opening a new terminal window and running stty size
    • Plan confirmed3 subgoals
  2. Step 20:10

    The plan is committed. I need to start executing subgoal 1: get the default GNOME Terminal profile UUID. I'll use the shell tool to run gsettings get org.gnome.Terminal.ProfilesList default.

    • Shell commandgsettings get org.gnome.Terminal.ProfilesList default
  3. Step 30:21

    Now I need to set default-size-columns=132 and default-size-rows=43 at the correct profile path /org/gnome/terminal/legacy/profiles:/:b1dcc9dd-5262-4d8d-a863-c897e6d979b9/. I'll run both gsettings set commands.

    • Shell commandgsettings set org.gnome.Terminal.Legacy.Profile default-size-columns 132 -t int --scope user /org/gnome/terminal/legacy/profiles:/:b1dcc9dd-5262-4d8d-a863-c897e6d979b9/ default-size-columns 132 && gsettings set org.gnome.Terminal.Legacy.Profile default-size-rows 43 -t int --scope user /org/gnome/terminal/legacy/profiles:/:b1dcc9dd-5262-4d8d-a863-c897e6d979b9/ default-size-rows 43failed
  4. Step 40:40

    The correct gsettings syntax for relocatable schemas is: gsettings set 'org.gnome.Terminal.Legacy.Profile:/org/gnome/terminal/legacy/profiles:/:UUID/' KEY VALUE. I need to quote the schema:path combination properly. The path contains colons so I'll use single quotes.

    • Shell commandgsettings set 'org.gnome.Terminal.Legacy.Profile:/org/gnome/terminal/legacy/profiles:/:b1dcc9dd-5262-4d8d-a863-c897e6d979b9/' default-size-columns 132 && gsettings set 'org.gnome.Terminal.Legacy.Profile:/org/gnome/terminal/legacy/profiles:/:b1dcc9dd-5262-4d8d-a863-c897e6d979b9/' default-size-rows 43 && echo 'SUCCESS'
  5. Step 51:04

    Both gsettings writes succeeded. Now I need to open a new GNOME Terminal window (Ctrl+Alt+T) and run 'stty size' to confirm it outputs '43 132'.

    • Subgoal completedUUID b1dcc9dd-5262-4d8d-a863-c897e6d979b9 obtained.
    • Subgoal completedgsettings set default-size-columns=132 and default-size-rows=43 at the correct profile path; both succeeded.
    • Key pressctrl+alt+t
  6. Step 61:30

    I need to click on the terminal and type 'stty size' to verify the dimensions. The terminal window is already open and focused.

    • Clickthe terminal window prompt area
    • Typestty size
    • Wait
  7. Step 71:58

    All three subgoals are complete: (1) UUID obtained, (2) gsettings set succeeded for both columns=132 and rows=43, (3) verification via stty size shows '43 132'. The task is done.

    • Subgoal completedstty size in new terminal window outputs '43 132' confirming the permanent setting works.
    • Reported as completed