hw wrote: > Hi! > > Fvwms manpage says: > > > Placement policy options and window stacking > !UsePPosition instructs fvwm to ignore the program > specified position (PPosition hint) when adding new > windows. Using PPosition is required for some > applications, but if you do not have one of those it's a > real headache. Many programs set PPosition to something > obnoxious like 0,0 (upper left corner). Note: > !UsePPosition is equivalent to the deprecated option > !UsePPosition > > > Is "!UsePPosition" deprecated? > > I'm trying to figure out how to make it so that when Firefox opens three > windows when it's restoring the last session when it's started, these > windows are not put on top of each other (at the top left side of the > display) but placed according to the placement policy. > > Some years ago, I had found out that I need to use "FixedPPosition" for > Seamonkey to prevent it from creating windows at unreachable places, > i. e. way off screen on desktop pages that didn't even exist. So I´m > using this option for Firefox now. > > What option(s) can I use to prevent windows being created by Firestorm > at unreachable places and yet have them placed according to the > placement policy?
I cannot tell something about 'PPosition'. Other people listed here should be able to tell something meaningful about 'PPosition'. But: If nobody is able to help you, then continue reading... . . . . . ... I have similar issues regarding windows that appear on desktops and viewports that I cannot reach. My solution is to bring them to the current desktop + viewport when something like that happens. How? Look at my solutions and you will learn the trick. I have problems with Firefox and OpenOffice. If you are interested, my attachments "0011_emergency_tool.fvwm" and "0011_emergency_tool_old.fvwm" are my individual solutions after incidents like that. I hope these attachments survive the list. I use both of them when such a problem appears, but during the last 6 months, these problems didn't appear that often, nearly not once at all. - Michael -
# Use this tool when you have an emergency # # When you have an emergency: Press <Alt Gr> + <Win> + <F12> (<MOD5> + <MOD4> + <F12>) # - an FvwmIconMan will appear # # When emergency is over: Press <Alt Gr> + <Win> + <F11> (<MOD5> + <MOD4> + <F11>) # - the FvwmIconMan will disappear # # Sometimes, Firefox crashes, and after the previous session is stored, sometimes some windows # hide on an invisible viewport. # # - Solution: Click with mouse button 1 on this window, and it will be moved to page 0 0. # # Sometimes, OpenOffice hides dialog boxes (for example the "Function Wizard") on an invisible # viewport forever (even after OpenOffice was exited and newly started). # # - Solution: Click with mouse button 1 on this dialog box (the "Function Wizard"), # and it will be moved to page 0 0. # # When one of your windows is iconified, and you cannot deiconify it, because a WindowListSkip # style is assigned to it, then you can try this: # # - Click with mouse button 2 on this window to iconify or deiconify it. Key F12 A 45 start_emergency_tool Key F11 A 45 kill_emergency_tool # start the emergency tool DestroyFunc start_emergency_tool AddToFunc start_emergency_tool + I Module FvwmIconMan my-emergency-tool # kill the emergency tool DestroyFunc kill_emergency_tool AddToFunc kill_emergency_tool + I KillModule FvwmIconMan my-emergency-tool # currently, I use a total of 1 Icon Manager *my-emergency-tool: NumManagers 1 *my-emergency-tool: 1 ButtonGeometry 302x20 *my-emergency-tool: 1 ManagerGeometry 1x0+978-0 *my-emergency-tool: 1 ReliefThickness 0 *my-emergency-tool: 1 Title "Emergency-Tool" # colors *my-emergency-tool: 1 Background rgb:1b/86/00 *my-emergency-tool: 1 Foreground rgb:00/00/00 *my-emergency-tool: 1 PlainButton flat rgb:00/00/00 rgb:88/88/88 *my-emergency-tool: 1 FocusButton flat rgb:00/ff/ff rgb:00/00/ff *my-emergency-tool: 1 FocusAndSelectButton flat rgb:00/ff/ff rgb:77/77/00 *my-emergency-tool: 1 SelectButton flat rgb:00/00/00 rgb:77/77/00 *my-emergency-tool: 1 IconButton flat rgb:ff/ff/00 rgb:00/00/00 *my-emergency-tool: 1 TitleButton flat rgb:00/ff/00 rgb:1b/86/00 # Do not honor the WindowListSkip style flag. # All windows are subject to possible management according to the show and dontshow lists. *my-emergency-tool: 1 UseWinList false # I want to see alle windows *my-emergency-tool: 1 resolution global # do not sort the windows by anything *my-emergency-tool: 1 sort none # The emergency tool is supposed to get styles! Style my-emergency-tool Sticky, NoTitle, HandleWidth 0, NeverFocus, StaysOnTop # Bind some functionality to the mouse buttons *my-emergency-tool: Action Mouse 1 N sendcommand "DeiconifyRaiseFocusAndMoveToPage00" *my-emergency-tool: Action Mouse 2 N sendcommand "Iconify" *my-emergency-tool: Action Mouse 3 N sendcommand "run_FvwmIdent" # for the "mouse 1" action (left mouse button) AddToFunc DeiconifyRaiseFocusAndMoveToPage00 + I Iconify off + I Raise + I Focus + I MoveToPage 0 0
# Use this tool when you have an emergency # # When you have an emergency: Press <Alt Gr> + <Win> + <F10> (<MOD5> + <MOD4> + <F10>) # - an FvwmWinList will appear # # When emergency is over: Press <Alt Gr> + <Win> + <F9> (<MOD5> + <MOD4> + <F9>) # - the FvwmWinList will disappear # # Sometimes, Firefox crashes, and after the previous session is stored, sometimes some windows # hide on an invisible viewport. # # - Solution: Click with mouse button 1 on this window, and it will be moved to page 0 0. # # Sometimes, OpenOffice hides dialog boxes (for example the "Function Wizard") on an invisible # viewport forever (even after OpenOffice was exited and newly started). # # - Solution: Click with mouse button 1 on this dialog box (the "Function Wizard"), # and it will be moved to page 0 0. # # When one of your windows is iconified, and you cannot deiconify it, because a WindowListSkip # style is assigned to it, then you can try this: # # - Click with mouse button 2 on this window to iconify or deiconify it. Key F10 A 45 start_emergency_tool_old Key F9 A 45 kill_emergency_tool_old # start the emergency tool DestroyFunc start_emergency_tool_old AddToFunc start_emergency_tool_old + I Module FvwmWinList # kill the emergency tool DestroyFunc kill_emergency_tool_old AddToFunc kill_emergency_tool_old + I KillModule FvwmWinList # window lister *FvwmWinList: Back rgb:40/40/40 *FvwmWinList: Fore rgb:ff/ff/ff *FvwmWinList: FocusBack rgb:ff/ff/ff *FvwmWinList: FocusFore rgb:40/40/40 #*FvwmWinList: Font -*-new century schoolbook-bold-r-*-*-*-120-*-*-*-*-*-* *FvwmWinList: Action Click1 Function DeiconifyRaiseFocusAndMoveToPage00 *FvwmWinList: Action Click2 Iconify *FvwmWinList: Action Click3 run_FvwmIdent #*FvwmWinList: UseSkipList *FvwmWinList: UseIconNames *FvwmWinList: Geometry +502-0 *FvwmWinList: MinWidth 473 *FvwmWinList: MaxWidth 473 *FvwmWinList: ButtonFrameWidth 1 #*FvwmWinList: ShowCurrentDesk # makes the text left-aligned *FvwmWinList: LeftJustify # I don't know yet what this does. I simply let it be like this. # *FvwmWinList: NoAnchor # keep the list in the same order as FVWM *FvwmWinList: FollowWindowList # I don't know yet what this does. I simply let it be like this. *FvwmWinList: BorderReliefWidth 0 # pretend to be a taskbar *FvwmWinList: NoIconAction SendToModule FvwmAnimate animate # The emergency tool is supposed to get styles! Style FvwmWinList Sticky, NoTitle, HandleWidth 0, NeverFocus, StaysOnTop # for the "click 1" action AddToFunc DeiconifyRaiseFocusAndMoveToPage00 + I Iconify off + I Raise + I Focus + I MoveToPage 0 0