<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Wine colors and Ubuntu themes</title>
	<atom:link href="http://www.endolith.com/wordpress/2008/08/03/wine-colors/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.endolith.com/wordpress/2008/08/03/wine-colors/</link>
	<description>move along</description>
	<lastBuildDate>Sun, 24 Jan 2010 05:26:30 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Endolith</title>
		<link>http://www.endolith.com/wordpress/2008/08/03/wine-colors/comment-page-1/#comment-6129</link>
		<dc:creator>Endolith</dc:creator>
		<pubDate>Sun, 24 Jan 2010 05:23:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.endolith.com/wordpress/?p=46#comment-6129</guid>
		<description>Is &lt;tt&gt;~/.wine/drive_c/windows/temp&lt;/tt&gt; ok?  I added a thing to the gist to put it there instead.  Does it work?</description>
		<content:encoded><![CDATA[<p>Is <tt>~/.wine/drive_c/windows/temp</tt> ok?  I added a thing to the gist to put it there instead.  Does it work?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Linus Unnebäck</title>
		<link>http://www.endolith.com/wordpress/2008/08/03/wine-colors/comment-page-1/#comment-6120</link>
		<dc:creator>Linus Unnebäck</dc:creator>
		<pubDate>Fri, 22 Jan 2010 20:28:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.endolith.com/wordpress/?p=46#comment-6120</guid>
		<description>Actually, I think he is trying to say that if wine isn&#039;t configured with any path to / (wine have z: for this by default), wine can&#039;t read from /tmp/*.

A fix for this would be to put the reg-file in $HOME/.wine/dosdevices/c:/windows/temp/ instead ($HOME/.wine/ should be the wineprefix path, not sure how to get that).

//Linus Unnebäck</description>
		<content:encoded><![CDATA[<p>Actually, I think he is trying to say that if wine isn&#8217;t configured with any path to / (wine have z: for this by default), wine can&#8217;t read from /tmp/*.</p>
<p>A fix for this would be to put the reg-file in $HOME/.wine/dosdevices/c:/windows/temp/ instead ($HOME/.wine/ should be the wineprefix path, not sure how to get that).</p>
<p>//Linus Unnebäck</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Endolith</title>
		<link>http://www.endolith.com/wordpress/2008/08/03/wine-colors/comment-page-1/#comment-6014</link>
		<dc:creator>Endolith</dc:creator>
		<pubDate>Wed, 13 Jan 2010 15:27:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.endolith.com/wordpress/?p=46#comment-6014</guid>
		<description>Sorry, I don&#039;t understand if you&#039;re asking a question or telling us how to fix something.  Wine&#039;s regedit can&#039;t see the tmp file because it doesn&#039;t know where the root filesystem is?</description>
		<content:encoded><![CDATA[<p>Sorry, I don&#8217;t understand if you&#8217;re asking a question or telling us how to fix something.  Wine&#8217;s regedit can&#8217;t see the tmp file because it doesn&#8217;t know where the root filesystem is?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jack</title>
		<link>http://www.endolith.com/wordpress/2008/08/03/wine-colors/comment-page-1/#comment-6011</link>
		<dc:creator>jack</dc:creator>
		<pubDate>Wed, 13 Jan 2010 06:16:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.endolith.com/wordpress/?p=46#comment-6011</guid>
		<description>Hi
if do not use drive /, which gives access to linux root for wine applications, then regedit.exe cant read /tmp/winecolors.reg 

$ python wine_colors_from_gtk.py 
GTK engine: Clearlooks
Using regedit to import colors into registry...

Warning: could not find DOS drive for current working directory &#039;/home/username/.wine&#039;, starting in the Windows directory.
regedit: File not found &quot;/tmp/winecolors3IQ348.reg&quot; (2)
Done importing colors</description>
		<content:encoded><![CDATA[<p>Hi<br />
if do not use drive /, which gives access to linux root for wine applications, then regedit.exe cant read /tmp/winecolors.reg </p>
<p>$ python wine_colors_from_gtk.py<br />
GTK engine: Clearlooks<br />
Using regedit to import colors into registry&#8230;</p>
<p>Warning: could not find DOS drive for current working directory &#8216;/home/username/.wine&#8217;, starting in the Windows directory.<br />
regedit: File not found &#8220;/tmp/winecolors3IQ348.reg&#8221; (2)<br />
Done importing colors</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Endolith</title>
		<link>http://www.endolith.com/wordpress/2008/08/03/wine-colors/comment-page-1/#comment-5916</link>
		<dc:creator>Endolith</dc:creator>
		<pubDate>Wed, 23 Dec 2009 04:19:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.endolith.com/wordpress/?p=46#comment-5916</guid>
		<description>Actually I already had a version that included this.  It&#039;s on http://gist.github.com/74192</description>
		<content:encoded><![CDATA[<p>Actually I already had a version that included this.  It&#8217;s on <a href="http://gist.github.com/74192" rel="nofollow">http://gist.github.com/74192</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Endolith</title>
		<link>http://www.endolith.com/wordpress/2008/08/03/wine-colors/comment-page-1/#comment-5912</link>
		<dc:creator>Endolith</dc:creator>
		<pubDate>Tue, 22 Dec 2009 17:48:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.endolith.com/wordpress/?p=46#comment-5912</guid>
		<description>You can comment out the desktop color line and it should work.  Are you in Gnome?  Which version?  They might report the desktop color in a different format or can&#039;t access it.  I should make that part of a try.. statement instead</description>
		<content:encoded><![CDATA[<p>You can comment out the desktop color line and it should work.  Are you in Gnome?  Which version?  They might report the desktop color in a different format or can&#8217;t access it.  I should make that part of a try.. statement instead</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: on</title>
		<link>http://www.endolith.com/wordpress/2008/08/03/wine-colors/comment-page-1/#comment-5911</link>
		<dc:creator>on</dc:creator>
		<pubDate>Tue, 22 Dec 2009 10:08:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.endolith.com/wordpress/?p=46#comment-5911</guid>
		<description>I got this when running python 
Traceback (most recent call last):
  File &quot;wine_colors_from_gnome.py&quot;, line 127, in 
    color_pairs.append(&#039;&quot;Background&quot;=&quot;%s&quot;&#039; % format_hex_color(desktop_color))
  File &quot;wine_colors_from_gnome.py&quot;, line 28, in format_hex_color
    return &quot;%s %s %s&quot; % (int(r,16), int(g,16), int(b,16))
ValueError: invalid literal for int() with base 16: &#039;&#039;

Any ideas?</description>
		<content:encoded><![CDATA[<p>I got this when running python<br />
Traceback (most recent call last):<br />
  File &#8220;wine_colors_from_gnome.py&#8221;, line 127, in<br />
    color_pairs.append(&#8217;&#8221;Background&#8221;=&#8221;%s&#8221;&#8216; % format_hex_color(desktop_color))<br />
  File &#8220;wine_colors_from_gnome.py&#8221;, line 28, in format_hex_color<br />
    return &#8220;%s %s %s&#8221; % (int(r,16), int(g,16), int(b,16))<br />
ValueError: invalid literal for int() with base 16: &#8221;</p>
<p>Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Endolith</title>
		<link>http://www.endolith.com/wordpress/2008/08/03/wine-colors/comment-page-1/#comment-5713</link>
		<dc:creator>Endolith</dc:creator>
		<pubDate>Sun, 18 Oct 2009 21:16:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.endolith.com/wordpress/?p=46#comment-5713</guid>
		<description>The fonts are no longer anti-aliased, though.  I&#039;ll have to see if the old .cfg files make it anti-aliased again, and then I can get the diff.</description>
		<content:encoded><![CDATA[<p>The fonts are no longer anti-aliased, though.  I&#8217;ll have to see if the old .cfg files make it anti-aliased again, and then I can get the diff.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Endolith</title>
		<link>http://www.endolith.com/wordpress/2008/08/03/wine-colors/comment-page-1/#comment-5712</link>
		<dc:creator>Endolith</dc:creator>
		<pubDate>Sun, 18 Oct 2009 16:37:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.endolith.com/wordpress/?p=46#comment-5712</guid>
		<description>Yeah, the themes are different, so the script will not work perfectly with all themes.  If someone wanted to, they could create test cases and have different color mappings for each theme.

On my setup, Bitstream Vera Sans at a font size of &quot;11&quot; in Wine is about the same as Sans at a font size of &quot;8&quot; in Gnome.</description>
		<content:encoded><![CDATA[<p>Yeah, the themes are different, so the script will not work perfectly with all themes.  If someone wanted to, they could create test cases and have different color mappings for each theme.</p>
<p>On my setup, Bitstream Vera Sans at a font size of &#8220;11&#8243; in Wine is about the same as Sans at a font size of &#8220;8&#8243; in Gnome.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy Piper</title>
		<link>http://www.endolith.com/wordpress/2008/08/03/wine-colors/comment-page-1/#comment-5711</link>
		<dc:creator>Andy Piper</dc:creator>
		<pubDate>Sun, 18 Oct 2009 13:53:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.endolith.com/wordpress/?p=46#comment-5711</guid>
		<description>This is a great guide. I&#039;m using it to customise my UNR 9.10 Wine install to match the look of the UNR desktop.

I had to make a few changes where apparently the script got it a little wrong or I couldn&#039;t access certain values in the winecfg tool. First of all I had to change the menubar colour as it is dark by default in UNR 9.10 but the GTK script seemed to make it light. Then I also had to go through and change all the fonts visible in winecfg to FreeSans 9. 

To get the rest of the fonts in the Windows not to be horrible non-aliased Verdana, I edited .wine/system.reg and altered two lines:

[Software\\Microsoft\\Windows NT\\CurrentVersion\\FontSubstitutes]
&quot;MS Shell Dlg&quot;=&quot;FreeSans&quot;
&quot;MS Shell Dlg 2&quot;=&quot;FreeSans&quot;

I also switched to 2D menus as you suggested by editing user.reg, and then I found the menu highlight colour was wrong so I made the value for Hilight the same as the one set for MenuHilight.</description>
		<content:encoded><![CDATA[<p>This is a great guide. I&#8217;m using it to customise my UNR 9.10 Wine install to match the look of the UNR desktop.</p>
<p>I had to make a few changes where apparently the script got it a little wrong or I couldn&#8217;t access certain values in the winecfg tool. First of all I had to change the menubar colour as it is dark by default in UNR 9.10 but the GTK script seemed to make it light. Then I also had to go through and change all the fonts visible in winecfg to FreeSans 9. </p>
<p>To get the rest of the fonts in the Windows not to be horrible non-aliased Verdana, I edited .wine/system.reg and altered two lines:</p>
<p>[Software\\Microsoft\\Windows NT\\CurrentVersion\\FontSubstitutes]<br />
&#8220;MS Shell Dlg&#8221;=&#8221;FreeSans&#8221;<br />
&#8220;MS Shell Dlg 2&#8243;=&#8221;FreeSans&#8221;</p>
<p>I also switched to 2D menus as you suggested by editing user.reg, and then I found the menu highlight colour was wrong so I made the value for Hilight the same as the one set for MenuHilight.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
