CPU-X: CPU-Z for Linux
30 comments
·July 7, 2025throw123xz
tvier
That's just the theme the author is running. If you use a use a standard theme, you'll get a higher contrast text color.
From their wiki: https://camo.githubusercontent.com/04c2219de0884fc8e6bf4d264...
amlib
MacOS and specially Windows has their fair share of great and useful software with questionable UI/UX, this is far from a problem affecting only Linux.
Take a look at modern KDE and specially GNOME software, they are pretty well made regarding UI/UX best practices and GNOME even has a great HIG that they follow strictly on their stuff, you can't even say that regarding Microsoft own software anymore.
null
bb88
Gnome is not bad, but GTK has been historically a pain point for development.
XorNot
I just people to do menu bars on desktop again.
Add the Jetbrains search anywhere function if you really just innovate.
No more Hamburger menus.
wpm
The ncurses CLI version looks great.
whalesalad
this is what it looks like for me, https://i.imgur.com/lo2YL57.png
aforty
Nice but does it really have to look like the Windows version? Can’t we imagine and have better things?
kcb
The tool hardinfo2 works pretty well for system stats. Somewhat similar to hwinfo64 on windows.
DrillShopper
It would really be nice to not have to require a daemon to make this program useful
DeepYogurt
Ya. The joy of cpu-z is that its a single small binary.
lmz
I wouldn't read too deeply into that. I'm pretty sure cpu-z bundles a driver that is unpacked and installed at runtime (search for 'cpuz sys')
nateb2022
c.f. https://github.com/TheTumultuousUnicornOfDarkness/CPU-X/wiki...
the daemon separates userspace from root domain, and ensures that the code running with root privileges is very small and easily auditable
__turbobrew__
Maybe I am dumb, but why does it have to be a daemon? Why not have the user process fork off the privileged binary to collect data and return the results through stdout?
unaindz
Forking a process is not free and starting one every hundred of a millisecond* seems very expensive. *I'm do not know which frequency it updates the data but it's usually 1 sec to 0.1 sec.
dmitrygr
$ man dmidecode
preisschild
At least in the Flatpak, it can be started by just clicking the "Start daemon" button.
whalesalad
I use it without the daemon. I don't even know what the daemon does.
null
mmh0000
[flagged]
petabyt
This tool does benchmarks and lists vulkan/opengl capabilities. It's a bit more than a glorified command line frontend.
Brian_K_White
There are similar commands for those. It is exactly a bit more than a front end.
izacus
This is absolutely "Who cares about Dropbox, just use rsync!" level of silly and lazy HN answer :D
null
null
jcelerier
When I type all that (if I type them correctly, I do a lot of mistakes so I need simple icons to click sometimes), it really doesn't look like CPU-Z in my terminal, I wonder what I'm doing wrong?
Brian_K_White
Those commands do provide the information. They never claimed it exactly matches the graphical layout.
And I don't think they are even claiming that a graphical presentation of the same info is necessarily wrong or pointless, they are simply saying, that's a lot of c++ for merely wrapping the text in some gui widgets.
It's a fair observation.
I can imagine generating say an html rendition that looks almost the same in a few k of shell. Maybe there's more to it and it wouldn't be so simple, but that is what it looks like.
jcelerier
> Those commands do provide the information. They never claimed it exactly matches the graphical layout.
but that's the thing, the target audience for "CPU-Z for Linux" is not people who want the information (because if you do it's of course trivial to google and find out about /proc/cpuinfo), it's people who want to use a software which is as close as possible to the original CPU-Z (so HTML layout definitely does not cut it either).
> I can imagine generating say an html rendition that looks almost the same in a few k of shell.
considering that the source code assumes that dmidecode won't be present (it embeds it) I doubt you'd reimplement the whole dmidecode in only a few k lines of shell. And that's just a small part of what CPU-X does.
webdevver
[flagged]
Very nice.
On a side note, and not wanting to criticize the people that spend their time working on something like this, that UI is the main reason why I still use Windows and macOS. Light grey on a white background, dark grey on a that blue background, a black AMD logo on a dark grey background, the padding around the text inside boxes...
I feel bad saying this when it's a free tool, but it's a shame that open source projects struggle so much with UI stuff.