<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" xml:lang="en-us"><title>vicfryzel.com Articles</title><link href="http://www.vicfryzel.com/" rel="alternate" /><id>http://www.vicfryzel.com/</id><updated>2011-12-27T23:26:15-05:00</updated><author><name>Vic Fryzel</name><uri>http://www.vicfryzel.com</uri></author><subtitle>Vic Fryzel's stream of ideas, thoughts, and work regarding Linux, software engineering, and open source software.</subtitle><rights>Nothing here represents my employer. vicfryzel.com by Vic Fryzel is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.</rights><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/vicfryzel/articles" /><feedburner:info uri="vicfryzel/articles" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><link rel="license" type="text/html" href="http://creativecommons.org/licenses/by-sa/3.0/" /><entry><title>Fixing Skyrim&amp;#39;s sound in wine</title><link href="http://feedproxy.google.com/~r/vicfryzel/articles/~3/KkkGEYt87hA/fixing-skyrims-sound-wine" rel="alternate" /><updated>2011-12-27T23:26:15-05:00</updated><author><name>Vic Fryzel</name><uri>http://www.vicfryzel.com</uri></author><id>http://www.vicfryzel.com/2011/12/27/fixing-skyrims-sound-wine</id><summary type="html">&lt;p&gt;Like me, you may be having a problem with the sound while running &lt;a href="http://www.elderscrolls.com/skyrim/"&gt;Skyrim&lt;/a&gt; in &lt;a href="http://www.winehq.org/"&gt;wine&lt;/a&gt;.  The problem is that the sound skips or ticks multiple times per second.&lt;/p&gt;
&lt;p&gt;Some guides and blogs have mentioned that to play Skyrim, wine must be set to &lt;code&gt;Windows 7&lt;/code&gt; mode.  For me, this causes the sound problem.  To fix this problem, I've found that simply setting wine to &lt;code&gt;Windows 2000&lt;/code&gt; mode in &lt;code&gt;winecfg&lt;/code&gt; resolves the sound issue.&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/vicfryzel/articles/~4/KkkGEYt87hA" height="1" width="1"/&gt;</summary><feedburner:origLink>http://www.vicfryzel.com/2011/12/27/fixing-skyrims-sound-wine</feedburner:origLink></entry><entry><title>True fullscreen in xmonad</title><link href="http://feedproxy.google.com/~r/vicfryzel/articles/~3/qN8uKxQcNF0/true-fullscreen-xmonad" rel="alternate" /><updated>2011-12-26T20:33:30-05:00</updated><author><name>Vic Fryzel</name><uri>http://www.vicfryzel.com</uri></author><id>http://www.vicfryzel.com/2011/12/26/true-fullscreen-xmonad</id><summary type="html">&lt;p&gt;For a long time, I have been dealing with a minor issue that has prevented fullscreen applications from displaying in a correct 16:10 resolution (or other standard resolution).  This problem can be caused by xmobar occupying the dock area in my primary workspace.  This problem can also be caused by window borders occupying extra pixels.  In &lt;a href="http://www.vicfryzel.com/2011/02/27/starcraft-ii-arch-xmonad"&gt;Starcraft II in Arch, xmonad&lt;/a&gt;, I modified the resolution of the wine desktop to account for the dock area and window borders.&lt;/p&gt;
&lt;p&gt;Messing with the resolution hasn't been required for a while now, but today I got around to fixing the problem while getting &lt;a href="http://www.elderscrolls.com/skyrim/"&gt;Skyrim&lt;/a&gt; running in Linux.&lt;/p&gt;
&lt;p&gt;To display windows as true fullscreen in a workspace, use the following layouts.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;:::haskell
import XMonad.Layout.Fullscreen
import XMonad.Layout.NoBorders
-- ...
myLayout = avoidStruts (
    Tall 1 (3/100) (1/2) |||
    Mirror (Tall 1 (3/100) (1/2))) |||
    noBorders (fullscreenFull Full)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;In this configuration, the Tall and Mirror Tall layouts avoid the dock area, because they are within avoidStruts.  Since &lt;code&gt;noBorders (fullscreenFull Full)&lt;/code&gt; is not within avoidStruts, it allows windows to overlap the dock area.  The &lt;code&gt;noBorders&lt;/code&gt; layout, as the name implies, removes borders from the given layouts.&lt;/p&gt;
