<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://forum.xfce.org/extern.php?action=feed&amp;tid=7188&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Xfce Forums / How To Script .gtkrc-2.0 with bash?]]></title>
		<link>http://forum.xfce.org/viewtopic.php?id=7188</link>
		<description><![CDATA[The most recent posts in How To Script .gtkrc-2.0 with bash?.]]></description>
		<lastBuildDate>Sun, 03 Jun 2012 03:14:10 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[How To Script .gtkrc-2.0 with bash?]]></title>
			<link>http://forum.xfce.org/viewtopic.php?pid=26510#p26510</link>
			<description><![CDATA[<p>hi</p><p>i&#039;m writing a bash script to do stuff with the .gtkrc-2.0 file. </p><p>Question: are there any functions available in bash, or callable from bash, for reading from and writing to .gtkrc-2.0? </p><p>.gtkrc-2.0 appears to be structured strangely, otherwise i&#039;d make a little script to read/write it myself. my .gtkrc-2.0 looks like this:</p><div class="codebox"><pre><code>gtk-double-click-time = 500
gtk-tooltip-timeout = 2500

style &quot;xfdesktop-icon-view&quot; {
    XfdesktopIconView::label-alpha = 0
    XfdesktopIconView::selected-label-alpha = 0
    XfdesktopIconVIew::ellipsize-icon-labels = 0

    XfdesktopIconVIew::cell-spacing = 0
    XfdesktopIconView::cell-padding = 5
    XfdesktopIconView::cell-text-width-proportion = 2
}
widget_class &quot;*XfdesktopIconView*&quot; style &quot;xfdesktop-icon-view&quot;</code></pre></div><p>some stuff has &quot;=&quot;, some has &quot;::&quot;, some has neither, some is inside style tags, some isn&#039;t. seems very all over the place. </p><p>i was hoping perhaps your developers could share your .gtkrc-2.0 read/write functions, or explain how to call them from bash. </p><p>is there a simpler or more consistent way to structure this file? is there a sample file available containing ALL possible settings?</p><p>thanks!</p><p>alsp posted here-<br /><a href="http://saluki-linux.com/Forum/viewtopic.php?f=5&amp;t=248&amp;p=375" rel="nofollow">http://saluki-linux.com/Forum/viewtopic … =248&amp;p=375</a></p>]]></description>
			<author><![CDATA[dummy@example.com (johnywhy)]]></author>
			<pubDate>Sun, 03 Jun 2012 03:14:10 +0000</pubDate>
			<guid>http://forum.xfce.org/viewtopic.php?pid=26510#p26510</guid>
		</item>
	</channel>
</rss>
