-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login



Sponsoring


-
- Content .- Fans (2) .- Knowledge Base  . 

Py Text Monitor

   1.10.2  

Plasmoid Binary

Score 64%
Py Text Monitor
zoom


Py Text Monitor
zoom


Py Text Monitor
zoom


Homepage:  Link
Version Control:  Link
Issue Tacker:  Link
Minimum required   KDE 4.x
Downloads:  403
Submitted:  Feb 22 2013
Updated:  Jun 11 2014

Description:

LOOKING FOR TRANSLATORS! (see https://github.com/arcan1s/pytextmonitor/issues/14)

PyTextMonitor is a minimalistic Plasmoid script written on Python2. It looks like widgets in awesome-wm. It is also easy to configure.

Feel free to ask me for new features =)

Configuration
For edited output you must open Settings window and setup output format in lines:
* tag `$time` - time in default format. For example, `fri Nov 6 04:48:01 2013`
* tag `$isotime` - time in iso format
* tag `$shorttime` - time in short locale format
* tag `$longtime` - time in long locale format
* tag `$custom` - custom time format
* tag `$uptime` - uptime, ---d--h--m
* tag `$custom` - custom uptime format
* tag `$cpu` - total load cpu, %
* tag `$cpuN` - load CPU for core N, %
* tag `$cpucl` - average cpu clock, MHz
* tag `$cpuclN` - cpu clock for core N, MHz
* tag `$tempN` - temperature for device N. For example, `$temp0`
* tag `$gpu` - GPU usage, %. `aticonfig` or `nvidia-smi` must be installed
* tag `$gputemp` - GPU temperature. `aticonfig` or `nvidia-smi` must be installed
* tag `$mem` - usage memory, %
* tag `$memmb` - usage memory, MB
* tag `$memgb` - usage memory, GB
* tag `$memtotmb` - total RAM, MB
* tag `$memtotgb` - total RAM, GB
* tag `$swap` - swap, %
* tag `$swapmb` - swap, MB
* tag `$swapgb` - swap, GB
* tag `$swaptotmb` - total swap, MB
* tag `$swaptotgb` - total swap, GB
* tag `$hddN` - usage for mount point N, %. For example, `$hdd0`
* tag `$hddmbN` - usage for mount point N, *MB*. For example, `$hddmb0`
* tag `$hddgbN` - usage for mount point N, *GB*. For example, `$hddgb0`
* tag `$hddtotmbN` - total size of mount point N, *MB*. For example, `$hddtotmb0`
* tag `$hddtotgbN` - total size of mount point N, *GB*. For example, `$hddtotgb0`
* tag `$hddrN` - read speed of disk N, *KB/s*. For example, `$hddr0`
* tag `$hddwN` - write speed of disk N, *KB/s*. For example, `$hddw0`
* tag `$hddtempN` - temperature for HDD N. For example, `$hddtemp0`
* tag `$down` - download speed, KB/s
* tag `$up` - upload speed, KB/s
* tag `$netdev` - current network device
* tag `$bat` - battery charge, %
* tag `$ac` - status AC device. Return (*) if AC device is online or ( ) if offline
* tag `$album` - current song album. One of supported music players must be installed
* tag `$artist` - current song artist. One of supported music players must be installed
* tag `$progress` - current song progress. One of supported music players must be installed
* tag `$time` - current song duration. One of supported music players must be installed
* tag `$title` - current song title. One of supported music players must be installed
* tag `$pscount` - number of running processes
* tag `$pstotal` - total number of processes
* tag `$ps` - list of running processes
* tag `$pkgcountN` - number of packages, which available to upgrade for command N. For example, `$pkgcount0`
* tag `$customN` - returns output for custom command N. For example, `$custom0`
* tag `$name` - name of the current desktop
* tag `$number` - number of the current desktop
* tag `$total` - total number of desktops

Label order will changed if you change slider position. HTML tags in label work normally.
Attention: you don't may set to show $cpu in swap label for example. $cpu will work only in cpu label.

TIPS & TRICKS
You may use different colors for labels. Just put label text into html code. See https://github.com/arcan1s/pytextmonitor/issues/9 for more details.
Numbering of elements of temperature, HDD usage, HDD speed, HDD temperature refers to elements order from second tab (Advanced settings). You should add item to the required listWidget first. And the first element in the listWidget will be `$tag0`. See https://github.com/arcan1s/pytextmonitor/issues/17 for more details.

