mirror of
https://github.com/edisionnano/QDiskInfo.git
synced 2026-03-09 04:49:58 +03:00
47 lines
2.1 KiB
Markdown
47 lines
2.1 KiB
Markdown
# QDiskInfo
|
|
CrystalDiskInfo alternative for Linux
|
|

|
|
This app is a frontend for smartctl which is part of the smartmontools package.<br>
|
|
The icon is a modified version of the KDE Partition Manager logo which is available under GPL-3.0+.
|
|
|
|
## Compiling and Installing
|
|
### Compilation Dependencies
|
|
Ubuntu and based distros (Mint, Pop!_OS, etc.)
|
|
```sh
|
|
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
|
|
```sh
|
|
git clone https://github.com/edisionnano/QDiskInfo.git && cd QDiskInfo
|
|
```
|
|
Then you must create a build directory and cd inside
|
|
```sh
|
|
mkdir build && cd build
|
|
```
|
|
After that use CMake to setup the project, Qt version can also be set to 5 (for example for Ubuntu)
|
|
```sh
|
|
cmake .. -DCMAKE_BUILD_TYPE:STRING=MinSizeRel -DQT_VERSION_MAJOR=6
|
|
```
|
|
And finally compile the project with all the threads
|
|
```sh
|
|
make -j$(nproc)
|
|
```
|
|
This will create a `QDiskInfo` binary on the build directory but you can also install it using
|
|
```sh
|
|
sudo make install
|
|
```
|
|
|
|
## Using CrystalDiskInfo Anime Themes
|
|
The process is similar to the one above with a few changes:<br>
|
|
First you must download the edition of CrystalDiskInfo you want (Aoi for example) in ZIP format from [here](https://crystalmark.info/en/download/), 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.<br>
|
|
Once you do that compile like above but when running CMake do this instead:
|
|
```sh
|
|
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.
|