Minimalistic Plasmoid set
Go to file
2014-04-09 13:07:58 +04:00
readme Release 1.8.0 2014-04-09 13:07:58 +04:00
screenshots added tooltip screenshot 2014-04-03 12:02:08 +04:00
sources Release 1.8.0 2014-04-09 13:07:58 +04:00
.gitignore Release 1.8.0 2014-04-09 13:07:58 +04:00
AUTHORS edited authors 2014-04-05 19:32:52 +04:00
CHANGELOG Release 1.8.0 2014-04-09 13:07:58 +04:00
CHANGELOG-RU Release 1.8.0 2014-04-09 13:07:58 +04:00
COPYING changes license, small fixes 2014-03-31 07:35:33 +04:00
create_archive.sh added todo list 2014-04-07 16:34:40 +04:00
kdeplasma-applets-pytextmonitor.install edited install 2014-03-31 07:48:55 +04:00
PKGBUILD Release 1.8.0 2014-04-09 13:07:58 +04:00
README.md prerelease (w\o translations) 2014-04-09 01:22:15 +04:00

pytextmonitor

Information

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

NOTE LOOKING FOR TRANSLATORS!

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 $swap - swap, %
  • tag $swapmb - swap, MB
  • tag $swapgb - swap, GB
  • tag $hddN - usage for mount point N, %. For example, $hdd0
  • 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 $custom - returns output for custom command

Label order will changed if you change slider position. HTML tags in label work normally.

NOTE you don't may set to show $cpu tag in swap label for example. $cpu will work only in cpu label.

Advanced settings

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 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

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.

Music player

Select one of supported music playes for player label.

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

NOTE This can cause the computer freeze.

A command, which will be run for custom label.

GPU device

Select one of supported GPU devices. auto will enable auto selection. Default is auto.

HDD

Select one of HDDs for HDD temperature monitor. all will enable monitor for all devices. Default is all.

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
  • FreeBSD: PKGCMD=pkg_version -I -l '<', PKGNULL=0
  • Mandriva: PKGCMD=urpmq --auto-select, PKGNULL=0

DataEngine configuration

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

Instruction

Dependencies

  • kdebase-workspace
  • kdebindings-python2
  • lm_sensors (for definition temperature device)
  • sysstat (for notification)

Optional dependencies

  • 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, mpd or qmmp)

Make dependencies

  • automoc4
  • cmake
  • kdebase-runtime

Installation

  • download sources

  • install

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

    Also you may install it to /:

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

Additional information

TODO (wish list)