<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title><![CDATA[.desktop file new WM_CLASS key]]></title>
    <link>http://brainstorm.ubuntu.com/item/21169/</link>
    <description><![CDATA[Hi.<br /><br />I am the author of DockBar. This is taskbar like applet for Gnome desktop environment.<br />http://gnome-look.org/content/show.php?content=97822<br /><br />In the process of creation of DockBar I've found a big problem in that there is no perfect way to found .desktop-file for launched application.<br />There are several ways to do it, but they are all far from perfection and not always works.<br /><br />There are some troubles in creation such programs (like DockBar/AWN/Gnome-Do/etc....) because of the above mentioned problem:<br />- hard to find normal icon<br />- hard to find localized name for app<br />- hard to use launchers<br /><br />Please take a look to launchers in DockBarX<br /> http://www.gnome-look.org/content/show.php/Dockbar+Experimental?content=101604<br />Users need to enter wm_class by hands.<br /><br />Or take a look to Gnome-Do's sources<br />E.g. http://bazaar.launchpad.net/~do-core/do/0.8/annotate/head%3A/Do.Interface.Wink/src/Do.Interface.Wink/WindowUtils.cs<br />There is list of commandline prefixes and so on to find .desktop-file for application.<br />
<br />


<b>[39 votes] Solution #1: Add WM_CLASS key</b>
<br />

<br />
<br />



]]></description>

    <language>en-us</language>
    <pubDate>Mon, 24 Aug 2009 08:15:16 +0000</pubDate>
    <lastBuildDate>Thu, 27 Aug 2009 09:03:17 +0000</lastBuildDate>
    <generator>QAPoll module</generator>
    <guid isPermaLink="true">http://brainstorm.ubuntu.com/idea/21169/</guid>
        <item>
  <title>Comment from Lachu</title>
  <description><![CDATA[Why don't looks for application path in .desktop instead of window class?]]></description>
  <pubDate>Tue, 25 Aug 2009 15:17:18 +0000</pubDate>
</item>
        <item>
  <title>Comment from Lachu</title>
  <description><![CDATA[The problem should be fixed :-) - why we should provide window localized name in many place?]]></description>
  <pubDate>Tue, 25 Aug 2009 15:19:25 +0000</pubDate>
</item>
        <item>
  <title>Comment from a.shaferov</title>
  <description><![CDATA[>Why don't looks for application path in .desktop instead of window class? <br />Command line? Command line may differ from /proc//cmdline.]]></description>
  <pubDate>Wed, 26 Aug 2009 21:23:34 +0000</pubDate>
</item>
        <item>
  <title>Comment from a.shaferov</title>
  <description><![CDATA[I've also posted idea to xdg mailing list:<br />http://lists.freedesktop.org/archives/xdg/2009-August/010981.html]]></description>
  <pubDate>Thu, 27 Aug 2009 09:03:17 +0000</pubDate>
</item>
      </channel>
</rss>