Advanced settings
Enable background
Uncheck to disable default background and set transparent one.
Vertical layout
Use vertical layout instead of horizontal one.
Enable popup
Uncheck box if you do not use popup messages.
Add stretch
Add stretch (spacer) to the selected side of the widget.
Custom time
* tag `$dddd` - weekday in long format
* tag `$ddd` - weekday in short format
* tag `$dd` - day
* tag `$d` - day without zero
* tag `$MMMM` - month in long format
* tag `$MMM` - month in short format
* tag `$MM` - month
* tag `$M` - month without zero
* tag `$yyyy` - year
* tag `$yy` - year in short format
* tag `$hh` - hours
* tag `$h` - hours without zero
* tag `$mm` - minutes
* tag `$m` - minutes without zero
* tag `$ss` - seconds
* tag `$s` - seconds without zero
Custom uptime
* tag `$dd` - uptime days
* tag `$d` - uptime days without zero
* tag `$hh` - uptime hours
* tag `$h` - uptime hours without zero
* tag `$mm` - uptime minutes
* tag `$m` - uptime minutes without zero
Temperature units
Select units for temperature. Available units are Celsius, Farenheit and Kelvin.
Temperature devices
List of devices, which will be observed in temp label (combo box items come from `sensors`). List widget is editable, delete key will remove current item.
Mount points
List of mount points, which will be observed in hdd label (combo box items come from `mount`). List widget is editable, delete key will remove current item.
HDD (speed)
List of hard disk devices, which will be observed in hddspeed label (combo box items come from DataEngine). List widget is editable, delete key will remove current item.
HDD (temperature)
List of hard disk devices, which will be observed in hddtem label (combo box items come from `find`). List widget is editable, delete key will remove current item.
Network directory
Path to directory, which contains network devices information. Default is `/sys/class/net`. Required for auto select network device.
Network device
Use specified device as active. Combo box items come from **network directory**. Will disable auto select network device.
Battery device
File with battery information. File (`/sys/class/power_supply/BAT0/capacity` by default) should contain only battery charge in percent.
AC online tag
Line which will be shown when AC is online.
AC offline tag
Line which will be shown when AC is offline.
AC device
File with AC information. File (`/sys/class/power_supply/AC/online` by default) must contain `1` if AC is online.

Tooltip settings
Since version 1.7.0 CPU, CPU clock, memory, swap and network labels support graphical tooltip. To enable them just make the needed checkboxes a fully checked. The number of stored values can be set in the tab. Colors of graphs are configurable too.

DataEngine settings
Custom command
Attention: This can cause the computer freeze.
Commands, which will be run for custom label.
Desktop cmd
Type a command which will be run for desktop DataEngine. Default is `qdbus org.kde.kwin /KWin currentDesktop`.
GPU device
Select one of supported GPU devices. `auto` will enable auto selection, `disable` will disable definition of GPU states. Default is `auto`.
HDD
Select one of HDDs for HDD temperature monitor. `all` will enable monitor for all devices, `disable` will disable definition of HDD temperature. Default is `all`.
hddtemp cmd
Type a command which will be run for hddtemp DataEngine. Default is `sudo hddtemp`.
MPD address
Address of MPD server. Default is `localhost`.
MPD port
Port of MPD server. Default is `6600`.
Package manager
List of commands, which will be run. Number of null lines is a number of unneeded lines. Defaults:
* Arch: `PKGCMD=pacman -Qu`, `PKGNULL=0`
* Debian: `PKGCMD=apt-show-versions -u -b`, `PKGNULL=0`
* Ubuntu: `PKGCMD=aptitude search '~U'`, `PKGNULL=0`
* Fedora: `PKGCMD=yum list updates`, `PKGNULL=3`
* Mandriva: `PKGCMD=urpmq --auto-select`, `PKGNULL=0`
Music player
Select one of supported music playes for player label.

PTM desktop panel
Since version 1.11.0 PyTextMonitor provides a minimalistic panel for monitoring on desktops written on C++. And yes, it looks like the same panel in Awesome.
Desktop panel configuration
Enable background
Uncheck to disable default background and set transparent one.
Vertical layout
Use vertical layout instead of horizontal one.
Add stretch
Add stretch (spacer) to the selected side of the widget.
Mark
Type symbol (or string) which will be shown if this desktop is active now.
Pattern tags
* tag `$mark` - show mark if this desktop is active
* tag `$name` - name of the current desktop
* tag `$number` - number of the current desktop
* tag `$total` - total number of desktops
Command
Type command which will be run on left click on the selected desktop. Available variables are same as for pattern. Default is `dbus org.kde.kwin /KWin setCurrentDesktop $number`.

