Skip to content

Theme parameters OperatingSystem and LocalIP fail #352

@dkragen

Description

@dkragen

Describe the bug
"OperatingSystem" choice in toml results in no output, regardless of theme choice and order in show command. Per doctor output, there appears to be a problem with either libmacchina or parsing of platform (gnu-linux mx-linux non-sysD).

"LocalIP" also produces no output, despite correct configuration (interface="eth0"). Doctor doesn't show why.

To Reproduce
Steps to reproduce the behavior:

  1. See below screenshot of relevant portion of macchina.toml.
  2. Launch macchina

Expected behavior
Shows OS (not distro), ie, output of /etc/initrd_release PRETTY_NAME

Screenshots
Image

Image Image Image

macchina --doctor output

We've collected a total of 13 readouts including 2 failed read(s) and 1 read(s) resulting in a warning.

Readout "OperatingSystem" failed with message: This metric is not available on this platform or is not yet implemented by libmacchina.
Readout "LocalIP" failed with message: Unable to get local IPv4 address.

1 of the 3 unsuccessful read(s) resulted in a warning:
 Readout "DesktopEnvironment" threw a warning with message: You appear to be only running a window manager.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions