Linux - NewbieThis 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!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
Distribution: Mint Xfce, Korora Gnome3, Ubuntu Server NoGui,
Posts: 136
Rep:
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
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
You can use wmctrl to toggle the attribute. I use cwm which has hot keys for window actions. So Control+Alt+F to toggle fullscreen. Most older things respect the -geometry attribute which can get is "near" full screen. And of course -fs or --fullscreen type flags for "some" things. Some things remember their state at the last closing. And some of those things forget when they have updates.
This is an old thread come back from the dead! One item I might add... I have a Windows program (Visual FoxPro 6) which runs under Wine. I have two monitors, one is set to landscape and the other to portrait. FoxPro would always open to the width of the portrait monitor although I always ran it on the landscape monitor. It would not remember that it had been maximized. It WOULD remember that it had been stretched to fill essentially the whole display. This also worked with Vivaldi on Ubuntu Mate 16.04 running on a Raspberry Pi 3B and accessed with vnc.
I've had issues like that for my 1366x768 laptop with a 1920x1080 display attached to the HDMI. Using xrandr with the --primary option for the larger display made it so videos would scale to the larger screen resolution. Although I mostly --off the laptops display. Clamshell mode without actually closing the lid. Better thermals, plus access to the power button with it open.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.