Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I'd like Terminal to open near the bottom of my screen. Is there a way to set the default size and position?

I'm using Linux Mint 13, Cinnamon.

share|improve this question
    
The answer will vary greatly on what desktop environment (GNOME, KDE etc.) or to be exact, what window manager, you are using. –  phunehehe Sep 24 '12 at 11:49

1 Answer 1

up vote 8 down vote accepted

Most terminals can be launched using the geometry switch allowing you to specify terminal's size and position (COLUMNSxROWS+X+Y) e.g.:

gnome-terminal --geometry 73x31+100+300

or

xterm -geometry 93x31+100+350

If you want to make the above permanent, copy the terminal launcher (terminal's .desktop file) from /usr/share/applications/ to ~/.local/share/applications/ and edit the Exec field accordingly.

E.g. for gnome-terminal

Exec=gnome-terminal --geometry 73x31+100+300

Having that custom launcher in your $HOME would preserve your settings after terminal-package upgrades (that would otherwise overwrite the default .desktop file in /usr/share/applications).

share|improve this answer
    
Perfect. It works. Thanks! –  Korgan Rivera Sep 24 '12 at 13:08
    
I am using lxterminal from Lubuntu 11.10 and the help says that I can use the option geometry=colsxrows but nothing about the position. Do you know how to fix its position in Lubuntu? –  Sigur Sep 24 '12 at 14:09
1  
@Sigur - you could try using devilspie to specify the position. Create a file ~/.devilpie/lxterminal.ds with this content (replace X and Y as per your taste): (if (is (application_name) "lxterminal") (begin (geometry "+200+350") ) ) save, run devilspie then launch lxterminal with desired size: lxterminal --geometry=COLxROW. It should be automatically positioned where you want. It works OK in Gnome 3 at least. –  don_crissti Sep 24 '12 at 16:07

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.