Page 1 of 1

Tangogps

Posted: Thu 28 Jan 2010, 10:46
by disciple
This was requested. Does a remarkable amount of cool stuff :)
There's a user manual at http://www.tangogps.org/gps/articles/8- ... l#extended - a lot of the functionality is found in the context (Right-click) menu. N.B. the tabs have been replaced by a sidebar, as explained on the release notes page. Click the i button to see it.

Requires gconf - my gconf-dbus package (which doesn't require orbit) works http://www.murga-linux.com/puppy/viewto ... 099#343099

I think to actually connect it to a gps you need gpsd.

It says the License is GPLv2, but doesn't include any useful documentation - not even the GPL :!:

I imagine it can download quite a lot of maps, so you might want to link ~/Maps to somewhere outside your save file.

EDIT - IIRC I upxed the binary, so you may want to unupx it if you put it in a liveCD or .sfs

Posted: Thu 28 Jan 2010, 12:39
by vovchik
Dear desciple,

Thanks for this little gem. It works fine under my 3.01 and 4.10. Well done.

With kind regards,
vovchik

Posted: Fri 29 Jan 2010, 04:08
by jemimah
This will make a nice addition to Puppeee. Thanks.

Posted: Fri 29 Jan 2010, 06:48
by John Lewis
Good one disciple. I'll give it a try. Not clear and not as far as I can tell mentioned is the map format. I hoping it willwork with my Auslig maps as used by OziExplorer.

I think there is a gpsd pet out there somewhere as I've used it before.

John Lewis

OK, I've built the latest gpsd

Posted: Sat 30 Jan 2010, 13:15
by disciple
Yes, I finally found it by searching google for

Code: Select all

gpsd.pet site:murga-linux.com
I've built the latest version though. Actually, the INSTALL file is incorrect in saying there is a --disable-python option. Python is needed for the build, but (supposedly) not to run it.
http://www.murga-linux.com/puppy/viewto ... 637#387637

Also guys, I forgot to mention before that (I think) I upxed the binary.

Posted: Sat 30 Jan 2010, 13:25
by Flash
Thanks disciple, this looks interesting. What is upx? I've never heard of it before. :?

Posted: Sat 30 Jan 2010, 14:01
by disciple
upx compresses executables (unfortunately not libs on Linux though), so it saves space in your save file (they are decompressed when run).
You can find it on the forum if it isn't in the package manager.
The amount of size it saves can vary considerably - IIRC I saw one app go down from about 15MB to something like 5MB.

There has been some discussion about whether it is wise to put upxed executables in an .sfs, although it doesn't seem to do any harm. Some people also think there will be no benefit because you can't compress something twice - but I did some tests and the resulting squashfiles were generally smaller.

The main thing to keep in mind is that you can't run ldd on a upxed executable (need to un-upx it with `upx -d` first), and I think also if you try to strip a upxed file (or maybe just a file that was already stripped and upxed) it might corrupts the file.

Posted: Thu 11 Feb 2010, 16:54
by wufo
When I try to run tangogps I get
process 10012: D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed to open "/var/lib/dbus/machine-id": No such file or directory
See the manual page for dbus-uuidgen to correct this issue.
D-Bus not built with -rdynamic so unable to print a backtrace
Aborted

and dbus-uuidgen is not on the system.

Where do i find the correct pet?

wufo

Posted: Thu 11 Feb 2010, 17:00
by jemimah
TangoGPS has the same dependencies as my Ucview program here: http://www.murga-linux.com/puppy/viewtopic.php?t=52373

If you install all the pets there it should work - except you wouldn't need the unicap pet unless you wanted webcam capture too.

Posted: Thu 11 Feb 2010, 18:04
by HairyWill
disciple
I never said thank you
THANK YOU

how about

Code: Select all

 uuidgen  | sed 's/-//g' > /var/lib/dbus/machine-id
here are some uuids I'm probably not using ;)

Code: Select all

# a=1; while [ $a -lt 10 ] ;do uuidgen  | sed 's/-//g' ; ((a++)); done
d7519b59a93849dfaad9cdae677451f4
f5193133df7840f1ac5d5f8744beadb8
6e61a6b79d8f447396b8342a09b39b4a
cd63bdd62b1f48d892cc7e50de6dcd1e
eaf545edb793428ca085c8377d22480d
033c8041740d4464b1ec277ed43ca13b
e4924c99b1024b809f1d82190a7be79f
35fe6914a45e426cb274343ce268caba
25922caeca0a4de9b599156e8da7a9ea
# a=1; while [ $a -lt 10 ] ;do dbus-uuidgen  ; ((a++)); done
5170162ae3ae3a8d185abb034b74466c
1537edb5a386408c6ff6e60d4b74466c
481d1efe8bf384fc7d0892cf4b74466c
a885ad2d3daf207d0151da264b74466c
0bd87ad0e09b9642723a54bb4b74466c
18a8ebd181782b9a40b47ad94b74466c
68d42d221a814843b5bd6da94b74466c
3b08ede847983f3bc08d2f344b74466c
a993416b9e60698ffd1a22454b74466c

Posted: Sat 13 Feb 2010, 19:53
by picatrix
Hi disciple, I'm running tangoGPS + gpsd on an Asus eeePC 900SD with the great Puppeee 3.5 (thanks Jemimah!); it works out of the box with a Holux USB GPS receiver GR-213U simply by invoking the command gpsd /dev/ttyUSB0.

Just a question...I can't find on the tangoGPS UI any of the "control" tabs mentioned in the manual (Map, Trip, Track, Friends, Config), I'm stuck in Map only...it's a eeePC problem related or there's some trick that I've missed?

All the best, thanks in advance for any suggestion
Picatrix

Posted: Sat 13 Feb 2010, 22:33
by HairyWill
Hit the 'i' button on the left hand side, then use the green arrows on the right to skip between different info displays

I didn't find this particularly intuitive either.

Posted: Sat 13 Feb 2010, 22:42
by disciple
Ah - I should have linked to the release notes page as well.
I didn't find it intuitive either :), but here's the reasoning:
The tabs have been replace with an info pane on the right. The info pane is opened and closed with a new button in the toolbar or alternatively by hitting 'm' on your keyboard. On small screens you have now better usage of the screen because the tabs are gone and on larger screens you can have the information open together with the map.
THANK YOU
You're welcome.

Posted: Sat 13 Feb 2010, 22:49
by picatrix
Thanks a lot, disciple & Will...it seems I can't see the forest for the trees...or the arrows for the tabs! :lol:
ATB

Posted: Sat 13 Feb 2010, 22:58
by disciple
At least the learning curve isn't very long :)

The arrow thing is a bit strange, rather than having tabs in the sidebar (perhaps just with an icon and a tooltip if it is necessary to save space?). I guess it is intended to accomodate lots more pages in the future, so there would be too many tabs - but then it would also be painful to cycle through all the pages. A drop-down menu would be another option.
What do you people who actually have GPS devices with small screens think?

I think the i button should really stay depressed when the sidebar is open, and maybe we could suggest something more meaningful than an i :)
Also, it might be nice to be able to resize the sidebar.

I'm sure the developer would welcome patches...

Posted: Mon 12 Dec 2011, 22:46
by disciple
Note there is also a fork called Foxtrotgps