<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5131795307719941057</id><updated>2012-01-19T12:08:44.612+04:00</updated><category term='console'/><category term='photo'/><category term='display'/><category term='shell'/><category term='gamma'/><category term='X Server'/><category term='security'/><category term='monitor'/><category term='calibration'/><title type='text'>The Ulterior Zone</title><subtitle type='html'>Occasional short mostly IT related notes.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://linulin.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5131795307719941057/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://linulin.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Linulin</name><uri>http://www.blogger.com/profile/11310631781421943047</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_mAplQ9b8L-g/TFRsZH-uFHI/AAAAAAAAApw/FKYOUMd6ctc/S220/avatar.png'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5131795307719941057.post-7903875768301116711</id><published>2012-01-19T12:08:00.000+04:00</published><updated>2012-01-19T12:08:44.615+04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='security'/><category scheme='http://www.blogger.com/atom/ns#' term='X Server'/><category scheme='http://www.blogger.com/atom/ns#' term='console'/><title type='text'>No Trust to X</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-KokchgqtnZw/TxfLZIHOFfI/AAAAAAAAA2E/-EPbsMfQSGI/s1600/insecure-lock.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://2.bp.blogspot.com/-KokchgqtnZw/TxfLZIHOFfI/AAAAAAAAA2E/-EPbsMfQSGI/s320/insecure-lock.jpg" width="245" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Ctrl+Alt+&amp;lt;Keypad *&amp;gt;&lt;/span&gt;&lt;/b&gt;&amp;nbsp; - this is all you need nowadays to &lt;a href="http://gu1.aeroxteam.fr/2012/01/19/bypass-screensaver-locker-program-xorg-111-and-up/"&gt;bypass screen lockers in X Server&lt;/a&gt;. Although, I believe, this flaw will be fixed pretty soon, the trust is lost for ever, and I'm going back to roots by switching to X-independent "vlock".&lt;br /&gt;&lt;br /&gt;"&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;sudo vlock -na&lt;/span&gt;" works even when called from X, and seems to be the most secure way to lock your machine, since virtual consoles are handled as well.&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;i&gt;&amp;nbsp;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;i&gt;&amp;nbsp;(Make sure you remember root password before executing the above command.)&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5131795307719941057-7903875768301116711?l=linulin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5131795307719941057/posts/default/7903875768301116711'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5131795307719941057/posts/default/7903875768301116711'/><link rel='alternate' type='text/html' href='http://linulin.blogspot.com/2012/01/no-trust-to-x.html' title='No Trust to X'/><author><name>Linulin</name><uri>http://www.blogger.com/profile/11310631781421943047</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_mAplQ9b8L-g/TFRsZH-uFHI/AAAAAAAAApw/FKYOUMd6ctc/S220/avatar.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-KokchgqtnZw/TxfLZIHOFfI/AAAAAAAAA2E/-EPbsMfQSGI/s72-c/insecure-lock.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-5131795307719941057.post-1716995034622372386</id><published>2011-03-17T17:15:00.000+03:00</published><updated>2012-01-19T11:03:56.796+04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='shell'/><title type='text'>Shell Poetry</title><content type='html'>&lt;div style="text-align: center;"&gt;If in script.sh you want to&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span class="Apple-style-span"&gt;echo err &gt;/dev/stderr&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;then you should&lt;/div&gt;&lt;div style="text-align: center;"&gt;echo err &gt;&gt;/dev/stderr&lt;/div&gt;&lt;div style="text-align: center;"&gt;unless you plan to catch&lt;/div&gt;&lt;div style="text-align: center;"&gt;only the last message&lt;/div&gt;&lt;div style="text-align: center;"&gt;when running&lt;/div&gt;&lt;div style="text-align: center;"&gt;script.sh 2&gt;err.log&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;Forget all the above,&lt;/div&gt;&lt;div style="text-align: center;"&gt;despite it works in many cases.&lt;/div&gt;&lt;div style="text-align: center;"&gt;In fact, the only correct form is&lt;/div&gt;&lt;div style="text-align: center;"&gt;echo err 1&gt;&amp;amp;2&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5131795307719941057-1716995034622372386?l=linulin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5131795307719941057/posts/default/1716995034622372386'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5131795307719941057/posts/default/1716995034622372386'/><link rel='alternate' type='text/html' href='http://linulin.blogspot.com/2011/03/shell-poetry.html' title='Shell Poetry'/><author><name>Linulin</name><uri>http://www.blogger.com/profile/11310631781421943047</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_mAplQ9b8L-g/TFRsZH-uFHI/AAAAAAAAApw/FKYOUMd6ctc/S220/avatar.png'/></author></entry><entry><id>tag:blogger.com,1999:blog-5131795307719941057.post-7160510966310648534</id><published>2007-07-22T20:07:00.000+04:00</published><updated>2008-12-09T18:51:18.970+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='photo'/><category scheme='http://www.blogger.com/atom/ns#' term='monitor'/><category scheme='http://www.blogger.com/atom/ns#' term='gamma'/><category scheme='http://www.blogger.com/atom/ns#' term='display'/><category scheme='http://www.blogger.com/atom/ns#' term='calibration'/><title type='text'>Beyond Brightness and Contrast</title><content type='html'>&lt;img style="border: 1px solid ; margin: 0pt 0pt 10px 10px; float: right;" src="http://3.bp.blogspot.com/_mAplQ9b8L-g/RqN1hd5gJpI/AAAAAAAAABU/AomME3ggk0A/s400/digitaldog200.jpg" alt="[Digital Dog printer test image]" id="BLOGGER_PHOTO_ID_5090041221680735890" /&gt;When you occasionally open advanced display properties on your PC you might notice there is a tab for controlling &lt;span style="font-style: italic;"&gt;gamma&lt;/span&gt; parameters. I was always curious why gamma controls might be required and more importantly how to use them properly. Despite this fact I never had enough courage to get my teeth into the topic until today...&lt;br /&gt;&lt;br /&gt;Leaving aside a boring story of what finally pushed me  beyond &lt;span style="font-style: italic;"&gt;brightness&lt;/span&gt; and &lt;span style="font-style: italic;"&gt;contrast&lt;/span&gt; monitor controls I just want to promote an &lt;a href="http://www.normankoren.com/makingfineprints1A.html"&gt;excellent tutorial&lt;/a&gt; by Norman Koren on  &lt;a href="http://www.normankoren.com/makingfineprints1B.html"&gt;&lt;span style="font-style: italic;"&gt;monitor calibration&lt;/span&gt;&lt;span&gt; and &lt;/span&gt;&lt;span style="font-style: italic;"&gt;gamma&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Linux users might want to start with &lt;a href="http://www.linux.com/articles/113936"&gt;&lt;span style="font-style: italic;"&gt;Monitor calibration under X&lt;/span&gt;&lt;/a&gt; article at &lt;a href="http://www.linux.com/"&gt;linux.com&lt;/a&gt; which originally led me to the &lt;a href="http://www.normankoren.com/"&gt;Norman's site&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5131795307719941057-7160510966310648534?l=linulin.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5131795307719941057/posts/default/7160510966310648534'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5131795307719941057/posts/default/7160510966310648534'/><link rel='alternate' type='text/html' href='http://linulin.blogspot.com/2007/07/beyond-brightness-and-contrast.html' title='Beyond Brightness and Contrast'/><author><name>Linulin</name><uri>http://www.blogger.com/profile/11310631781421943047</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_mAplQ9b8L-g/TFRsZH-uFHI/AAAAAAAAApw/FKYOUMd6ctc/S220/avatar.png'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_mAplQ9b8L-g/RqN1hd5gJpI/AAAAAAAAABU/AomME3ggk0A/s72-c/digitaldog200.jpg' height='72' width='72'/></entry></feed>
