massive removal of aligning (since it has been added to css)

This commit is contained in:
arcan1s
2014-06-23 04:51:32 +04:00
parent cc462bc930
commit 27fce352a2
36 changed files with 707 additions and 707 deletions

View File

@ -11,7 +11,7 @@ links:
---
<!-- info block -->
<h2><a name="info" class="anchor" href="#info"><span class="octicon octicon-link"></span></a>Information</h2>
<p align="justify">Simple daemon that automatically creates git repository in the given directory and creates commit at the specified time interval.</p>
<p>Simple daemon that automatically creates git repository in the given directory and creates commit at the specified time interval.</p>
{% highlight bash %}
$ git-etc --help
Simple daemon written on BASH for monitoring changes in files
@ -57,20 +57,20 @@ See "man 1 ctrlconf" for more details
<h3><a name="instruction" class="anchor" href="#instruction"><span class="octicon octicon-link"></span></a>Instruction</h3>
<ul>
<li><p align="justify">Download an <a href="https://github.com/arcan1s/git-etc/releases">archive</a> with latest version of source files.</p></li>
<li><p align="justify">Extract it and install the application:</p>
<li><p>Download an <a href="https://github.com/arcan1s/git-etc/releases">archive</a> with latest version of source files.</p></li>
<li><p>Extract it and install the application:</p>
{% highlight bash %}
./install.sh "/path/to/root"
{% endhighlight %}
<p align="justify">If you want install it to <code>/</code> you must run it as root, e.g.:</p>
<p>If you want install it to <code>/</code> you must run it as root, e.g.:</p>
{% highlight bash %}
sudo ./install.sh
{% endhighlight %}
<p align="justify">If no path is specified it will be installed to <code>/</code> by default.</p></li>
<p>If no path is specified it will be installed to <code>/</code> by default.</p></li>
</ul>
<h3><a name="dependencies" class="anchor" href="#dependencies"><span class="octicon octicon-link"></span></a>Dependencies</h3>
<p align="justify">I want note that all were tested on latest version of dependencies.</p>
<p>I want note that all were tested on latest version of dependencies.</p>
<ul>
<li>Bash (including awk, grep, sed)</li>
<li>git</li>
@ -83,27 +83,27 @@ sudo ./install.sh
<!-- howto block -->
<h2><a name="howto" class="anchor" href="#howto"><span class="octicon octicon-link"></span></a>How to use</h2>
<p align="justify">If you want to start the daemon into <code>/etc</code> just run</p>
<p>If you want to start the daemon into <code>/etc</code> just run</p>
{% highlight bash %}
systemctl start git-etc
{% endhighlight %}
<p align="justify">If you want to enable daemon autoload run</p>
<p>If you want to enable daemon autoload run</p>
{% highlight bash %}
systemctl enable git-etc
{% endhighlight %}
<p align="justify">But you may change path to configuration file or change parameters. To do it just copy (recommended) the source configuration file to new path</p>
<p>But you may change path to configuration file or change parameters. To do it just copy (recommended) the source configuration file to new path</p>
{% highlight bash %}
cp /etc/git-etc.conf /new/path/to/file/git-etc.conf
{% endhighlight %}
<p align="justify">and edit it. Then copy the source service file to <code>/etc</code>:</p>
<p>and edit it. Then copy the source service file to <code>/etc</code>:</p>
{% highlight bash %}
cp /usr/lib/systemd/system/git-etc.service /etc/systemd/system/git-etc-my-profile.service
{% endhighlight %}
<p align="justify">Replace following string in the file:</p>
<p>Replace following string in the file:</p>
{% highlight bash %}
ExecStart=/usr/bin/git-etc -c /etc/git-etc.conf
{% endhighlight %}
<p align="justify">to</p>
<p>to</p>
{% highlight bash %}
ExecStart=/usr/bin/git-etc -c /new/path/to/file/git-etc.conf
{% endhighlight %}
@ -111,7 +111,7 @@ ExecStart=/usr/bin/git-etc -c /new/path/to/file/git-etc.conf
<!-- config block -->
<h2><a name="config" class="anchor" href="#config"><span class="octicon octicon-link"></span></a>Configuration</h2>
<p align="justify">All settings are stored in <code>/etc/git-etc.conf</code>. After edit them you must restart daemon</p>
<p>All settings are stored in <code>/etc/git-etc.conf</code>. After edit them you must restart daemon</p>
{% highlight bash %}
systemctl restart git-etc
{% endhighlight %}
@ -120,33 +120,33 @@ systemctl restart git-etc
<table>
<tr>
<th>DIRECTORY</th>
<td><p align="justify">Full path to working directory with observed files. Default is <code>/etc</code>.</p></td>
<td><p>Full path to working directory with observed files. Default is <code>/etc</code>.</p></td>
</tr>
<tr>
<th>TIMESLEEP</th>
<td><p align="justify">Time interval between updates, hours. It must be integer and >= 1. Default is <code>12</code>.</p></td>
<td><p>Time interval between updates, hours. It must be integer and >= 1. Default is <code>12</code>.</p></td>
</tr>
<tr>
<th>IGNORELIST</th>
<td><p align="justify">List of files that will not be observed. Separator is ";;". May be empty.</td>
<td><p>List of files that will not be observed. Separator is ";;". May be empty.</td>
</tr>
<tr>
<th>FORALL</th>
<td><p align="justify"><code>1</code> will enable access for normal user. Default is <code>1</code>.</td>
<td><p><code>1</code> will enable access for normal user. Default is <code>1</code>.</td>
</tr>
</table>
<!-- end of config block -->
<!-- gui block -->
<h2><a name="gui" class="anchor" href="#gui"><span class="octicon octicon-link"></span></a>Graphical user interface</h2>
<p align="justify">Control Config (<code>ctrlconf</code>) is GUI for <code>git-etc</code> daemon written on <code>Python2/PyQt4</code>. This application allows you to view a list of commits and changes in files recorded in commit messages. Also, this application allows you to roll back to a specific commit all files (<code>git reset --hard</code>) or individual files (<code>git diff && git apply</code>). And you may merge old and new configuration files (used two branches repository - master and experimental). The application may need root privileges. Make sure that <code>sudo</code> package is installed.</p>
<p>Control Config (<code>ctrlconf</code>) is GUI for <code>git-etc</code> daemon written on <code>Python2/PyQt4</code>. This application allows you to view a list of commits and changes in files recorded in commit messages. Also, this application allows you to roll back to a specific commit all files (<code>git reset --hard</code>) or individual files (<code>git diff && git apply</code>). And you may merge old and new configuration files (used two branches repository - master and experimental). The application may need root privileges. Make sure that <code>sudo</code> package is installed.</p>
<h3><a name="gui_configuration" class="anchor" href="#gui_configuration"><span class="octicon octicon-link"></span></a>Configuration</h3>
<p align="justify">Just run the application and open the settings window from menu!</p>
<p>Just run the application and open the settings window from menu!</p>
<h3><a name="screenshots" class="anchor" href="#screenshots"><span class="octicon octicon-link"></span></a>Screenshots</h3>
<p align="justify">(Screenshots in Russian, but GUI has English translation.)</p>
<p align="justify">Main window:<br>
<p>(Screenshots in Russian, but GUI has English translation.)</p>
<p>Main window:<br>
<a href="/resources/screenshots/git-etc_mainwindow.png"><img src="/resources/preview/git-etc_mainwindow_prev.jpg"></a><br>
About window:<br>
<a href="/resources/screenshots/git-etc_aboutwindow.png"><img src="/resources/preview/git-etc_aboutwindow_prev.jpg"></a><br>

