On Sun, 18 Jun 2017 20:28:28 -0600
Lawrence E Graves <lgraves95(a)gmail.com> wrote:
Not able to control the maximize control on my firefox web browser.
If I unmaximize the browser and close it out. When I log back on, it
automatically goes to maximize. Can anybody help with this matter?
Am I reporting to the list?
This seems like it should be simple, but a search found that it is
anything but.
One recommendation was to install an addon:
The solution is to install Minimize On Start And Close Firefox Add-On.
Other solutions were only applicable when starting from a script
using xdotool,
#!/bin/bash
#launch the program in the background, with all command-line options
passed to it. firefox "$@" &
#grab its process id.
pidno=$!
#wait for a second so that the window has time to fully register.
sleep 1
#use xdotool to make sure that window is raised to the top.
#this is necessary because it won't directly accept xdotool keypresses
otherwise. #matches both the pid and the class, to ensure we have the
right window. xdotool search --all --pid $pidno --class firefox
windowactivate
#use xdotool again to simulate your hotkey combo. Adjust as necessary.
xdotool key alt+F9
exit 0
or configuring the window manager if it allowed it, like KDE.
In KDE KWin can do things like that. Bring Firefox window to the
front, then hit Alt+F3 and on the menu select 'Advanced' > 'Special
Window Settings'. At least here you could make it so that (certain)
Firefox windows are initially minimized.
And for the System Tray, you need to create/modifiy an application
starter, where the option "Place in System Tray" is checked. In
'kmenuedit', for instance.
These were all pretty old, so I'm not sure they still work.