<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Alien Pastures &#187; theme</title>
	<atom:link href="http://alien.slackbook.org/blog/tag/theme/feed/" rel="self" type="application/rss+xml" />
	<link>http://alien.slackbook.org/blog</link>
	<description>My thoughts on Slackware, life and everything</description>
	<lastBuildDate>Mon, 06 Feb 2012 00:27:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Running VLC in XFCE</title>
		<link>http://alien.slackbook.org/blog/running-vlc-in-xfce/</link>
		<comments>http://alien.slackbook.org/blog/running-vlc-in-xfce/#comments</comments>
		<pubDate>Fri, 27 Aug 2010 09:22:04 +0000</pubDate>
		<dc:creator>alienbob</dc:creator>
				<category><![CDATA[Slackware]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[gtk]]></category>
		<category><![CDATA[qt4]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[vlc]]></category>
		<category><![CDATA[xfce]]></category>

		<guid isPermaLink="false">http://alien.slackbook.org/blog/?p=489</guid>
		<description><![CDATA[As you may know I am using KDE for my daily work. However, I use XFCE from time to time &#8211; for example when I have to run a remote X session over XDMCP and want to keep a fluid feel to the desktop. When I was working in XFCE yesterday I wanted to use [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-490" style="border: 0pt none; margin: 10px;" title="qt4-logo" src="http://alien.slackbook.org/blog/wp-content/uploads/2010/08/qt4-logo.png" alt="" width="90" height="90" /></p>
<p>As you may know I am using <a href="http://kde.org/" target="_blank">KDE </a>for my daily work. However, I use <a href="http://xfce.org/" target="_blank">XFCE </a>from time to time &#8211; for example when I have to run a remote X session over <a href="http://tldp.org/HOWTO/XDMCP-HOWTO/" target="_blank">XDMCP</a> and want to keep a fluid feel to the desktop.</p>
<p>When I was working in XFCE yesterday I wanted to use <a href="http://videolan.org/" target="_blank">VLC</a> to check a video file on my computer, and I was in for a surprise when clicking &#8220;Media &gt; Open file&#8221; made my VLC hang indefinitely!</p>
<p>I remembered a discussion about this phenomenon on <a href="http://www.linuxquestions.org/questions/slackware-14/vlc-and-xfce-817406/" target="_blank">LinuxQuestions.org</a> and indeed the solution as pointed out in that thread works for me.</p>
<p>What happens here?</p>
<p>The core of the issue, is that Qt4 makes an incorrect assumption about which GTK+ theme engine to use. A GTK+ theme engine makes a Qt4 application blend in nicely with a GTK+ based desktop environment such as XFCE, by using GTK+ instead of Qt4 to render all graphical components.</p>
<p>There are a few GTK+ theme engines available &#8211; one of them is <em>QGtkStyle</em> which is part of Qt4 in Slackware. However, Qt4 libraries look at the environment variable &#8220;<span style="color: #0000ff;">GTK2_RC_FILES</span>&#8221; in order to find out how to configure the GTK theme engine.</p>
<p>If this environment variable is not (or incorrectly) set, then Qt4 assumes that GTK+ is using <em>GTK-QT-Engine</em> which is not part of Slackware (GTK-QT-Engine is used to give GTK appplications a Qt feel when they are running in KDE) and it will not correctly apply the QGtkStyle engine. It sets QGtkStyle to use the GTK style <em>Clearlooks</em>, and outputs an error message which you will sometimes be able to see if you started a Qt-based application from a terminal:</p>
<blockquote>
<pre><span style="color: #0000ff;">QGtkStyle cannot be used together with the GTK_Qt engine.</span>
</pre>
</blockquote>
<p>This can be solved by explicitly telling Qt4 where Slackware keeps its GTK+ configuration files, and then making sure a GTK+ theme is configured there.</p>
<ul>
<li>Define the environment variable &#8220;<span style="color: #0000ff;">GTK2_RC_FILES</span>&#8221; in one of these files: <span style="color: #0000ff;">${HOME}/.xinitrc</span> (applies to just you) or in <span style="color: #0000ff;">/etc/profile.d/qt4.sh</span> (applies system-wide) by adding the follwing two lines to that file (assuming you are using bash as your default shell):
<pre>GTK2_RC_FILES="$HOME/.gtkrc-2.0:/etc/gtk-2.0/gtkrc"</pre>
<pre>export GTK2_RC_FILES</pre>
</li>
<li>Create a new file (or edit the existing) <span style="color: #0000ff;">${HOME}/.gtkrc-2.0</span> (so that the GTK theme applies to just you) or <span style="color: #0000ff;">/etc/gtk-2.0/gtkrc</span> (so that it applies system-wide) and add the following line to it:
<pre>gtk-theme-name="GTK+"</pre>
</li>
</ul>
<p>That should fix VLC&#8217;s &#8220;Media &gt; File Open&#8221; dialog which will now appear instantly.</p>
<p>Note: You can choose a GTK+ theme for all your QT4 based applications if you want by running &#8220;<span style="color: #0000ff;">qtconfig</span>&#8221; and in the tab &#8220;Appearance&#8221; set the &#8220;Select GUI Style&#8221; to &#8220;<em>GTK+</em>&#8221; instead of &#8220;<em>Desktop Settings (default)</em>&#8220;.</p>
<p>Eric</p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow: hidden;"><strong>GTK2_RC_FILES</strong></div>
]]></content:encoded>
			<wfw:commentRss>http://alien.slackbook.org/blog/running-vlc-in-xfce/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Icons disappear in XFCE 4.6.0</title>
		<link>http://alien.slackbook.org/blog/icons-disappear-in-xfce-460/</link>
		<comments>http://alien.slackbook.org/blog/icons-disappear-in-xfce-460/#comments</comments>
		<pubDate>Wed, 11 Mar 2009 00:04:05 +0000</pubDate>
		<dc:creator>alienbob</dc:creator>
				<category><![CDATA[Slackware]]></category>
		<category><![CDATA[icons]]></category>
		<category><![CDATA[rodent]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[xfce]]></category>

		<guid isPermaLink="false">http://alien.slackbook.org/blog/?p=100</guid>
		<description><![CDATA[Ouch&#8230; You just upgraded your Slackware computer to the latest slackware-current and you are using XFCE as a desktop manager. Perhaps you wondered why all of a sudden most of your panel icons are missing, and several of the icons that should display in menus and dialogs are gone as well. The issue you are [...]]]></description>
			<content:encoded><![CDATA[<p>Ouch&#8230;</p>
<p>You just upgraded your Slackware computer to the latest <a href="http://www.slackware.com/changelog/current.php?cpu=i386" target="_blank">slackware-current</a> and you are using <a href="http://www.xfce.org/" target="_blank"><em>XFCE</em> </a>as a desktop manager. Perhaps you wondered why all of a sudden most of your panel icons are missing, and several of the icons that should display in menus and dialogs are gone as well.</p>
<p>The issue you are experiencing is caused by the removal of the <em>Rodent icon theme</em> from XFCE 4.6.0. This icon theme was the default in past versions, and your configuration in ~/.config/xfce4/ will have references to that Rodent theme especially if you selected custom icons in some places. Now you upgraded to 4.6.0 and the Rodent is gone, XFCE will not be able to display the associated icons.</p>
<p>The remedy is fairly simple (thanks Robby for informing me). Running (all of) the following three steps should work:</p>
<ol>
<li>Run the command <span style="color: #0000ff;">&#8220;/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor&#8221;</span></li>
<li>Use the <em>XFCE Settings Manager</em> to change the theme to <span style="color: #0000ff;">Tango </span>or <span style="color: #0000ff;">Gnome</span></li>
<li>Re-install the &#8220;<span style="color: #0000ff;">hicolor-icon-theme</span>&#8221; package</li>
</ol>
<p>When that is done, you may <em>still </em>have icons for launchers on the panel that are missing. In that case there is no other solution than to edit that particular launcher&#8217;s properties and select a new icon for it. See our bug report about this issue at <a href="http://bugzilla.xfce.org/show_bug.cgi?id=5067" target="_blank">http://bugzilla.xfce.org/show_bug.cgi?id=5067</a> which was opened by <a href="http://rlworkman.net/" target="_blank">Robby Workman</a>.</p>
<p>Note that you will <strong>not</strong> experience this &#8220;missing icons&#8221; behaviour if you install XFCE 4.6.0 without ever having used older versions of XFCE before on that computer. It is purely upgrade-related.</p>
<p>Cheers, Eric</p>
]]></content:encoded>
			<wfw:commentRss>http://alien.slackbook.org/blog/icons-disappear-in-xfce-460/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

