release 1.10.0

This commit is contained in:
arcan1s
2014-06-09 16:57:25 +04:00
parent a3c1f4ea66
commit 7145a1d33e
3 changed files with 50 additions and 176 deletions

View File

@ -21,7 +21,7 @@ optdepends=("amarok: for music player monitor"
makedepends=('automoc4' 'cmake') makedepends=('automoc4' 'cmake')
source=(https://github.com/arcan1s/pytextmonitor/releases/download/V.${pkgver}/${_pkgname}-${pkgver}-src.tar.xz) source=(https://github.com/arcan1s/pytextmonitor/releases/download/V.${pkgver}/${_pkgname}-${pkgver}-src.tar.xz)
install=${pkgname}.install install=${pkgname}.install
md5sums=('d9c0a25ab88111bcae38dd4c378637b0') md5sums=('68227097322e3949b61b7bd1c0963511')
backup=('usr/share/config/extsysmon.conf') backup=('usr/share/config/extsysmon.conf')
prepare() { prepare() {

View File

@ -3,13 +3,16 @@ pytextmonitor
Information Information
----------- -----------
PyTextMonitor is a minimalistic Plasmoid script written on Python2. It looks like widgets in awesome-wm. PyTextMonitor is a minimalistic Plasmoid script written on Python2. It looks like widgets in awesome-wm.
**NOTE** [LOOKING FOR TRANSLATORS!](https://github.com/arcan1s/pytextmonitor/issues/14) **NOTE** [LOOKING FOR TRANSLATORS!](https://github.com/arcan1s/pytextmonitor/issues/14)
Configuration Configuration
------------- -------------
For edited output you must open Settings window and setup output format in lines: 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 `$time` - time in default format. For example, *fri Nov 6 04:48:01 2013*
* tag `$isotime` - time in iso format * tag `$isotime` - time in iso format
* tag `$shorttime` - time in short locale format * tag `$shorttime` - time in short locale format
@ -27,12 +30,18 @@ For edited output you must open Settings window and setup output format in lines
* tag `$mem` - usage memory, *%* * tag `$mem` - usage memory, *%*
* tag `$memmb` - usage memory, *MB* * tag `$memmb` - usage memory, *MB*
* tag `$memgb` - usage memory, *GB* * tag `$memgb` - usage memory, *GB*
* tag `$memtotmb` - total RAM, *MB*
* tag `$memtotgb` - total RAM, *GB*
* tag `$swap` - swap, *%* * tag `$swap` - swap, *%*
* tag `$swapmb` - swap, *MB* * tag `$swapmb` - swap, *MB*
* tag `$swapgb` - swap, *GB* * 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 `$hddN` - usage for mount point N, *%*. For example, `$hdd0`
* tag `$hddmbN` - usage for mount point N, *MB*. For example, `$hddmb0` * tag `$hddmbN` - usage for mount point N, *MB*. For example, `$hddmb0`
* tag `$hddgbN` - usage for mount point N, *GB*. For example, `$hddgb0` * 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 `$hddrN` - read speed of disk N, *KB/s*. For example, `$hddr0`
* tag `$hddwN` - write speed of disk N, *KB/s*. For example, `$hddw0` * tag `$hddwN` - write speed of disk N, *KB/s*. For example, `$hddw0`
* tag `$hddtempN` - temperature for HDD N. For example, `$hddtemp0` * tag `$hddtempN` - temperature for HDD N. For example, `$hddtemp0`
@ -56,8 +65,28 @@ Label order will changed if you change slider position. HTML tags in label work
**NOTE** you don't may set to show `$cpu` tag in swap label for example. **`$cpu` will work only in cpu label**. **NOTE** you don't may set to show `$cpu` tag 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 [issue](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 [issue](https://github.com/arcan1s/pytextmonitor/issues/17) for more details.
Advanced settings Advanced settings
----------------- -----------------
**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** **Custom time**
* tag `$dddd` - weekday in long format * tag `$dddd` - weekday in long format
@ -130,16 +159,14 @@ Line which will be shown when AC is offline.
File with AC information. File (`/sys/class/power_supply/AC/online` by default) must contain `1` if AC is online. 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 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. 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 DataEngine settings
------------------- -------------------
**Custom command** **Custom command**
*NOTE* This can cause the computer freeze. *NOTE* This can cause the computer freeze.
@ -148,11 +175,15 @@ Commands, which will be run for custom label.
**GPU device** **GPU device**
Select one of supported GPU devices. `auto` will enable auto selection. Default is `auto`. Select one of supported GPU devices. `auto` will enable auto selection, `disable` will disable definition of GPU states. Default is `auto`.
**HDD** **HDD**
Select one of HDDs for HDD temperature monitor. `all` will enable monitor for all devices. Default is `all`. 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** **MPD address**
@ -165,6 +196,7 @@ Port of MPD server. Default is `6600`.
**Package manager** **Package manager**
List of commands, which will be run. Number of null lines is a number of unneeded lines. Defaults: List of commands, which will be run. Number of null lines is a number of unneeded lines. Defaults:
* *Arch*: `PKGCMD=pacman -Qu`, `PKGNULL=0` * *Arch*: `PKGCMD=pacman -Qu`, `PKGNULL=0`
* *Debian*: `PKGCMD=apt-show-versions -u -b`, `PKGNULL=0` * *Debian*: `PKGCMD=apt-show-versions -u -b`, `PKGNULL=0`
* *Ubuntu*: `PKGCMD=aptitude search '~U'`, `PKGNULL=0` * *Ubuntu*: `PKGCMD=aptitude search '~U'`, `PKGNULL=0`
@ -172,9 +204,13 @@ List of commands, which will be run. Number of null lines is a number of unneede
* *FreeBSD*: `PKGCMD=pkg_version -I -l '<'`, `PKGNULL=0` * *FreeBSD*: `PKGCMD=pkg_version -I -l '<'`, `PKGNULL=0`
* *Mandriva*: `PKGCMD=urpmq --auto-select`, `PKGNULL=0` * *Mandriva*: `PKGCMD=urpmq --auto-select`, `PKGNULL=0`
**Music player**
Select one of supported music playes for player label.
DataEngine configuration 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. 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 Instruction
@ -182,25 +218,28 @@ Instruction
Dependencies Dependencies
------------ ------------
* kdebase-workspace * kdebase-workspace
* kdebindings-python2 * kdebindings-python2
* lm_sensors (*for definition temperature device*) * lm_sensors (*for definition temperature device*)
* sysstat (*for notification*)
Optional dependencies Optional dependencies
--------------------- ---------------------
* sysstat (*for notification*)
* proprietary video driver * 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`) * 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) * music player (amarok, clementine, mpd or qmmp)
Make dependencies Make dependencies
----------------- -----------------
* automoc4 * automoc4
* cmake * cmake
* kdebase-runtime
Installation Installation
------------ ------------
* download sources * download sources
* install * install
@ -222,6 +261,7 @@ TODO (wish list)
Links Links
----- -----
* [Homepage](http://arcanis.name/projects/pytextmonitor/) * [Homepage](http://arcanis.name/projects/pytextmonitor/)
* Plasmoid on [kde-look](http://kde-look.org/content/show.php/Py+Text+Monitor?content=157124) * Plasmoid on [kde-look](http://kde-look.org/content/show.php/Py+Text+Monitor?content=157124)
* DataEngine on [kde-look](http://kde-look.org/content/show.php/Extended+Systemmonitor+DataEngine?content=158773) * DataEngine on [kde-look](http://kde-look.org/content/show.php/Extended+Systemmonitor+DataEngine?content=158773)

View File

@ -1,166 +0,0 @@
--- README.md.orig 2014-05-28 20:30:26.685205144 +0400
+++ README.md 2014-06-09 01:18:25.000000000 +0400
@@ -3,13 +3,16 @@
Information
-----------
+
PyTextMonitor is a minimalistic Plasmoid script written on Python2. It looks like widgets in awesome-wm.
**NOTE** [LOOKING FOR TRANSLATORS!](https://github.com/arcan1s/pytextmonitor/issues/14)
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
@@ -27,12 +30,18 @@
* 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`
@@ -56,8 +65,28 @@
**NOTE** you don't may set to show `$cpu` tag 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 [issue](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 [issue](https://github.com/arcan1s/pytextmonitor/issues/17) for more details.
+
Advanced settings
-----------------
+
+**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
@@ -130,16 +159,14 @@
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.
@@ -148,11 +175,15 @@
**GPU device**
-Select one of supported GPU devices. `auto` will enable auto selection. Default is `auto`.
+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. Default is `all`.
+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**
@@ -165,6 +196,7 @@
**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`
@@ -172,9 +204,13 @@
* *FreeBSD*: `PKGCMD=pkg_version -I -l '<'`, `PKGNULL=0`
* *Mandriva*: `PKGCMD=urpmq --auto-select`, `PKGNULL=0`
+**Music player**
+
+Select one of supported music playes for player label.
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
@@ -182,25 +218,28 @@
Dependencies
------------
+
* kdebase-workspace
* kdebindings-python2
* lm_sensors (*for definition temperature device*)
-* sysstat (*for notification*)
Optional dependencies
---------------------
+
+* sysstat (*for notification*)
* 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)
+* music player (amarok, clementine, mpd or qmmp)
Make dependencies
-----------------
+
* automoc4
* cmake
-* kdebase-runtime
Installation
------------
+
* download sources
* install
@@ -222,6 +261,7 @@
Links
-----
+
* [Homepage](http://arcanis.name/projects/pytextmonitor/)
* Plasmoid on [kde-look](http://kde-look.org/content/show.php/Py+Text+Monitor?content=157124)
* DataEngine on [kde-look](http://kde-look.org/content/show.php/Extended+Systemmonitor+DataEngine?content=158773)