<?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:blogger='http://schemas.google.com/blogger/2008' 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-7693229492970436176</id><updated>2026-08-09T01:07:07.205-07:00</updated><title type='text'>Sebastian&#39;s Blog (EN)</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.en.edaro.net/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7693229492970436176/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://blog.en.edaro.net/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Sebastian Loncar</name><uri>http://www.blogger.com/profile/01579069609147483623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7693229492970436176.post-9152244996084336003</id><published>2014-02-12T18:54:00.001-08:00</published><updated>2018-03-01T15:16:43.343-08:00</updated><title type='text'>Playing games on Wine with activated Steam Community without crashing the game when pressing a key</title><content type='html'>&lt;h2&gt;
Problem&lt;/h2&gt;
When you play steam games on Linux with &lt;a href=&quot;http://www.winehq.org/&quot; target=&quot;_blank&quot;&gt;Wine&lt;/a&gt; and having the in-game &lt;a href=&quot;http://www.steampowered.com/&quot; target=&quot;_blank&quot;&gt;Steam&lt;/a&gt; Community enabled, the game may crash when hitting any key. The main problem is, there&#39;s a dll called &quot;&lt;span style=&quot;color: #999999; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;imm32.dll&lt;/span&gt;&quot;, that&#39;s an internal dll of windows. The dll&#39;s API is not documented, so the wine develeopers cannot reimplement this library very well. You can read more about the bug &lt;a href=&quot;http://bugs.winehq.org/show_bug.cgi?id=35361&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;. I found three solutions to solve this Problem:&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;
Solution 1: The simple Way&lt;/h2&gt;
Simply disable the Steam Community for the specific game. Right click the game, choose &lt;span style=&quot;color: #999999; font-family: inherit;&quot;&gt;Properties&lt;/span&gt; and uncheck &quot;&lt;span style=&quot;color: #999999; font-family: inherit;&quot;&gt;Enable Steam Community in game&lt;/span&gt;&quot;. The disadvantage is, you can&#39;t use multiplayer than.&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;
&lt;strike&gt;
Solution 2: The native-dll way&lt;/strike&gt;&lt;/h2&gt;
&lt;strike&gt;Use an existing &lt;span style=&quot;color: #999999; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;imm32.dll&lt;/span&gt; from a Windows machine, and put it into the &lt;span style=&quot;color: #999999; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;windows/system32&lt;/span&gt; directory of the wine installation. I&#39;m using PlayOnLinux:&lt;/strike&gt;&lt;br /&gt;
&lt;strike&gt;&lt;br /&gt;&lt;/strike&gt;
&lt;span style=&quot;color: #999999; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;strike&gt;$ cp imm32.dll ~/.PlayOnLinux/wineprefix/Steam/drive_c/windows/system32&lt;/strike&gt;&lt;/span&gt;&lt;br /&gt;
&lt;strike&gt;&lt;br /&gt;&lt;/strike&gt;
&lt;strike&gt;Than you have to right click the steam entry in PlayOnLinux, and click &quot;configure&quot;. On Librarys tab, add an entry &quot;&lt;span style=&quot;color: #999999; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;imm32&lt;/span&gt;&quot; and set it to &quot;&lt;span style=&quot;color: #999999; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;native, buildin&lt;/span&gt;&quot;.&lt;/strike&gt;&lt;br /&gt;
&lt;strike&gt;&lt;br /&gt;&lt;/strike&gt;
&lt;strike&gt;The disadvantage is, you need the &lt;span style=&quot;color: #999999; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;imm32.dll&lt;/span&gt; from an existing windows installation. Small hint: Search the internet, there are some serios dll-databases. Just asked google - but be carefull. Not every site offers serios dlls.&lt;/strike&gt;&lt;br /&gt;
&lt;br /&gt;
After some tests, this way do not work.&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;
Solution 3: The compilation way&lt;/h2&gt;
You simple &quot;patch&quot; the source code of the official open source &lt;span style=&quot;color: #999999; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;imm32.dll&lt;/span&gt; of wine.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #999999; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;$ git clone git://source.winehq.org/git/wine.git ~/wine-git&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #999999; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;$&amp;nbsp;cd ~/wine-git&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Optional, but highly recommented:&lt;br /&gt;
&lt;span style=&quot;color: #999999; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;$ nano Makefile&lt;/span&gt;&lt;br /&gt;
and change &quot;&lt;span style=&quot;color: #999999; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;prefix = ...&lt;/span&gt;&quot; to &quot;&lt;span style=&quot;color: #999999; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;prefix = /tmp/wine&lt;/span&gt;&quot;.&lt;br /&gt;
do the same with &quot;&lt;span style=&quot;color: #999999; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;ac_default_prefix = ...&lt;/span&gt;&quot; in the file &quot;&lt;span style=&quot;color: #999999; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;configure&lt;/span&gt;&quot;.&lt;br /&gt;
&lt;br /&gt;
Now apply the patch:&lt;br /&gt;
&lt;span style=&quot;color: #999999; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;$ nano dlls/imm32/imm.c&lt;/span&gt;&lt;br /&gt;
Search for this line: &quot;&lt;span style=&quot;color: #999999; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;BOOL WINAPI ImmProcessKey(&lt;/span&gt;&quot;...&lt;br /&gt;
&lt;div&gt;
and insert after the &quot;&lt;span style=&quot;color: #999999; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;TRACE(&lt;/span&gt;&quot;... line this new line:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #999999; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;return FALSE;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Please to not forget the &quot;&lt;span style=&quot;color: #999999; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;;&lt;/span&gt;&quot; char.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Thats all! Now compile:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;color: #999999; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;$ ./configure&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #999999; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;$ make depend&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #999999; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;$ make&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #999999; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;$ make install&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
If you are using PlayOnLinux, you can simply add a new wine version:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #999999; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;$ cp -r /tmp/wine ~/.PlayOnLinux/wine/linux-x86/1.7.x-imm-patch&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
In PlayOnLinux, select the Steam entry and press on the &lt;span style=&quot;color: #999999;&quot;&gt;configure&lt;/span&gt; button in the menu bar and select the wine version &quot;&lt;span style=&quot;color: #999999; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;1.7.x-imm-patch&lt;/span&gt;&quot;.&lt;br /&gt;
&lt;br /&gt;
Happy wine-playing!&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFFJwEiUffZlFldxQtJDhqVWPLt5BbPka8xTwuHsiybOK5cV9chWwnSGRiJKer9-EMNtbYr3GcxbjKxkarThxWqjHndX3x6ufAc9_K_9NfeDrDcjBqwCKX3xGBOcWwkuQYFES2Wc2atIY2/s1600/Steam-Linux.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;219&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFFJwEiUffZlFldxQtJDhqVWPLt5BbPka8xTwuHsiybOK5cV9chWwnSGRiJKer9-EMNtbYr3GcxbjKxkarThxWqjHndX3x6ufAc9_K_9NfeDrDcjBqwCKX3xGBOcWwkuQYFES2Wc2atIY2/s1600/Steam-Linux.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://blog.en.edaro.net/feeds/9152244996084336003/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.en.edaro.net/2014/02/Wine-and-the-Steam-Community.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7693229492970436176/posts/default/9152244996084336003'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7693229492970436176/posts/default/9152244996084336003'/><link rel='alternate' type='text/html' href='http://blog.en.edaro.net/2014/02/Wine-and-the-Steam-Community.html' title='Playing games on Wine with activated Steam Community without crashing the game when pressing a key'/><author><name>Sebastian Loncar</name><uri>http://www.blogger.com/profile/01579069609147483623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFFJwEiUffZlFldxQtJDhqVWPLt5BbPka8xTwuHsiybOK5cV9chWwnSGRiJKer9-EMNtbYr3GcxbjKxkarThxWqjHndX3x6ufAc9_K_9NfeDrDcjBqwCKX3xGBOcWwkuQYFES2Wc2atIY2/s72-c/Steam-Linux.jpg" height="72" width="72"/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7693229492970436176.post-7577652126049235493</id><published>2014-01-04T12:12:00.000-08:00</published><updated>2014-02-12T22:47:48.781-08:00</updated><title type='text'>Fix broken autocompletion with zsh in cygwin</title><content type='html'>&lt;h2&gt;
Problem&lt;/h2&gt;
When you use zsh in &lt;a href=&quot;http://www.cygwin.com/&quot;&gt;cygwin&lt;/a&gt;, and you run cygwin as another user as you installed cygwin, autocomplete in zsh may not work.&lt;br /&gt;
&lt;br /&gt;
When calling&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #999999; font-family: Courier New, Courier, monospace;&quot;&gt;$ compinit&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
you may recive the following message:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #999999; font-family: Courier New, Courier, monospace;&quot;&gt;Ignore insecure directories and files and continue [y] or abort compinit [n]?&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Pressing &lt;span style=&quot;color: #999999; font-family: Courier New, Courier, monospace;&quot;&gt;y&lt;/span&gt; will continue, but autocomplete will still not work.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #999999; font-family: Courier New, Courier, monospace;&quot;&gt;$ compaudit&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
will show you the insecure directories.&lt;br /&gt;
&lt;br /&gt;
There are &lt;a href=&quot;http://chunlianglyu.com/article/2013/01/cygwin/&quot;&gt;some solutions&lt;/a&gt; in the internet, they didn&#39;t worked for me:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #999999; font-family: Courier New, Courier, monospace;&quot;&gt;$compaudit | xargs chmod g-w&lt;/span&gt;&lt;br /&gt;
or&lt;br /&gt;
&lt;span style=&quot;color: #999999; font-family: Courier New, Courier, monospace;&quot;&gt;$compaudit | xargs chmod 550&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
It does not matter, if you use &lt;span style=&quot;color: #999999; font-family: Courier New, Courier, monospace;&quot;&gt;chmod&lt;/span&gt; manually on the specific directories, of if you even use &lt;span style=&quot;color: #999999; font-family: Courier New, Courier, monospace;&quot;&gt;chmod 0&lt;/span&gt; (for testing).&lt;br /&gt;
&lt;br /&gt;
This problem occurs only, when running cygwin as another user as you installed cygwin. And it may only occur, when this running user is an administrator (not tested with unprivileged user). The problem may be: As Administrator, you can &quot;always&quot; modify files, even if chmod disallows this. compinit does not know about this situation (its a unix app), but it finds out, that you have write acess to it - that&#39;s the problem.&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;
Solution&lt;/h2&gt;
The solution is simple: copy all insecure directores (call &lt;span style=&quot;color: #999999; font-family: Courier New, Courier, monospace;&quot;&gt;compaudit&lt;/span&gt; to show them) to your local profile and rewrite the &lt;span style=&quot;color: #999999; font-family: Courier New, Courier, monospace;&quot;&gt;$fpath&lt;/span&gt; variable.&lt;br /&gt;
&lt;br /&gt;
Copy the zsh files to your local profile&lt;br /&gt;
&lt;span style=&quot;color: #999999; font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: #999999; font-family: Courier New, Courier, monospace;&quot;&gt;cp -r /usr/share/zsh ~/.zsh&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
To change the &lt;span style=&quot;color: #999999; font-family: Courier New, Courier, monospace;&quot;&gt;$fpath&lt;/span&gt; variable, add in &lt;span style=&quot;color: #999999; font-family: Courier New, Courier, monospace;&quot;&gt;~/.zshrc&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #999999; font-family: Courier New, Courier, monospace;&quot;&gt;fpath=(~/zsh/site-functions ~/.zsh/5.0.2/functions) # note: replace zsh-version with the needed one&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Warning: if &lt;span style=&quot;color: #999999; font-family: Courier New, Courier, monospace;&quot;&gt;$fpath&lt;/span&gt; will accidently will be non valid (for example, changing&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt; &lt;span style=&quot;color: #999999;&quot;&gt;$fpath&lt;/span&gt;&lt;/span&gt; befor copy the files), your zsh will stop working! To be sure, you should have bash as default shell, while modifying this.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
When you are using &lt;a href=&quot;https://github.com/sorin-ionescu/prezto&quot;&gt;prezto&lt;/a&gt;, you need to add it to &amp;nbsp;&lt;span style=&quot;color: #999999; font-family: Courier New, Courier, monospace;&quot;&gt;~/.zpreztorc&lt;/span&gt; !&lt;br /&gt;
&lt;br /&gt;
After that, you need to delete &lt;span style=&quot;color: #999999; font-family: Courier New, Courier, monospace;&quot;&gt;~/.zcompdump&lt;/span&gt; and &lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: #999999;&quot;&gt;~/.zcompdump.zwc&lt;/span&gt; &lt;/span&gt;and restart zsh.&lt;br /&gt;
&lt;br /&gt;
This solution seems not to be very clean, but it&#39;s the only working solution i found out. If you have an better suggestion, please let me know.&lt;br /&gt;
&lt;br /&gt;
Happy autocompleting!&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVpPop6_Gpvc_n14DfR3DcYAhPaWXoWjUkxQVKOfx2ceEcRMy8FTjg2IsHdh2PTTZFro1rWShMpnr84KXTLLWEeZwd9AwnffEXycRa0eJnXsRNpmeQCmshNYgw4z5umzu99Y552KVpRWrC/s1600/cygwin-logo.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVpPop6_Gpvc_n14DfR3DcYAhPaWXoWjUkxQVKOfx2ceEcRMy8FTjg2IsHdh2PTTZFro1rWShMpnr84KXTLLWEeZwd9AwnffEXycRa0eJnXsRNpmeQCmshNYgw4z5umzu99Y552KVpRWrC/s320/cygwin-logo.png&quot; height=&quot;320&quot; width=&quot;258&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://blog.en.edaro.net/feeds/7577652126049235493/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.en.edaro.net/2014/01/fix-broken-autocompletion-with-zsh-in.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7693229492970436176/posts/default/7577652126049235493'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7693229492970436176/posts/default/7577652126049235493'/><link rel='alternate' type='text/html' href='http://blog.en.edaro.net/2014/01/fix-broken-autocompletion-with-zsh-in.html' title='Fix broken autocompletion with zsh in cygwin'/><author><name>Sebastian Loncar</name><uri>http://www.blogger.com/profile/01579069609147483623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVpPop6_Gpvc_n14DfR3DcYAhPaWXoWjUkxQVKOfx2ceEcRMy8FTjg2IsHdh2PTTZFro1rWShMpnr84KXTLLWEeZwd9AwnffEXycRa0eJnXsRNpmeQCmshNYgw4z5umzu99Y552KVpRWrC/s72-c/cygwin-logo.png" height="72" width="72"/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7693229492970436176.post-3775056627667491576</id><published>2012-08-15T09:01:00.003-07:00</published><updated>2014-01-04T15:20:24.775-08:00</updated><title type='text'>HSL colorspace</title><content type='html'>How is a color defined? With the colors of red, green and blue, of course. With mixing these colors, you can get every other color. But have you ever tried to manipulate a &lt;b&gt;RGB color&lt;/b&gt;, for example lighten or darken? You need to change every RGB value in relation to the other values.&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://colorizer.org/img/rgb.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://colorizer.org/img/rgb.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
The &lt;b&gt;HSL colorspace&lt;/b&gt; wich much simpler to use. H stands for Hue(0-360°), S is Saturation (0%-100%, 0=Gray, 100=full color) and L is&amp;nbsp;Lightness(0=black, 50% is the base color and 100% is white).&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://colorizer.org/img/hsl.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://colorizer.org/img/hsl.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
And the bes is: you can use HSL colors in every modern browser! Instead of using #RRGGBB or rgb(R, G, B) you can write&amp;nbsp;hsl(H, S%, L%). For example&amp;nbsp;hsl(0, 100%, 50%) is red.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
At&amp;nbsp;&lt;a href=&quot;http://colorizer.org/&quot; target=&quot;_blank&quot;&gt;http://colorizer.org&lt;/a&gt; there is a colorpicker, wich can also show, change and convert RGB, HSL, HSB, HEX und&amp;nbsp;CMYK values.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://colorizer.org/img/rgb-hsl-sc.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;215&quot; src=&quot;http://colorizer.org/img/rgb-hsl-sc.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://blog.en.edaro.net/feeds/3775056627667491576/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.en.edaro.net/2012/08/hsl-colorspace.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7693229492970436176/posts/default/3775056627667491576'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7693229492970436176/posts/default/3775056627667491576'/><link rel='alternate' type='text/html' href='http://blog.en.edaro.net/2012/08/hsl-colorspace.html' title='HSL colorspace'/><author><name>Sebastian Loncar</name><uri>http://www.blogger.com/profile/01579069609147483623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>