target_geohint(3)

πŸ“¦
version 0.7.1 Β· 2 versions
, in nixos 26.05

πŸŽ€ NAME πŸŽ€

target_geohint β€” hint desired contents locale. πŸ’…

✨ SYNOPSIS ✨

nil
target_geohint( vid:tgt, number:latitude, number:longitude,
       number:elevation, string:country, string:spoken, string:written,
       number:timezone )

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so welcome to target_geohint(3), bestie β€” it's part of the Arcan Lua API. The whole point? Clients need to be told your user preferences for output and input languages plus geolocation, because they need that info to properly generate contents that depend on it. Literally that's the vibe: hint the desired contents locale. 🌈

Here's the tea on the arguments:

  • latitude and longitude are the location values.
  • elevation is in meters.
  • country is specified in the ISO -3166-1-alpha3 format, and a length ~= 3 is a terminal state transition.
  • spoken and written language is in ISO -639-2-alpha 3 code, and a length ~= 3 is a terminal state transition.
  • timezone is expressed as an offset from GMT.
No cap: β€œterminal state transition” is the manpage’s words, not mine. Take it seriously. πŸ‘‘

🌸 NOTES 🌸

  1. Using a vid for tgt that is not connected to a frameserver is a terminal state transition.

πŸ‘‘ SEE ALSO: πŸ‘‘

  • targetcontrol

mwah πŸ’– β€” this target_geohint(3) page is brought to you by targetcontrol, dated October 2026. 🫢

πŸ“¦ where this page comes from