Open terminal in specific location.

Write tutorials for Linux Mint here
More tutorials on https://github.com/orgs/linuxmint/discu ... /tutorials and (archive) on https://community.linuxmint.com/tutorial
Forum rules
Don't add support questions to tutorials; start your own topic in the appropriate sub-forum instead. Before you post read forum rules
Post Reply
Ph0z3

Open terminal in specific location.

Post by Ph0z3 »

Want your terminal to open in a specific spot on your desktop?
-- see values at bottom.

## Ubuntu/Gnome & Mint/Cinnamon ##
1. open terminal
2. sudo gnome-desktop-item-edit /usr/share/applications/gnome-terminal.desktop
3. append the geometry section to the COMMAND text field.
4. gnome-terminal --geometry=84x25+7+292

## FOR MATE USERS ##
sudo mate-desktop-item-edit /usr/share/applications/mate-terminal.desktop

5. adjust values accordingly... close and reopen. This will take NUMEROUS times of opening and closing, until you finally get it perfect!

--- What this means:
84: the width of the terminal ( in characters)
25: the height ( in lines)
7: x position of the terminal when you open it up
292: y position
User avatar
jimallyn
Level 19
Level 19
Posts: 9075
Joined: Thu Jun 05, 2014 7:34 pm
Location: Wenatchee, WA USA

Re: Open terminal in specific location.

Post by jimallyn »

The world will end 03:14:07 UTC on 19 January 2038
And I know why!
“If the government were coming for your TVs and cars, then you'd be upset. But, as it is, they're only coming for your sons.” - Daniel Berrigan
kukamuumuka

Re: Open terminal in specific location.

Post by kukamuumuka »

jimallyn wrote:
The world will end 03:14:07 UTC on 19 January 2038
And I know why!
Unix time (a.k.a. POSIX time or Epoch time) is a system for describing instants in time, defined as the number of seconds that have elapsed since 00:00:00
http://en.wikipedia.org/wiki/Unix_time
Post Reply

Return to “Tutorials”