Aucune description

Malte Veerman 4a51141a75 fixed QWindow compilation error il y a 6 ans
fancontrol-gui 4a51141a75 fixed QWindow compilation error il y a 6 ans
helper b23a49e877 Renamed some files and extended the use of the helper id variable il y a 6 ans
import 0cc84ab8c1 Added support for the AVERAGE variable il y a 6 ans
kcm 6ed33daab1 Make kcm use STANDARD_HELPER_ID instead of hardcoded one. il y a 6 ans
plasmoid b23a49e877 Renamed some files and extended the use of the helper id variable il y a 6 ans
po 5360788c45 Hungarian language support for blackPanther OS (#26) il y a 6 ans
polkit b23a49e877 Renamed some files and extended the use of the helper id variable il y a 6 ans
CMakeLists.txt fdbf2426a5 Added qt min version variable to cmake. il y a 6 ans
LICENSE e1876eba9d Initial Commit il y a 10 ans
README.md 1d64c8be37 Added optional polkit rules file to avoid authorization. il y a 6 ans
sc-apps-org.kde.fancontrol.gui.svg cec4ba6004 changed icon name again il y a 7 ans

README.md

fancontrol-gui

GUI for fancontrol which is part of lm_sensors https://github.com/lm-sensors/lm-sensors. 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 avoid authorizing yourself when using the helper you can set the option -DINSTALL_POLKIT=true. This will install a polkit rules file allowing members of the group 'fancontrol' to edit the config file and manipulate the systemd service. You can change the group name with the -DPOLKIT_GROUP_NAME option. Service name and config file can be set with the options -DSTANDARD_SERVICE_NAME and -DSTANDARD_CONFIG_FILE.

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.

To compile the additional KDE Plasma plasmoid set the cmake option -DBUILD_PLASMOID=on.

Build requirements

  • Qt5: Base/Core, Widgets, Gui, QML
  • KF5: I18n, Auth, Config, Package, Declarative, CoreAddons, DBusAddons, Extra-Cmake-Modules, Notifications
  • Other: C++ compiler, Gettext, CMake

Additional runtime requirements

  • Qt5: Quick 2.6, QuickControls2 2.1, QuickLayouts 1.2, QuickDialogs 1.2
  • KF5: Kirigami2 2.3

Additional requirements for KCM

  • KF5: KCMUtils

Additional requirements for plasmoid

  • KF5: Plasma

Debian/Ubuntu command to install the build requirements:

sudo apt-get install libkf5config-dev libkf5auth-dev libkf5package-dev libkf5declarative-dev libkf5coreaddons-dev libkf5dbusaddons-dev libkf5kcmutils-dev libkf5i18n-dev libkf5plasma-dev libqt5core5a libqt5widgets5 libqt5gui5 libqt5qml5 extra-cmake-modules qtbase5-dev libkf5notifications-dev qml-module-org-kde-kirigami2 qml-module-qtquick-dialogs qml-module-qtquick-controls2 qml-module-qtquick-layouts qml-module-qt-labs-settings qml-module-qt-labs-folderlistmodel cmake build-essential gettext

Note: This was tested on KDE Neon User Edition 5.14, 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 -DBUILD_PLASMOID=on
make -j
sudo make install