INSTALLATION
tar xJf pytextmonitor-1.10.2-src.tar.xz
mkdir pytextmonitor/build && cd pytextmonitor/build
local copy
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=`kde4-config --localprefix` ../
make && make install
global copy
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ../
make && sudo make install

Dependencies
* kdebase-workspace
* kdebindings-python2
* lm_sensors (for definition temperature device)

Optional dependencies
* sysstat (for notification)
for DataEngine
* proprietary video driver
* hddtemp (make sure that it may be run with `sudo` without password. Just add following line to `/etc/sudoers`: `$USERNAME ALL=NOPASSWD: /usr/bin/hddtemp`)
* music player (amarok, clementine, mpd or qmmp)

Make dependencies
* automoc4
* cmake




Changelog:

Full CHANGELOG
https://github.com/arcan1s/pytextmonitor/blob/master/CHANGELOG




LicenseGPL
Source(source files)
Arch(Archlinux AUR)
Send to a friend
Subscribe
Other  Artwork  from arcanis
Report inappropriate content



goto page:  1  2 

-

 MPD

 
 by zeltak on: Oct 23 2013
 
Score 50%

Hya

thx for the cool plasmoid! any chance of adding MPD info alongside? its very common to have mpd info in alot of tiling WM's
Z
best

Z


Reply to this

-

 Re: MPD

 
 by arcanis on: Oct 23 2013
 
Score 50%

hi
tnx for the comment =) I dont use mpd, therefore it is not implemented in the current version. But it is sound good and I will add support of some music players in the next version.


Reply to this

-

 Re: Re: MPD

 
 by lionhater on: Oct 29 2013
 
Score 50%

THANK YOU, THANK YOU AND THANK YOU! Finally a functional and sensible system monitor.

I would suggest the same thing, MPD monitoring as well. And if possible date and time too as contrary to all the other DE/WMs it's nearly impossible to have this basic and functional date and time scheme in one legible line in KDE panel:

11:52 Sat 29 Oct

All of these info may require a wide panel, but then one can use a separate panel for just py-text-monitor either on another edge of the desktop or next to the regular one if one has a big screen.


Reply to this

-

 Re: Re: Re: MPD

 
 by arcanis on: Nov 5 2013
 
Score 50%

So, music player support was added. Unfortunately, there is no configuration of connection to mpd socket, therefore monitor uses default settings (localhost:6600).
And I dont add date and time support now because I think there is a good plasmoid for this


Reply to this

-

 Re: Re: Re: Re: MPD

 
 by lionhater on: Nov 5 2013
 
Score 50%

Thank you. I forgot about the good developer of adjustableclock who has written the right code for such a date-time scheme. Its text size and py-text's are different, but one can live with that.


Reply to this

-

 Re: Re: Re: MPD

 
 by arcanis on: Nov 6 2013
 
Score 50%

hmm, Im sorry. But I've added datetime label in the 1.5.1 version =) It is in simple and not adjustable long format that defined by your locale. In my case it is smth like:
Wed Nov 6 04:45:00 2013


Reply to this

-

 Re: Re: Re: Re: MPD

 
 by lionhater on: Nov 6 2013
 
Score 50%

Well, it might be adjustable in future versions then! Besides, number-text-number order is much easier for eyes.


Reply to this

-

 Re: Re: Re: Re: MPD

 
 by lionhater on: Nov 6 2013
 
Score 50%

Well, it might be adjustable in future versions then! Besides, number-text-number-text order is much easier for eyes.


Reply to this

-

 hddtemp line doesn't show the temperature

 
 by maxkaspar on: Nov 6 2013
 
Score 50%

the hddtemp line doesn't display any info. I made hddtemp to work without root priviledges (with 'sudo chmod u+s /usr/bin/hddtemp', and it works on the command line without using sudo) but it doesn't display any info in py text monitor. I'm on Arch Linux and i have the latest version of the app from AUR.


Reply to this

