Expand description
Who the app runs as and on what: the login’s account and host names, and whether a desktop session is there to show capture and call UI.
Apps use these only as hints (a display name to start from, a seed for a fallback id).
Functions§
- has_
desktop_ session - host_
name - This machine’s host name:
$HOSTNAME, else the first line of/etc/hostname, when non-empty.Nonein a page. - user_
name - The login name of the account running this process:
$USER, else$USERNAME(Windows), when non-empty.Nonein a page.