SysInfo
1. Introduction
A goal in the design of these functions has been to avoid accessing external software not included internally in the OS by default.
Windows implementation use internal DLL and wmi.
Posix implementation uses X11 libraries, XTest and OS related utilities like mount and xdg.
Another goal is to provide the running program information about the environment including hardware and software to adapt itself after program compiling. This way for example a program compiled in Ubuntu can run properly in Fedora without recompiling.
2. Compiler support and Requirements
SysInfo has been tested in Linux using Gcc and in Windows using MinGW and MSC.
IMPORTANT: To compile using MinGW it is required to copy the next files from SysInfo/plugin:
To \MinGW\include:
Files Rpcsal.h, DispEx.h, WbemCli.h, WbemDisp.h, Wbemidl.h, WbemProv.h and WbemTran.h.
To \MinGW\lib:
File wbemuuid.lib
IMPORTANT: To compile it in Linux it is necessary to include package XTest. In Ubuntu the aptitude package name is libxtst-dev so in case of problems in Ubuntu go to terminal and run this:
sudo apt-get install libxtst-dev
3. OS and Desktop implementation
OS and Desktop implementation is a work in process as in some implementations it requires a level of hacking so all feedback will be acknowledged.
Here are enclosed the testing results divided in two tables:
Distro
|
Version
|
Architecture
|
Desktop
|
Version
|
Comments
|
Special folders
|
System Info
|
Memory Info
|
OS Info
|
Distro Info
|
Default Exes
|
Fedora
|
9
|
32
|
Gnome
|
2.22
|
|
Ok
|
Ok
|
Ok
|
Ok
|
Ok
|
Ok
|
Fedora
|
9
|
32
|
Kde
|
4.0.3
|
|
Ok
|
Ok
|
Ok
|
Ok
|
Ok
|
Ok
|
Kubuntu
|
8.10
|
32
|
Kde
|
4.1.2
|
|
Ok
|
Ok
|
Ok
|
Ok
|
Ok
|
Ok
|
Mandriva
|
2009
|
32
|
Kde
|
|
|
Ok
|
Ok
|
Ok
|
Ok
|
Ok
|
Ok
|
Mandriva
|
2009
|
32
|
Gnome
|
2.24
|
|
Ok
|
Ok
|
No virtual memory
|
Ok
|
Ok
|
Ok
|
Opengeu
|
8.04
|
32
|
Enlightenment
|
0.16
|
|
Ok
|
Ok
|
Ok
|
Ok
|
Ok
|
Ok
|
OpenSuse
|
11
|
32
|
Gnome
|
2.22
|
|
Some not detected
|
Ok
|
No virtual memory
|
Ok
|
Ok
|
Ok
|
OpenSuse
|
11
|
32
|
Kde
|
4.0.4
|
|
Some not detected
|
Ok
|
No virtual memory
|
Ok
|
Ok
|
Ok
|
Slax
|
|
32
|
Kde
|
3.5.9
|
|
Ok
|
Ok
|
Ok
|
Ok
|
Ok
|
Ok
|
Ubuntu
|
8.04
|
32
|
Gnome
|
2.22
|
|
Ok
|
Ok
|
Ok
|
Ok
|
Ok
|
Ok
|
Ubuntu
|
8.04
|
64
|
Gnome
|
2.22
|
|
Ok
|
Ok
|
Ok
|
Ok
|
Ok
|
Ok
|
Xubuntu
|
8.10
|
32
|
Xfce
|
|
Partial test. Expected better results
|
Some not detected
|
Ok
|
Ok
|
Ok
|
No version
|
Ok
|
Vista
|
Home Premium Edition
|
32
|
Vista
|
|
|
Ok
|
Ok
|
Ok
|
Ok
|
Ok
|
Ok
|
XP
|
5.1 SP3
|
32
|
XP
|
|
|
Ok
|
Ok
|
Ok
|
Ok
|
Ok
|
Ok
|
|
Distro
|
Version
|
Architecture
|
Desktop
|
Version
|
Drives Info
|
Launch File
|
Find and Kill Window
|
Windows List
|
Process List
|
Fedora
|
9
|
32
|
Gnome
|
2.22
|
Ok
|
Ok
|
Ok
|
Ok
|
Ok
|
Fedora
|
9
|
32
|
Kde
|
4.0.3
|
Ok
|
Ok
|
Ok
|
Ok
|
Ok
|
Kubuntu
|
8.10
|
32
|
Kde
|
4.1.2
|
Ok
|
Ok
|
Ok
|
Ok
|
Ok
|
Mandriva
|
2009
|
32
|
Kde
|
|
Ok
|
Ok
|
Ok
|
Ok
|
Ok
|
Mandriva
|
2009
|
32
|
Gnome
|
2.24
|
Ok
|
Ok
|
Ok
|
Ok
|
Ok
|
Opengeu
|
8.04
|
32
|
Enlightenment
|
0.16
|
Ok
|
Ok
|
Ok
|
Ok
|
Ok
|
OpenSuse
|
11
|
32
|
Gnome
|
2.22
|
Ok
|
Ok
|
Ok
|
Ok
|
Ok
|
OpenSuse
|
11
|
32
|
Kde
|
4.0.4
|
Ok
|
Ok
|
Ok
|
Ok
|
Ok
|
Slax
|
|
32
|
Kde
|
3.5.9
|
Ok
|
Ok
|
Ok
|
Ok
|
Ok
|
Ubuntu
|
8.04
|
32
|
Gnome
|
2.22
|
Ok
|
Ok
|
Ok
|
Ok
|
Ok
|
Ubuntu
|
8.04
|
64
|
Gnome
|
2.22
|
Ok
|
Ok
|
Ok
|
Ok
|
Ok
|
Xubuntu
|
8.10
|
32
|
Xfce
|
|
Ok
|
Ok
|
Ok
|
Ok
|
Ok
|
Vista
|
Home Premium Edition
|
32
|
Vista
|
|
Ok
|
Ok
|
Ok
|
Ok
|
Ok
|
XP
|
5.1 SP3
|
32
|
XP
|
|
Ok
|
Ok
|
Ok
|
Ok
|
Ok
|
|
It seems OS CPU speed report is not reliable in Linux as it varies between program runs.
The same error has been found in system reporting programs and desktop cpu speed icons.
Distro
|
Version
|
Architecture
|
Desktop
|
Version
|
Screen Snap
|
Screen Record
|
Installed software list
|
Fedora
|
9
|
32
|
Gnome
|
2.22
|
Not tested
|
Not implement.
|
Not implement.
|
Fedora
|
9
|
32
|
Kde
|
4.0.3
|
Not tested
|
Not implement.
|
Not implement.
|
Kubuntu
|
8.10
|
32
|
Kde
|
4.1.2
|
Not tested
|
Not implement.
|
Not implement.
|
Mandriva
|
2009
|
32
|
Kde
|
|
Not tested
|
Not implement.
|
Not implement.
|
Mandriva
|
2009
|
32
|
Gnome
|
2.24
|
Not tested
|
Not implement.
|
Not implement.
|
Opengeu
|
8.04
|
32
|
Enlightenment
|
0.16
|
Not tested
|
Not implement.
|
Not implement.
|
OpenSuse
|
11
|
32
|
Gnome
|
2.22
|
Not tested
|
Not implement.
|
Not implement.
|
OpenSuse
|
11
|
32
|
Kde
|
4.0.4
|
Not tested
|
Not implement.
|
Not implement.
|
Slax
|
|
32
|
Kde
|
3.5.9
|
Not tested
|
Not implement.
|
Not implement.
|
Ubuntu
|
8.04-9.04
|
32
|
Gnome
|
2.22-
|
Ok
|
Not implement.
|
Not implement.
|
Ubuntu
|
8.04-9.04
|
64
|
Gnome
|
2.22-
|
Not tested
|
Not implement.
|
Not implement.
|
Xubuntu
|
8.10
|
32
|
Xfce
|
|
Not tested
|
Not implement.
|
Not implement.
|
Vista
|
Home Premium Edition
|
32
|
Vista
|
|
Not tested
|
Not tested
|
Not tested
|
XP
|
5.1 SP2-3 Professional
|
32
|
XP
|
|
Ok
|
Ok
|
Ok
|
|
Next table includes the list of OS and Distros unsuccesfully tried and the reason:
OS and Distros not tested
|
|
Distro
|
Version
|
Architecture
|
Desktop
|
Version
|
Comments
|
Freesbie
|
2.0
|
32
|
|
|
Not possible to run without password
|
Fluxbox
|
7.10
|
32
|
|
|
Live version not found
|
Gentoo
|
|
32
|
Xfce
|
|
Not possible to mount internal or usb HD
|
Knoppix
|
5.11
|
32
|
Kde
|
|
Old Glib version
|
Slackware
|
|
32
|
|
|
Live version not found
|
|
|