Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

4
Become a Fan
7.8

Available as/for:
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:

version 0.0.1: first release.
version 0.0.2: fix bugs...
version 0.0.3: auto disable when the low battery detect.


Ratings & Comments

19 Comments

dotnetCarpenter

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

dotnetCarpenter

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/

dotnetCarpenter

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>

dotnetCarpenter

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>

RiotTee

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.

swreclame

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

keluoinhac

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.

swreclame

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

swreclame

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

keluoinhac

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.

swreclame

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.

keluoinhac

umm, when you playing amarok its window got focus?

swreclame

yes it is on focus

vgezer

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 :)

AlexKol

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?

keluoinhac

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

AlexKol

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

leaeasy

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~

keluoinhac

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

Pling
0 Affiliates
Details
license
version 0.0.3
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 0

Other Various KDE 1.-4. Improvements:

Slicker Debian Package for Woody
cirrusgr
last update date: 22 years ago

Score 5.0

Konqueror/kdesktop suggestion
PovMan
last update date: 22 years ago

Score 5.0

Biiig buttons
dbojan
last update date: 20 years ago

Score 5.0

Yet Another KControl
Frans
last update date: 21 years ago

Score 5.0

Next window and next/previos window
dbojan
last update date: 20 years ago

Score 5.0

Fantasie Toolbar
katoe
last update date: 19 years ago

Score 5.0