
KaffeineTY
Various KDE 1.-4. Improvements
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
KaffeineTY
KaffeineTY - a application to temporarity prevents dim screen action of power management and screensaver for KDE environment.
I. INSTALLATION
# mkdir build
# cd build
# cmake -DCMAKE_INSTALL_PREFIX=/usr ..
# make
# make install
You may need to replace /usr with the path to your KDE installation.
Logout and login back.
Enjoy!
II.CONFIGURE IT
go to: System settings > Power Management > KaffeineTY
enter name of application you want to run it without dim screen and screensaver action in input box.
Syntax: name1|name2|....
6 years ago
version 0.0.1: first release.
version 0.0.2: fix bugs...
version 0.0.3: auto disable when the low battery detect.
6 years ago
version 0.0.1: first release.
version 0.0.2: fix bugs...
version 0.0.3: auto disable when the low battery detect.
dotnetCarpenter
5 years ago
When I try to build I get the following error:
Quote:
-- Found Qt-Version 5.4.1 (using /usr/bin/qmake)
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
QT_QT_INCLUDE_DIR
used as include directory in directory /home/dotnet/projects/opensource/kaffeinety/build/CMakeFiles/CMakeTmp
CMake Error: Internal CMake error, TryCompile configure of cmake failed
CMake Error at /usr/share/kde4/apps/cmake/modules/FindKDE4Internal.cmake:1316 (message):
Unable to compile a basic Qt application. Qt has not been found correctly.
Call Stack (most recent call first):
/usr/share/cmake-3.0/Modules/FindKDE4.cmake:108 (find_package)
CMakeLists.txt:5 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/dotnet/projects/opensource/kaffeinety/build/CMakeFiles/CMakeOutput.log".
See also "/home/dotnet/projects/opensource/kaffeinety/build/CMakeFiles/CMakeError.log".
dotnet@s440:~/projects/opensource/kaffeinety/build$ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_QT_QT_INCLUDE_DIR=/usr/bin/qmake-qt4 /home/dotnet/projects/opensource/kaffeinety/
-- Found Qt-Version 5.4.1 (using /usr/bin/qmake)
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
QT_QT_INCLUDE_DIR
used as include directory in directory /home/dotnet/projects/opensource/kaffeinety/build/CMakeFiles/CMakeTmp
CMake Error: Internal CMake error, TryCompile configure of cmake failed
Report
dotnetCarpenter
5 years ago
cmake -DCMAKE_INSTALL_PREFIX=/usr -DQT_QT_INCLUDE_DIR=/usr/include/qt4 /home/dotnet/projects/opensource/kaffeinety/
Report
dotnetCarpenter
5 years ago
Quote:Scanning dependencies of target kaffeinety_automoc
Generating moc_kaffeinety.cpp
[ 0%] Built target kaffeinety_automoc
[ 10%] Generating config.h, config.cpp
Scanning dependencies of target kaffeinety
[ 20%] Building CXX object app/CMakeFiles/kaffeinety.dir/kaffeinety_automoc.o
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QObject:1:0,
from /home/dotnet/projects/opensource/kaffeinety/build/app/../../app/kaffeinety.h:23,
from /home/dotnet/projects/opensource/kaffeinety/build/app/moc_kaffeinety.cpp:9,
from /home/dotnet/projects/opensource/kaffeinety/build/app/kaffeinety_automoc.cpp:4:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:50:33: fatal error: QtCore/qobject_impl.h: No such file or directory
#include <QtCore/qobject_impl.h>
Report
dotnetCarpenter
5 years ago
Quote:Scanning dependencies of target kaffeinety_automoc
Generating moc_kaffeinety.cpp
[ 0%] Built target kaffeinety_automoc
[ 10%] Generating config.h, config.cpp
Scanning dependencies of target kaffeinety
[ 20%] Building CXX object app/CMakeFiles/kaffeinety.dir/kaffeinety_automoc.o
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QObject:1:0,
from /home/dotnet/projects/opensource/kaffeinety/build/app/../../app/kaffeinety.h:23,
from /home/dotnet/projects/opensource/kaffeinety/build/app/moc_kaffeinety.cpp:9,
from /home/dotnet/projects/opensource/kaffeinety/build/app/kaffeinety_automoc.cpp:4:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:50:33: fatal error: QtCore/qobject_impl.h: No such file or directory
#include <QtCore/qobject_impl.h>
Report
RiotTee
7 years ago
Report
swreclame
7 years ago
Report
keluoinhac
7 years ago
Report
swreclame
7 years ago
Report
keluoinhac
7 years ago
Report
swreclame
7 years ago
Report
keluoinhac
7 years ago
Report
swreclame
7 years ago
Report
swreclame
7 years ago
Report
vgezer
7 years ago
Could you also add an option to disable when there is a sound coming from the speakers?
For example: skype is open, but only if we are talking it should be enabled.
Also, maybe language support won't be so bad :)
Report
AlexKol
7 years ago
In file included from ~/KaffeineTY/app/main.cpp:28:0:
~/KaffeineTY/app/kaffeinety.h:28:31: fatal error: ksysguard/process.h: no such file or directory
What build dependency this program has?
Report
keluoinhac
7 years ago
GOOGLE name of kde-dev file package for ur distro, install it and recomplie KTY.
Report
AlexKol
7 years ago
Report
leaeasy
7 years ago
But I also need some help.
For example, I want run with mplayer without checking fullscreen but run with plugin-container checking fullscreen to suit KaffeineTY to disable screensaver.
Sorry for my english~
Report
keluoinhac
7 years ago
And now, you can uncheck "Only for app..." on it settings, KaffeineTY will work with both of fullscreen and non-fullscreen app. :)
Report