-

 Re: hddtemp line doesn't show the temperature

 
 by arcanis on: Nov 6 2013
 
Score 50%

hm, thanks. It is really doesnt work. I'll fix it soon


Reply to this

-

 Re: hddtemp line doesn't show the temperature

 
 by arcanis on: Nov 6 2013
 
Score 50%

Okay it was bug in dataengine. I fixed it in 1.4 version of DE (1.5.1-2 package version in AUR)


Reply to this

-

 Re: Re: hddtemp line doesn't show the temperature

 
 by maxkaspar on: Nov 7 2013
 
Score 50%

It doesn't show the temperarature when KDE is restarted. You have to uncheck and then check again the hddtemp line in py text monitor to show the temp numbers.


Reply to this

-

 Re: Re: Re: hddtemp line doesn't show the temperat

 
 by arcanis on: Nov 8 2013
 
Score 50%

hmm, I can not reproduce this bug ( I added the label to panel, then stoped kdm servive. After starting kde again (using systemd) all works normally


Reply to this

-

 Re: Re: Re: Re: hddtemp line doesn't show the temp

 
 by maxkaspar on: Nov 8 2013
 
Score 50%

Well, maybe it has something to do with the way i enabled hddtemp to work without root priviledges (chmod u+s). Also, 'systemctl status hddtemp.service' shows that the service is active and running, but 'systemd-analyze blame' that shows every service's load time at startup doesn't list hddtemp.service.


Reply to this

-

 MPD

 
 by zeltak on: Nov 9 2013
 
Score 50%

Hya

Thx alot for the MPD support! i do have it on localhost on 6600 but it still dosent seem to connect? any clue?

thx alot again, this rocks (literally) ;-)

best

Z


Reply to this

-

 Re: MPD

 
 by arcanis on: Nov 9 2013
 
Score 50%

hi
Can you post output for this command while mpd is working:
echo 'currentsong\nclose' | curl --connect-timeout 1 -fsm 3 telnet://localhost:6600 2> /dev/null

(may be on pastebin)


Reply to this

-

 Re: Re: MPD

 
 by zeltak on: Nov 9 2013
 
Score 50%

hya sure here it is:

OK MPD 0.17.0
file: D/Destroyer/Kaputt/04 - Suicide Demo for Kara Walker.flac
Last-Modified: 2012-10-04T13:20:26Z
Time: 506
Album: Kaputt
Artist: Destroyer
Title: Suicide Demo for Kara Walker
Date: 2011
Genre: Soft
Track: 4
Pos: 0
Id: 1488
OK


let me know of you need any other things to check, ill be more then happy to test things out

Z


Reply to this

-

 Re: Re: Re: MPD

 
 by arcanis on: Nov 9 2013
 
Score 50%

hmm. Your output looks good.
Okay, another question: do you have plasmate? If it is true, than may you look for mpd string in plasmaengineexplorer (data engine is "ext-sysmon")?
And do you have installed Extended Systemmonitor [1]?

1. http://kde-look.org/content/show.php/Extended+Systemmonitor+DataEngine?content=158773


Reply to this

-

 Re: Re: Re: Re: MPD

 
 by zeltak on: Nov 10 2013
 
Score 50%

Hi again

i dont have plasmate and i have zero coding skills :) all the other info parts work (cpu,mem ,etc) just not MPD that shows ------ - -------
i have another fellow arch linux user that tried it out and reported the exact same issue

thx for your help!

Z


Reply to this

-

 Re: MPD

 
 by arcanis on: Nov 11 2013
 
Score 50%

Okay, I try to fix it.
Also, may you run in console
plasma-windowed py-text-monitor

make player label enable and post errors from console if they exist?


Reply to this

-

 Re: Re: Re: Re: Re: MPD

 
 by arcanis on: Nov 11 2013
 
Score 50%

okay
Can you download and rebuild a new version of dataengine?
https://github.com/arcan1s/pytextmonitor/releases/download/V.1.5.1/ext-sysmon-1.5.zip
If you build for a local copy just run as user:

mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=`kde4-config --localprefix` ../
make && make install

Or for a global copy:

mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ../
make && sudo make install

And does the error persist?


Reply to this

-

 Re: Re: Re: Re: Re: Re: MPD

 
 by zeltak on: Nov 11 2013
 
Score 50%

Hya

Thx for the instructions

ive downloaded the data engine and intsalled manually. i also installed the latest palsmoid form git hub. no i get a N\A:

