STDIN Plasmoid
Plasma 4 Widgets
Score 87%
Description:

This plasmoid executes a process and captures its stdout or stderr output stream, it can also display the content of a local file or a remote file via KIO.
You can think of this plasmoid as a general purpose scriptable plasmoid, even for languages not supported by kross, because you can make an script and capture its output :-).

Building:
This package contains both, the 0.2 and 0.1 versions, to install the package just execute the install.sh script or these commands in order:

mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`
sudo make install
kbuildsycoca4
kquitapp plasma; sleep 1; plasma (or restart KDE)

The 0.2 version requires KDE 4.2, users of KDE 4.1 may only install the 0.1 version. The build script in the root directory tries to find your KDE version and select the proper version, if it fails enter to the 0.1 or 0.2 directory and execute the corresponding install.sh script

Videos:
These are some demonstration videos

* http://ezeaguerre.googlepages.com/notes.ogg: Leaving a note on desktop.
* http://ezeaguerre.googlepages.com/cpu.ogg: Watch cpu speed and temperature.
* http://ezeaguerre.googlepages.com/encoding.ogg: Select from all the different encodings KDE supports.
* http://ezeaguerre.googlepages.com/log.ogg: Watch a log across a network on realtime using tail, or with a 1 second delay using KIO.
* http://ezeaguerre.googlepages.com/svnygit.ogg: Monitor Subversion and Git logs.
* http://ezeaguerre.googlepages.com/chat.ogg: Interface with a PHP script and its results across a network.
* http://ezeaguerre.googlepages.com/script.ogg: Interface with a perl script (http://ezeaguerre.googlepages.com/speed.pl).

SVN:
The Subversion repository now has a 0.2 directory:
0.2/trunk: The most recent version.
0.2/branches/0.2-workarounds: trunk + workarounds for various bugs found in Qt and KDE.
0.2/tags: Tagged releases

0.1 trunk: svn co https://plasmoidstdin.svn.sourceforge.net/svnroot/plasmoidstdin/0.1 stdin
0.2 trunk: svn co https://plasmoidstdin.svn.sourceforge.net/svnroot/plasmoidstdin/0.2/trunk stdin
0.2-workarounds branch: svn co https://plasmoidstdin.svn.sourceforge.net/svnroot/plasmoidstdin/0.2/branches/0.2-workarounds stdin
This package: svn co https://plasmoidstdin.svn.sourceforge.net/svnroot/plasmoidstdin/0.2/tags/0.2-beta1 stdin

This package is based on 0.2-workarounds branch, which is the one we recommend, and has workarounds for at least these bugs:
* Qt 4.4 doesn't propagate changes in geometry to parent QGraphicsWidget, hopefully it will be fixed by Qt 4.5.
http://mail.kde.org/pipermail/plasma-devel/2008-December/003038.html
http://www.qtsoftware.com/developer/task-tracker/index_html?id=211500&method=entry
http://www.qtsoftware.com/developer/task-tracker/index_html?id=231114&method=entry
* Plasma::PopupApplet doesn't remember the size nor the aspect ratio of the plasmoid after iconifying to the panel.
* Plasma::Applet::setBackgroundHints(Plasma::Applet::NoBackground) fails when called from Plasma::Applet::init().
* Maybe more which I don't remember right now...

Translated into:
* Spanish.
* Czech.
* Brazilian Portuguese.

Some Useful Commands
You may need to edit them slightly for your system.
* WLAN SIGNAL: iwconfig wlan0 | grep -i quality.*signal | cut -b 11-100
* WLAN USEAGE: ifstat wlan0 | grep -iE "(wlan0)|(Interface)"
* NVIDIA TEMP: printf "Core Temp: "; nvidia-settings -q gpucoretemp |grep '):' | awk '{print$4}' |cut -b 1,2
Last changelog:

9 years ago

0.2-beta1:
* Completely rewritten from scratch.
* Support various encodings (not just ASCII or UTF-8).
* Get files with KIO.
* Capture standard output and/or standard error.
* Select the background style (Normal, Translucent or No Background).
* Basic filtering (how many lines to display, counting form the start or the end...).
* Contextual action "refresh" and "copy".
* Many more...

0.0.00011:
* Added build 4 kde 4.2 same as yaWP
* Some fixes to the running of commands (by Ezequiel -thanks)

0.0.00010:
Major upgrade ;) :
* Added update() (1 line)
* Fixed spelling mistake in description, (waisting or necking rather than wasting ; the opposite).
I'm still happy to say that it is still dumb, nothing changed, ... really.

0.0.00001:
* The start of great things (maybe not).

prowlerxpla

2 years ago

it could be possible to port this plasmoid to plasma5??

Report

prowlerxpla

3 years ago

great plasmoid...., could be possible to have selectable text??? :-) :-) :-)

Report

Waseda

3 years ago

I was having trouble with vertical alignment when this plasmoid was in a horizontal panel. The text would half disappear off the bottom.
http://i.imgur.com/UjgZv5f.png

A workaround is to make sure that:
Appearence [sic] > Background > No Background.

Any of the other two settings, and the vertical alignment is broken.

(You'll need to restart KDE for it to be fixed.)

Report

arcanis

4 years ago

Hi. May you add link to archlinux package (AUR)?
https://aur.archlinux.org/packages/kdeplasma-applets-stdin-svn/

Report

christiandolman

5 years ago

That plasmoid provoked a crash on my Debian stable, I had to remove the plasmoid from the system by tty because the DE wouldn't start.

Report

padde

6 years ago

... would be awesome!

Report

crunchy

6 years ago

at least in trunk these feature is available.

The following patch fixes

- resize and font problems
- reset console attributes correctly

http://pastebin.com/WEgJysym

Report

Waseda

3 years ago

SVN trunk has support for ANSI colour escape codes, but this package (based on 0.2-workarounds) does not. Unfortunately trunk is buggy for me (doesn't work in panels), so I have to install this one too!

Report

koko2k

7 years ago

One vote for it.
It would improve readablity a lot!

Report

wolfshift

7 years ago

This is really exactly what I wanted! Thank you!

Report

Ireyon

7 years ago

Great thing. Would like to have it in a panel though.

Report

koko2k

7 years ago

Great plasmoid.

Every time i change kwin
decoration,widget style, window manager and maybe other things, the plasmoid lose font settings.
Restarting plasma-desktop or just enternig the plasmoid configuration and exits via "ok" button fixes it.

Is this a dead project btw?

Report

crunchy

7 years ago

Maybe this patch fixes it for you. It fixes three things for me:

- fixed size works again
- font es kept as set (workaround)
- terminal attributes like bold and italic are reset after ^[[0m

http://pastebin.com/vnhBPkQg

Report

koko2k

7 years ago

Thank you very much, i've had to patch it by hand because of chunk errors, but it works as expected now!

Report

rangerGR

7 years ago

After updating to KDE 4.5.0, right clicking on the plasmoid does nothing.
There is no menu with options (copy etc)

Report

edio

7 years ago

Can you make it avaliable as screensaver widget?

Report

ezeaguerre

7 years ago

Screensaver? what do you mean?

Report

edio

7 years ago

KDE allows widgets while screensaver is running. But AFAIK, hardly ever widget is available in this mode. F.ex. your widget is just absent on widget bar in screensaver mode.

If you need more details, I'll provide them later (in 9 hours), as now I'm not at home.

Report

ezeaguerre

7 years ago

mmm... I didn't know :P
I'm gonna try it. Do you know any plasmoid that supports the screensaver mode? So I can try that one :-)

Report

edio

7 years ago

Spent more than 30 minutes, trying to find it (haven't used KDE some time, and forgot it's name).
Great plasmoid! Thank you!

Report

C

PlasmaFactory

7 years ago

I should really find some time to make a couple of changes ..... ..

Report

meh3

7 years ago

It's a bit puzzling why this isn't in the official distribution :)

Report

VVhiteMAN

7 years ago

-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error at /usr/share/cmake-2.6/Modules/FindKDE4.cmake:84 (MESSAGE):
ERROR: cmake/modules/FindKDE4Internal.cmake not found in
/root/.kde/share/apps;/usr/share/kubuntu-default-settings/kde4-profile/default/share/apps;/usr/share/kde4/apps
Call Stack (most recent call first):
CMakeLists.txt:1 (find_package)


CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as

cmake_minimum_required(VERSION 2.6)

should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!
make: *** No rule to make target `clean'. Stop.
make: *** No targets specified and no makefile found. Stop.
Compilation failed, sorry :-(

Report

borisdigital

8 years ago

Is someone still working on this great plasmoid?
I've seen some visual issues lately
when displaying logs with very long
text lines in it (line break doesn't work correctly).

Report

C

PlasmaFactory

8 years ago

Sorry, no not really. Send us a mail at plasmafactory@jcell.co.za and attach the screen-shot. I will have a look at it.

Cheers

Report

9 years ago

0.2-beta1:
* Completely rewritten from scratch.
* Support various encodings (not just ASCII or UTF-8).
* Get files with KIO.
* Capture standard output and/or standard error.
* Select the background style (Normal, Translucent or No Background).
* Basic filtering (how many lines to display, counting form the start or the end...).
* Contextual action "refresh" and "copy".
* Many more...

0.0.00011:
* Added build 4 kde 4.2 same as yaWP
* Some fixes to the running of commands (by Ezequiel -thanks)

0.0.00010:
Major upgrade ;) :
* Added update() (1 line)
* Fixed spelling mistake in description, (waisting or necking rather than wasting ; the opposite).
I'm still happy to say that it is still dumb, nothing changed, ... really.

0.0.00001:
* The start of great things (maybe not).

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install DL
Details
version
0.2-beta1
updated Feb 08 2009
added Nov 01 2008
downloads today
0
page views today 3