Thanks to visit codestin.com
Credit goes to github.com

Skip to content

lingmo-dream/comice-about

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

comice-about

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.

Screenshot

Overview Displays Storage Memory

Compilation

  1. 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
  2. Create a build folder:

    meson setup build --prefix=/usr
  3. Compile comice-about:

    cd build && ninja
  4. Install comice-about in your system:

    sudo USER="$HOME" ninja install

    NOTE: 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
  5. (OPTIONAL) Uninstall comice-about:

    sudo ninja uninstall && rm -Rf $HOME/.comicemem

Supported Environment Variables

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

How to Debug?

To debug a Vala application, you must follow these steps:

  1. Create build folder with type debug:

    meson setup build --prefix=/usr --buildtype=debug
  2. Compile comice-about:

    cd build && ninja
  3. 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 r command (also known as run command) and press ENTER.

    Then, debugging information will be displayed.

    To exit the debugger, type q command (also known as quit command) and press ENTER.

Changelog

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

About

comice-about is a powerful and simple About Dialog, that show your machine information

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vala 84.3%
  • Meson 7.2%
  • CSS 6.0%
  • Python 2.5%