View File

@ -111,8 +111,8 @@ groups:
<h1><a name="{{ group.short }}" class="anchor" href="#{{ group.short }}"><span class="octicon octicon-link"></span></a>{{ group.title }}</a></h1>
{% for project in group.projects %}
<h2><a name="{{ project.short }}" class="anchor" href="#{{ project.short }}"><span class="octicon octicon-link"></span></a>{{ project.title }}</h2>
<p align="justify">{{ project.description }}</p>
<p align="justify"><ul>
<p>{{ project.description }}</p>
<p><ul>
{% for link in project.links %}
<li>{{ link }}</li>
{% endfor %}

View File

@ -13,8 +13,8 @@ links:
---
<!-- info block -->
<h2><a name="info" class="anchor" href="#info"><span class="octicon octicon-link"></span></a>Information</h2>
<p align="justify">Graphical interface for <code>netctl</code> (several scripts for work with network connection in Archlinux). It is written on <code>CPP</code> using <code>Qt4</code> library. Now it may work with profiles and may create new profiles. Also it may create a connection to WiFi. Moreover, it provides a widget and DataEngine for KDE.</p>
<p align="justify"><b>NOTE:</b> LOOKING FOR TRANSLATORS!</p>
<p>Graphical interface for <code>netctl</code> (several scripts for work with network connection in Archlinux). It is written on <code>CPP</code> using <code>Qt4</code> library. Now it may work with profiles and may create new profiles. Also it may create a connection to WiFi. Moreover, it provides a widget and DataEngine for KDE.</p>
<p><b>NOTE:</b> LOOKING FOR TRANSLATORS!</p>
{% highlight bash %}
$ netctl-gui --help
Netctl GUI
@ -44,7 +44,7 @@ Parametrs:
</ul>
<h3><a name="changelog" class="anchor" href="#changelog"><span class="octicon octicon-link"></span></a>Changelog</h3>
<p align="justify"><a href="https://github.com/arcan1s/netctl-gui/blob/master/CHANGELOG">CHANGELOG</a></p>
<p><a href="https://github.com/arcan1s/netctl-gui/blob/master/CHANGELOG">CHANGELOG</a></p>
<!-- end of info block -->
<!-- install block -->
@ -52,9 +52,9 @@ Parametrs:
<h3><a name="instruction" class="anchor" href="#instruction"><span class="octicon octicon-link"></span></a>Instruction</h3>
<ul>
<li><p align="justify">Download an <a href="https://github.com/arcan1s/netctl-gui/releases">archive</a> with latest version of source files.</p></li>
<li><p align="justify">Extract it and install the application:</p>
<p align="justify">If you want install it into <code>/</code>, you should run as root following commands:</p>
<li><p>Download an <a href="https://github.com/arcan1s/netctl-gui/releases">archive</a> with latest version of source files.</p></li>
<li><p>Extract it and install the application:</p>
<p>If you want install it into <code>/</code>, you should run as root following commands:</p>
{% highlight bash %}
cd /path/to/extracted/archive
mkdir build && cd build
@ -62,18 +62,18 @@ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ../
make
sudo make install
{% endhighlight %}
<p align="justify">Available cmake flags are:</p>
<p>Available cmake flags are:</p>
<ul>
<li><p align="justify"><code>-DBUILD_DATAENGINE:BOOL=0</code> - do not build DataEngine;</p></li>
<li><p align="justify"><code>-DBUILD_GUI:BOOL=0</code> - do not build GUI;</p></li>
<li><p align="justify"><code>-DBUILD_PLASMOID:BOOL=0</code> - do not build Plasmoid;</p></li>
<li><p align="justify"><code>-DUSE_QT5:BOOL=0</code> - use Qt4 instead of Qt5 for GUI.</p></li>
<li><p><code>-DBUILD_DATAENGINE:BOOL=0</code> - do not build DataEngine;</p></li>
<li><p><code>-DBUILD_GUI:BOOL=0</code> - do not build GUI;</p></li>
<li><p><code>-DBUILD_PLASMOID:BOOL=0</code> - do not build Plasmoid;</p></li>
<li><p><code>-DUSE_QT5:BOOL=0</code> - use Qt4 instead of Qt5 for GUI.</p></li>
</ul>
</li>
</ul>
<h3><a name="dependencies" class="anchor" href="#dependencies"><span class="octicon octicon-link"></span></a>Dependencies</h3>
<p align="justify">I want note that all were tested on latest version of dependencies.</p>
<p>I want note that all were tested on latest version of dependencies.</p>
<ul>
<li>netctl</li>
<li>qt5-base <i>(if Qt5 is used)</i> <b>or</b> qt4 <i>(if Qt4 is used)</i></li>
@ -88,45 +88,45 @@ sudo make install
<!-- howto block -->
<h2><a name="howto" class="anchor" href="#howto"><span class="octicon octicon-link"></span></a>How to use</h2>
<p align="justify">Just run application <code>netctl-gui</code>. If it is needed (and if you use KDE), you may add widget <code>netctl</code>, which provides by the application.</p>
<p>Just run application <code>netctl-gui</code>. If it is needed (and if you use KDE), you may add widget <code>netctl</code>, which provides by the application.</p>
<!-- end of howto block -->
<!-- config block -->
<h2><a name="config" class="anchor" href="#config"><span class="octicon octicon-link"></span></a>Configuration</h2>
<p align="justify">It is recommended to use graphical interface for widget configuration. DataEngine settings are stored in <code>/usr/share/config/netctl.conf</code></p>
<p>It is recommended to use graphical interface for widget configuration. DataEngine settings are stored in <code>/usr/share/config/netctl.conf</code></p>
<table>
<tr>
<th>CMD</th>
<td><p align="justify"><code>netctl</code> command. Default value is <code>/usr/bin/netctl</code>.</p></td>
<td><p><code>netctl</code> command. Default value is <code>/usr/bin/netctl</code>.</p></td>
</tr>
<tr>
<th>IPCMD</th>
<td><p align="justify"><code>ip</code> command. <code>/usr/bin/ip</code> by default.</p></td>
<td><p><code>ip</code> command. <code>/usr/bin/ip</code> by default.</p></td>
</tr>
<tr>
<th>NETDIR</th>
<td><p align="justify">A directory, which contains subdirectories with names of network interfaces. Default is <code>/sys/class/net/</code>.</p></td>
<td><p>A directory, which contains subdirectories with names of network interfaces. Default is <code>/sys/class/net/</code>.</p></td>
</tr>
<tr>
<th>EXTIPCMD</th>
<td><p align="justify">A command, which returns external IP address. Default value is <code>wget -qO- http://ifconfig.me/ip</code>.</p></td>
<td><p>A command, which returns external IP address. Default value is <code>wget -qO- http://ifconfig.me/ip</code>.</p></td>
</tr>
<tr>
<th>EXTIP</th>
<td><p align="justify"><code>true</code> will enable external IP definition. Default is <code>false</code>.</p></td>
<td><p><code>true</code> will enable external IP definition. Default is <code>false</code>.</p></td>
</tr>
</table>
<!-- end of config block -->
<!-- gui block -->
<h2><a name="gui" class="anchor" href="#gui"><span class="octicon octicon-link"></span></a>Graphical user interface</h2>
<p align="justify">Graphical interface provides by <code>netctl-gui</code> application.</p>
<p>Graphical interface provides by <code>netctl-gui</code> application.</p>
<h3><a name="gui_configuration" class="anchor" href="#gui_configuration"><span class="octicon octicon-link"></span></a>Configuration</h3>
<p align="justify">All settings of GUI are stored in <code>$HOME/.config/netctl-gui.conf</code>. It is highly recommended to edit it from graphical interface.</p>
<p>All settings of GUI are stored in <code>$HOME/.config/netctl-gui.conf</code>. It is highly recommended to edit it from graphical interface.</p>
<h3><a name="screenshots" class="anchor" href="#screenshots"><span class="octicon octicon-link"></span></a>Screenshots</h3>
<p align="justify">DataEngine:<br>
<p>DataEngine:<br>
<a href="/resources/screenshots/netctl_dataengine.png"><img src="/resources/preview/netctl_dataengine_prev.jpg"></a><br>
Widget:<br>
<a href="/resources/screenshots/netctl_plasmoid.png"><img src="/resources/preview/netctl_plasmoid_prev.jpg"></a><br>

