NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
Thanks to Steve Chiswell for the tip. 1. Brute force method - before launching nmap2 edit $GEMPAK/NAWIPS/resource/Nawips and change the values of Nmap*mainw_canvas.width and height to your preferred dimensions 1. Because this edit will henceforth impact ALL instances of nmap2 that are launched, if you want just your own instance(s) of nmap2's dimensions modified without impacting anyone else who launches nmap2 on your system, here is a work-around... 1. One time: cp -r $GEMPAK/NAWIPS/resource $GEMPAK/NAWIPS/resource.temp (resource.temp can be whatever name you want, I just named it as such for obvious reasons in this example) 2. One time: edit $GEMPAK/NAWIPS/resource.temp/Nawips and change the values of Nmap*mainw_canvas.width and height to your preferred dimensions 3. Any time: prior to launching nmap2, set your env variable XUSERFILESEARCHPATH to /pathtogempak/NAWIPS/resource.temp/%N (you can reset back to /pathtogempak/NAWIPS/resource/%N whenever you wish to flip back to default dimensions) LMK if you have any questions, and again thanks to Steve for the tip. Pete From: Manousos, Peter C Sent: Thursday, August 01, 2019 3:59 PM To: gembud@xxxxxxxxxxxxxxxx Subject: How to change the default pixel size of an NMAP2 window? Greetings - am attempting unsuccessfully to launch NMAP2 with different pixel dimensions than its default using window manager (example: nmap2 -- -geometry 1600x1200+0+0) and get Seg fault/core dumped. I can locate the nmap2 window using this method say 100 pixels over and down (example: nmap2 -- -geometry +100+100), but no luck with resizing. After numerous greps through the $GEMTBL dir and searching on GEMBUD and google to see if this is configurable (and many trial/error iterations) still no luck. Anyone know if there is a table that dictates the default size (dimensions) nmap2 opens or a way to modify its size without manually doing so with the mouse? For what its worth, a screen capture of the nmap2 window reveals it opens at a default dimension of 1166x1012 pixels. And btw get a core dump when I do a nmap2 -- -geometry 1166x1012 Pete ------------------------------------------------------------------------------ The information contained in this message is intended only for the personal and confidential use of the recipient(s) named above. If the reader of this message is not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify us immediately, and delete the original message.
gembud
archives: