--- 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 ---
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!
Download an archive with latest version of source files.
Extract it and install:
{% highlight bash %} cd /where/is/applet/ mkdir build && cd build cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=`kde4-config --localprefix` ../ make make install {% endhighlight %}For global isntallation type:
{% highlight bash %} cd /where/is/applet/ mkdir build && cd build cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ../ make sudo make install {% endhighlight %}I want note that all were tested on latest version of dependencies.
Open your Plasma widgetes and select Py Text Monitor
.
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.
GPUDEV | Set GPU device. May be |
---|---|
HDDDEV | Set block device for |
MPDADDRESS | MPD host address. Default is |
MPDPORT | MPD host port. Default is |
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, |
---|---|---|
$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 |
|
$ddd |
Weekday in short format (required |
|
$dd |
Day (required |
|
$d |
Day without zero (required |
|
$MMMM |
Nonth in long format (required |
|
$MMM |
Month in short format (required |
|
$MM |
Month (required |
|
$M |
Month without zero (required |
|
$yyyy |
Year (required |
|
$yy |
Year in short format (required |
|
$hh |
Hours (required |
|
$h |
Hours without zero (required |
|
$mm |
Minutes (required |
|
$m |
Minutes without zero (required |
|
$ss |
Seconds (required |
|
$s |
Seconds without zero (required |
|
Uptime label | $uptime |
System uptime, |
$custom |
Will enable custom uptime format. |
|
$ds |
Uptime days (required |
|
$hs |
Uptime hours (required |
|
$ms |
Uptime minutes (required |
|
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, |
GPU label | $gpu |
GPU usage, %, |
GPU temperature label | $gputemp |
GPU temperature, °C, |
Memory label | $mem |
Memory usage, %, |
$memmb |
Memory usage, MB, |
|
Swap label | $swap |
Swap usage, %, |
$swapmb |
Swap usage, MB, |
|
HDD usage label | @@/@@ |
Mount point ( |
HDD temperature label | @@/dev/sda@@ |
HDD ( |
Network label | $net |
Download and upload speed, KB/s, |
@@eth0@@ |
Do not use automatic device definition, show only specified device ( |
|
$netdev |
Current network device. |
|
Battery label | $bat |
Battery charge, %, |
$ac |
Status of AC device. Returns |
|
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. |