Re: conditional position/geometry?
Neil W Rickert <[email protected]>
| Newsgroups | gmane.mail.exmh.user |
|---|---|
| Message-ID | <[email protected]> |
"Marion Hakanson" <[email protected]> wrote on Apr 10, 2006: >One challenge has been that exmh stores its geometry values (window positions >and sizes) in its exmh-defaults file as absolute pixel values, with no regard >for the resolution or size of display. I've mostly worked around that by >telling exmh to not try to remember these geometries, but a couple of items >have so far eluded me. I use several versions of "exmh-defaults". I give them names such as "exmh-defaults.abc:0" (would be for display abc:0). A symlink, named "exmh-defaults.switch" points to the version currently in use. The "exmh" on my path is a shell script that manipulates these files, then invokes the real exmh. The manipulation - check $DISPLAY to see if we need to change which version of the file to use. If we need to change, then copy the current exmh-defaults to exmh-defaults.switch (to update the previously used version). Then remove the switch link, and replace with the one needed for the current display. Then copy exmh-defaults.switch to exmh-defaults before starting the real exmh. It works pretty well. When installing a new version, I configure one of these to my liking. Then I copy it to the other version files. Then all that is needed is adjusting the display sensitive size parameters on the other versions, as they are used. -NWR