--- layout: project title: py-text-monitor short: pytextmonitor description: Minimalistic Plasmoid script that looks like widgets in Awesome WM hasgui: true developers: - Evgeniy Alelseev license: GPLv3 links: - Plasmoid page on kde-look.org - DataEngine page on kde-look.org - Archlinux AUR package ---

Information

A minimalistic Plasmoid script written on Python2. It looks like widgets in Awesome WM. My plasmoid is highly and easily configurable and does not clutter your KDE system. Also this packages has an additional DataEngine written on CPP (old version was written on Python2).

NOTE: LOOKING FOR TRANSLATORS!

Developers and contributors

License

Installation

Instruction

Dependencies

I want note that all were tested on latest version of dependencies.

How to use

Open your Plasma widgetes and select Py Text Monitor.

Configuration

DataEngine configuration

You may edit DataEngine configuration. It is /usr/share/config/extsysmon.conf or $HOME/.kde4/share/config/extsysmon.conf depending on the type of installation. Uncomment needed line and edit it.

DataEngine options

GPUDEV

Set GPU device. May be nvidia (for nVidia), ati (for ATI Radeon), ignore or auto. Default is auto.

HDDDEV

Set block device for hddtemp comma separated or use all. Default is all.

MPDADDRESS

MPD host address. Default is localhost.

MPDPORT

MPD host port. Default is 6600.

Widget configuration

For edited output you must open Settings window and setup output format in lines. Label order will changed if you change slider position. HTML tags in label work normally.
NOTE you do not may set to show $cpu in swap label for example. $cpu will work only in cpu label.

Available flags are in the table below.

Time label $time

Time in default format. For example, fri Nov 6 04:48:01 2013.

$isotime

Time in ISO format.

$shorttime

Time in short locale format.

$longtime

Time in long locale format.

$custom

Will enable custom time format.

$dddd

Weekday in long format (required $custom flag).

$ddd

Weekday in short format (required $custom flag).

$dd

Day (required $custom flag).

$d

Day without zero (required $custom flag).

$MMMM

Nonth in long format (required $custom flag).

$MMM

Month in short format (required $custom flag).

$MM

Month (required $custom flag).

$M

Month without zero (required $custom flag).

$yyyy

Year (required $custom flag).

$yy

Year in short format (required $custom flag).

$hh

Hours (required $custom flag).

$h

Hours without zero (required $custom flag).

$mm

Minutes (required $custom flag).

$m

Minutes without zero (required $custom flag).

$ss

Seconds (required $custom flag).

$s

Seconds without zero (required $custom flag).

Uptime label $uptime

System uptime, ---d--h--m.

$custom

Will enable custom uptime format.

$ds

Uptime days (required $custom flag).

$hs

Uptime hours (required $custom flag).

$ms

Uptime minutes (required $custom flag).

CPU label $cpu

Total load CPU, %, -----.

$ccpu

Load CPU for each core, %, -----.

CPU clock label $cpucl

Average CPU clock, MHz, ----.

$ccpucl

CPU clock for each core, MHz, ----.

Temperature label $temp

Average temperature in system, °C, ----. Temperature device must be specified.

GPU label $gpu

GPU usage, %, -----. aticonfig or nvidia-smi must be installed.

GPU temperature label $gputemp

GPU temperature, °C, ----. aticonfig or nvidia-smi must be installed.

Memory label $mem

Memory usage, %, -----.

$memmb

Memory usage, MB, -----.

Swap label $swap

Swap usage, %, -----.

$swapmb

Swap usage, MB, -----.

HDD usage label @@/@@

Mount point (/ in example) usage, %, -----. Separator for mount points list is ;, for example @@/;/home;/mnt/global@@

HDD temperature label @@/dev/sda@@

HDD (/dev/sda in example) temperature, °C, ----. Separator for devices list is ;, for example @@/dev/sda;/dev/sdb@@. hddtemp must be installed.

Network label $net

Download and upload speed, KB/s, ----/----.

@@eth0@@

Do not use automatic device definition, show only specified device (eth0 in example).

$netdev

Current network device.

Battery label $bat

Battery charge, %, ---. Battery device may be set below. File (/sys/class/power_supply/BAT0/capacity by default) must contain only battery charge in percent.

$ac

Status of AC device. Returns (*) if AC device is online or ( ) if offline. AC device may be set below. File (/sys/class/power_supply/AC/online by default) must contain 1 if AC is online.

Music player label $album

Current song album. One of supported music players must be installed.

$artist

Current song artist. One of supported music players must be installed.

$progress

Current song progress. One of supported music players must be installed (mpd does not support yet).

$time

Current song duration. One of supported music players must be installed.

$title

Current song title. One of supported music players must be installed.

Graphical user interface

Screenshots

Widget (clickable):

Configuration window: