comice-about is a powerful and simple About Dialog, that show your machine information like CPU, RAM Memory, Video Card, Disk Used Space, etc.
It is being developed for comiceOS.
-
Install dependencies:
- For Ubuntu:
sudo apt-get install meson ninja-build cdbs valac libvala-*-dev libglib2.0-dev libgtk-3-dev python3 python3-wheel python3-setuptools baobab mesa-utils - For Fedora:
sudo dnf install meson ninja-build cdbs vala libvala-devel glib-devel gtk3-devel python3 python3-wheel python3-setuptools baobab glx-utils
- For Ubuntu:
-
Create a build folder:
meson setup build --prefix=/usr
-
Compile
comice-about:cd build && ninja
-
Install comice-about in your system:
sudo USER="$HOME" ninja installNOTE: in case the application doesn't open, indicating failure getting RAM memory information. Please, run the next command:
sudo MESON_INSTALL_PREFIX="/usr" USER="$HOME" python3 ../post_install.py
-
(OPTIONAL) Uninstall comice-about:
sudo ninja uninstall && rm -Rf $HOME/.comicemem
To control the behavior of comice-about you can set some of the next environment variables:
ABOUT_OS: allow to define the title of Overview section (the name of the OS). This support<b>tags for bold text. For instance:<b>comiceOS</b> Catalina.ABOUT_OS_VERSION: allow to define the version of the OS. This support pango markups.ABOUT_DISPLAY: allow to define which application execute with Display Preferences button of Display section.ABOUT_DISK_MANAGER: allow to define which application execute with Manage buton of Storage section.
You can edit the file /usr/share/applications/com.github.libredeb.comice-about.desktop and add theese variables before the executable in Exec= tag. For instance: Exec=env ABOUT_OS="myCustom <b>OS</b>" env ABOUT_OS_VERSION="version 1.2.3" com.github.libredeb.comice-about
To debug a Vala application, you must follow these steps:
-
Create build folder with type debug:
meson setup build --prefix=/usr --buildtype=debug
-
Compile
comice-about:cd build && ninja
-
Run the application in debug mode:
gdb ./com.github.libredeb.comice-about
The above command has the next output:
GNU gdb (Ubuntu 12.1-0ubuntu1~22.04) 12.1 Copyright (C) 2022 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <https://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from ./com.github.libredeb.comice-about... (gdb) █
In this point, you need to type
rcommand (also known asruncommand) and press ENTER.Then, debugging information will be displayed.
To exit the debugger, type
qcommand (also known asquitcommand) and press ENTER.
Version 0.0.3
- Road to first public release
Version 0.0.2
- Fixed log level for startup disk
- Fixed a bug that caused unwanted information to be added when obtaining information from the graphics card
- Fixed a bug that caused the whole application to crash when getting information from the RAM memory
- Fixed a bug that prevents the application startup when there is more than one screen
Version 0.0.1
- Initial version, First release
- Implemented the first 4 important tabs
- New functions to show real hardware information