2024-08-20 14:45:56 +03:00
2024-06-30 16:04:01 +03:00
2024-08-19 18:34:14 +03:00
2024-06-15 18:32:36 +03:00
2024-08-19 18:37:54 +03:00
2024-05-29 03:47:09 +03:00
2024-08-20 14:45:56 +03:00

QDiskInfo

QDiskInfo is a frontend for smartctl (part of the smartmontools package). It provides a user experience similar to CrystalDiskInfo. It shows the SMART (Self-Monitoring, Analysis, and Reporting Technology) data of modern hard disk drives. mockup The icon is a modified version of the KDE Partition Manager logo which is available under GPL-3.0+.

Packages

Packaging status

Compiling and Installing

Compilation and Runtime Dependencies

Ubuntu and based distros (Mint, Pop!_OS, etc.)

sudo apt install build-essential cmake git libgl1-mesa-dev libxkbcommon-dev qt6-base-dev qt6-wayland smartmontools

Fedora and derivatives (Nobara Project, etc.)

sudo dnf install cmake git mesa-libGL-devel libxkbcommon-devel qt6-qtbase-devel qt6-qtwayland-devel smartmontools

Compilation Steps

First you will need to clone the repository and cd inside

git clone https://github.com/edisionnano/QDiskInfo.git && cd QDiskInfo

Then you must create a build directory and cd inside

mkdir build && cd build

After that use CMake to setup the project, Qt version can also be set to 5 (for example for Ubuntu)

cmake .. -DCMAKE_BUILD_TYPE:STRING=MinSizeRel -DQT_VERSION_MAJOR=6

And finally compile the project with all the threads

make -j$(nproc)

This will create a QDiskInfo binary on the build directory but you can also install it using

sudo make install

Localisation

Currently, QDiskInfo has support for the following languages:

  • 🌐 English (C)
  • 🇬🇷 Greek (el_GR)
  • 🇪🇸 Spanish (es_ES)
  • 🇧🇷 Brazilian Portuguese (pt_BR)
  • 🇨🇳 Simplified Chinese (zh_CN)

You can translate QDiskInfo to your language very easily using Crowdin. If your language isn't available on Crowdin, feel free to create a new issue.

Alternatively you can copy the qdiskinfo_en_US.ts, which can be found inside the translations folder, to the locale you want. For example to qdiskinfo_de_DE.ts for German. Then you can use the QT Linguist application to translate the strings, marking every finished one with a tick. Once you are finished you can compile the .ts file to a .qm file by running this command from the root of the project

lrelease translations/qdiskinfo_de_DE.ts -qm translations/qdiskinfo_de_DE.qm

Once you do that, add the .qm file on src/resources.qrc and compile the project.
If your system language differs from the one you are translating to, you can use

LC_ALL=de_DE.UTF-8 ./QDiskInfo

to force the app to use the language of your choice.

Using CrystalDiskInfo Anime Themes

The process is similar to the one above with a few changes:
First you must download the edition of CrystalDiskInfo you want (Aoi for example) in ZIP format from here, from this archive you shall copy the light and dark backgrounds as well as the good, caution, bad, unknown icons to dist/theme with the same name as the templates there.
Once you do that compile like above but when running CMake do this instead:

cmake .. -DCMAKE_BUILD_TYPE:STRING=MinSizeRel -DQT_VERSION_MAJOR=6 -DINCLUDE_OPTIONAL_RESOURCES=ON -DCHARACTER_IS_RIGHT=ON

Regarding the -DCHARACTER_IS_RIGHT set it to ON for themes where the character is right (like Aoi) or OFF for most other themes.

Description
Languages
C++ 93.7%
CMake 3.5%
Shell 2.7%
C 0.1%