https://paste.xinu.at/YzsUfw/

but still no actual data

thx !

Z



-
.

 Re: Re: Re: Re: Re: MPD

 
 by arcanis on: Nov 12 2013
 
Score 50%

Hi again.
It sounds good, because the previous version of the dataengine must works normally =)
So, may you dowgrade to the previous version of DE (1.4) with the same command. And then run from a console
plasma-windowed py-text-monitor

And post output here or at the github repo?


Reply to this

-

 Re: Re: Re: Re: Re: MPD

 
 by arcanis on: Nov 18 2013
 
Score 50%

hi again
I tested it on mpd-0.18.4. All work normally with actual versions of dataengine (1.4) and plasmoid (1.5.1).
http://s017.radikal.ru/i423/1311/34/e10a88a90b63.png
If everything is set up correctly it must works normally too. If it doesn't work may you do that I wrote above?


Reply to this

-

 Re: Re: Re: Re: Re: MPD

 
 by arcanis on: Nov 18 2013
 
Score 50%

hi again
I tested it on mpd-0.18.4. All work normally with actual versions of dataengine (1.4) and plasmoid (1.5.1).
http://s017.radikal.ru/i423/1311/34/e10a88a90b63.png
If everything is set up correctly it must works normally too. If it doesn't work may you do that I wrote above?


Reply to this

-

 Re: Re: Re: Re: Re: Re: MPD

 
 by zeltak on: Nov 19 2013
 
Score 63%

Hi

as requested:

https://paste.xinu.at/momfz/

and pastbin:

https://paste.xinu.at/7vTmF/


still dosent work though :) with latest mpd, plasmoid etc


thx

Z



-

 Re: Re: Re: Re: Re: MPD

 
 by arcanis on: Nov 24 2013
 
Score 50%

You have an error message because you have disabled swap (I will fix it in the next version). But I think MPD does not work because you have a not UTF-8 symbols in a song title (or artist). I'll fix it too.


Reply to this

-

 Re: MPD

 
 by arcanis on: Mar 31 2014
 
Score 50%

Hi =)
It looks like it has been fixed in the version 1.6.0. At least, songs with Russian name is displayed correctly.


Reply to this

-

 hddtemp shows only one digit

 
 by maxkaspar on: Dec 8 2013
 
Score 50%

hddtemp shows only the first digit. here is a screenshot http://img51.imageshack.us/img51/8162/gpqd.png.


Reply to this

-

 Re: hddtemp shows only one digit

 
 by arcanis on: Dec 8 2013
 
Score 50%

yep. It should show data only for one disk. I'll add support of several disk (like in hdd-label) in the next version.


Reply to this

-

 Re: Re: hddtemp shows only one digit

 
 by arcanis on: Dec 8 2013
 
Score 50%

Or may be do you mean that it must is "30.0"? If it is, may you post output for:
hddtemp /dev/sda

or smth like (for you device)


Reply to this

-

 EXCELLENT!

 
 by lionhater on: Mar 27 2014
 
Score 50%

Thank you so much. This really enhances KDE; brilliant, among all those dysfunctional graphical things. No need for conky; everything's present in the KDE panel. Almost perfect, (except for the mpd and time scheme issues mentioned in github).


Reply to this

-

 Ð¡Ð¿Ð°Ñибо!

 
 by vkv on: Apr 24 2014
 
Score 50%

Перепробовал кучу плазмоидов, а Ваш оказался тем, что нужно.


Reply to this

-

 sorry for codepage

 
 by vkv on: Apr 24 2014
 
Score 50%

I mean, Thank you!


Reply to this

goto page:  1  2 

Add commentBack






-

-
Do you like or dislike Ubuntu Unity?
 Yes, unity is alien technology!
 It is less confusing than Gnome 3 default, shell.
 Granny thinks it is much more usable than Gnome 2
 Canonical is embarrasing itself with this split project
 Gnome 3 default shell is much better
 I dislike Unity, Gnome 3 default shell is alien technology!
 None of the above, I like the 2Gb for free and Apple alike behavior. Will post a comment instead

resultmore




 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
News RSS   
Discussion RSS   
Events RSS   

Participate
Groups
Forum
Add Artwork
Public API
About KDE-Look.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2001-2014 KDE-Look.org Team  
All rights reserved. KDE-Look.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.