mirror of
https://github.com/arcan1s/arcanis.me.git
synced 2025-04-24 23:37:19 +00:00
translated all pages except blog
This commit is contained in:
parent
61a823861a
commit
0ccc6bc847
2
404.html
2
404.html
@ -38,7 +38,7 @@
|
||||
|
||||
<img src="/resources/pinkiepie.png" alt="pinkiepie">
|
||||
|
||||
<p align="justify">I'm Pinkie Pie. You are seeing me because you want a page that I could not find. I'm sorry. Seriously. I'll try to work better. But now I may suggest you to return to the <a href="/">Homepage</a> or <a href="javascript:history.back()">back</a>.</p>
|
||||
<p align="justify">I'm Pinkie Pie. You are seeing me because you want a page that I could not find. I'm sorry. Seriously. I'll try to work better. But now I may suggest you to return to the <a href="/">Home</a> or <a href="javascript:history.back()">back</a>.</p>
|
||||
|
||||
</section>
|
||||
<footer>
|
||||
|
@ -1,5 +1,5 @@
|
||||
{% if page.category == "ru" %}
|
||||
<p class="view"><a href="/ru">Домашняя страница</a></p>
|
||||
<p class="view"><a href="/ru">Главная</a></p>
|
||||
{% else %}
|
||||
<p class="view"><a href="/">Back to Homepage</a></p>
|
||||
<p class="view"><a href="/">Home</a></p>
|
||||
{% endif %}
|
||||
|
@ -1,7 +1,7 @@
|
||||
{% if page.category == "ru" %}
|
||||
<p class="view"><a href="javascript:history.back()">Назад</a><br>
|
||||
<a href="/ru">Домашняя страница</a></p>
|
||||
<a href="/ru">Главная</a></p>
|
||||
{% else %}
|
||||
<p class="view"><a href="javascript:history.back()">Back</a><br>
|
||||
<a href="/">Back to Homepage</a></p>
|
||||
<a href="/">Home</a></p>
|
||||
{% endif %}
|
||||
|
@ -38,7 +38,7 @@ layout: default
|
||||
{% if page.category == "ru" %}
|
||||
<h2><a name="links" class="anchor" href="#links"><span class="octicon octicon-link"></span></a>Ссылки</h2>
|
||||
<ul>
|
||||
<li><a href="https://github.com/arcan1s/{{ page.short }}">Репозиторий на GitHub</a></li>
|
||||
<li>Репозиторий на <a href="https://github.com/arcan1s/{{ page.short }}">GitHub</a></li>
|
||||
<li><a href="https://github.com/arcan1s/{{ page.short }}/releases">Последний релиз</a></li>
|
||||
{% else %}
|
||||
<h2><a name="links" class="anchor" href="#links"><span class="octicon octicon-link"></span></a>Links</h2>
|
||||
|
@ -1,67 +0,0 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="chrome=1">
|
||||
<title>arcanis' homepage</title>
|
||||
<meta name="author" content="Evgeniy Alekseev" />
|
||||
<meta name="description" content="arcanis' homepage" />
|
||||
<link rel="license" type="text/html" href="/authors" />
|
||||
|
||||
<link rel="stylesheet" href="/resources/css/styles.css">
|
||||
<link rel="shortcut icon" href="/resources/icon.ico">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
|
||||
<!--[if lt IE 9]>
|
||||
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript">var switchTo5x=false;</script>
|
||||
<script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script>
|
||||
<script type="text/javascript">stLight.options({publisher: "70dd9cde-7276-47af-8de7-9c43883daf2b", doNotHash: false, doNotCopy: false, hashAddressBar: false});</script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="wrapper">
|
||||
<header>
|
||||
<h1>arcanis' homepage</h1>
|
||||
<p class="view"><a href="/blog/">My blog</a><br>
|
||||
<a href="/projects/">My projects</a></p>
|
||||
<p class="view"><a href="/about">About me</a></p>
|
||||
</header>
|
||||
<section>
|
||||
|
||||
<h3><a name="welcome" class="anchor" href="#welcome"><span class="octicon octicon-link"></span></a>Welcome</h3>
|
||||
<p align="justify">Welcome to my homepage, <code>`echo $USERNAME`</code>. About me you may read on <a href="/about">the link</a>. I'm sorry I don't know html/php/ruby/etc (but I know GoogleFOO! At least, I think so), therefore this page may not look very pretty. But I tried (or may be not). In the blog I will write some papers about programming, living in Archlinux system and may be package maintaining. Also I will create pages for some of <a href="https://github.com/arcan1s">my projects</a>.</p>
|
||||
|
||||
<h3><a name="contact" class="anchor" href="#contact"><span class="octicon octicon-link"></span></a>Contact me</h3>
|
||||
<p align="justify">If you have a question or something else you may <a href="/about">contact me</a>. If you want to suggest a pull request or to create a bug report for these pages (or may be for some other projects) feel free to visit <a href="https://github.com/arcan1s">my Github profile</a> and do it.</p>
|
||||
|
||||
<h3><a name="search" class="anchor" href="#search"><span class="octicon octicon-link"></span></a>Site search</h3>
|
||||
<script>
|
||||
(function() {
|
||||
var cx = '000833618047197874644:rilf4jpvgyo';
|
||||
var gcse = document.createElement('script');
|
||||
gcse.type = 'text/javascript';
|
||||
gcse.async = true;
|
||||
gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
|
||||
'//www.google.com/cse/cse.js?cx=' + cx;
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(gcse, s);
|
||||
})();
|
||||
</script>
|
||||
<gcse:search></gcse:search>
|
||||
|
||||
</section>
|
||||
<footer>
|
||||
<p><span class='st_vkontakte'></span>
|
||||
<span class='st_facebook'></span>
|
||||
<span class='st_twitter'></span>
|
||||
<span class='st_googleplus'></span>
|
||||
<span class='st_livejournal'></span><br>
|
||||
<small>Hosted on GitHub Pages. <a href="/authors">Authors</a></small></p>
|
||||
<p><a href="/ru/"><img src="/resources/ru.png"></a></p>
|
||||
</footer>
|
||||
</div>
|
||||
<script src="/resources/js/scale.fix.js"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -57,9 +57,9 @@ See "man 1 ctrlconf" for more details</pre>
|
||||
<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>
|
||||
<pre>./install.sh "/path/to/root/package"</pre>
|
||||
<pre>./install.sh "/path/to/root"</pre>
|
||||
<p align="justify">If you want install it to <code>/</code> you must run it as root, e.g.:</p>
|
||||
<pre>sudo ./install.sh "/path/to/root/package"</pre>
|
||||
<pre>sudo ./install.sh</pre>
|
||||
<p align="justify">If no path is specified it will be installed to <code>/</code> by default.</p></li>
|
||||
</ul>
|
||||
|
||||
@ -104,7 +104,7 @@ See "man 1 ctrlconf" for more details</pre>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>TIMESLEEP</th>
|
||||
<td><p align="justify">Time interval between updates. It must be integer and >= 1. Default is <code>12</code>.</p></td>
|
||||
<td><p align="justify">Time interval between updates, hours. It must be integer and >= 1. Default is <code>12</code>.</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>IGNORELIST</th>
|
||||
|
@ -36,13 +36,13 @@ links:
|
||||
<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>
|
||||
<pre>cd /where/your/applet/is/installed
|
||||
<pre>cd /where/is/applet/
|
||||
mkdir build && cd build
|
||||
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` -DCMAKE_BUILD_TYPE=Release ../
|
||||
make
|
||||
sudo make install</pre>
|
||||
<p align="justify">For local isntallation type:</p>
|
||||
<pre>cd /where/your/applet/is/installed
|
||||
<pre>cd /where/is/applet/
|
||||
mkdir build && cd build
|
||||
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --localprefix` -DCMAKE_BUILD_TYPE=Release ../
|
||||
make
|
||||
@ -64,7 +64,7 @@ make install</pre></li>
|
||||
|
||||
<!-- 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>Oblikue strategies</code>.</p>
|
||||
<p align="justify">Open your Plasma widgets and select <code>Oblikue strategies</code>.</p>
|
||||
<!-- end of howto block -->
|
||||
|
||||
<!-- config block -->
|
||||
|
@ -37,21 +37,21 @@ links:
|
||||
<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 the DataEngine:</p>
|
||||
<pre>cd /where/your/applet/is/installed
|
||||
<pre>cd /where/is/applet/
|
||||
mkdir build && cd build
|
||||
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --localprefix` -DCMAKE_BUILD_TYPE=Release ../
|
||||
make
|
||||
make install</pre>
|
||||
<p align="justify">For global isntallation type:</p>
|
||||
<pre>cd /where/your/applet/is/installed
|
||||
<pre>cd /where/is/applet/
|
||||
mkdir build && cd build
|
||||
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --localprefix` -DCMAKE_BUILD_TYPE=Release ../
|
||||
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` -DCMAKE_BUILD_TYPE=Release ../
|
||||
make
|
||||
make install</pre></li>
|
||||
sudo make install</pre></li>
|
||||
<li><p align="justify">Install the Plasmoid:</p>
|
||||
<pre>plasmapkg -i py-text-monitor-1.5.0.plasmoid</pre>
|
||||
<p align="justify">For global isntallation type:</p>
|
||||
<pre>plasmapkg -g -i py-text-monitor-1.5.0.plasmoid</pre></li>
|
||||
<pre>sudo plasmapkg -g -i py-text-monitor-1.5.0.plasmoid</pre></li>
|
||||
</ul>
|
||||
|
||||
<h3><a name="dependencies" class="anchor" href="#dependencies"><span class="octicon octicon-link"></span></a>Dependencies</h3>
|
||||
@ -183,7 +183,7 @@ make install</pre></li>
|
||||
<tr>
|
||||
<th rowspan="1">HDD usage label</th>
|
||||
<td><code>@@/@@</code></td>
|
||||
<td><p align="justify">mount point (<code>/</code> in example) usage, %, <code>-----</code>. Separator for mount points list is <code>;</code>, for example <code>@@/;/home;/mnt/global@@</code></p></td>
|
||||
<td><p align="justify">Mount point (<code>/</code> in example) usage, %, <code>-----</code>. Separator for mount points list is <code>;</code>, for example <code>@@/;/home;/mnt/global@@</code></p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th rowspan="1">HDD temperature label</th>
|
||||
@ -230,5 +230,5 @@ make install</pre></li>
|
||||
<h2><a name="screenshots" class="anchor" href="#screenshots"><span class="octicon octicon-link"></span></a>Screenshots</h2>
|
||||
<p align="justify">Widget (clickable):<br>
|
||||
<a href="/resources/screenshots/pytextmonitor_widget.png"><img src="/resources/preview/pytextmonitor_widget_prev.jpg"></a><br>
|
||||
Configuration window::<br>
|
||||
Configuration window:<br>
|
||||
<a href="/resources/screenshots/pytextmonitor_config.png"><img src="/resources/preview/pytextmonitor_config_prev.jpg"></a></p>
|
||||
|
@ -51,9 +51,9 @@ Parameters:
|
||||
<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>
|
||||
<pre>./install.sh "/path/to/root/package"</pre>
|
||||
<pre>./install.sh "/path/to/root/"</pre>
|
||||
<p align="justify">If you want install it to <code>/</code> you must run it as root, e.g.:</p>
|
||||
<pre>sudo ./install.sh "/path/to/root/package"</pre>
|
||||
<pre>sudo ./install.sh</pre>
|
||||
<p align="justify">If no path is specified it will be installed to <code>/</code> by default.</p></li>
|
||||
</ul>
|
||||
|
||||
@ -82,10 +82,10 @@ Parameters:
|
||||
|
||||
<h3><a name="adding" class="anchor" href="#adding"><span class="octicon octicon-link"></span></a>Adding a job</h3>
|
||||
<ol>
|
||||
<li>Create shell script with the command (e.g. it have a name <code>script.sh</code>)</li>
|
||||
<li>Create priority file (<code>script.sh.pr</code>) with the job priority if it is needed</li>
|
||||
<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>
|
||||
<li>Create shell script with the command (e.g. it have a name <code>script.sh</code>).</li>
|
||||
<li>Create priority file (<code>script.sh.pr</code>) with the job priority if it is needed.</li>
|
||||
<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>
|
||||
|
||||
|
@ -28,7 +28,7 @@
|
||||
|
||||
<img src="/resources/pinkiepie.png" alt="pinkiepie">
|
||||
|
||||
<p align="justify">Я Пинки Пай. Ты видишь меня, потому что ты хочешь страницу, которую я не смогла найти. Мне очень жаль. Нет, честно-честно. В будущем я постараюсь работать лучше, а сейчас могу предложить вернуться на <a href="/ru">домашнюю страницу</a> или <a href="javascript:history.back()">назад</a>.</p>
|
||||
<p align="justify">Я Пинки Пай. Ты видишь меня, потому что ты хочешь страницу, которую я не смогла найти. Мне очень жаль. Нет, честно-честно. В будущем я постараюсь работать лучше, а сейчас могу предложить вернуться на <a href="/ru">главную</a> или <a href="javascript:history.back()">назад</a>.</p>
|
||||
|
||||
</section>
|
||||
<footer>
|
||||
|
@ -1,7 +1,7 @@
|
||||
---
|
||||
category: ru
|
||||
layout: default
|
||||
title: arcanis' blog
|
||||
title: Блог
|
||||
comment: false
|
||||
share: false
|
||||
back: 1
|
||||
@ -22,9 +22,9 @@ back: 1
|
||||
|
||||
{% if paginator.total_pages > 1 %}
|
||||
{% if paginator.previous_page %}
|
||||
<a href="/ru{{ paginator.previous_page_path }}">« Prev</a>
|
||||
<a href="/ru{{ paginator.previous_page_path }}">« Предыдущая</a>
|
||||
{% else %}
|
||||
<span>« Prev</span>
|
||||
<span>« Предыдущая</span>
|
||||
{% endif %}
|
||||
|
||||
{% for page in (1..paginator.total_pages) %}
|
||||
@ -38,9 +38,9 @@ back: 1
|
||||
{% endfor %}
|
||||
|
||||
{% if paginator.next_page %}
|
||||
<a href="/ru{{ paginator.next_page_path }}">Next »</a>
|
||||
<a href="/ru{{ paginator.next_page_path }}">Следующая »</a>
|
||||
{% else %}
|
||||
<span>Next »</span>
|
||||
<span>Следующая »</span>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
|
@ -11,8 +11,8 @@ title: arcanis
|
||||
<header>
|
||||
<h1>{{ page.title }}</h1>
|
||||
|
||||
<p class="view"><a href="/ru/blog/">Мой блог</a><br>
|
||||
<a href="/ru/projects/">Мои проекты</a></p>
|
||||
<p class="view"><a href="/ru/blog/">Блог</a><br>
|
||||
<a href="/ru/projects/">Проекты</a></p>
|
||||
<p class="view"><a href="/ru/about">Обо мне</a></p>
|
||||
|
||||
</header>
|
||||
|
@ -4,17 +4,17 @@ layout: project
|
||||
title: git-etc
|
||||
short: git-etc
|
||||
commentIssueId: 1
|
||||
description: Simple daemon for monitoring changes in files
|
||||
description: Простой демон для контроля изменений в файлах
|
||||
hasgui: true
|
||||
developers:
|
||||
- Evgeniy Alelseev
|
||||
license: GPLv3
|
||||
links:
|
||||
- Archlinux <a href="https://aur.archlinux.org/packages/git-etc">AUR package</a>
|
||||
- Пакет в <a href="https://aur.archlinux.org/packages/git-etc">AUR</a>
|
||||
---
|
||||
<!-- 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>
|
||||
<h2><a name="info" class="anchor" href="#info"><span class="octicon octicon-link"></span></a>Информация</h2>
|
||||
<p align="justify">Простой демон, который создает git репозиторий в указанной директории и создает коммит в указанный промежуток времени.</p>
|
||||
<pre>$ git-etc --help
|
||||
Simple daemon written on BASH for monitoring changes in files
|
||||
|
||||
@ -38,103 +38,102 @@ Additional parametrs:
|
||||
|
||||
See "man 1 ctrlconf" for more details</pre>
|
||||
|
||||
<h3><a name="devel" class="anchor" href="#devel"><span class="octicon octicon-link"></span></a>Developers and contributors</h3>
|
||||
<h3><a name="devel" class="anchor" href="#devel"><span class="octicon octicon-link"></span></a>Разработчики</h3>
|
||||
<ul>
|
||||
{% for devel in page.developers %}
|
||||
<li>{{ devel }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
<h3><a name="license" class="anchor" href="#license"><span class="octicon octicon-link"></span></a>License</h3>
|
||||
<h3><a name="license" class="anchor" href="#license"><span class="octicon octicon-link"></span></a>Лицензия</h3>
|
||||
<ul>
|
||||
<li>{{ page.license }}</li>
|
||||
</ul>
|
||||
<!-- end of info block -->
|
||||
|
||||
<!-- install block -->
|
||||
<h2><a name="install" class="anchor" href="#install"><span class="octicon octicon-link"></span></a>Installation</h2>
|
||||
<h2><a name="install" class="anchor" href="#install"><span class="octicon octicon-link"></span></a>Установка</h2>
|
||||
|
||||
<h3><a name="instruction" class="anchor" href="#instruction"><span class="octicon octicon-link"></span></a>Instruction</h3>
|
||||
<h3><a name="instruction" class="anchor" href="#instruction"><span class="octicon octicon-link"></span></a>Инструкция</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>
|
||||
<pre>./install.sh "/path/to/root/package"</pre>
|
||||
<p align="justify">If you want install it to <code>/</code> you must run it as root, e.g.:</p>
|
||||
<pre>sudo ./install.sh "/path/to/root/package"</pre>
|
||||
<p align="justify">If no path is specified it will be installed to <code>/</code> by default.</p></li>
|
||||
<li><p align="justify">Скачайте <a href="https://github.com/arcan1s/git-etc/releases">архив</a> с актуальной версией исходных файлов.</p></li>
|
||||
<li><p align="justify">Извлеките из него файлы и установите приложение:</p>
|
||||
<pre>./install.sh "/путь/к/корню/"</pre>
|
||||
<p align="justify">Если Вы хотите установить в <code>/</code>, Вы должны запустить это, как root:</p>
|
||||
<pre>sudo ./install.sh</pre>
|
||||
<p align="justify">Если путь не указан, пакет будет установлен в <code>/</code>.</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 align="justify">Все было протестировано на последних версиях зависимостей.</p>
|
||||
<ul>
|
||||
<li>Bash (including awk, grep, sed)</li>
|
||||
<li>Bash (включая awk, grep, sed)</li>
|
||||
<li>git</li>
|
||||
<li>python2 <i>(make)</i></li>
|
||||
<li>systemd <i>(optional, service file)</i></li>
|
||||
<li>python2-pyqt4 <i>(optional, GUI)</i></li>
|
||||
<li>xterm <i>(optional, GUI)</i></li>
|
||||
<li>systemd <i>(опционально, service-файл)</i></li>
|
||||
<li>python2-pyqt4 <i>(опционально, GUI)</i></li>
|
||||
<li>xterm <i>(опционально, GUI)</i></li>
|
||||
</ul>
|
||||
<!-- end of install block -->
|
||||
|
||||
<!-- 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>
|
||||
<h2><a name="howto" class="anchor" href="#howto"><span class="octicon octicon-link"></span></a>Использование</h2>
|
||||
<p align="justify">Если Вы хотите запустить демон в <code>/etc</code>, просто запустите</p>
|
||||
<pre>systemctl start git-etc</pre>
|
||||
<p align="justify">If you want to enable daemon autoload run</p>
|
||||
<p align="justify">Если Вы хотите включить автозагрузку демона, запутите</p>
|
||||
<pre>systemctl enable git-etc</pre>
|
||||
<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>
|
||||
<pre>cp /etc/git-etc.conf /new/path/to/file/git-etc.conf</pre>
|
||||
<p align="justify">and edit it. Then copy the source service file to <code>/etc</code>:</p>
|
||||
<p align="justify">Но Вы можете изменить путь к конфигурационному файлу или изменить параметры. Для этого, скопируйте (рекомендуется) исходный конфигурационный файл</p>
|
||||
<pre>cp /etc/git-etc.conf /новый/путь/к/git-etc.conf</pre>
|
||||
<p align="justify">и отредактируйте его. Затем скопируйте исходный service-файл в <code>/etc</code>:</p>
|
||||
<pre>cp /usr/lib/systemd/system/git-etc.service /etc/systemd/system/git-etc-my-profile.service</pre>
|
||||
<p align="justify">Replace following string in the file:</p>
|
||||
<p align="justify">Замените следующую строку в этом файле:</p>
|
||||
<pre>ExecStart=/usr/bin/git-etc -c /etc/git-etc.conf</pre>
|
||||
<p align="justify">to</p>
|
||||
<pre>ExecStart=/usr/bin/git-etc -c /new/path/to/file/git-etc.conf</pre>
|
||||
<p align="justify">на</p>
|
||||
<pre>ExecStart=/usr/bin/git-etc -c /новый/путь/к/git-etc.conf</pre>
|
||||
<!-- 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">All settings are stored in <code>/etc/git-etc.conf</code>. After edit them you must restart daemon</p>
|
||||
<h2><a name="config" class="anchor" href="#config"><span class="octicon octicon-link"></span></a>Настройка</h2>
|
||||
<p align="justify">Все настройки хранятся в <code>/etc/git-etc.conf</code>. После редактирования, Вы должны перезапустить демон</p>
|
||||
<pre>systemctl restart git-etc</pre>
|
||||
|
||||
<h3><a name="options" class="anchor" href="#options"><span class="octicon octicon-link"></span></a>Options</h3>
|
||||
<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 align="justify">Полный путь к рабочей директории с наблюдаемыми файлами. По умолчанию <code>/etc</code>.</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>TIMESLEEP</th>
|
||||
<td><p align="justify">Time interval between updates. It must be integer and >= 1. Default is <code>12</code>.</p></td>
|
||||
<td><p align="justify">Промежуток времени между обновлениями, часы. Должно быть целым и >= 1. По умолчанию <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 align="justify">Список файлов, которые не будут наблюдаться. Разделитель ";;". Может быть пустым.</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 align="justify"><code>1</code> включит доступ для обычного пользователя. По умолчанию <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>
|
||||
<h2><a name="gui" class="anchor" href="#gui"><span class="octicon octicon-link"></span></a>Графический интерфейс</h2>
|
||||
<p align="justify">Control Config (<code>ctrlconf</code>) - графический интерфейс для <code>git-etc</code>, написанный на <code>Python2/PyQt4</code>. Данное приложение позволяет Вам увидеть список коммитов и изменения в файлах в данных коммитах. Также данное приложение позволит Вам откатиться на указанный коммит (все файлы, посредством <code>git reset --hard</code>, или только указанный, посредством <code>git diff && git apply</code>). Также Вы можете объединить старый и новый конфигурационные файлы (используются две ветки репозитория master и experimental). Приложение может потребовать привелегии root, убедитесь, что пакет <code>sudo</code> установлен.</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>
|
||||
<h3><a name="gui_configuration" class="anchor" href="#gui_configuration"><span class="octicon octicon-link"></span></a>Настройка</h3>
|
||||
<p align="justify">Запустите приложение и откройте окно настроек из меню.</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>
|
||||
<h3><a name="screenshots" class="anchor" href="#screenshots"><span class="octicon octicon-link"></span></a>Скриншоты</h3>
|
||||
<p align="justify">Основное окно:<br>
|
||||
<a href="/resources/screenshots/git-etc_mainwindow.png"><img src="/resources/preview/git-etc_mainwindow_prev.jpg"></a><br>
|
||||
About window:<br>
|
||||
Окно "О программе":<br>
|
||||
<a href="/resources/screenshots/git-etc_aboutwindow.png"><img src="/resources/preview/git-etc_aboutwindow_prev.jpg"></a><br>
|
||||
Commit changes window:<br>
|
||||
Окно с просмотром изменений при коммите:<br>
|
||||
<a href="/resources/screenshots/git-etc_commitwindow.png"><img src="/resources/preview/git-etc_commitwindow_prev.jpg"></a><br>
|
||||
Merging window:<br>
|
||||
Окно объединения:<br>
|
||||
<a href="/resources/screenshots/git-etc_mergingwindow.png"><img src="/resources/preview/git-etc_mergingwindow_prev.jpg"></a><br>
|
||||
Roll back window:<br>
|
||||
Окно отката:<br>
|
||||
<a href="/resources/screenshots/git-etc_rollbackwindow.png"><img src="/resources/preview/git-etc_rollbackwindow_prev.jpg"></a></p>
|
||||
<!-- end of gui block -->
|
||||
|
@ -1,97 +1,97 @@
|
||||
---
|
||||
category: ru
|
||||
layout: default
|
||||
title: arcanis' projects
|
||||
title: Проекты
|
||||
comment: false
|
||||
share: true
|
||||
back: 1
|
||||
groups:
|
||||
- title: Linux daemons
|
||||
short: daemons
|
||||
projects:
|
||||
- title: git-etc
|
||||
short: git-etc
|
||||
description: <code>git-etc</code> is a simple daemon that automatically creates git repository in the given directory and creates commit at the specified time interval. It is written on <code>Bash</code>. It is also has a simple Graphical user interface written on <code>Python2</code> (<code>pyqt4</code>) for work with the created repository.
|
||||
links:
|
||||
- <a href="/projects/git-etc">Homepage</a>
|
||||
- <a href="https://github.com/arcan1s/git-etc">GitHub repo</a>
|
||||
- Archlinux <a href="https://aur.archlinux.org/packages/git-etc">AUR package</a>
|
||||
- title: queued
|
||||
short: queued
|
||||
description: <code>queued</code> is daemon for starting jobs to queue of calculations. It was written on <code>Bash</code> created as proof-of-concept.
|
||||
links:
|
||||
- <a href="/projects/queued">Homepage</a>
|
||||
- <a href="https://github.com/arcan1s/queued">GitHub repo</a>
|
||||
- title: KDE widgets
|
||||
- title: Виджеты KDE
|
||||
short: widgets
|
||||
projects:
|
||||
- title: DeadLine widget
|
||||
short: deadline
|
||||
description: <code>DeadLine widget</code> is a Plasmoid script written on <code>Python2</code>. It is able to create jobs, and add reminders to them. Now this project has a pre-alpha stage. Someday maybe I will complete it.
|
||||
description: <code>DeadLine widget</code> плазмоид, написанный на <code>Python2</code>. Может создавать задачи и добавлять напоминания к ним. Сейчас этот проект находится в состоянии пре-альфа. Может быть когда-нибудь я доделаю его.
|
||||
links:
|
||||
- <a href="https://github.com/arcan1s/deadlinewidget">GitHub repo</a>
|
||||
- Репозиторий на <a href="https://github.com/arcan1s/deadlinewidget">GitHub</a>
|
||||
- title: Oblikue strategies
|
||||
short: oblikuestrategies
|
||||
description: <code>oblikue-strategies</code> is a 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.
|
||||
description: <code>oblikue-strategies</code> плазмоид, написанный на <code>CPP</code>, который показывает случайные карты из Brian Eno и Peter Schmidt's <a href="http://en.wikipedia.org/wiki/Oblique_strategies">Oblique Strategies</a>. Это форк <a href="http://gnome-look.org/content/show.php/Oblique+Strategies?content=78405">апплета для GNOME</a> с некоторыми дополнительными фичами.
|
||||
links:
|
||||
- <a href="/projects/oblikuestrategies">Homepage</a>
|
||||
- <a href="https://github.com/arcan1s/oblikuestrategies">GitHub repo</a>
|
||||
- Page on <a href="http://kde-look.org/content/show.php/oblikue-strategies?content=160503">kde-look.org</a>
|
||||
- Archlinux <a href="https://aur.archlinux.org/packages/kdeplasma-applets-oblikuestrategies">AUR package</a>
|
||||
- <a href="/ru/projects/oblikuestrategies">Домашняя страница</a>
|
||||
- Репозиторий на <a href="https://github.com/arcan1s/oblikuestrategies">GitHub</a>
|
||||
- Страница на <a href="http://kde-look.org/content/show.php/oblikue-strategies?content=160503">kde-look.org</a>
|
||||
- Пакет в <a href="https://aur.archlinux.org/packages/kdeplasma-applets-oblikuestrategies">AUR</a>
|
||||
- title: Open on desktop
|
||||
short: openondesktop
|
||||
description: <code>Open on desktop</code> is a dropbox menu for <a href="http://dolphin.kde.org">Dolhpin</a>. It creates a group in the context menu, which opens a file to the specified desktop when clicked. It has an install script written on <code>Bash</code>.
|
||||
description: <code>Open on desktop</code> выпадающее меню для <a href="http://dolphin.kde.org">Dolhpin</a>. Создает группу в контексстном меню, которое позволяет открыть файл на указанном рабочем столе. Имеет установочный скрипт, который написан на <code>Bash</code>.
|
||||
links:
|
||||
- <a href="https://github.com/arcan1s/openondesktop">GitHub repo</a>
|
||||
- Репозиторий на <a href="https://github.com/arcan1s/openondesktop">GitHub</a>
|
||||
- title: py-text-monitor
|
||||
short: pytextmonitor
|
||||
description: <code>py-text-monitor</code> is 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>).
|
||||
description: <code>py-text-monitor</code> минималистичный плазмоид, написанный на <code>Python2</code>. Он выглядит, как виджеты в <a href="http://awesome.naquadah.org/">Awesome WM</a>. Мой плазмоид хорошо и легко настраивается и не засоряет Ваш KDE. Также этот пакет имеет дополнительный <a href="http://techbase.kde.org/Development/Tutorials/Plasma/DataEngines">DataEngine</a>, который написан на <code>CPP</code> (старые версии были написаны на <code>Python2</code>).
|
||||
links:
|
||||
- <a href="/projects/pytextmonitor">Homepage</a>
|
||||
- <a href="https://github.com/arcan1s/pytextmonitor">GitHub repo</a>
|
||||
- Plasmoid page on <a href="http://kde-look.org/content/show.php/Py+Text+Monitor?content=157124">kde-look.org</a>
|
||||
- DataEngine page on <a href="http://kde-look.org/content/show.php/Extended+Systemmonitor+DataEngine?content=158773">kde-look.org</a>
|
||||
- Archlinux <a href="https://aur.archlinux.org/packages/kdeplasma-applets-pytextmonitor">AUR package</a>
|
||||
- <a href="/ru/projects/pytextmonitor">Домашняя страница</a>
|
||||
- Репозиторий на <a href="https://github.com/arcan1s/pytextmonitor">GitHub</a>
|
||||
- Страница плазмоида на <a href="http://kde-look.org/content/show.php/Py+Text+Monitor?content=157124">kde-look.org</a>
|
||||
- Страница DataEngine на <a href="http://kde-look.org/content/show.php/Extended+Systemmonitor+DataEngine?content=158773">kde-look.org</a>
|
||||
- Пакет в <a href="https://aur.archlinux.org/packages/kdeplasma-applets-pytextmonitor">AUR</a>
|
||||
- title: Kit system monitor
|
||||
short: sysmon
|
||||
description: <code>Kit System Monitor</code> is a system information and hardware monitor based on EG Sysmon. It is written on HTML-like language for <a href="http://netdragon.sourceforge.ne/">SuperKaramba</a> and has simple install script written on <code>Python2</code>. It is my first Open Source Project.
|
||||
description: <code>Kit System Monitor</code> системный и хардварный монитор, основанный на EG Sysmon. Написан на языке, похожем на HTML, для <a href="http://netdragon.sourceforge.ne/">SuperKaramba</a> и имеет постой установочный скрипт, написанный на <code>Python2</code>. Это мой первый Open Source проект.
|
||||
links:
|
||||
- <a href="https://github.com/arcan1s/sysmon">GitHub repo</a>
|
||||
- Page on <a href="http://kde-look.org/content/show.php/Kit+System+Monitor?content=155246">kde-look.org</a>
|
||||
- title: Scientific programs
|
||||
- Репозиторий на <a href="https://github.com/arcan1s/sysmon">GitHub</a>
|
||||
- Страница на <a href="http://kde-look.org/content/show.php/Kit+System+Monitor?content=155246">kde-look.org</a>
|
||||
- title: Демоны
|
||||
short: daemons
|
||||
projects:
|
||||
- title: git-etc
|
||||
short: git-etc
|
||||
description: <code>git-etc</code> простой демон, который создает git репозиторий в указанной директории и создает коммит в указанный промежуток времени. Он написан на <code>Bash</code>. Также имеет простой графический интерфейс, написанный на <code>Python2</code> (<code>pyqt4</code>) для работы с созданным репозиторием.
|
||||
links:
|
||||
- <a href="/ru/projects/git-etc">Домашняя страница</a>
|
||||
- Репозиторий на <a href="https://github.com/arcan1s/git-etc">GitHub</a>
|
||||
- Пакет в <a href="https://aur.archlinux.org/packages/git-etc">AUR</a>
|
||||
- title: queued
|
||||
short: queued
|
||||
description: <code>queued</code> демон для старта задач в очередь вычислений. Написан на <code>Bash</code>, создан как proof-of-concept.
|
||||
links:
|
||||
- <a href="/ru/projects/queued">Домашняя страница</a>
|
||||
- Репозиторий на <a href="https://github.com/arcan1s/queued">GitHub</a>
|
||||
- title: Научные программы
|
||||
short: science
|
||||
projects:
|
||||
- title: Molecular dynamic
|
||||
- title: Молекулярная динамика
|
||||
short: moldyn
|
||||
description: They are represented by a single repository. It contains some programs for analysis of molecular dynamic trajectories using statistical mechanics and some of maths methods (e.g. graph theory). Usualy backend programs are written on <code>C</code>, but sometimes on <code>Python2</code>. Some of these have a Graphical user interface written on <code>CPP</code>.
|
||||
description: Они представлены единственный репозиторием. Содержит некоторые программы для анализа молекулярно-динамических траекторий, используя методы статистической механики и некоторые математические (например, теория графов). Обычно, бекенд программы написаны на <code>C</code>, хотя иногда и на <code>Python2</code>. Некоторые из них имеют графический интерфейс, написанный на <code>CPP</code>.
|
||||
links:
|
||||
- <a href="/projects/moldyn">Homepage</a>
|
||||
- <a href="https://github.com/arcan1s/moldyn">GitHub repo</a>
|
||||
- title: Utilities
|
||||
- <a href="/ru/projects/moldyn">Домашняя страница</a>
|
||||
- Репозиторий на <a href="https://github.com/arcan1s/moldyn">GitHub</a>
|
||||
- title: Утилиты
|
||||
short: utilities
|
||||
projects:
|
||||
- title: extract_pkglist
|
||||
short: extpkg
|
||||
description: <code>extract_pkglist</code> a simple script written on <code>Python2</code> for creating list of installed packages in ArchLinux.
|
||||
description: <code>extract_pkglist</code> простой скрипт, написанный на <code>Python2</code> для создания списка установленных пакетов в ArchLinux.
|
||||
links:
|
||||
- <a href="https://github.com/arcan1s/extract_pkglist">GitHub repo</a>
|
||||
- Репозиторий на <a href="https://github.com/arcan1s/extract_pkglist">GitHub</a>
|
||||
- title: Food GUI
|
||||
short: foodgui
|
||||
description: <code>Food GUI</code> is a simple program-calculator that uses own database and written on <code>Python2</code>. It calculates proteins, fats, carbohydrates, food energy and glycemic index of eaten food. It is my first project with GUI and was made just-for-fun (and for my ex-girlfriend). It also has a binary version for Win64.
|
||||
description: <code>Food GUI</code> простая программа-калькулятор, использующая собственную базу данных. Написана на <code>Python2</code>. Рассчитывает белки, жиры и углеводы, а также калорийность и гликемический индекс съеденной пищи. Это мой первый проект с графическим интерфейсом и был написан just-for-fun (и для моей бывшей девушки). Также имеет бинарную версию под Win64.
|
||||
links:
|
||||
- <a href="https://github.com/arcan1s/food_gui">GitHub repo</a>
|
||||
- Archlinux <a href="https://aur.archlinux.org/packages/food_gui">AUR package</a>
|
||||
- Репозиторий на <a href="https://github.com/arcan1s/food_gui">GitHub</a>
|
||||
- Пакет в <a href="https://aur.archlinux.org/packages/food_gui">AUR</a>
|
||||
- title: julius-actions
|
||||
short: julius-actions
|
||||
description: <code>julius-actions</code> is a script written on <code>Python2</code> for work with <a href="http://julius.sourceforge.jp/en_index.php">julius</a>. It was made just-for-fun too in my spare time. Works normally, but I don't use it.
|
||||
description: <code>julius-actions</code> Скрипт, написанный на <code>Python2</code> для работы с <a href="http://julius.sourceforge.jp/en_index.php">julius</a>. Был сделан just-for-fun в мое свободное время. Работает нормально, но я им не пользуюсь.
|
||||
links:
|
||||
- <a href="https://github.com/arcan1s/julius-actions">GitHub repo</a>
|
||||
- Репозиторий на <a href="https://github.com/arcan1s/julius-actions">GitHub</a>
|
||||
---
|
||||
<body>
|
||||
<div class="wrapper">
|
||||
<header>
|
||||
<h1>{{ page.title }}</h1>
|
||||
<p class="view">The list of some of my projects</p>
|
||||
<p class="view">Список некоторых из моих проектов</p>
|
||||
<p class="view">
|
||||
{% for group in page.groups %}
|
||||
<a href="#{{ group.short }}">{{ group.title }}</a><br>
|
||||
|
@ -4,58 +4,58 @@ layout: project
|
||||
title: Oblikue strategies
|
||||
short: oblikuestrategies
|
||||
commentIssueId: 2
|
||||
description: Plasmoid that displays a random draw Oblique Strategies
|
||||
description: Плазмоид, который показывает случайные карты из Oblique Strategies
|
||||
hasgui: true
|
||||
developers:
|
||||
- Evgeniy Alelseev
|
||||
license: GPL
|
||||
links:
|
||||
- Page on <a href="http://kde-look.org/content/show.php/oblikue-strategies?content=160503">kde-look.org</a>
|
||||
- Archlinux <a href="https://aur.archlinux.org/packages/kdeplasma-applets-oblikuestrategies">AUR package</a>
|
||||
- Страница на <a href="http://kde-look.org/content/show.php/oblikue-strategies?content=160503">kde-look.org</a>
|
||||
- Пакет в <a href="https://aur.archlinux.org/packages/kdeplasma-applets-oblikuestrategies">AUR</a>
|
||||
---
|
||||
<!-- 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>
|
||||
<h2><a name="info" class="anchor" href="#info"><span class="octicon octicon-link"></span></a>Информация</h2>
|
||||
<p align="justify">Плазмоид, написанный на <code>CPP</code> который показывает случайные карты из Brian Eno и Peter Schmidt's <a href="http://en.wikipedia.org/wiki/Oblique_strategies">Oblique Strategies</a>. Это форк <a href="http://gnome-look.org/content/show.php/Oblique+Strategies?content=78405">апплета для GNOME</a> с некоторыми дополнительными фичами.</p>
|
||||
|
||||
<h3><a name="devel" class="anchor" href="#devel"><span class="octicon octicon-link"></span></a>Developers and contributors</h3>
|
||||
<h3><a name="devel" class="anchor" href="#devel"><span class="octicon octicon-link"></span></a>Разработчики</h3>
|
||||
<ul>
|
||||
{% for devel in page.developers %}
|
||||
<li>{{ devel }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
<h3><a name="license" class="anchor" href="#license"><span class="octicon octicon-link"></span></a>License</h3>
|
||||
<h3><a name="license" class="anchor" href="#license"><span class="octicon octicon-link"></span></a>Лицензия</h3>
|
||||
<ul>
|
||||
<li>{{ page.license }}</li>
|
||||
</ul>
|
||||
<!-- end of info block -->
|
||||
|
||||
<!-- install block -->
|
||||
<h2><a name="install" class="anchor" href="#install"><span class="octicon octicon-link"></span></a>Installation</h2>
|
||||
<h2><a name="install" class="anchor" href="#install"><span class="octicon octicon-link"></span></a>Установка</h2>
|
||||
|
||||
<h3><a name="instruction" class="anchor" href="#instruction"><span class="octicon octicon-link"></span></a>Instruction</h3>
|
||||
<h3><a name="instruction" class="anchor" href="#instruction"><span class="octicon octicon-link"></span></a>Инструкция</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>
|
||||
<pre>cd /where/your/applet/is/installed
|
||||
<li><p align="justify">Скачайте <a href="https://github.com/arcan1s/oblikuestrategies/releases">архив</a> с актуальной версией исходных файлов.</p></li>
|
||||
<li><p align="justify">Извлеките из него файлы и установите приложение. Для глобальной установки наберите:</p>
|
||||
<pre>cd /путь/куда/распакован/архив
|
||||
mkdir build && cd build
|
||||
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` -DCMAKE_BUILD_TYPE=Release ../
|
||||
make
|
||||
sudo make install</pre>
|
||||
<p align="justify">For local isntallation type:</p>
|
||||
<p align="justify">Для локальной:</p>
|
||||
<pre>cd /where/your/applet/is/installed
|
||||
mkdir build && cd build
|
||||
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --localprefix` -DCMAKE_BUILD_TYPE=Release ../
|
||||
make
|
||||
make install</pre></li>
|
||||
<li><p align="justify">Restart plasma to load the applet:</p>
|
||||
<li><p align="justify">Перезапустите plasma, чтобы загрузить апплет:</p>
|
||||
<pre>kquitapp plasma-desktop && sleep 2 && plasma-desktop</pre>
|
||||
<p align="justify">Also you might need to run <code>kbuildsycoca4</code> in order to get the <code>*.desktop</code> file recognized:</p>
|
||||
<p align="justify">Также Вам может потребоваться запустить <code>kbuildsycoca4</code>, чтобы распознать <code>*.desktop</code> файл:</p>
|
||||
<pre>kbuildsycoca4 &> /dev/null</pre></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>
|
||||
<h3><a name="dependencies" class="anchor" href="#dependencies"><span class="octicon octicon-link"></span></a>Зависимости</h3>
|
||||
<p align="justify">Все было протестировано на последних версиях зависимостей.</p>
|
||||
<ul>
|
||||
<li>kdebase-workspace</li>
|
||||
<li>automoc4 <i>(make)</i></li>
|
||||
@ -64,21 +64,21 @@ make install</pre></li>
|
||||
<!-- end of install block -->
|
||||
|
||||
<!-- 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>Oblikue strategies</code>.</p>
|
||||
<h2><a name="howto" class="anchor" href="#howto"><span class="octicon octicon-link"></span></a>Использование</h2>
|
||||
<p align="justify">Откройте список виджетов Plasma и выберете <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>
|
||||
<h2><a name="config" class="anchor" href="#config"><span class="octicon octicon-link"></span></a>Настройка</h2>
|
||||
<p align="justify">Клик правой кнопкой по виджету.</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="gui" class="anchor" href="#gui"><span class="octicon octicon-link"></span></a>Графический интерфейс</h2>
|
||||
|
||||
<h3><a name="screenshots" class="anchor" href="#screenshots"><span class="octicon octicon-link"></span></a>Screenshots</h3>
|
||||
<p align="justify">Widget:<br>
|
||||
<h3><a name="screenshots" class="anchor" href="#screenshots"><span class="octicon octicon-link"></span></a>Скриншоты</h3>
|
||||
<p align="justify">Виджет:<br>
|
||||
<a href="/resources/screenshots/oblikuestrategies_widget.png"><img src="/resources/preview/oblikuestrategies_widget_prev.jpg"></a><br>
|
||||
Configuration window:<br>
|
||||
Окно настроек:<br>
|
||||
<a href="/resources/screenshots/oblikuestrategies_config.png"><img src="/resources/preview/oblikuestrategies_config_prev.jpg"></a></p>
|
||||
<!-- end of gui block -->
|
||||
|
@ -4,232 +4,232 @@ layout: project
|
||||
title: py-text-monitor
|
||||
short: pytextmonitor
|
||||
commentIssueId: 3
|
||||
description: Minimalistic Plasmoid script that looks like widgets in Awesome WM
|
||||
description: Минималистичный плазмоид, который выглядит, как виджеты в Awesome WM
|
||||
hasgui: true
|
||||
developers:
|
||||
- Evgeniy Alelseev
|
||||
license: GPL
|
||||
links:
|
||||
- Plasmoid page on <a href="http://kde-look.org/content/show.php/Py+Text+Monitor?content=157124">kde-look.org</a>
|
||||
- DataEngine page on <a href="http://kde-look.org/content/show.php/Extended+Systemmonitor+DataEngine?content=158773">kde-look.org</a>
|
||||
- Archlinux <a href="https://aur.archlinux.org/packages/kdeplasma-applets-pytextmonitor">AUR package</a>
|
||||
- Страница плазмоида на <a href="http://kde-look.org/content/show.php/Py+Text+Monitor?content=157124">kde-look.org</a>
|
||||
- Страница DataEngine на <a href="http://kde-look.org/content/show.php/Extended+Systemmonitor+DataEngine?content=158773">kde-look.org</a>
|
||||
- Пакет в <a href="https://aur.archlinux.org/packages/kdeplasma-applets-pytextmonitor">AUR</a>
|
||||
---
|
||||
<!-- 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>
|
||||
<h2><a name="info" class="anchor" href="#information"><span class="octicon octicon-link"></span></a>Информация</h2>
|
||||
<p align="justify">Минималистичный пламоид, написанный на <code>Python2</code>. Он выглядит, как виджеты в <a href="http://awesome.naquadah.org/">Awesome WM</a>. Мой плазмоид хорошо и легко настраивается и не засоряет Ваш KDE. Также данный пакет имеет дополнительный <a href="http://techbase.kde.org/Development/Tutorials/Plasma/DataEngines">DataEngine</a>, который написан на <code>CPP</code> (старые версии были написаны на <code>Python2</code>).</p>
|
||||
|
||||
<h3><a name="devel" class="anchor" href="#devel"><span class="octicon octicon-link"></span></a>Developers and contributors</h3>
|
||||
<h3><a name="devel" class="anchor" href="#devel"><span class="octicon octicon-link"></span></a>Разработчики</h3>
|
||||
<ul>
|
||||
{% for devel in page.developers %}
|
||||
<li>{{ devel }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
<h3><a name="license" class="anchor" href="#license"><span class="octicon octicon-link"></span></a>License</h3>
|
||||
<h3><a name="license" class="anchor" href="#license"><span class="octicon octicon-link"></span></a>Лицензия</h3>
|
||||
<ul>
|
||||
<li>{{ page.license }}</li>
|
||||
</ul>
|
||||
<!-- end of info block -->
|
||||
|
||||
<!-- install block -->
|
||||
<h2><a name="install" class="anchor" href="#install"><span class="octicon octicon-link"></span></a>Installation</h2>
|
||||
<h2><a name="install" class="anchor" href="#install"><span class="octicon octicon-link"></span></a>Установка</h2>
|
||||
|
||||
<h3><a name="instruction" class="anchor" href="#instruction"><span class="octicon octicon-link"></span></a>Instruction</h3>
|
||||
<h3><a name="instruction" class="anchor" href="#instruction"><span class="octicon octicon-link"></span></a>Инструкция</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 the DataEngine:</p>
|
||||
<pre>cd /where/your/applet/is/installed
|
||||
<li><p align="justify">Скачайте <a href="https://github.com/arcan1s/pytextmonitor/releases">архив</a> с актуальной версией исходных файлов.</p></li>
|
||||
<li><p align="justify">Извлеките из него файлы и установите DataEngine:</p>
|
||||
<pre>cd /путь/к/извлеченным/файлам/
|
||||
mkdir build && cd build
|
||||
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --localprefix` -DCMAKE_BUILD_TYPE=Release ../
|
||||
make
|
||||
make install</pre>
|
||||
<p align="justify">For global isntallation type:</p>
|
||||
<pre>cd /where/your/applet/is/installed
|
||||
<p align="justify">Для глобальной установки наберите:</p>
|
||||
<pre>cd /путь/к/извлеченным/файлам/
|
||||
mkdir build && cd build
|
||||
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --localprefix` -DCMAKE_BUILD_TYPE=Release ../
|
||||
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` -DCMAKE_BUILD_TYPE=Release ../
|
||||
make
|
||||
make install</pre></li>
|
||||
<li><p align="justify">Install the Plasmoid:</p>
|
||||
sudo make install</pre></li>
|
||||
<li><p align="justify">Установите плазмоид:</p>
|
||||
<pre>plasmapkg -i py-text-monitor-1.5.0.plasmoid</pre>
|
||||
<p align="justify">For global isntallation type:</p>
|
||||
<pre>plasmapkg -g -i py-text-monitor-1.5.0.plasmoid</pre></li>
|
||||
<p align="justify">Для глобальной установки наберите:</p>
|
||||
<pre>sudo plasmapkg -g -i py-text-monitor-1.5.0.plasmoid</pre></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>
|
||||
<h3><a name="dependencies" class="anchor" href="#dependencies"><span class="octicon octicon-link"></span></a>Зависимости</h3>
|
||||
<p align="justify">Все было протестировано на последних версиях зависимостей.</p>
|
||||
<ul>
|
||||
<li>kdebase-workspace</li>
|
||||
<li>kdebindings-python2</li>
|
||||
<li>automoc4 <i>(make)</i></li>
|
||||
<li>cmake <i>(make)</i></li>
|
||||
<li>kdebase-runtime <i>(make)</i></li>
|
||||
<li>lm_sensors <i>(optional, for definition temperature device)</i></li>
|
||||
<li>net-tools <i>(optional, for definition network device)</i></li>
|
||||
<li>sysstat <i>(optional, for notification)</i></li>
|
||||
<li>hddtemp <i>(optional, for HDD temperature monitor)</i></li>
|
||||
<li>one of supported music player - <a href="http://amarok.kde.org/">amarok</a>, <a href="http://www.musicpd.org/">mtd</a> or <a href="http://qmmp.ylsoftware.com/">qmmp</a> <i>(optional, for music player monitor)</i>
|
||||
<li>proprietary video driver <i>(optional, for GPU monitor)</i></li></li>
|
||||
<li>lm_sensors <i>(опционально, для определения температурного устройства)</i></li>
|
||||
<li>net-tools <i>(опционально, для определения интернет устройства)</i></li>
|
||||
<li>sysstat <i>(опционально, для уведомлений)</i></li>
|
||||
<li>hddtemp <i>(опционально, для контроля за температурой HDD)</i></li>
|
||||
<li>один из поддерживаемых музыкальных плееров - <a href="http://amarok.kde.org/">amarok</a>, <a href="http://www.musicpd.org/">mtd</a> или <a href="http://qmmp.ylsoftware.com/">qmmp</a> <i>(опционально, для контроля за музыкальным плеером)</i>
|
||||
<li>проприетарный видеодрайвер <i>(опционально, для контроля за GPU)</i></li></li>
|
||||
</ul>
|
||||
<!-- end of install block -->
|
||||
|
||||
<!-- 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>
|
||||
<h2><a name="howto" class="anchor" href="#howto"><span class="octicon octicon-link"></span></a>Использование</h2>
|
||||
<p align="justify">Откройте список виджетов Plasma и выберете <code>Py Text Monitor</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>
|
||||
<h2><a name="config" class="anchor" href="#config"><span class="octicon octicon-link"></span></a>Настройка</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>
|
||||
<h3><a name="deconf" class="anchor" href="#deconf"><span class="octicon octicon-link"></span></a>Настройка DataEngine</h3>
|
||||
<p align="justify">Вы можете отредактировать настройки DataEngine, которые хранятся в <code>/usr/share/config/extsysmon.conf</code> или <code>$HOME/.kde4/share/config/extsysmon.conf</code> в зависимости от типа установки. Раскомментируйте необходимые строчки и отредактируйте их.</p>
|
||||
|
||||
<h4><a name="deoptions" class="anchor" href="#deoptions"><span class="octicon octicon-link"></span></a>DataEngine options</h4>
|
||||
<h4><a name="deoptions" class="anchor" href="#deoptions"><span class="octicon octicon-link"></span></a>Опции DataEngine</h4>
|
||||
<table>
|
||||
<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>ignore</code> or <code>auto</code>. Default is <code>auto</code>.</p></td>
|
||||
<td><p align="justify">Устанавливает тип GPU. Может быть <code>nvidia</code> (для nVidia), <code>ati</code> (для ATI Radeon), <code>ignore</code> или <code>auto</code>. По умолчанию <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>. Default is <code>all</code>.</p></td>
|
||||
<td><p align="justify">Устанавливает блочное устройство для <code>hddtemp</code> через запятую или <code>all</code> для всех возможных. По умолчанию <code>all</code>.</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>MPDADDRESS</th>
|
||||
<td><p align="justify">MPD host address. Default is <code>localhost</code>.</td>
|
||||
<td><p align="justify">Адрес MPD хоста. По умолчанию <code>localhost</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>MPDPORT</th>
|
||||
<td><p align="justify">MPD host port. Default is <code>6600</code>.</td>
|
||||
<td><p align="justify">Адрес MPD хоста. По умолчанию <code>6600</code>.</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>
|
||||
<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.</p>
|
||||
<h3><a name="widconf" class="anchor" href="#widconf"><span class="octicon octicon-link"></span></a>Настройка виджета</h3>
|
||||
<p align="justify">Для настройки внешнего вида Вы должны открыть окно настроек и установить требуемый формат. Порядок меток изменится, если Вы измените положение слайдера. В метках работают HTML тэги.<br>
|
||||
<b>ЗАМЕЧАНИЕ</b> Вы не можете, например, заставить его показывать Вам <code>$cpu</code> в метка swap. <b><code>$cpu</code> будет работать только в метке cpu.</b></p>
|
||||
<p align="justify">Доступные флаги в таблице ниже.</p>
|
||||
<table>
|
||||
<tr>
|
||||
<th rowspan="4">Time label</th>
|
||||
<th rowspan="4">Время</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 align="justify">Время в стандартном формате. Например, <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 align="justify">Время в формате ISO.</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>$shorttime</code></td>
|
||||
<td><p align="justify">Time in short locale format.</p></td>
|
||||
<td><p align="justify">Время в коротком формате локали.</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>$longtime</code></td>
|
||||
<td><p align="justify">Time in long locale format.</p></td>
|
||||
<td><p align="justify">Время в длинном формате локали.</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th rowspan="1">Uptime label</th>
|
||||
<th rowspan="1">Аптайм</th>
|
||||
<td><code>$uptime</code></td>
|
||||
<td><p align="justify">System uptime, <code>---d--h--m</code>.</p></td>
|
||||
<td><p align="justify">Системный аптайм, <code>---d--h--m</code>.</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th rowspan="2">CPU label</th>
|
||||
<th rowspan="2">CPU</th>
|
||||
<td><code>$cpu</code></td>
|
||||
<td><p align="justify">Total load CPU, %, <code>-----</code>.</p></td>
|
||||
<td><p align="justify">Полная загрузка CPU, %, <code>-----</code>.</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>$ccpu</code></td>
|
||||
<td><p align="justify">Load CPU for each core, %, <code>-----</code>.</p></td>
|
||||
<td><p align="justify">Загрузка CPU для каждого ядра, %, <code>-----</code>.</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th rowspan="2">CPU clock label</th>
|
||||
<th rowspan="2">Частота CPU</th>
|
||||
<td><code>$cpucl</code></td>
|
||||
<td><p align="justify">Average CPU clock, MHz, <code>----</code>.</p></td>
|
||||
<td><p align="justify">Средняя частота CPU, МГц, <code>----</code>.</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>$ccpucl</code></td>
|
||||
<td><p align="justify">CPU clock for each core, MHz, <code>----</code>.</p></td>
|
||||
<td><p align="justify">Частота CPU для каждого ядра, МГц, <code>----</code>.</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th rowspan="1">Temperature label</th>
|
||||
<th rowspan="1">Температура</th>
|
||||
<td><code>$temp</code></td>
|
||||
<td><p align="justify">Average temperature in system, °C, <code>----</code>. Temperature device must be specified.</p></td>
|
||||
<td><p align="justify">Средняя температура в системе, °C, <code>----</code>. Устройство должно быть указано.</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th rowspan="1">GPU label</th>
|
||||
<th rowspan="1">GPU</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 align="justify">Использование GPU, %, <code>-----</code>. <code>aticonfig</code> или <code>nvidia-smi</code> должны быть установлены.</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th rowspan="1">GPU temperature label</th>
|
||||
<th rowspan="1">Температура GPU</th>
|
||||
<td><code>$gputemp</code></td>
|
||||
<td><p align="justify">GPU temperature, °C, <code>----</code>. <code>aticonfig</code> or <code>nvidia-smi</code> must be installed.</p></td>
|
||||
<td><p align="justify">Температура GPU, °C, <code>----</code>. <code>aticonfig</code> или <code>nvidia-smi</code> должны быть установлены.</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th rowspan="2">Memory label</th>
|
||||
<th rowspan="2">Память</th>
|
||||
<td><code>$mem</code></td>
|
||||
<td><p align="justify">Memory usage, %, <code>-----</code>.</p></td>
|
||||
<td><p align="justify">Использование памяти, %, <code>-----</code>.</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>$memmb</code></td>
|
||||
<td><p align="justify">Memory usage, MB, <code>-----</code>.</p></td>
|
||||
<td><p align="justify">Использование памяти, MB, <code>-----</code>.</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th rowspan="2">Swap label</th>
|
||||
<th rowspan="2">Swap</th>
|
||||
<td><code>$swap</code></td>
|
||||
<td><p align="justify">Swap usage, %, <code>-----</code>.</p></td>
|
||||
<td><p align="justify">Использование swap, %, <code>-----</code>.</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>$swapmb</code></td>
|
||||
<td><p align="justify">Swap usage, MB, <code>-----</code>.</p></td>
|
||||
<td><p align="justify">Использование swap, MB, <code>-----</code>.</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th rowspan="1">HDD usage label</th>
|
||||
<th rowspan="1">HDD</th>
|
||||
<td><code>@@/@@</code></td>
|
||||
<td><p align="justify">mount point (<code>/</code> in example) usage, %, <code>-----</code>. Separator for mount points list is <code>;</code>, for example <code>@@/;/home;/mnt/global@@</code></p></td>
|
||||
<td><p align="justify">Занятость точки монтирования (<code>/</code> в примере), %, <code>-----</code>. Разделитель <code>;</code>, например <code>@@/;/home;/mnt/global@@</code></p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th rowspan="1">HDD temperature label</th>
|
||||
<th rowspan="1">Температура HDD</th>
|
||||
<td><code>@@/dev/sda@@</code></td>
|
||||
<td><p align="justify">HDD (<code>/dev/sda</code> in example) temperature, °C, <code>----</code>. <code>hddtemp</code> must be installed.</p></td>
|
||||
<td><p align="justify">Температура HDD (<code>/dev/sda</code> в примере), °C, <code>----</code>. <code>hddtemp</code> должен быть установлен.</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th rowspan="3">Network label</th>
|
||||
<th rowspan="3">Сеть</th>
|
||||
<td><code>$net</code></td>
|
||||
<td><p align="justify">Download and upload speed, KB/s, <code>----/----</code>.</p></td>
|
||||
<td><p align="justify">Скорость загрузки и отдачи, KB/s, <code>----/----</code>.</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>@@eth0@@</code></td>
|
||||
<td><p align="justify">Do not use automatic device definition, show only specified device (<code>eth0</code> in example).</p></td>
|
||||
<td><p align="justify">Не использовать автоматическое определение устройства, показывать только данные по указанному устройству (<code>eth0</code> в примере).</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>$netdev</code></td>
|
||||
<td><p align="justify">Current network device.</p></td>
|
||||
<td><p align="justify">Текущее устройство.</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th rowspan="2">Battery label</th>
|
||||
<th rowspan="2">Батарея</th>
|
||||
<td><code>$bat</code></td>
|
||||
<td><p align="justify">Battery charge, %, <code>---</code>. Battery device may be set below. File (<code>/sys/class/power_supply/BAT0/capacity</code> by default) must contain only battery charge in percent.</p></td>
|
||||
<td><p align="justify">Заряд батареи, %, <code>---</code>. Устройство может быть указано ниже. Файл (<code>/sys/class/power_supply/BAT0/capacity</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. AC device may be set below. File (<code>/sys/class/power_supply/AC/online</code> by default) must contain <code>1</code> if AC is online.</p></td>
|
||||
<td><p align="justify">Статус зарядного устройства. Возвращает <code>(*)</code>, если устройство подключено, или <code>( )</code>, если нет. Устройство может быть указано ниже. Файл (<code>/sys/class/power_supply/AC/online</code> по умолчанию) должен содержать <code>1</code>, если устройство подключено.</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th rowspan="2">Music player label</th>
|
||||
<th rowspan="2">Музыкальный плеер</th>
|
||||
<td><code>$artist</code></td>
|
||||
<td><p align="justify">Current song artist. One of supported music players must be installed.</p></td>
|
||||
<td><p align="justify">Исполнитель текущей песни. Один из поддерживаемых музыкальных плееров должен быть установлен.</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 align="justify">Название текущей песни. Один из поддерживаемых музыкальных плееров должен быть установлен.</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>
|
||||
<h2><a name="gui" class="anchor" href="#gui"><span class="octicon octicon-link"></span></a>Графический интерфейс</h2>
|
||||
|
||||
<h2><a name="screenshots" class="anchor" href="#screenshots"><span class="octicon octicon-link"></span></a>Screenshots</h2>
|
||||
<p align="justify">Widget (clickable):<br>
|
||||
<h2><a name="screenshots" class="anchor" href="#screenshots"><span class="octicon octicon-link"></span></a>Скриншоты</h2>
|
||||
<p align="justify">Виджет (кликабельно):<br>
|
||||
<a href="/resources/screenshots/pytextmonitor_widget.png"><img src="/resources/preview/pytextmonitor_widget_prev.jpg"></a><br>
|
||||
Configuration window::<br>
|
||||
Окно настроек:<br>
|
||||
<a href="/resources/screenshots/pytextmonitor_config.png"><img src="/resources/preview/pytextmonitor_config_prev.jpg"></a></p>
|
||||
|
@ -4,7 +4,7 @@ layout: project
|
||||
title: queued
|
||||
short: queued
|
||||
commentIssueId: 4
|
||||
description: Daemon for starting jobs to queue of calculations
|
||||
description: Демон для запуска задач в очередь вычислений
|
||||
hasgui: false
|
||||
developers:
|
||||
- Evgeniy Alelseev
|
||||
@ -12,8 +12,8 @@ license: GPLv3
|
||||
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>
|
||||
<h2><a name="info" class="anchor" href="#info"><span class="octicon octicon-link"></span></a>Информация</h2>
|
||||
<p align="justify">Демон для запуска задач в очередь вычислений. Был создан, как proof-of-concept.</p>
|
||||
<pre>$ queued --help
|
||||
Simple daemon written on BASH for starting jobs to queue of calculations
|
||||
|
||||
@ -32,95 +32,95 @@ Parameters:
|
||||
-u USER - username
|
||||
-h --help - show this help and exit</pre>
|
||||
|
||||
<h3><a name="devel" class="anchor" href="#devel"><span class="octicon octicon-link"></span></a>Developers and contributors</h3>
|
||||
<h3><a name="devel" class="anchor" href="#devel"><span class="octicon octicon-link"></span></a>Разработчики</h3>
|
||||
<ul>
|
||||
{% for devel in page.developers %}
|
||||
<li>{{ devel }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
<h3><a name="license" class="anchor" href="#license"><span class="octicon octicon-link"></span></a>License</h3>
|
||||
<h3><a name="license" class="anchor" href="#license"><span class="octicon octicon-link"></span></a>Лицензия</h3>
|
||||
<ul>
|
||||
<li>{{ page.license }}</li>
|
||||
</ul>
|
||||
<!-- end of info block -->
|
||||
|
||||
<!-- install block -->
|
||||
<h2><a name="install" class="anchor" href="#install"><span class="octicon octicon-link"></span></a>Installation</h2>
|
||||
<h2><a name="install" class="anchor" href="#install"><span class="octicon octicon-link"></span></a>Установка</h2>
|
||||
|
||||
<h3><a name="instruction" class="anchor" href="#instruction"><span class="octicon octicon-link"></span></a>Instruction</h3>
|
||||
<h3><a name="instruction" class="anchor" href="#instruction"><span class="octicon octicon-link"></span></a>Инструкция</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>
|
||||
<pre>./install.sh "/path/to/root/package"</pre>
|
||||
<p align="justify">If you want install it to <code>/</code> you must run it as root, e.g.:</p>
|
||||
<pre>sudo ./install.sh "/path/to/root/package"</pre>
|
||||
<p align="justify">If no path is specified it will be installed to <code>/</code> by default.</p></li>
|
||||
<li><p align="justify">Скачайте <a href="https://github.com/arcan1s/queued/releases">архив</a> с актуальной версией исходных файлов.</p></li>
|
||||
<li><p align="justify">Извлеките из него файлы и установите приложение:</p>
|
||||
<pre>./install.sh "/путь/к/корню/"</pre>
|
||||
<p align="justify">Если Вы хотите установить в <code>/</code>, Вы должны запустить это, как root:</p>
|
||||
<pre>sudo ./install.sh</pre>
|
||||
<p align="justify">Если путь не указан, пакет будет установлен в <code>/</code>.</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>
|
||||
<h3><a name="dependencies" class="anchor" href="#dependencies"><span class="octicon octicon-link"></span></a>Зависимости</h3>
|
||||
<p align="justify">Все было протестировано на последних версиях зависимостей.</p>
|
||||
<ul>
|
||||
<li>Bash (including awk, grep, sed)</li>
|
||||
<li>systemd <i>(optional, service file)</i></li>
|
||||
<li>Bash (включая awk, grep, sed)</li>
|
||||
<li>systemd <i>(опционально, service-файл)</i></li>
|
||||
</ul>
|
||||
<!-- end of install block -->
|
||||
|
||||
<!-- 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>
|
||||
<h2><a name="howto" class="anchor" href="#howto"><span class="octicon octicon-link"></span></a>Использование</h2>
|
||||
<p align="justify">Если Вы хотите запустить демон, просто запустите</p>
|
||||
<pre>systemctl start queued</pre>
|
||||
<p align="justify">If you want to enable daemon autoload run</p>
|
||||
<p align="justify">Если Вы хотите включить автозагрузку демона, запутите</p>
|
||||
<pre>systemctl enable queued</pre>
|
||||
<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>
|
||||
<pre>cp /etc/queued.conf /path/to/new/queued.conf</pre>
|
||||
<p align="justify">and edit it. Then copy the source service file to <code>/etc</code>:</p>
|
||||
<p align="justify">Но Вы можете изменить путь к конфигурационному файлу или изменить параметры. Для этого, скопируйте (рекомендуется) исходный конфигурационный файл</p>
|
||||
<pre>cp /etc/queued.conf /новый/путь/к/queued.conf</pre>
|
||||
<p align="justify">и отредактируйте его. Затем скопируйте исходный service-файл в <code>/etc</code>:</p>
|
||||
<pre>cp /usr/lib/systemd/system/queued.service /etc/systemd/system/queued-my-profile.service</pre>
|
||||
<p align="justify">Replace following string in the file:</p>
|
||||
<p align="justify">Замените следующую строку в этом файле:</p>
|
||||
<pre>ExecStart=/usr/bin/queued</pre>
|
||||
<p align="justify">to</p>
|
||||
<p align="justify">на</p>
|
||||
<pre>ExecStart=/usr/bin/queued -c /path/to/new/queued.conf</pre>
|
||||
|
||||
<h3><a name="adding" class="anchor" href="#adding"><span class="octicon octicon-link"></span></a>Adding a job</h3>
|
||||
<h3><a name="adding" class="anchor" href="#adding"><span class="octicon octicon-link"></span></a>Добавление задачи</h3>
|
||||
<ol>
|
||||
<li>Create shell script with the command (e.g. it have a name <code>script.sh</code>)</li>
|
||||
<li>Create priority file (<code>script.sh.pr</code>) with the job priority if it is needed</li>
|
||||
<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>
|
||||
<li>Создайте скрипт с командой (например, с именем <code>script.sh</code>).</li>
|
||||
<li>Создайте файл с приоритетом (<code>script.sh.pr</code>) для данной задачи, если это необходимо.</li>
|
||||
<li>Создайте файл с именем пользователя (<code>script.sh.user</code>) для данной задачи, если это необходимо</li>
|
||||
<li>Скопируйте файлы в <code>$WORKDIR</code></li>
|
||||
</ol>
|
||||
<p align="justify">Also you may use <code>add_queued</code>.</p>
|
||||
<p align="justify">Также Вы можете воспользоваться <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>
|
||||
<h2><a name="configuration" class="anchor" href="#configuration"><span class="octicon octicon-link"></span></a>Настройка</h2>
|
||||
<p align="justify">Все настройки хранятся в <code>/etc/queued.conf</code>. После редактирования, Вы должны перезапустить демон</p>
|
||||
<pre>systemctl restart queued</pre>
|
||||
<!-- end of howto block -->
|
||||
|
||||
<!-- config block -->
|
||||
<h3><a name="options" class="anchor" href="#options"><span class="octicon octicon-link"></span></a>Options</h3>
|
||||
<h3><a name="options" class="anchor" href="#options"><span class="octicon octicon-link"></span></a>Опции</h3>
|
||||
<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 align="justify">Полный путь к директории с исходными файлами задач. По умолчанию <code>/var/lib/queued/work</code>. Эта директория должна содержать исходные скрипты <code>script-name</code>, файл с приоритетом (если необходимо) <code>script-name.pr</code> и файл с именем пользователя (если необходимо) <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 align="justify">Полный путь к директории с запущенными задачами. По умолчанию <code>/var/lib/queued/job</code>. Все файлы будут перемещены сюда.</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 align="justify">Полный путь к файлу с очередью вычислений. По умолчанию <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 align="justify">Стандартный приоритет. По умолчанию <code>0</code>. Чем выше значение, тем выше приоритет задачи.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>SLEEPTIME</th>
|
||||
<td><p align="justify">Time interval in minutes. Default is <code>5</code>.</td>
|
||||
<td><p align="justify">Интервал обновлений в минутах. По умолчанию <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 align="justify">Стандартное имя пользователя. По умолчанию <code>root</code>. Именно данному пользователю будут принадлежать все созданные файлы.</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- end of config block -->
|
||||
|
Loading…
Reference in New Issue
Block a user