<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://baszerr.eu/lib/exe/css.php?s=feed" type="text/css"?>
<rss version="2.0">
    <channel xmlns:g="http://base.google.com/ns/1.0">
        <title>BaSzErr - blog:2016:10:23</title>
        <description></description>
        <link>https://baszerr.eu/</link>
        <lastBuildDate>Fri, 01 May 2026 09:57:01 +0000</lastBuildDate>
        <generator>FeedCreator 1.8</generator>
        <image>
            <url>https://baszerr.eu/lib/exe/fetch.php?media=wiki:dokuwiki.svg</url>
            <title>BaSzErr</title>
            <link>https://baszerr.eu/</link>
        </image>
        <item>
            <title>creative_problem_solving</title>
            <link>https://baszerr.eu/doku.php?id=blog:2016:10:23:creative_problem_solving</link>
            <description>
&lt;h1 class=&quot;sectionedit1&quot; id=&quot;creative_problem_solving&quot;&gt;2016-10-23 - creative problem solving&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
about a month ago, at night, i was struggling to prepare presentation for next day&amp;#039;s event. i needed to stay focused. it turned out to be quite tricky though, since small flies were flying around my screen all evening. they just loved bright backlight and there was not much one can do. killing them all was not an option – they just kept coming.
&lt;/p&gt;

&lt;p&gt;
after changing a focus to a new problem, solution became straight forward:
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://baszerr.eu/lib/exe/detail.php?id=blog%3A2016%3A10%3A23%3Acreative_problem_solving&amp;amp;media=blog:2016:10:23:fly_flies.jpg&quot; class=&quot;media&quot; title=&quot;blog:2016:10:23:fly_flies.jpg&quot;&gt;&lt;img src=&quot;https://baszerr.eu/lib/exe/fetch.php?w=500&amp;amp;tok=e7cf88&amp;amp;media=blog:2016:10:23:fly_flies.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; title=&quot;fly flies&quot; alt=&quot;fly flies&quot; width=&quot;500&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
i just setup a fan to blow on my both screens, so that the artificial wind was to strong for small flies to fly. effect was instant – no more annoying black dots around my screen. as a free bonus i had a nice, cool breeze on my face. 1:0 for a mankind. ;)
&lt;/p&gt;

&lt;/div&gt;
</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Tue, 15 Jun 2021 20:09:21 +0000</pubDate>
        </item>
        <item>
            <title>dates_in_thunderbird</title>
            <link>https://baszerr.eu/doku.php?id=blog:2016:10:23:dates_in_thunderbird</link>
            <description>
&lt;h1 class=&quot;sectionedit1&quot; id=&quot;dates_in_thunderbird&quot;&gt;2016-10-23 - dates in thunderbird&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
i was constantly annoyed about date display format in &lt;a href=&quot;https://en.wikipedia.org/wiki/Mozilla_Thunderbird&quot; class=&quot;interwiki iw_wp&quot; title=&quot;https://en.wikipedia.org/wiki/Mozilla_Thunderbird&quot;&gt;thunderbird&lt;/a&gt;. since i use EN/US system settings, i got “month/day/year” display and no reasonable alternative. some time ago i giv ea try to PL language settings – got “day/month/year”. a bit better, but still…
&lt;/p&gt;

&lt;p&gt;
dunno why ppl still use silly formats. there is a nice, clear and readable form defined by ISO: &lt;em&gt;YYYY-MM-DDTHH:MM:SS+TZ&lt;/em&gt;. that&amp;#039;s it. it gets sorted nicely, look natural and is standard.
&lt;/p&gt;

&lt;p&gt;
fortunately there&amp;#039;s a nice plugin for thunderbird, that &lt;a href=&quot;https://addons.mozilla.org/en-us/thunderbird/addon/super-date-format&quot; class=&quot;urlextern&quot; title=&quot;https://addons.mozilla.org/en-us/thunderbird/addon/super-date-format&quot; rel=&quot;ugc nofollow&quot;&gt;solves date display issues&lt;/a&gt; once and for all. it simply allows you to type in the format you like. and so: &lt;em&gt;%Y-%m-%d %H:%M:%S&lt;/em&gt; and we&amp;#039;re good. i wonder why it is not a build-in option for thunderbird, any way.
&lt;/p&gt;

&lt;/div&gt;
</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Tue, 15 Jun 2021 20:09:20 +0000</pubDate>
        </item>
        <item>
            <title>screen_saver</title>
            <link>https://baszerr.eu/doku.php?id=blog:2016:10:23:screen_saver</link>
            <description>