&lt;p&gt;Once enabled, cycling through layouts enables a true fullscreen layout that occupies the entire workspace, hiding borders and dock areas.  Each window is rendered fullscreen, and windows can be cycled through as usual.&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/vicfryzel/articles/~4/qN8uKxQcNF0" height="1" width="1"/&gt;</summary><feedburner:origLink>http://www.vicfryzel.com/2011/12/26/true-fullscreen-xmonad</feedburner:origLink></entry><entry><title>StarCraft II in Arch, xmonad</title><link href="http://feedproxy.google.com/~r/vicfryzel/articles/~3/p0ZcLHETNXI/starcraft-ii-arch-xmonad" rel="alternate" /><updated>2011-02-27T02:05:45-05:00</updated><author><name>Vic Fryzel</name><uri>http://www.vicfryzel.com</uri></author><id>http://www.vicfryzel.com/2011/02/27/starcraft-ii-arch-xmonad</id><summary type="html">&lt;p&gt;I bought &lt;a href="http://us.battle.net/sc2/en/"&gt;StarCraft II&lt;/a&gt; today.  It took me an hour or two to get it running with &lt;a href="http://www.winehq.org/"&gt;Wine&lt;/a&gt;, mostly because of some out of date lib32 packages in Arch.  It might save you some time to know that if you enable the multilib repo in Arch, be sure to &lt;code&gt;pacman -Syu&lt;/code&gt; first, because you may have installed some lib32 libs prior to enabling that repo.&lt;/p&gt;
&lt;p&gt;To get StarCraft II displaying well in &lt;a href="http://xmonad.org/"&gt;xmonad&lt;/a&gt;, you have to change some settings in winecfg and in the game itself.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;:::bash
WINEARCH=win32 winecfg
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;In the Graphics tab, select a desktop size of 1678x1024 if you're on a dual screen 1680x1050 setup, with a 20px xmobar and a 24px Tabbed layout on the game desktop.  When in game, go to the Options screen and select Windowed (Fullscreen).  You should get something like below.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://picasaweb.google.com/lh/photo/vkzMWRUT6MUT7jxNihFv4w?feat=embedwebsite"&gt;&lt;img src="https://lh6.googleusercontent.com/_qaM_hTDX9xA/TWn1YBmkhWI/AAAAAAAABRc/wGswptgdpWw/s600/2011-02-27-015308_3360x1050_scrot.png" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If you have skipping sound (like I did,) in winecfg select "Emulation" under Audio &amp;gt; Hardware Acceleration.&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/vicfryzel/articles/~4/p0ZcLHETNXI" height="1" width="1"/&gt;</summary><feedburner:origLink>http://www.vicfryzel.com/2011/02/27/starcraft-ii-arch-xmonad</feedburner:origLink></entry><entry><title>xmonad with fullscreen Flash video</title><link href="http://feedproxy.google.com/~r/vicfryzel/articles/~3/qU_e8Her38g/xmonad-fullscreen-flash-video" rel="alternate" /><updated>2011-02-26T23:32:22-05:00</updated><author><name>Vic Fryzel</name><uri>http://www.vicfryzel.com</uri></author><id>http://www.vicfryzel.com/2011/02/26/xmonad-fullscreen-flash-video</id><summary type="html">&lt;p&gt;For ages, although loving Xmonad, I've been plagued by an issue without being able to fullscreen Flash video.  Finally, I stumbled upon &lt;a href="http://www.haskell.org/haskellwiki/Xmonad/Frequently_asked_questions#Watch_fullscreen_flash_video"&gt;this FAQ&lt;/a&gt;, and the following line has changed my life.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;:::haskell
isFullscreen --&amp;gt; (doF W.focusDown &amp;lt;+&amp;gt; doFullFloat)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;So exciting.  My web video consumption just increased a lot.&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/vicfryzel/articles/~4/qU_e8Her38g" height="1" width="1"/&gt;</summary><feedburner:origLink>http://www.vicfryzel.com/2011/02/26/xmonad-fullscreen-flash-video</feedburner:origLink></entry><entry><title>collective: blog engine with minimal core feature set</title><link href="http://feedproxy.google.com/~r/vicfryzel/articles/~3/TnEUz4HvQGY/collective-blog-engine-minimal-core-feature-set" rel="alternate" /><updated>2011-01-08T02:42:42-05:00</updated><author><name>Vic Fryzel</name><uri>http://www.vicfryzel.com</uri></author><id>http://www.vicfryzel.com/2011/01/08/collective-blog-engine-minimal-core-feature-set</id><summary type="html">&lt;p&gt;I just launched &lt;a href="https://github.com/vicfryzel/collective"&gt;collective&lt;/a&gt;, which is what I've decided to call the &lt;a href="http://www.vicfryzel.com/2011/01/06/finally-blog-software-doesnt-suck"&gt;blog engine I built to back vicfryzel.com&lt;/a&gt;.  I cleaned it up a bit and added some documentation.  It's pretty easy to install in a separate instance, I've done this a few times now and have had no trouble.&lt;/p&gt;
&lt;p&gt;I'm actually kind of proud of this project now.  It's a nice solution to the problem I had of finding a working, minimal blog solution.&lt;/p&gt;
&lt;p&gt;Let me know your comments!  If you try it, I'd love to hear from you.&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/vicfryzel/articles/~4/TnEUz4HvQGY" height="1" width="1"/&gt;</summary><feedburner:origLink>http://www.vicfryzel.com/2011/01/08/collective-blog-engine-minimal-core-feature-set</feedburner:origLink></entry></feed>

