Strip it back-and-forthhttps://fediverse.blog/~/StripItBackAndForth@plume.nixnet.xyz/atom.xml2019-08-11T07:00:44.640461+00:00<![CDATA[Blinking CapsLock's LED while pinging web-server]]>https://plume.nixnet.xyz/~/StripItBackAndForth/blinking-caps-lock's-led-while-pinging-web-server/2019-08-11T07:00:44.640461+00:00john3ipperhttps://plume.nixnet.xyz/@/john3ipper/2019-08-11T07:00:44.640461+00:00<![CDATA[<p>I've found very interesting Twitter's <a href="https://twitter.com/climagic/status/1159175900484853761?s=20" rel="noopener noreferrer">post</a>. It shows how keyboard's LED could be utilized.</p>
<p>Just amended a little bit the script and made CapsLock's LED to blink on laptop.</p>
<p>Steps:</p>
<ul>
<li>
<p><code>xkbcomp $DISPLAY myconf.xkb</code> - save settings</p>
</li>
<li>
<p><code>vim myconf.xkb</code> - in config make changes in field '<strong>indicator "Caps Lock"</strong>' from <em>!allowExplicit;</em> to <strong>allowExplicit;</strong> (remove exclamation mark)</p>
</li>
<li>
<p><code>xkbcomp myconf.xkb $DISPLAY</code> - load settings</p>
</li>
<li>
<p>start blinking: <code>ping 8.8.8.8 | stdbuf -oL awk -F[=\ ] '/from/{ms=$(NF-1); print ms/1000.0 " " 1-ms/1000.0}' | while read on off ; do echo $on $off ; xset led 1 ; sleep $on ; xset -led 1 ; sleep $off ; done</code></p>
</li>
</ul>
<p>Instruction how to load settings and make CapsLock LED blinking have taken from <a href="https://unix.stackexchange.com/questions/179286/change-the-status-of-the-keyboard-leds-from-within-an-x-session-without-root-a/179378#179378" rel="noopener noreferrer">here</a></p>
<p>Here is a result :)</p>
<p><a href="https://tube.tchncs.de/videos/watch/e97ca264-82c1-4f3f-b160-acf7916b1322" rel="noopener noreferrer"><img src="https://i.imgur.com/oRjIMew.png" alt=""CapsLock блимає""></a></p>
<hr>
]]><![CDATA[Free Linux based OS for mobile phones ]]>https://plume.nixnet.xyz/~/StripItBackAndForth/free-linux-based-os-for-mobile-phones/2019-08-07T16:20:15.658006+00:00john3ipperhttps://plume.nixnet.xyz/@/john3ipper/2019-08-07T16:20:15.658006+00:00<![CDATA[<p><img src="https://i.imgur.com/05ED6if.jpg" alt="Operating Systems">
<code>_Photo by Claudio Schwarz | <a href="//plume.nixnet.xyz/@/purzlbaum/" title="purzlbaum" rel="noopener noreferrer">@purzlbaum</a> on Unsplash_</code></p>
<h2>Free and open source operating systems for mobile platforms matter</h2>
<p>In fact, there are <strong>two</strong> players on the OS market for <em>mobile devices</em> (smartphones and tablets)</p>
<ul>
<li><strong>Apple</strong> with <strong>iOS</strong></li>
<li><strong>Google</strong> with <strong>Android</strong></li>
</ul>
<p><strong>Microsoft</strong> tried to play in the market but <strong>Microsoft Mobile</strong> is not so popular as the above.</p>
<p>But the problem with iOS and Andoid mostly lays down with users privacy. These <code>big companies</code> collects users' data and info, analyze them, creates users' social portfolios, analyze behaviors etc. All for <em>good</em> :), of course.</p>
<p>Almost all our private life, our privacy <strong>belongs</strong> to <em><code>big brothers</code></em> companies which produce and operates popular mobile operating systems.</p>
<p><strong>In the world of free and open source Operating Systems users have control over OSes. It could be audited by an user, it could be modified, it could be quited.</strong></p>
<h2>List of open source OS for mobile devices (smartphones and tablets)</h2>
<h4>GNU +Linux based</h4>
<ul>
<li><a href="https://www.pureos.net/" rel="noopener noreferrer">PureOS</a> - developed by Purism company, based on Debian</li>
<li><a href="https://www.plasma-mobile.org/" rel="noopener noreferrer">Plasma Mobile</a> - project of KDE team</li>
<li><a href="https://postmarketos.org/" rel="noopener noreferrer">postmarketOS</a> - based on Alpine Linux</li>
<li><a href="https://ubports.com/" rel="noopener noreferrer">Ubuntu Touch by UBports</a> - continuation of Canonical's Ubuntu Touch project</li>
<li><a href="https://www.tizen.org/" rel="noopener noreferrer">Tizen</a> - developed by Samsung Corp., now coordinates by Linux Foundation; seems to be not active</li>
</ul>
<h4>Android based / deGooglised</h4>
<p><em><strong>Disclaimer</strong>: Some of them are partially open source, some not fully removed proprietary blobs</em></p>
<ul>
<li><a href="https://e.foundation/" rel="noopener noreferrer">/e/</a> - most prominent project made by <a href="https://e.fundation" rel="noopener noreferrer">e.fundation</a></li>
<li><a href="https://lineageos.org/" rel="noopener noreferrer">LineageOS</a> & <a href="https://www.replicant.us/" rel="noopener noreferrer">Replicant</a> - Android forks; the former uses proprietary blobs, the latter tries to remove them all</li>
<li><a href="https://www.kaiostech.com/" rel="noopener noreferrer">Kai OS</a> - partially open source; fork of <a href="https://support.mozilla.org/uk/products/firefox-os" rel="noopener noreferrer">Firefox OS</a></li>
<li><a href="https://sailfishos.org/" rel="noopener noreferrer">Sailfish OS</a> - only Linux kernel is open source; compatible with Android apps;</li>
</ul>
]]>