&lt;h1 class=&quot;sectionedit1&quot; id=&quot;screen_saver&quot;&gt;2016-10-23 - screen saver&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
whenever i walk away from the computer i lock it. i used to use 2 modes:
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;https://packages.debian.org/sid/xtrlock&quot; class=&quot;urlextern&quot; title=&quot;https://packages.debian.org/sid/xtrlock&quot; rel=&quot;ugc nofollow&quot;&gt;xtrlock&lt;/a&gt; to lock the screen, while still being able to see what&amp;#039;s happening there (progress bars, stats, etc…).&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.jwz.org/xscreensaver&quot; class=&quot;urlextern&quot; title=&quot;http://www.jwz.org/xscreensaver&quot; rel=&quot;ugc nofollow&quot;&gt;xscreensaver&lt;/a&gt; for locking, when i wanted to keep desktop hidden.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
it worked well, but i had to turn off monitors after using xscreensaver, since it had no option to blank the screen when locked, but do NOT ever blank screen when not locked. more over, when i&amp;#039;ve tried to do:
&lt;/p&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;kw2&quot;&gt;xset&lt;/span&gt; dpms force off&lt;/pre&gt;

&lt;p&gt;
to blank it after screen gets locked, xscreensaver restored screen backlight again.
&lt;/p&gt;

&lt;p&gt;
recently i&amp;#039;ve decided to finally solve it. i never liked xscreensaver, since it was big, required background process to run and did not solve my problem, really.
&lt;/p&gt;

&lt;p&gt;
xtrlock stayed for locked-with-overview mode, as before. regarding the screen-hiding solution, the requirements are:
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; screen-saver must be daemon-less.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; it should be activated on demand only.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; it should display black screen and just prompt for password.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; when idle, monitors should be turned off shortly.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; monitors get turned on, on user interaction.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; monitors never go into any sleep/off/standby mode when screen is unlocked.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
it turned out, that all of this can be done with xtrlock, with a minimal scripting!
&lt;/p&gt;

&lt;p&gt;
to prevent screen from ever sleeping i use &lt;a href=&quot;https://github.com/el-bart/mini/blob/master/usr_local_bin/prevent_monitor_sleep&quot; class=&quot;urlextern&quot; title=&quot;https://github.com/el-bart/mini/blob/master/usr_local_bin/prevent_monitor_sleep&quot; rel=&quot;ugc nofollow&quot;&gt;prevent_monitor_sleep&lt;/a&gt; script:
&lt;/p&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;kw2&quot;&gt;xset&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-dpms&lt;/span&gt;
&lt;span class=&quot;kw2&quot;&gt;xset&lt;/span&gt; s noblank
&lt;span class=&quot;kw2&quot;&gt;xset&lt;/span&gt; s off&lt;/pre&gt;

&lt;p&gt;
when locking, screen is blanked with extra option to xtrlock, and then power saving features are forced-turned on. when UI is idle, screens are turned off after 30[s] too (see: &lt;a href=&quot;http://www.dtek.chalmers.se/~henoch/text/xprintidle.html&quot; class=&quot;urlextern&quot; title=&quot;http://www.dtek.chalmers.se/~henoch/text/xprintidle.html&quot; rel=&quot;ugc nofollow&quot;&gt;xprintidle&lt;/a&gt;). script is called &lt;a href=&quot;https://github.com/el-bart/mini/blob/master/usr_local_bin/blank-lock&quot; class=&quot;urlextern&quot; title=&quot;https://github.com/el-bart/mini/blob/master/usr_local_bin/blank-lock&quot; rel=&quot;ugc nofollow&quot;&gt;blank-lock&lt;/a&gt; and does (roughly) this:
&lt;/p&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;kw1&quot;&gt;function&lt;/span&gt; monitor_inactivity
&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;while&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;true&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;do&lt;/span&gt;
    no_action_for_30s &lt;span class=&quot;sy0&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;xset&lt;/span&gt; dpms force off
  &lt;span class=&quot;kw1&quot;&gt;done&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
monitor_inactivity &lt;span class=&quot;sy0&quot;&gt;&amp;amp;&lt;/span&gt;
&amp;nbsp;
logger &lt;span class=&quot;st0&quot;&gt;&amp;quot;locking screen&amp;quot;&lt;/span&gt;
xtrlock &lt;span class=&quot;re5&quot;&gt;-b&lt;/span&gt;
logger &lt;span class=&quot;st0&quot;&gt;&amp;quot;screen unlocked&amp;quot;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw3&quot;&gt;kill&lt;/span&gt; inactivity_monitor
prevent_monitor_sleep&lt;/pre&gt;

&lt;p&gt;
a very nice thing about xtrlock is that it (by default) blocks until screen get unlocked. this means you can easily log time when screen got locked and unlocked. it&amp;#039;s a very neat feature for work, since you can see what time did you arrived and when did you left. :)
&lt;/p&gt;

&lt;p&gt;
btw: for the “funny facts” part – xtrlock was less than 300 lines of code in C… :)
&lt;/p&gt;

&lt;/div&gt;
</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Tue, 15 Jun 2021 20:09:21 +0000</pubDate>
        </item>
    </channel>
</rss>