View File

@ -12,7 +12,7 @@ links:
---
<!-- info block -->
<h2><a name="info" class="anchor" href="#info"><span class="octicon octicon-link"></span></a>Information</h2>
<p align="justify">Plasmoid written on <code>CPP</code> that displays a random draw from Brian Eno and Peter Schmidt's <a href="http://en.wikipedia.org/wiki/Oblique_strategies">Oblique Strategies</a>. It is <a href="http://gnome-look.org/content/show.php/Oblique+Strategies?content=78405">GNOME applet</a> fork with some of special features.</p>
<p>Plasmoid written on <code>CPP</code> that displays a random draw from Brian Eno and Peter Schmidt's <a href="http://en.wikipedia.org/wiki/Oblique_strategies">Oblique Strategies</a>. It is <a href="http://gnome-look.org/content/show.php/Oblique+Strategies?content=78405">GNOME applet</a> fork with some of special features.</p>
<h3><a name="devel" class="anchor" href="#devel"><span class="octicon octicon-link"></span></a>Developers and contributors</h3>
<ul>
@ -32,8 +32,8 @@ links:
<h3><a name="instruction" class="anchor" href="#instruction"><span class="octicon octicon-link"></span></a>Instruction</h3>
<ul>
<li><p align="justify">Download an <a href="https://github.com/arcan1s/oblikuestrategies/releases">archive</a> with latest version of source files.</p></li>
<li><p align="justify">Extract it and install the application. For global isntallation type:</p>
<li><p>Download an <a href="https://github.com/arcan1s/oblikuestrategies/releases">archive</a> with latest version of source files.</p></li>
<li><p>Extract it and install the application. For global isntallation type:</p>
{% highlight bash %}
cd /where/is/applet/
mkdir build && cd build
@ -41,7 +41,7 @@ cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` -DCMAKE_BUILD_TYPE=Release .
make
sudo make install
{% endhighlight %}
<p align="justify">For local isntallation type:</p>
<p>For local isntallation type:</p>
{% highlight bash %}
cd /where/is/applet/
mkdir build && cd build
@ -49,18 +49,18 @@ cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --localprefix` -DCMAKE_BUILD_TYPE=Rele
make
make install
{% endhighlight %}</li>
<li><p align="justify">Restart plasma to load the applet:</p>
<li><p>Restart plasma to load the applet:</p>
{% highlight bash %}
kquitapp plasma-desktop && sleep 2 && plasma-desktop
{% endhighlight %}
<p align="justify">Also you might need to run <code>kbuildsycoca4</code> in order to get the <code>*.desktop</code> file recognized:</p>
<p>Also you might need to run <code>kbuildsycoca4</code> in order to get the <code>*.desktop</code> file recognized:</p>
{% highlight bash %}
kbuildsycoca4 &> /dev/null
{% endhighlight %}</li>
</ul>
<h3><a name="dependencies" class="anchor" href="#dependencies"><span class="octicon octicon-link"></span></a>Dependencies</h3>
<p align="justify">I want note that all were tested on latest version of dependencies.</p>
<p>I want note that all were tested on latest version of dependencies.</p>
<ul>
<li>kdebase-workspace</li>
<li>automoc4 <i>(make)</i></li>
@ -70,19 +70,19 @@ kbuildsycoca4 &> /dev/null
<!-- howto block -->
<h2><a name="howto" class="anchor" href="#howto"><span class="octicon octicon-link"></span></a>How to use</h2>
<p align="justify">Open your Plasma widgets and select <code>Oblikue strategies</code>.</p>
<p>Open your Plasma widgets and select <code>Oblikue strategies</code>.</p>
<!-- end of howto block -->
<!-- config block -->
<h2><a name="config" class="anchor" href="#config"><span class="octicon octicon-link"></span></a>Configuration</h2>
<p align="justify">Right click on widget.</p>
<p>Right click on widget.</p>
<!-- end of config block -->
<!-- gui block -->
<h2><a name="gui" class="anchor" href="#gui"><span class="octicon octicon-link"></span></a>Graphical user interface</h2>
<h3><a name="screenshots" class="anchor" href="#screenshots"><span class="octicon octicon-link"></span></a>Screenshots</h3>
<p align="justify">Widget:<br>
<p>Widget:<br>
<a href="/resources/screenshots/oblikuestrategies_widget.png"><img src="/resources/preview/oblikuestrategies_widget_prev.jpg"></a><br>
Configuration window:<br>
<a href="/resources/screenshots/oblikuestrategies_config.png"><img src="/resources/preview/oblikuestrategies_config_prev.jpg"></a></p>

View File

