Description: Klogshow used to display the last few lines of a text files on your desktop. It append new lines to the display as new lines are added.Last changelog:
The idea and the realization are great, however there is much space for improvements:
1- display only the last n lines like tail, and maybe allow piping (| grep and/or | cut are useful! )
2- show as dock window (no entry in application bar, all desktops, stays in background just over desktop)
1 : I'm going to make this in the next version.That's a good suggestion.
2 : I've had a problem with qt4 and kde3. I need a kdelib3 for made it but kdelib3 is built with qt3 and there is a conflict. I'm looking for fix it.
Thanks for your comments ;-)
I read the INSTALL file. I urpmi'ed cmake, qt4-common, libqt4-devel, libqt4-static-devel, and even libqtcore4.
after ./install.sh I get:
echo -e "\n ===> Cleaning ..."
===> Cleaning ...
rm -rf build src/*~ *~
echo -e "\n ===> 1/ Preparing ..."
===> 1/ Preparing ...
mkdir build
cd build && cmake ..
-- Check for working C compiler: gcc
-- Check for working C compiler: gcc -- works
-- Check size of void*
-- Check size of void* - done
-- Check for working CXX compiler: c++
-- Check for working CXX compiler: c++ -- works
-- Klogshow 1.0.2 will be built to install into /usr/local
-- => Release build (use -DDEBUG=1 for debug one)
CMake Error: Error in cmake code at
/usr/share/CMake/Modules/FindQt4.cmake:857:
MESSAGE Qt qmake not found!
Current CMake stack: /var/src/tar/klogshow-1.0.2/CMakeLists.txt;/usr/share/CMake/Modules/CMakeCInformation.cmake;/usr/share/CMake/Modules/CMakeCXXInformation.cmake;/usr/share/CMake/Modules/FindQt4.cmake
-- Configuring done
make: *** [all] Error 255
echo -e "\n ===> 3/ Installing ..."
===> 3/ Installing ...
cd build && make install
make[1]: Entering directory `/var/src/tar/klogshow-1.0.2/build'
make[1]: *** No rule to make target `install'. Stop.
make[1]: Leaving directory `/var/src/tar/klogshow-1.0.2/build'
make: *** [install] Error 2
echo -e "\n ===> Cleaning ..."
===> Cleaning ...
rm -rf build src/*~ *~
There isn't "qmake" on your Linux, therefore you must install it before install.
I don't know whose package it is in Mandriva.
You can look for that surely with command "urmpi".
Is Qmake it present on your computer? (Try to enter "qmake" in consol)
If it's not Ok, send me an EMail here : pinon.pierreNOSPAM@gmailNOSPAM.com (Please remove NOSPAM in my address for reply)
Hi i trying to compile klogshow and i get this error
/opt/src/klogshow $ make
cd src && make -f Makefile
make[1]: Entering directory `/opt/src/klogshow/src'
/usr/bin/uic mainWindow.ui -o ui_mainWindow.h
/usr/bin/uic confWindow.ui -o ui_confWindow.h
g++ -c -pipe -g -D_REENTRANT -Wall -W -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o main.o main.cpp
In file included from confWindow.h:27,
from mainObj.h:23,
from main.cpp:21:
./ui_confWindow.h: In member function `void Ui_confWindow::setupUi(QDialog*)':
./ui_confWindow.h:171: error: 'class QTextEdit' has no member named 'setTextInteractionFlags'
./ui_confWindow.h:171: error: `NoTextInteraction' is not a member of `Qt'
In file included from mainWindow.h:27,
from mainObj.h:24,
from main.cpp:21:
ui_mainWindow.h: In member function `void Ui_mainWindow::setupUi(QDialog*)':
ui_mainWindow.h:90: error: 'class QTextEdit' has no member named 'setCursorWidth'
ui_mainWindow.h:91: error: 'class QTextEdit' has no member named 'setTextInteractionFlags'
ui_mainWindow.h:91: error: `NoTextInteraction' is not a member of `Qt'
In file included from mainObj.h:24,
from main.cpp:21:
mainWindow.h: At global scope:
mainWindow.h:56: error: ISO C++ forbids declaration of `QFileSystemWatcher' with no type
mainWindow.h:56: error: expected `;' before '*' token
In file included from main.cpp:21:
mainObj.h:46: error: ISO C++ forbids declaration of `QWidgetAction' with no type
mainObj.h:46: error: expected `;' before '*' token
mainObj.h:50: error: ISO C++ forbids declaration of `QSystemTrayIcon' with no type
mainObj.h:50: error: expected `;' before '*' token
make[1]: *** [main.o] Error 1
make[1]: Leaving directory `/opt/src/klogshow/src'
make: *** [sub-src-make_default] Error 2
my system is gentoo linux qt-4.1.4 , gcc -3.4.6
Looks great. There are two issues (Kubuntu Edgy):
1. Transparency doesn't work
2. It's only displayed on one desktop, Ik like to have it on all desktops.
Cheers,
J
The transparency doesn't work because you don't enable composite in Xorg + transparency in your desktop. (In kde, configure your windows manager kwin).
You also enable transparency if you install compize/beryl.
++
I have transparency, but disabled composite in Xorg, because my video card does not like that and I don't like that to, because of performance reasons.
Anyhow my Superkaramba themes are transparent and kicker is transparent. So why can't this program not be transparant?
Another issue I've forgot to mention:
*The application has an entry in the taskbar for every log file. I like to disable the use of the taskbar completely, because I like to have those log windows on the background/desktop.
superkaramba themes, kicker, konsole, etc... don't use a true transparency. It's a screenshot of wallpaper.
I look for make a "false" transparency but it's "deprecated"
For the taskbar, I will make this but it's not easy for the moment for make it in kde3.5 (it's not possible to use libkde4 in kde3) and windows.
Ratings & Comments
19 Comments
works like a charm here , with kde 4.1beta ..but it's not a plasmoid... but it seems.. what'zzee? :-)
The idea and the realization are great, however there is much space for improvements: 1- display only the last n lines like tail, and maybe allow piping (| grep and/or | cut are useful! ) 2- show as dock window (no entry in application bar, all desktops, stays in background just over desktop)
1 : I'm going to make this in the next version.That's a good suggestion. 2 : I've had a problem with qt4 and kde3. I need a kdelib3 for made it but kdelib3 is built with qt3 and there is a conflict. I'm looking for fix it. Thanks for your comments ;-)
the source still point to v1.0.2? or v1.0.3 is windows only?
I thought that isn't necessary. I added the link but I don't rebuild debian package because there aren't difference in Linux.
I read the INSTALL file. I urpmi'ed cmake, qt4-common, libqt4-devel, libqt4-static-devel, and even libqtcore4. after ./install.sh I get: echo -e "\n ===> Cleaning ..." ===> Cleaning ... rm -rf build src/*~ *~ echo -e "\n ===> 1/ Preparing ..." ===> 1/ Preparing ... mkdir build cd build && cmake .. -- Check for working C compiler: gcc -- Check for working C compiler: gcc -- works -- Check size of void* -- Check size of void* - done -- Check for working CXX compiler: c++ -- Check for working CXX compiler: c++ -- works -- Klogshow 1.0.2 will be built to install into /usr/local -- => Release build (use -DDEBUG=1 for debug one) CMake Error: Error in cmake code at /usr/share/CMake/Modules/FindQt4.cmake:857: MESSAGE Qt qmake not found! Current CMake stack: /var/src/tar/klogshow-1.0.2/CMakeLists.txt;/usr/share/CMake/Modules/CMakeCInformation.cmake;/usr/share/CMake/Modules/CMakeCXXInformation.cmake;/usr/share/CMake/Modules/FindQt4.cmake -- Configuring done make: *** [all] Error 255 echo -e "\n ===> 3/ Installing ..." ===> 3/ Installing ... cd build && make install make[1]: Entering directory `/var/src/tar/klogshow-1.0.2/build' make[1]: *** No rule to make target `install'. Stop. make[1]: Leaving directory `/var/src/tar/klogshow-1.0.2/build' make: *** [install] Error 2 echo -e "\n ===> Cleaning ..." ===> Cleaning ... rm -rf build src/*~ *~
There isn't "qmake" on your Linux, therefore you must install it before install. I don't know whose package it is in Mandriva. You can look for that surely with command "urmpi". Is Qmake it present on your computer? (Try to enter "qmake" in consol) If it's not Ok, send me an EMail here : pinon.pierreNOSPAM@gmailNOSPAM.com (Please remove NOSPAM in my address for reply)
i've created RPM for openSUSE 10.2, available at my site (http://donnie.110mb.com/downloads.php?cat_id=2#59) and my repos (scheduled for building).
Thanks ;-)
Hi i trying to compile klogshow and i get this error /opt/src/klogshow $ make cd src && make -f Makefile make[1]: Entering directory `/opt/src/klogshow/src' /usr/bin/uic mainWindow.ui -o ui_mainWindow.h /usr/bin/uic confWindow.ui -o ui_confWindow.h g++ -c -pipe -g -D_REENTRANT -Wall -W -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o main.o main.cpp In file included from confWindow.h:27, from mainObj.h:23, from main.cpp:21: ./ui_confWindow.h: In member function `void Ui_confWindow::setupUi(QDialog*)': ./ui_confWindow.h:171: error: 'class QTextEdit' has no member named 'setTextInteractionFlags' ./ui_confWindow.h:171: error: `NoTextInteraction' is not a member of `Qt' In file included from mainWindow.h:27, from mainObj.h:24, from main.cpp:21: ui_mainWindow.h: In member function `void Ui_mainWindow::setupUi(QDialog*)': ui_mainWindow.h:90: error: 'class QTextEdit' has no member named 'setCursorWidth' ui_mainWindow.h:91: error: 'class QTextEdit' has no member named 'setTextInteractionFlags' ui_mainWindow.h:91: error: `NoTextInteraction' is not a member of `Qt' In file included from mainObj.h:24, from main.cpp:21: mainWindow.h: At global scope: mainWindow.h:56: error: ISO C++ forbids declaration of `QFileSystemWatcher' with no type mainWindow.h:56: error: expected `;' before '*' token In file included from main.cpp:21: mainObj.h:46: error: ISO C++ forbids declaration of `QWidgetAction' with no type mainObj.h:46: error: expected `;' before '*' token mainObj.h:50: error: ISO C++ forbids declaration of `QSystemTrayIcon' with no type mainObj.h:50: error: expected `;' before '*' token make[1]: *** [main.o] Error 1 make[1]: Leaving directory `/opt/src/klogshow/src' make: *** [sub-src-make_default] Error 2 my system is gentoo linux qt-4.1.4 , gcc -3.4.6
I think you must use libqt-4.2 Next, tell me if you have a problem for make program with libqt-4.2.
Looks great. There are two issues (Kubuntu Edgy): 1. Transparency doesn't work 2. It's only displayed on one desktop, Ik like to have it on all desktops. Cheers, J
The transparency doesn't work because you don't enable composite in Xorg + transparency in your desktop. (In kde, configure your windows manager kwin). You also enable transparency if you install compize/beryl. ++
I have transparency, but disabled composite in Xorg, because my video card does not like that and I don't like that to, because of performance reasons. Anyhow my Superkaramba themes are transparent and kicker is transparent. So why can't this program not be transparant? Another issue I've forgot to mention: *The application has an entry in the taskbar for every log file. I like to disable the use of the taskbar completely, because I like to have those log windows on the background/desktop.
superkaramba themes, kicker, konsole, etc... don't use a true transparency. It's a screenshot of wallpaper. I look for make a "false" transparency but it's "deprecated" For the taskbar, I will make this but it's not easy for the moment for make it in kde3.5 (it's not possible to use libkde4 in kde3) and windows.
It points to the screenshot.
Oups ! Sorry. It's solved.
What window decoration is that you use?
I don't use kwin. I use emerald on Beryl.