Make Linux distribution `wxGetOsDescription()`'s main output (PR #26231)

23 views
Skip to first unread message

Lauri Nurmi

unread,
Feb 23, 2026, 8:33:16 AM (2 days ago) Feb 23
to wx-...@googlegroups.com, Subscribed

When available, acquire the name and release of the Linux distribution and return it as wxGetOsDescription()'s output, followed by the near equivalent of the traditional uname -srm output.

The uname output, something like Linux 6.19.0-5-generic x86_64, is not the best description for a Linux system, since it leaves up to the reader to figure out what kind of a system this actually is.

The output changes significantly from what it was earlier, but the output was never meant to be machine-readable, nor was it consistent across different operating systems.


You can view, comment on, or merge this pull request online at:

  https://github.com/wxWidgets/wxWidgets/pull/26231

Commit Summary

  • 3c0cbad Make Linux distribution wxGetOsDescription()'s main output

File Changes

(1 file)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26231@github.com>

Lauri Nurmi

unread,
Feb 24, 2026, 2:09:03 PM (yesterday) Feb 24
to wx-...@googlegroups.com, Push

@lanurmi pushed 1 commit.

  • 5a18c69 fixup! Make Linux distribution wxGetOsDescription()'s main output


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26231/before/3c0cbad8f247bae567745e0ea1ed5783759a4a5b/after/5a18c694dd584deff3505147c72d2f2eb64e854f@github.com>

VZ

unread,
Feb 24, 2026, 6:16:37 PM (yesterday) Feb 24
to wx-...@googlegroups.com, Subscribed

@vadz requested changes on this pull request.

Thanks, I agree with the idea but:

  1. Could you please update this functions documentation in interface/wx/utils.h with an example of newly returned string?
  2. Use normal wx camelCase convention for the variable names instead of capitalizing many of them?

Thanks!


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26231/review/3851008922@github.com>

Lauri Nurmi

unread,
4:07 AM (14 hours ago) 4:07 AM
to wx-...@googlegroups.com, Push

@lanurmi pushed 3 commits.

  • f3a19fb fixup! fixup! Make Linux distribution wxGetOsDescription()'s main output
  • ddf03c1 fixup! fixup! fixup! Make Linux distribution wxGetOsDescription()'s main output
  • f04ca80 Mention Linux distribution version in wxGet/CheckOsVersion() docs


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26231/before/5a18c694dd584deff3505147c72d2f2eb64e854f/after/f04ca802e9519744c9d8ef04cd0f07ccfb1b903b@github.com>

Reply all
Reply to author
Forward
0 new messages