@ -17,8 +17,8 @@ links:
---
<!-- info block -->
<h2><a name="info" class="anchor" href="#information"><span class="octicon octicon-link"></span></a>Information</h2>
<p align="justify">A minimalistic Plasmoid script written on <code>Python2</code>. It looks like widgets in <a href="http://awesome.naquadah.org/">Awesome WM</a>. My plasmoid is highly and easily configurable and does not clutter your KDE system. Also this packages has an additional <a href="http://techbase.kde.org/Development/Tutorials/Plasma/DataEngines">DataEngine</a> written on <code>CPP</code> (old version was written on <code>Python2</code>).</p>
<p align="justify"><b>NOTE:</b> <a href="https://github.com/arcan1s/pytextmonitor/issues/14">LOOKING FOR TRANSLATORS!</a></p>
<p>A minimalistic Plasmoid script written on <code>Python2</code>. It looks like widgets in <a href="http://awesome.naquadah.org/">Awesome WM</a>. My plasmoid is highly and easily configurable and does not clutter your KDE system. Also this packages has an additional <a href="http://techbase.kde.org/Development/Tutorials/Plasma/DataEngines">DataEngine</a> written on <code>CPP</code> (old version was written on <code>Python2</code>).</p>
<p><b>NOTE:</b> <a href="https://github.com/arcan1s/pytextmonitor/issues/14">LOOKING FOR TRANSLATORS!</a></p>
<h3><a name="devel" class="anchor" href="#devel"><span class="octicon octicon-link"></span></a>Developers and contributors</h3>
<ul>
@ -33,7 +33,7 @@ links:
</ul>
<h3><a name="changelog" class="anchor" href="#changelog"><span class="octicon octicon-link"></span></a>Changelog</h3>
<p align="justify"><a href="https://github.com/arcan1s/pytextmonitor/blob/master/CHANGELOG">CHANGELOG</a></p>
<p><a href="https://github.com/arcan1s/pytextmonitor/blob/master/CHANGELOG">CHANGELOG</a></p>
<!-- end of info block -->
<!-- install block -->
@ -41,8 +41,8 @@ links:
<h3><a name="instruction" class="anchor" href="#instruction"><span class="octicon octicon-link"></span></a>Instruction</h3>
<ul>
<li><p align="justify">Download an <a href="https://github.com/arcan1s/pytextmonitor/releases">archive</a> with latest version of source files.</p></li>
<li><p align="justify">Extract it and install:</p>
<li><p>Download an <a href="https://github.com/arcan1s/pytextmonitor/releases">archive</a> with latest version of source files.</p></li>
<li><p>Extract it and install:</p>
{% highlight bash %}
cd /where/is/applet/
mkdir build && cd build
@ -50,7 +50,7 @@ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=`kde4-config --localpref
make
make install
{% endhighlight %}
<p align="justify">For global isntallation type:</p>
<p>For global isntallation type:</p>
{% highlight bash %}
cd /where/is/applet/
mkdir build && cd build
@ -61,7 +61,7 @@ sudo make install
</ul>
<h3><a name="dependencies" class="anchor" href="#dependencies"><span class="octicon octicon-link"></span></a>Dependencies</h3>
<p align="justify">I want note that all were tested on latest version of dependencies.</p>
<p>I want note that all were tested on latest version of dependencies.</p>
<ul>
<li>kdebase-workspace</li>
<li>kdebindings-python2</li>
@ -78,416 +78,416 @@ sudo make install
<!-- howto block -->
<h2><a name="howto" class="anchor" href="#howto"><span class="octicon octicon-link"></span></a>How to use</h2>
<p align="justify">Open your Plasma widgetes and select <code>Py Text Monitor</code>.</p>
<p>Open your Plasma widgetes and select <code>Py Text Monitor</code>.</p>
<h3><a name="tips" class="anchor" href="#tips"><span class="octicon octicon-link"></span></a>Tips & tricks</h3>
<p align="justify">You may use different colors for labels. Just put label text into html code. See <a href="https://github.com/arcan1s/pytextmonitor/issues/9">issue</a> for more details.</p>
<p>You may use different colors for labels. Just put label text into html code. See <a href="https://github.com/arcan1s/pytextmonitor/issues/9">issue</a> for more details.</p>
<p align="justify">Numbering of elements of temperature, HDD usage, HDD speed, HDD temperature refers to elements order from second tab (<i>Advanced settings</i>). You should add item to the required listWidget first. And the first element in the listWidget will be <code>$tag0</code>. See <a href="https://github.com/arcan1s/pytextmonitor/issues/17">issue</a> for more details.</p>
<p>Numbering of elements of temperature, HDD usage, HDD speed, HDD temperature refers to elements order from second tab (<i>Advanced settings</i>). You should add item to the required listWidget first. And the first element in the listWidget will be <code>$tag0</code>. See <a href="https://github.com/arcan1s/pytextmonitor/issues/17">issue</a> for more details.</p>
<!-- end of howto block -->
<!-- config block -->
<h2><a name="config" class="anchor" href="#config"><span class="octicon octicon-link"></span></a>Configuration</h2>
<h3><a name="deconf" class="anchor" href="#deconf"><span class="octicon octicon-link"></span></a>DataEngine configuration</h3>
<p align="justify">You may edit DataEngine configuration. It is <code>/usr/share/config/extsysmon.conf</code> or <code>$HOME/.kde4/share/config/extsysmon.conf</code> depending on the type of installation. Uncomment needed line and edit it.</p>
<p>You may edit DataEngine configuration. It is <code>/usr/share/config/extsysmon.conf</code> or <code>$HOME/.kde4/share/config/extsysmon.conf</code> depending on the type of installation. Uncomment needed line and edit it.</p>
<h4><a name="deoptions" class="anchor" href="#deoptions"><span class="octicon octicon-link"></span></a>DataEngine options</h4>
<table>
<tr>
<th>CUSTOM</th>
<td><p align="justify">Custom commands to run. Default is <code>wget -qO- http://ifconfig.me/ip</code>. Separator is <code>@@</code>.</td>
<td><p>Custom commands to run. Default is <code>wget -qO- http://ifconfig.me/ip</code>. Separator is <code>@@</code>.</td>
</tr>
<tr>
<th>GPUDEV</th>
<td><p align="justify">Set GPU device. May be <code>nvidia</code> (for nVidia), <code>ati</code> (for ATI Radeon), <code>disable</code> or <code>auto</code>. Default is <code>auto</code>.</p></td>
<td><p>Set GPU device. May be <code>nvidia</code> (for nVidia), <code>ati</code> (for ATI Radeon), <code>disable</code> or <code>auto</code>. Default is <code>auto</code>.</p></td>
</tr>
<tr>
<th>HDDDEV</th>
<td><p align="justify">Set block device for <code>hddtemp</code> comma separated or use <code>all</code>. <code>disable</code> will disable HDD temperature monitor. Default is <code>all</code>.</p></td>
<td><p>Set block device for <code>hddtemp</code> comma separated or use <code>all</code>. <code>disable</code> will disable HDD temperature monitor. Default is <code>all</code>.</p></td>
</tr>
<tr>
<th>HDDTEMPCMD</th>
<td><p align="justify">A command which will be run for hddtemp DataEngine. Default is <code>sudo hddtemp</code>.</p></td>
<td><p>A command which will be run for hddtemp DataEngine. Default is <code>sudo hddtemp</code>.</p></td>
</tr>
<tr>
<th>MPDADDRESS</th>
<td><p align="justify">MPD host address. Default is <code>localhost</code>.</td>
<td><p>MPD host address. Default is <code>localhost</code>.</td>
</tr>
<tr>
<th>MPDPORT</th>
<td><p align="justify">MPD host port. Default is <code>6600</code>.</td>
<td><p>MPD host port. Default is <code>6600</code>.</td>
</tr>
<tr>
<th>PKGCMD</th>
<td><p align="justify">Commands to run for package manager, comma separated.</td>
<td><p>Commands to run for package manager, comma separated.</td>
</tr>
<tr>
<th>PKGNULL</th>
<td><p align="justify">Number of null lines for commands, comma separated.</td>
<td><p>Number of null lines for commands, comma separated.</td>
</tr>
<tr>
<th>PLAYER</th>
<td><p align="justify">Set music player. Supported players are amarok, clementine, mpd, qmmp.</td>
<td><p>Set music player. Supported players are amarok, clementine, mpd, qmmp.</td>
</tr>
</table>
<h3><a name="widconf" class="anchor" href="#widconf"><span class="octicon octicon-link"></span></a>Widget configuration</h3>
<p align="justify">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.<br>
<p>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.<br>
<b>NOTE</b> You do not may set to show <code>$cpu</code> in swap label for example. <b><code>$cpu</code> will work only in cpu label.</b></p>
<p align="justify">Available flags are in the table below.<br>
<p>Available flags are in the table below.<br>
<b>NOTE</b> The numbering of all arrays in variables starts at 0.</p>
<table>
<tr>
<th rowspan="5">Time label</th>
<td><code>$time</code></td>
<td><p align="justify">Time in default format. For example, <code>fri Nov 6 04:48:01 2013</code>.</p></td>
<td><p>Time in default format. For example, <code>fri Nov 6 04:48:01 2013</code>.</p></td>
</tr>
<tr>
<td><code>$isotime</code></td>
<td><p align="justify">Time in ISO format.</p></td>
<td><p>Time in ISO format.</p></td>
</tr>
<tr>
<td><code>$shorttime</code></td>
<td><p align="justify">Time in short locale format.</p></td>
<td><p>Time in short locale format.</p></td>
</tr>
<tr>
<td><code>$longtime</code></td>
<td><p align="justify">Time in long locale format.</p></td>
<td><p>Time in long locale format.</p></td>
</tr>
<tr>
<td><code>$custom</code></td>
<td><p align="justify">Will enable custom time format.</p></td>
<td><p>Will enable custom time format.</p></td>
</tr>
<tr>
<th rowspan="2">Uptime label</th>
<td><code>$uptime</code></td>
<td><p align="justify">System uptime, <code>---d--h--m</code>.</p></td>
<td><p>System uptime, <code>---d--h--m</code>.</p></td>
</tr>
<tr>
<td><code>$custom</code></td>
<td><p align="justify">Will enable custom uptime format.</p></td>
<td><p>Will enable custom uptime format.</p></td>
</tr>
<tr>
<th rowspan="2">CPU label</th>
<td><code>$cpu</code></td>
<td><p align="justify">Total load CPU, %, <code>-----</code>.</p></td>
<td><p>Total load CPU, %, <code>-----</code>.</p></td>
</tr>
<tr>
<td><code>$cpuN</code></td>
<td><p align="justify">Load CPU for core N, %, <code>-----</code>.</p></td>
<td><p>Load CPU for core N, %, <code>-----</code>.</p></td>
</tr>
<tr>
<th rowspan="2">CPU clock label</th>
<td><code>$cpucl</code></td>
<td><p align="justify">Average CPU clock, MHz, <code>----</code>.</p></td>
<td><p>Average CPU clock, MHz, <code>----</code>.</p></td>
</tr>
<tr>
<td><code>$cpuclN</code></td>
<td><p align="justify">CPU clock for core N, MHz, <code>----</code>.</p></td>
<td><p>CPU clock for core N, MHz, <code>----</code>.</p></td>
</tr>
<tr>
<th rowspan="1">Temperature label</th>
<td><code>$tempN</code></td>
<td><p align="justify">Temperature for device N, &deg;C, <code>----</code>. For example, <code>$temp0</code>.</p></td>
<td><p>Temperature for device N, &deg;C, <code>----</code>. For example, <code>$temp0</code>.</p></td>
</tr>
<tr>
<th rowspan="1">GPU label</th>
<td><code>$gpu</code></td>
<td><p align="justify">GPU usage, %, <code>-----</code>. <code>aticonfig</code> or <code>nvidia-smi</code> must be installed.</p></td>
<td><p>GPU usage, %, <code>-----</code>. <code>aticonfig</code> or <code>nvidia-smi</code> must be installed.</p></td>
</tr>
<tr>
<th rowspan="1">GPU temperature label</th>
<td><code>$gputemp</code></td>
<td><p align="justify">GPU temperature, &deg;C, <code>----</code>. <code>aticonfig</code> or <code>nvidia-smi</code> must be installed.</p></td>
<td><p>GPU temperature, &deg;C, <code>----</code>. <code>aticonfig</code> or <code>nvidia-smi</code> must be installed.</p></td>
</tr>
<tr>
<th rowspan="5">Memory label</th>
<td><code>$mem</code></td>
<td><p align="justify">Memory usage, %, <code>-----</code>.</p></td>
<td><p>Memory usage, %, <code>-----</code>.</p></td>
</tr>
<tr>
<td><code>$memmb</code></td>
<td><p align="justify">Memory usage, MB, <code>-----</code>.</p></td>
<td><p>Memory usage, MB, <code>-----</code>.</p></td>
</tr>
<tr>
<td><code>$memgb</code></td>
<td><p align="justify">Memory usage, GB, <code>----</code>.</p></td>
<td><p>Memory usage, GB, <code>----</code>.</p></td>
</tr>
<tr>
<td><code>$memtotmb</code></td>
<td><p align="justify">RAM, MB, <code>-----</code>.</p></td>
<td><p>RAM, MB, <code>-----</code>.</p></td>
</tr>
<tr>
<td><code>$memtotgb</code></td>
<td><p align="justify">RAM, GB, <code>----</code>.</p></td>
<td><p>RAM, GB, <code>----</code>.</p></td>
</tr>
<tr>
<th rowspan="5">Swap label</th>
<td><code>$swap</code></td>
<td><p align="justify">Swap usage, %, <code>-----</code>.</p></td>
<td><p>Swap usage, %, <code>-----</code>.</p></td>
</tr>
<tr>
<td><code>$swapmb</code></td>
<td><p align="justify">Swap usage, MB, <code>-----</code>.</p></td>
<td><p>Swap usage, MB, <code>-----</code>.</p></td>
</tr>
<tr>
<td><code>$swapgb</code></td>
<td><p align="justify">Swap usage, GB, <code>----</code>.</p></td>
<td><p>Swap usage, GB, <code>----</code>.</p></td>
</tr>
<tr>
<td><code>$swaptotmb</code></td>
<td><p align="justify">Swap, MB, <code>-----</code>.</p></td>
<td><p>Swap, MB, <code>-----</code>.</p></td>
</tr>
<tr>
<td><code>$swaptotgb</code></td>
<td><p align="justify">Swap, GB, <code>----</code>.</p></td>
<td><p>Swap, GB, <code>----</code>.</p></td>
</tr>
<tr>
<th rowspan="5">HDD usage label</th>
<td><code>$hddN</code></td>
<td><p align="justify">Usage for mount point N, %, <code>-----</code>. For example <code>$hdd0</code>.</p></td>
<td><p>Usage for mount point N, %, <code>-----</code>. For example <code>$hdd0</code>.</p></td>
</tr>
<tr>
<td><code>$hddmbN</code></td>
<td><p align="justify">Usage for mount point N, MB, <code>-----</code>. For example <code>$hddmb0</code>.</p></td>
<td><p>Usage for mount point N, MB, <code>-----</code>. For example <code>$hddmb0</code>.</p></td>
</tr>
<tr>
<td><code>$hddgbN</code></td>
<td><p align="justify">Usage for mount point N, GB, <code>-----</code>. For example <code>$hddgb0</code>.</p></td>
<td><p>Usage for mount point N, GB, <code>-----</code>. For example <code>$hddgb0</code>.</p></td>
</tr>
<tr>
<td><code>$hddtotmbN</code></td>
<td><p align="justify">Total size of mount point N, MB, <code>-----</code>. For example <code>$hddtotmb0</code>.</p></td>
<td><p>Total size of mount point N, MB, <code>-----</code>. For example <code>$hddtotmb0</code>.</p></td>
</tr>
<tr>
<td><code>$hddtotgbN</code></td>
<td><p align="justify">Total size of mount point N, GB, <code>-----</code>. For example <code>$hddtotgb0</code>.</p></td>
<td><p>Total size of mount point N, GB, <code>-----</code>. For example <code>$hddtotgb0</code>.</p></td>
</tr>
<tr>
<th rowspan="2">HDD speed label</th>
<td><code>$hddrN</code></td>
<td><p align="justify">Read speed of disk N, KB/s, <code>-----</code>. For example <code>$hddr0</code>.</p></td>
<td><p>Read speed of disk N, KB/s, <code>-----</code>. For example <code>$hddr0</code>.</p></td>
</tr>
<tr>
<td><code>$hddwN</code></td>
<td><p align="justify">Write speed of disk N, KB/s, <code>-----</code>. For example <code>$hddw0</code>.</p></td>
<td><p>Write speed of disk N, KB/s, <code>-----</code>. For example <code>$hddw0</code>.</p></td>
</tr>
<tr>
<th rowspan="1">HDD temperature label</th>
<td><code>$hddtempN</code></td>
<td><p align="justify">Temperature for HDD N, &deg;C, <code>----</code>. For example <code>$hddtemp0</code>. <code>hddtemp</code> must be installed.</p></td>
<td><p>Temperature for HDD N, &deg;C, <code>----</code>. For example <code>$hddtemp0</code>. <code>hddtemp</code> must be installed.</p></td>
</tr>
<tr>
<th rowspan="3">Network label</th>
<td><code>$down</code></td>
<td><p align="justify">Download speed, KB/s, <code>----</code>.</p></td>
<td><p>Download speed, KB/s, <code>----</code>.</p></td>
</tr>
<tr>
<td><code>$up</code></td>
<td><p align="justify">Upload speed, KB/s, <code>----</code>.</p></td>
<td><p>Upload speed, KB/s, <code>----</code>.</p></td>
</tr>
<tr>
<td><code>$netdev</code></td>
<td><p align="justify">Current network device.</p></td>
<td><p>Current network device.</p></td>
</tr>
<tr>
<th rowspan="2">Battery label</th>
<td><code>$bat</code></td>
<td><p align="justify">Battery charge, %, <code>---</code>.</p></td>
<td><p>Battery charge, %, <code>---</code>.</p></td>
</tr>
<tr>
<td><code>$ac</code></td>
<td><p align="justify">Status of AC device. Returns <code>(*)</code> if AC device is online or <code>( )</code> if offline.</td>
<td><p>Status of AC device. Returns <code>(*)</code> if AC device is online or <code>( )</code> if offline.</td>
</tr>
<tr>
<th rowspan="5">Music player label</th>
<td><code>$album</code></td>
<td><p align="justify">Current song album. One of supported music players must be installed.</p></td>
<td><p>Current song album. One of supported music players must be installed.</p></td>
</tr>
<tr>
<td><code>$artist</code></td>
<td><p align="justify">Current song artist. One of supported music players must be installed.</p></td>
<td><p>Current song artist. One of supported music players must be installed.</p></td>
</tr>
<tr>
<td><code>$progress</code></td>
<td><p align="justify">Current song progress. One of supported music players must be installed.</p></td>
<td><p>Current song progress. One of supported music players must be installed.</p></td>
</tr>
<tr>
<td><code>$time</code></td>
<td><p align="justify">Current song duration. One of supported music players must be installed.</p></td>
<td><p>Current song duration. One of supported music players must be installed.</p></td>
</tr>
<tr>
<td><code>$title</code></td>
<td><p align="justify">Current song title. One of supported music players must be installed.</p></td>
<td><p>Current song title. One of supported music players must be installed.</p></td>
</tr>
<tr>
<th rowspan="3">Process label</th>
<td><code>$ps</code></td>
<td><p align="justify">List of running processes comma separated.</p></td>
<td><p>List of running processes comma separated.</p></td>
</tr>
<tr>
<td><code>$pscount</code></td>
<td><p align="justify">Number of running processes.</p></td>
<td><p>Number of running processes.</p></td>
</tr>
<tr>
<td><code>$pstotal</code></td>
<td><p align="justify">Total number of processes.</p></td>
<td><p>Total number of processes.</p></td>
</tr>
<tr>
<th rowspan="1">Package manager label</th>
<td><code>$pkgcountN</code></td>
<td><p align="justify">Number of packages, which available to upgrade for command N.</p></td>
<td><p>Number of packages, which available to upgrade for command N.</p></td>
</tr>
<tr>
<th rowspan="1">Custom label</th>
<td><code>$customN</code></td>
<td><p align="justify">Get output from custom command N. For example <code>$custom0</code>.</p></td>
<td><p>Get output from custom command N. For example <code>$custom0</code>.</p></td>
</tr>
</table>
<h4><a name="advanced" class="anchor" href="#advanced"><span class="octicon octicon-link"></span></a>Advanced settings</h4>
<p align="justify"><b>Vertical layout:</b> Use vertical layout instead of horizontal one.</p>
<p><b>Vertical layout:</b> Use vertical layout instead of horizontal one.</p>
<p align="justify"><b>Enable popup:</b> Uncheck box if you do not use popup messages.</p>
<p><b>Enable popup:</b> Uncheck box if you do not use popup messages.</p>
<p align="justify"><b>Add stretch:</b> Add stretch (spacer) to the selected side of the widget.</p>
<p><b>Add stretch:</b> Add stretch (spacer) to the selected side of the widget.</p>
<p align="justify"><b>Custom time format:</b></p>
<p><b>Custom time format:</b></p>
<table>
<tr>
<td><code>$dddd</code></td>
<td><p align="justify">Weekday in long format.</p></td>
<td><p>Weekday in long format.</p></td>
</tr>
<tr>
<td><code>$ddd</code></td>
<td><p align="justify">Weekday in short format.</p></td>
<td><p>Weekday in short format.</p></td>
</tr>
<tr>
<td><code>$dd</code></td>
<td><p align="justify">Day.</p></td>
<td><p>Day.</p></td>
</tr>
<tr>
<td><code>$d</code></td>
<td><p align="justify">Day without zero.</p></td>
<td><p>Day without zero.</p></td>
</tr>
<tr>
<td><code>$MMMM</code></td>
<td><p align="justify">Month in long format.</p></td>
<td><p>Month in long format.</p></td>
</tr>
<tr>
<td><code>$MMM</code></td>
<td><p align="justify">Month in short format.</p></td>
<td><p>Month in short format.</p></td>
</tr>
<tr>
<td><code>$MM</code></td>
<td><p align="justify">Month.</p></td>
<td><p>Month.</p></td>
</tr>
<tr>
<td><code>$M</code></td>
<td><p align="justify">Month without zero.</p></td>
<td><p>Month without zero.</p></td>
</tr>
<tr>
<td><code>$yyyy</code></td>
<td><p align="justify">Year.</p></td>
<td><p>Year.</p></td>
</tr>
<tr>
<td><code>$yy</code></td>
<td><p align="justify">Year in short format.</p></td>
<td><p>Year in short format.</p></td>
</tr>
<tr>
<td><code>$hh</code></td>
<td><p align="justify">Hours.</p></td>
<td><p>Hours.</p></td>
</tr>
<tr>
<td><code>$h</code></td>
<td><p align="justify">Hours without zero.</p></td>
<td><p>Hours without zero.</p></td>
</tr>
<tr>
<td><code>$mm</code></td>
<td><p align="justify">Minutes.</p></td>
<td><p>Minutes.</p></td>
</tr>
<tr>
<td><code>$m</code></td>
<td><p align="justify">Minutes without zero.</p></td>
<td><p>Minutes without zero.</p></td>
</tr>
<tr>
<td><code>$ss</code></td>
<td><p align="justify">Seconds.</p></td>
<td><p>Seconds.</p></td>
</tr>
<tr>
<td><code>$s</code></td>
<td><p align="justify">Seconds without zero.</p></td>
<td><p>Seconds without zero.</p></td>
</tr>
</table>
<p align="justify"><b>Custom uptime format:</b></p>
<p><b>Custom uptime format:</b></p>
<table>
<tr>
<td><code>$dd</code></td>
<td><p align="justify">Uptime days.</p></td>
<td><p>Uptime days.</p></td>
</tr>
<tr>
<td><code>$d</code></td>
<td><p align="justify">Uptime days without zero.</p></td>
<td><p>Uptime days without zero.</p></td>
</tr>
<tr>
<td><code>$hh</code></td>
<td><p align="justify">Uptime hours.</p></td>
<td><p>Uptime hours.</p></td>
</tr>
<tr>
<td><code>$h</code></td>
<td><p align="justify">Uptime hours without zero.</p></td>
<td><p>Uptime hours without zero.</p></td>
</tr>
<tr>
<td><code>$mm</code></td>
<td><p align="justify">Uptime minutes.</p></td>
<td><p>Uptime minutes.</p></td>
</tr>
<tr>
<td><code>$m</code></td>
<td><p align="justify">Uptime minutes without zero.</p></td>
<td><p>Uptime minutes without zero.</p></td>
</tr>
</table>
<p align="justify"><b>Temperature units:</b> Select units for temperature. Available units are Celsius, Farenheit and Kelvin.</p>
<p><b>Temperature units:</b> Select units for temperature. Available units are Celsius, Farenheit and Kelvin.</p>
<p align="justify"><b>Temperature devices:</b> List of devices, which will be observed in temperature label (combo box items come from <code>sensors</code>). List widget is editable, delete key will remove current item.</p>
<p><b>Temperature devices:</b> List of devices, which will be observed in temperature label (combo box items come from <code>sensors</code>). List widget is editable, delete key will remove current item.</p>
<p align="justify"><b>Mount points:</b> List of mount points, which will be observed in HDD label (combo box items come from <code>mount</code>). List widget is editable, delete key will remove current item.</p>
<p><b>Mount points:</b> List of mount points, which will be observed in HDD label (combo box items come from <code>mount</code>). List widget is editable, delete key will remove current item.</p>
<p align="justify"><b>HDDs (speed):</b> List of hard disk devices, which will be observed in HDD speed label (combo box items come from DataEngine). List widget is editable, delete key will remove current item.</p>
<p><b>HDDs (speed):</b> List of hard disk devices, which will be observed in HDD speed label (combo box items come from DataEngine). List widget is editable, delete key will remove current item.</p>
<p align="justify"><b>HDDs (temperature):</b> List of hard disk devices, which will be observed in HDD temperature label (combo box items come from <code>find</code>). List widget is editable, delete key will remove current item.</p>
<p><b>HDDs (temperature):</b> List of hard disk devices, which will be observed in HDD temperature label (combo box items come from <code>find</code>). List widget is editable, delete key will remove current item.</p>
<p align="justify"><b>Network directory:</b> Path to directory, which contains network devices information. Default is <code>/sys/class/net</code>. It is required for auto select of network device.</p>
<p><b>Network directory:</b> Path to directory, which contains network devices information. Default is <code>/sys/class/net</code>. It is required for auto select of network device.</p>
<p align="justify"><b>Network device:</b> Use specified device as active. Combo box items come from <b>network directory</b>. This option will disable auto select network device.</p>
<p><b>Network device:</b> Use specified device as active. Combo box items come from <b>network directory</b>. This option will disable auto select network device.</p>
<p align="justify"><b>Battery device:</b> File with battery information. The file (<code>/sys/class/power_supply/BAT0/capacity</code> by default) should contain only battery charge in percent.</p>
<p><b>Battery device:</b> File with battery information. The file (<code>/sys/class/power_supply/BAT0/capacity</code> by default) should contain only battery charge in percent.</p>
<p align="justify"><b>AC online tag:</b> Line which will be shown when AC is online. Default is <code>(*)</code>.</p>
<p><b>AC online tag:</b> Line which will be shown when AC is online. Default is <code>(*)</code>.</p>
<p align="justify"><b>AC offline tag:</b> Line which will be shown when AC is offline. Default is <code>( )</code>.</p>
<p><b>AC offline tag:</b> Line which will be shown when AC is offline. Default is <code>( )</code>.</p>
<p align="justify"><b>AC device:</b> File with AC information. The file (<code>/sys/class/power_supply/AC/online</code> by default) should contain <code>1</code> if AC is online.</p>
<p><b>AC device:</b> File with AC information. The file (<code>/sys/class/power_supply/AC/online</code> by default) should contain <code>1</code> if AC is online.</p>
<h4><a name="tooltips" class="anchor" href="#tooltips"><span class="octicon octicon-link"></span></a>Tooltips</h4>
<p align="justify">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.</p>
<p>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.</p>
<h4><a name="deguiconf" class="anchor" href="#deguiconf"><span class="octicon octicon-link"></span></a>DataEngine settings</h4>
<p align="justify"><b>Custom command:</b> <i><b>NOTE</b> this label may cause the computer freeze.</i> Commands, which will be run for custom label. For example, <code>wget -qO- http://ifconfig.me/ip</code> will return external IP.</p>
<p><b>Custom command:</b> <i><b>NOTE</b> this label may cause the computer freeze.</i> Commands, which will be run for custom label. For example, <code>wget -qO- http://ifconfig.me/ip</code> will return external IP.</p>
<p align="justify"><b>GPU device:</b> Select one of supported GPU devices. <code>auto</code> will enable auto selection, <code>disable</code> will disable all GPU monitors. Default is <code>auto</code>.</p>
<p><b>GPU device:</b> Select one of supported GPU devices. <code>auto</code> will enable auto selection, <code>disable</code> will disable all GPU monitors. Default is <code>auto</code>.</p>
<p align="justify"><b>HDD:</b> Select one of HDDs for HDD temperature monitor. <code>all</code> will enable monitor for all devices, <code>disable</code> will disable HDD temperature monitor. Default is <code>all</code>.</p>
<p><b>HDD:</b> Select one of HDDs for HDD temperature monitor. <code>all</code> will enable monitor for all devices, <code>disable</code> will disable HDD temperature monitor. Default is <code>all</code>.</p>
<p align="justify"><b>hddtemp cmd:</b> Type a command which will be run for hddtemp DataEngine. Default is <code>sudo hddtemp</code>.</p>
<p><b>hddtemp cmd:</b> Type a command which will be run for hddtemp DataEngine. Default is <code>sudo hddtemp</code>.</p>
<p align="justify"><b>MPD address:</b> Address of MPD server. Default is <code>localhost</code>.</p>
<p><b>MPD address:</b> Address of MPD server. Default is <code>localhost</code>.</p>
<p align="justify"><b>MPD port:</b> Port of MPD server. Default is <code>6600</code>.</p>
<p><b>MPD port:</b> Port of MPD server. Default is <code>6600</code>.</p>
<p align="justify"><b>Package manager:</b> List of commands, which will be run. Number of null lines is a number of unneeded lines. Defaults are:</p>
<p><b>Package manager:</b> List of commands, which will be run. Number of null lines is a number of unneeded lines. Defaults are:</p>
<table>
<tr>
<td><p align="center"><b>Distro</b></p></td>
@ -495,45 +495,45 @@ sudo make install
<td><p align="center"><b>Number</b></p></td>
</tr>
<tr>
<td><p align="justify">Arch</p></td>
<td><p>Arch</p></td>
<td><code>pacman -Qu</code></td>
<td><code>0</code></td>
</tr>
<tr>
<td><p align="justify">Debian</p></td>
<td><p>Debian</p></td>
<td><code>apt-show-versions -u -b</code></td>
<td><code>0</code></td>
</tr>
<tr>
<td><p align="justify">Ubuntu</p></td>
<td><p>Ubuntu</p></td>
<td><code>aptitude search '~U'</code></td>
<td><code>0</code></td>
</tr>
<tr>
<td><p align="justify">Fedora</p></td>
<td><p>Fedora</p></td>
<td><code>yum list updates</code></td>
<td><code>3</code></td>
</tr>
<tr>
<td><p align="justify">FreeBSD</p></td>
<td><p>FreeBSD</p></td>
<td><code>pkg_version -I -l '<'</code></td>
<td><code>0</code></td>
</tr>
<tr>
<td><p align="justify">Mandriva</p></td>
<td><p>Mandriva</p></td>
<td><code>urpmq --auto-select</code></td>
<td><code>0</code></td>
</tr>
</table>
<p align="justify"><b>Music player:</b> Select one of supported music playes for player label.</p>
<p><b>Music player:</b> Select one of supported music playes for player label.</p>
<!-- end of config block -->
<!-- gui block -->
<h2><a name="gui" class="anchor" href="#gui"><span class="octicon octicon-link"></span></a>Graphical user interface</h2>
<h2><a name="screenshots" class="anchor" href="#screenshots"><span class="octicon octicon-link"></span></a>Screenshots</h2>
<p align="justify">Widget (clickable):<br>
<p>Widget (clickable):<br>
<a href="/resources/screenshots/pytextmonitor_widget.png"><img src="/resources/preview/pytextmonitor_widget_prev.jpg"></a><br>
Configuration window:<br>
<a href="/resources/screenshots/pytextmonitor_config_01.png"><img src="/resources/preview/pytextmonitor_config_01_prev.jpg"></a><br>

View File

@ -10,7 +10,7 @@ links:
---
<!-- info block -->
<h2><a name="info" class="anchor" href="#info"><span class="octicon octicon-link"></span></a>Information</h2>
<p align="justify">Daemon for starting jobs to queue of calculations. It was written as proof-of-concept.</p>
<p>Daemon for starting jobs to queue of calculations. It was written as proof-of-concept.</p>
{% highlight bash %}
$ queued --help
Simple daemon written on BASH for starting jobs to queue of calculations
@ -51,20 +51,20 @@ Parameters:
<h3><a name="instruction" class="anchor" href="#instruction"><span class="octicon octicon-link"></span></a>Instruction</h3>
<ul>
<li><p align="justify">Download an <a href="https://github.com/arcan1s/queued/releases">archive</a> with latest version of source files.</p></li>
<li><p align="justify">Extract it and install the application:</p>
<li><p>Download an <a href="https://github.com/arcan1s/queued/releases">archive</a> with latest version of source files.</p></li>
<li><p>Extract it and install the application:</p>
{% highlight bash %}
./install.sh "/path/to/root/"
{% endhighlight %}
<p align="justify">If you want install it to <code>/</code> you must run it as root, e.g.:</p>
<p>If you want install it to <code>/</code> you must run it as root, e.g.:</p>
{% highlight bash %}
sudo ./install.sh
{% endhighlight %}
<p align="justify">If no path is specified it will be installed to <code>/</code> by default.</p></li>
<p>If no path is specified it will be installed to <code>/</code> by default.</p></li>
</ul>
<h3><a name="dependencies" class="anchor" href="#dependencies"><span class="octicon octicon-link"></span></a>Dependencies</h3>
<p align="justify">I want note that all were tested on latest version of dependencies.</p>
<p>I want note that all were tested on latest version of dependencies.</p>
<ul>
<li>Bash (including awk, grep, sed)</li>
<li>systemd <i>(optional, service file)</i></li>
@ -73,27 +73,27 @@ sudo ./install.sh
<!-- howto block -->
<h2><a name="howto" class="anchor" href="#howto"><span class="octicon octicon-link"></span></a>How to use</h2>
<p align="justify">If you want to start the daemon just run</p>
<p>If you want to start the daemon just run</p>
{% highlight bash %}
systemctl start queued
{% endhighlight %}
<p align="justify">If you want to enable daemon autoload run</p>
<p>If you want to enable daemon autoload run</p>
{% highlight bash %}
systemctl enable queued
{% endhighlight %}
<p align="justify">But you may change path to configuration file or change parameters. To do it just copy (recommended) the source configuration file to new path</p>
<p>But you may change path to configuration file or change parameters. To do it just copy (recommended) the source configuration file to new path</p>
{% highlight bash %}
cp /etc/queued.conf /path/to/new/queued.conf
{% endhighlight %}
<p align="justify">and edit it. Then copy the source service file to <code>/etc</code>:</p>
<p>and edit it. Then copy the source service file to <code>/etc</code>:</p>
{% highlight bash %}
cp /usr/lib/systemd/system/queued.service /etc/systemd/system/queued-my-profile.service
{% endhighlight %}
<p align="justify">Replace following string in the file:</p>
<p>Replace following string in the file:</p>
{% highlight bash %}
ExecStart=/usr/bin/queued
{% endhighlight %}
<p align="justify">to</p>
<p>to</p>
{% highlight bash %}
ExecStart=/usr/bin/queued -c /path/to/new/queued.conf
{% endhighlight %}
@ -105,10 +105,10 @@ ExecStart=/usr/bin/queued -c /path/to/new/queued.conf
<li>Create user file (<code>script.sh.user</code>) with the job username if it is needed.</li>
<li>Copy files to <code>$WORKDIR</code>.</li>
</ol>
<p align="justify">Also you may use <code>add_queued</code>.</p>
<p>Also you may use <code>add_queued</code>.</p>
<h2><a name="configuration" class="anchor" href="#configuration"><span class="octicon octicon-link"></span></a>Configuration</h2>
<p align="justify">All settings are stored in <code>/etc/queued.conf</code>. After edit them you must restart daemon</p>
<p>All settings are stored in <code>/etc/queued.conf</code>. After edit them you must restart daemon</p>
{% highlight bash %}
systemctl restart queued
{% endhighlight %}
@ -119,27 +119,27 @@ systemctl restart queued
<table>
<tr>
<th>WORKDIR</th>
<td><p align="justify">Full path to directory with source jobs. Default is <code>/var/lib/queued/work</code>. This directory must contain source scripts <code>script-name</code>, a priority file (it is not necessary) <code>script-name.pr</code> and a file with username (it is not necessary too) <code>script-name.user</code>.</p></td>
<td><p>Full path to directory with source jobs. Default is <code>/var/lib/queued/work</code>. This directory must contain source scripts <code>script-name</code>, a priority file (it is not necessary) <code>script-name.pr</code> and a file with username (it is not necessary too) <code>script-name.user</code>.</p></td>
</tr>
<tr>
<th>JOBDIR</th>
<td><p align="justify">Full path to directory with running jobs. Default is <code>/var/lib/queued/job</code>. All job files will be moved here.</p></td>
<td><p>Full path to directory with running jobs. Default is <code>/var/lib/queued/job</code>. All job files will be moved here.</p></td>
</tr>
<tr>
<th>QUEUEFILE</th>
<td><p align="justify">Full path to file with queue list. Default is <code>/var/lib/queued/queue</code>.</td>
<td><p>Full path to file with queue list. Default is <code>/var/lib/queued/queue</code>.</td>
</tr>
<tr>
<th>PRIORITY</th>
<td><p align="justify">Default priority. Default is <code>0</code>. The higher the value, the higher the priority of the task.</td>
<td><p>Default priority. Default is <code>0</code>. The higher the value, the higher the priority of the task.</td>
</tr>
<tr>
<th>SLEEPTIME</th>
<td><p align="justify">Time interval in minutes. Default is <code>5</code>.</td>
<td><p>Time interval in minutes. Default is <code>5</code>.</td>
</tr>
<tr>
<th>STARTASUSER</th>
<td><p align="justify">Default user. Default is <code>root</code>. This user will own created files.</td>
<td><p>Default user. Default is <code>root</code>. This user will own created files.</td>
</tr>
</table>
<!-- end of config block -->