@spv In fact phosh would like to do it but there's currently no way for apps to indicate that a keypad would be the preferred choice: https://gitlab.gnome.org/GNOME/gcr/-/merge_requests/79
@agx man i love FOSS -- seeing the development discussions and contributing rather than "welp i guess we'll see what they ship in a year" lmfao
@spv Not in the case of the prompter, that's a DBus API so the app needs to sent the hint over the channel (hence the MR). (The text-input client in this case is the shell not the app)
@agx then i suppose an even worse heuristic of "is polkit currently in use?" might work (sort of?)
(pgrep polkit-agent-he && echo numpad)
@spv polkit even has its on prompt (and DBus API) separate from system prompts (that e.g. gpg or SIM unlock uses). It's not driven by gcr so one could use a keypad for that case.
@spv Scrolling back up I see you asked for polkit in the first place (I was reading system prompt), sorry for the confusion.
@spv Filed that here: https://gitlab.gnome.org/World/Phosh/phosh/-/issues/1131
The OSK could deal with it nicely, we'd just need send that one hint over DBus and everything would fall into place.