[Xastir] Window Sizing and Shortcuts

Jason Rausch jason at ke4nyv.com
Wed Jul 2 23:10:19 EDT 2014


I forgot to mention the other change I noticed is the mouse pointer behavior.  Now, when I click on the map or try to hold down to draw a zoom box, I get the pop up menu.  Clicking away from the menu closes it and returns to the map.  Is this normal behavior when the touch LCD option is enabled?  I'm assuming this is a way to speed up operation when using a touch only interface.
 
Jason Rausch - Amateur Radio Callsign: KE4NYV
RPC Electronics, LLC
www.rpc-electronics.com


________________________________
 From: Tom Russo <russo at bogodyn.org>
To: Jason Rausch <jason at ke4nyv.com>; Xastir - APRS client software discussion <xastir at lists.xastir.org> 
Cc: "Curt, WE7U" <curt.we7u at gmail.com> 
Sent: Wednesday, July 2, 2014 9:48 PM
Subject: Re: [Xastir] Window Sizing and Shortcuts
 

On Wed, Jul 02, 2014 at 06:18:41PM -0700, we recorded a bogon-computron collision of the <jason at ke4nyv.com> flavor, containing:
> Curt,
> 
> The resolution is 800x480. Can I recompile the version I have installed? ?The install was automated, so I have no idea if I can work with that or start over.

If I recall correctly, your install was done by running the script at
http://www.175moonlight.com/xastir/raspbian-xastir-cvsbuild.sh
with minor modifications.  If so, all that "automation" was really just
running what most of us do by hand on other systems.

The script installs all the packages Xastir depends on, then downloads the
CVS version of Xastir and builds it.  To do what Curt's suggesting means 
skipping right to the last step after hacking the source --- you don't need to 
re-run the script, since you already have all the prerequisites.

All you need to do to rebuild Xastir with that option is to do the following:

- cd ~/src/xastir/src
- cd ~/src/xastir/build
- ../configure CPPFLAGS="-DLCD640x480TOUCH"
  This is the same as if you had edited main.c and uncommented an ifdef that
  Curt mentioned, but is a lot simpler than editing code.
- make clean && make && sudo make install

Then, launch Xastir as before, but change font sizes so that everything looks
OK for you.  While the "ifdef" has 640x480 in its name, there is nothing 
that actually uses the 640x480 size in the code --- it's just a shorthand for
the specific use case Curt was experimenting with when he inserted this code.

Ideally, selecting these options should be done in the "configure" script with
an "--enable-touchscreen" option or something rather than by forcing CPPFLAGS 
or hand-editing code, but nobody has set it up that way.

HTH,

T.
-- 
Tom Russo    KM5VY   SAR502   DM64ux          http://www.swcp.com/~russo/
Tijeras, NM  QRPL#1592 K2#398  SOC#236        http://kevan.org/brain.cgi?DDTNM
echo "prpv_a'rfg_cnf_har_cvcr" | sed -e 's/_/ /g' | tr [a-m][n-z] [n-z][a-m]



More information about the Xastir mailing list