Mepo - Minimalist and hackable OSM map viewer for mobile linux
#11
(03-27-2022, 03:09 PM)fdlamotte Wrote: mepo is really great ! Thanks !

love the scriptability, here is a quick and dirty one to center map on the position given by pp gps  you just have to name it mepo_something.sh and place it in your path and it will be automagically available from the main menu ;)


#!/bin/bash
DISPLAYNAME=" Relocate : gpspipe 5s"

gpspipe -w -x 5 | grep TPV | tail -n 1 | jq '"\(.lat) \(.lon)"' | sed "s/\"/center_on_coords /" | sed s/\"/\;/

Nice ! You found the undocumented but implemented and already usable feature for userscripts :D

And for centering map based on GPS we'll have something like this OOTB in mepo 0.5 - but that's an excellent hack in the meantime.
  Reply


Messages In This Thread
RE: Mepo - Minimalist and hackable OSM map viewer for mobile linux - by mil - 03-29-2022, 08:18 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Genode- Sculpt OS for the PinePhone (non Linux) Surehand53 1 1,491 11-04-2023, 07:23 PM
Last Post: tllim
  Abiword as a office mobile word processor for the Pinephone? Peter Gamma 11 3,888 10-24-2023, 08:57 AM
Last Post: Peter Gamma
  Proximity lock on Plasma Mobile alpineduck 0 1,258 08-14-2023, 05:51 PM
Last Post: alpineduck
Information Quick&dirty VPN quick setting button for Plasma Mobile Kevin Kofler 0 1,212 04-06-2023, 02:40 PM
Last Post: Kevin Kofler
  Arch Linux on PinePhone Rocky-IV 4 10,491 12-21-2022, 04:35 AM
Last Post: gregb49
  Control HBIAS through a linux OS twiclo 0 1,168 10-04-2022, 03:20 PM
Last Post: twiclo
  difference between android and linux? vanja 3 2,593 09-16-2022, 07:43 PM
Last Post: TRS-80
  meet franz! (whatsapp,telegram,etc linux client) vanja 0 1,296 09-15-2022, 01:23 AM
Last Post: vanja
  HowTo: Get a passcode from DUO Mobile working on the Pinephone kop316 2 4,216 01-16-2022, 03:46 PM
Last Post: michel_luc
Bug My experience running desktop Linux on PinePhone Subsentient 5 5,768 12-31-2021, 05:41 PM
Last Post: Subsentient

Forum Jump:


Users browsing this thread: 1 Guest(s)