暫無描述

Malte Veerman be0917fb5c Removed QtQml import 6 年之前
fancontrol-gui be0917fb5c Removed QtQml import 6 年之前
helper d9a9fd219a changed my email address 7 年之前
import 998782ad3f Set show tray option default to false. 6 年之前
kcm 546ef84aba removed some nonsense from license headers 6 年之前
po d9a9fd219a changed my email address 7 年之前
CMakeLists.txt 11f0950af6 Added tray icon 6 年之前
LICENSE e1876eba9d Initial Commit 10 年之前
README.md c42edb5587 Update README.md 6 年之前
sc-apps-org.kde.fancontrol.gui.svg cec4ba6004 changed icon name again 7 年之前

README.md

fancontrol-gui

GUI for Fancontrol. It uses the KAuth module of the KDE Frameworks 5 to write the generated config file. Furthermore it communicates with systemd via dbus to control the fancontrol service.

KAuth currently doesn't support install prefixes other than where KAuth itself was installed. If you want to use another install prefix, you have to run the application as root or another user with the necessary privileges to avoid the KAuth helper.

If you want to compile without systemd support set the option -DNO_SYSTEMD=true.

If your distro looks for QML plugins in /usr/lib/qt/qml instead of /usr/lib/qml you need to set the option -DKDE_INSTALL_USE_QT_SYS_PATHS=true.

To compile the additional KCM set the cmake option -DBUILD_KCM=on. The KCM is only build, if the -DNO_SYSTEMD option is unset or set to false.

Requirements

  • Qt5: Base/Core, Widgets, GUI, QML, Quick
  • KF5: I18n, Auth, Config, Package, Declarative, CoreAddons, KCMUtils, Extra-Cmake-Modules, Kirigami2, Notifications

Debian/Ubuntu command to install the build requirements:

sudo apt-get install libkf5config-dev libkf5auth-dev libkf5package-dev libkf5declarative-dev libkf5coreaddons-dev libkf5kcmutils-dev libkf5i18n-dev libqt5core5a libqt5widgets5 libqt5gui5 libqt5qml5 extra-cmake-modules qtbase5-dev kirigami2-dev libkf5kirigami2-5 libkf5notifications-dev qml-module-org-kde-kirigami2 cmake build-essential

Note: This was tested on KDE Neon User Edition 5.13, which is based on Ubuntu 18.04 LTS (Debian 9 Stretch/Sid).

Example:

git clone https://github.com/Maldela/fancontrol-gui.git
cd fancontrol-gui
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_KCM=on
make -j2
sudo make install