elementary / switchboard-plug-about

Switchboard System Plug
GNU General Public License v3.0
25 stars 18 forks source link

Better memory and storage info #251

Closed vjr closed 2 years ago

vjr commented 2 years ago

Stolen code from GNOME settings repo to use UDev and UDisks libraries to get more accurate memory and storage info.

Memory now shows the physical RAM capacity and storage code collects the total size of all non-removable and non-ejectable disks.

Before: (note the non-physical RAM size using glibtop.mem library and storage size of the root partition only)

about_before2

After: (note the more accurate physical RAM size and storage size of the physical disk)

about_after2

vjr commented 2 years ago

I'm not sure how to fix the missing dependency error in the build stages... @elementary/desktop-developers

vjr commented 2 years ago

Here's what it looks like on my laptop - notice the disk size isn't rounded off but still acceptable IMO.

Before:

about_before

After:

about_after

zeebok commented 2 years ago

I'm not sure how to fix the missing dependency error in the build stages... @elementary/desktop-developers

I believe you need to add those dependencies to the github workflow yml files