KaffeineTY
Various KDE Extensions
Score 67%
Description:

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|....

Last changelog:

3 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

2 years ago

I have both qt4 (/usr/share/qt4) and qt5 (/usr/share/qt5).
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

2 years ago

I think it works now. I ended up with the following cmake arguments:

cmake -DCMAKE_INSTALL_PREFIX=/usr -DQT_QT_INCLUDE_DIR=/usr/include/qt4 /home/dotnet/projects/opensource/kaffeinety/

Report

dotnetCarpenter

2 years ago

Unfortunately the make command fails:
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

2 years ago

Unfortunately the make command fails:
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

3 years ago

Great little app. But on Kubuntu 13.10 KDE 4.12.0 it crashes. Crashes only when KeePass2 or Steam are launched. Anyway it's great. Thanks. Hope to see new versions in future.

Report

swreclame

4 years ago

Hi, contratulation for the great tool, but i ve a problem: on kubuntu 12.10 kde 4.9.5 in virtualbox I installed it without problem compiling the source, but when i enable it in the settings, it unfortunally doesn t work... not for chromium, not for plugin-container, not in full screen or less, not for chrome for example.....ant idea? thank you

Report

C

keluoinhac

4 years ago

I think it will work well when u install linux os with kde environment to the hard disk. In the Virtual machine it cant affect to power management of real-os you run VirtualBox.

Report

swreclame

4 years ago

Nice, thanks for your reply, on the os installed on the hard disk it works in fact; but I ve still some problem to configure it. I wrote chrome|vlc|amarok processes obtaining these effects: on flash in chrome it works just in full screen and just for the screensaver (not for the power management of the screen that it power off); in vlc it works nice in full screen and not both for screensaver and power management (indipendently by checking or unchecking "Only for app..." on the settings); with amarok it doesnt work for nothing (not full screen, not normal screen, not for screensaver, not for power management). I m a bit confused how to proceed. Thank you very much

Report

swreclame

4 years ago

Nice, thanks for your reply, on the os installed on the hard disk it works in fact; but I ve still some problem to configure it. I wrote chrome|vlc|amarok processes obtaining these effects: on flash in chrome it works just in full screen and just for the screensaver (not for the power management of the screen that it power off); in vlc it works nice in full screen and not both for screensaver and power management (indipendently by checking or unchecking "Only for app..." on the settings); with amarok it doesnt work for nothing (not full screen, not normal screen, not for screensaver, not for power management). I m a bit confused how to proceed. Thank you very much

Report

C

keluoinhac

4 years ago

You can try download KaffeineTY ver 0.0.2 beta (link above) to test on your os. And please send reponse to me how it work. Thanks.

Report

swreclame

4 years ago

ok, I tried the 0.0.2(beta) and unfurtunally I ve the same behavior of the first version...I dont know why...I ve read the source...is like it cant get the pid of the process target....for example, with amarok, kaffeinety doesnt work for nothing.

Report

C

keluoinhac

4 years ago

umm, when you playing amarok its window got focus?

Report

swreclame

4 years ago

yes it is on focus

Report

vgezer

4 years ago

Very nice one! Caffeine was not being developed and this is very nice to see!!!

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

4 years ago

Hello! I get an error when compiling:
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

C

keluoinhac

4 years ago

You need install kde development files before complie KaffeineTY.
GOOGLE name of kde-dev file package for ur distro, install it and recomplie KTY.

Report

AlexKol

4 years ago

Thank you very much! After the installation kde-workspace-dev package (i use kubuntu) KaffeineTY was build a normal. Thank's one more time for such useful app!!!

Report

leaeasy

4 years ago

KaffeineTY is helpful,thank you.
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

C

keluoinhac

4 years ago

Thank for ur cmt! It'll helpful for me to improve my app.
And now, you can uncheck "Only for app..." on it settings, KaffeineTY will work with both of fullscreen and non-fullscreen app. :)

Report

3 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.

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install DL
Details
version
0.0.3
updated Mar 07 2014
added Jul 22 2013
downloads today
1
page views today 7