Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-21-2013, 12:47 PM   #1
Senior Member
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 1,633

Rep: Reputation: 112Reputation: 112
How to cause an application to open maximized?

I am using CentOS 6.4 (Gnome desktop). I have a launcher for Thunderbird on the panel. For the entire time I have been running this configuration (about a year now) Thunderbird has always launched maximized. Today I added a new email account which uses an IMAP server. The other accounts use POP servers.

I am noticing that about 2 out of 3 times when I launch Thunderbird from the panel it opens in a small (resized) window. I maximize the window, close Thunderbird again and sometimes it is maximized but usually not. What a pain.

Never one to subtle in resolving computer issues I shoved the Thunderbird profile aside and replaced it with a copy from my backup taken last evening. I re-added the new account and Thunderbird launches maximized as it has always done.

The issue now seems fixed. However, I am wondering if there is any way in Gnome to control the window size upon launch? Windows used to have a "maximize on start" sort of setting on shortcuts. I do not see anything similar in Gnome.


Old 06-22-2013, 11:19 AM   #2
Registered: Mar 2013
Posts: 619

Rep: Reputation: 136Reputation: 136
You can install maximus or devilspie.
I hope it will help.

There is a option in compiz of ubuntu(dont know if it can be installed on centos) so you can set default opening condition of window.
Old 06-22-2013, 11:33 AM   #3
Registered: Aug 2012
Location: earth
Distribution: Mint Xfce, Korora Gnome3, Ubuntu Server NoGui,
Posts: 136

Rep: Reputation: 1
some desktops at least unity use a rule that if the window being opened takes less than 75% of the screen it will launch as minimized. not sure if gnome does this but it may. one way i think your goal can be accomplished is to edit the thunderbird.desktop file. this works in gnome for ubuntu but i don't know where these files are in CentOS. below is how to do it on gnome ubuntu. it should be the same steps but the files may be in diff location so just check that part.

find thunderbird.desktop file and edit the "EXEC" line to Exec=thunderbird --window --maximize
then log out and back in

***i think this file is in ~/.local/share/applications
***i never did this on CentOS or with Thunderbird specifically but this does work to launch the gnome-terminal in full screen on ubuntu
***also if you can create a launcher in gnome like XFCE you may be able to just add --window --maximize after the aplications command

Last edited by minty33; 06-22-2013 at 11:38 AM.
Old 06-22-2013, 11:34 AM   #4
Registered: Mar 2013
Distribution: Redhat, Ubuntu
Posts: 525

Rep: Reputation: 141Reputation: 141
Usually when you close any application, it remembers the size, and next time, when it opens again, it will open in same size as it was. So if you close any app while maximized, it will again open in maximum size (full screen).

However, try --maximize option to open in full screen. I use it for gnome-terminal, cant say it works for others.

In launcher properties:
command: gnome-terminal --maximize
1 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to open Emacs in maximized window? cola Linux - Newbie 4 10-19-2010 08:46 PM
How do I set an application to always start maximized? zahadumy Linux - Software 5 11-26-2006 05:09 PM
Maximized windows stay maximized forever dreamtheater Linux - Software 0 01-23-2005 02:38 PM
firefox won't open in maximized screen 1madstork Linux - Software 3 10-24-2004 10:57 AM
Starting application maximized ( quill18 Linux - Software 2 05-04-2004 04:55 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:51 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration