<?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=3112&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Xfce Forums / Ozganizator: Organize your applications in virtual Desktops]]></title>
		<link>http://forum.xfce.org/viewtopic.php?id=3112</link>
		<description><![CDATA[The most recent posts in Ozganizator: Organize your applications in virtual Desktops.]]></description>
		<lastBuildDate>Wed, 14 Mar 2007 17:53:11 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Ozganizator: Organize your applications in virtual Desktops]]></title>
			<link>http://forum.xfce.org/viewtopic.php?pid=13634#p13634</link>
			<description><![CDATA[<ul><li><p>Separated in 3 scripts.</p></li><li><p>New better way for managing application&#039;s lists</p></li><li><p>Added a simple manual editor</p></li></ul><p>Download deb package at <a href="http://prdownload.berlios.de/ozganizator/ozganizator-0.3.deb" rel="nofollow">http://prdownload.berlios.de/ozganizato … or-0.3.deb</a>.</p><p><span class="bbu"><strong>Testers needed.</strong></span></p>]]></description>
			<author><![CDATA[dummy@example.com (ozroc)]]></author>
			<pubDate>Wed, 14 Mar 2007 17:53:11 +0000</pubDate>
			<guid>http://forum.xfce.org/viewtopic.php?pid=13634#p13634</guid>
		</item>
		<item>
			<title><![CDATA[Re: Ozganizator: Organize your applications in virtual Desktops]]></title>
			<link>http://forum.xfce.org/viewtopic.php?pid=13588#p13588</link>
			<description><![CDATA[<p>Packages for an easier installation in debian based distros has been uploaded. See the site: <br /><a href="http://ozganizator.berlios.de" rel="nofollow">http://ozganizator.berlios.de</a></p><p>Soon rpm&#039;s and maybe others.</p>]]></description>
			<author><![CDATA[dummy@example.com (ozroc)]]></author>
			<pubDate>Thu, 08 Mar 2007 13:09:22 +0000</pubDate>
			<guid>http://forum.xfce.org/viewtopic.php?pid=13588#p13588</guid>
		</item>
		<item>
			<title><![CDATA[Re: Ozganizator: Organize your applications in virtual Desktops]]></title>
			<link>http://forum.xfce.org/viewtopic.php?pid=13438#p13438</link>
			<description><![CDATA[<p>Hi!</p><p>I couldn&#039;t disagree with the license.</p><p>I noticed one spelling (or grammar error) in the script; I believe:</p><div class="quotebox"><blockquote><div><p>DON&#039;T TOUCH FROM HERE UNTIL YOU KNOW WHAT YOU&#039;RE DOING</p></div></blockquote></div><p>... should be &quot;Don&#039;t touch anything after this line UNLESS you know that you&#039;re doing&quot; ; I think &quot;from here&quot; isn&#039;t proper English in this context, though I&#039;m not sure since my english isn&#039;t that good aither <img src="http://forum.xfce.org/img/smilies/smile.png" width="15" height="15" alt="smile" />.</p><p>And also the issue between &#039; and &quot; hasn&#039;t caused any problems on my end. And the 0.2beta works as well as it should.</p>]]></description>
			<author><![CDATA[dummy@example.com (Cat Quevara)]]></author>
			<pubDate>Fri, 23 Feb 2007 15:10:10 +0000</pubDate>
			<guid>http://forum.xfce.org/viewtopic.php?pid=13438#p13438</guid>
		</item>
		<item>
			<title><![CDATA[Re: Ozganizator: Organize your applications in virtual Desktops]]></title>
			<link>http://forum.xfce.org/viewtopic.php?pid=13348#p13348</link>
			<description><![CDATA[<p>New Wiki-style web site.<br /><a href="http://ozganizator.berlios.de" rel="nofollow">http://ozganizator.berlios.de</a><br />Help needed for correcting my spanglish, adding contents and many other things.<br />Ask me at:<br />ozrocpablo@gmail.com</p>]]></description>
			<author><![CDATA[dummy@example.com (ozroc)]]></author>
			<pubDate>Fri, 16 Feb 2007 15:59:42 +0000</pubDate>
			<guid>http://forum.xfce.org/viewtopic.php?pid=13348#p13348</guid>
		</item>
		<item>
			<title><![CDATA[Re: Ozganizator: Organize your applications in virtual Desktops]]></title>
			<link>http://forum.xfce.org/viewtopic.php?pid=13309#p13309</link>
			<description><![CDATA[<p>I&#039;ve just finished a new version basically adding the hacks by Cat Guevara:</p><ul><li><p>You can choose any number of desktops</p></li><li><p>You can change the number of columns in the gtkdialog window</p></li><li><p>No more crash if there&#039;s an empty desktop organization file</p></li><li><p>The apply setting also saves the settings now (I prefer it this way, though it could be others wont)</p></li></ul><p>Whith some changes:</p><ul><li><p>Automatically takes the configured number of desktops in your window manager (you can still set them manually by editing the script).</p></li><li><p>Change the name of gtkdialog window to Ozganizator (stupidly done, I know).</p></li><li><p>Tried to let user define box sizes... but doesn&#039;t work yet (just controls list) :?.</p></li><li><p>Added a save option in menus for each individual desktop.</p></li><li><p>Edited a bit his code because it just crashed on my system when trying to create the menu (something about &quot; and &#039;). Hope it doesn&#039;t crash now on other systems, but couldn&#039;t test it yet.</p></li><li><p>Added a really serious license text to the project. I hope Cat Guevara agrees the terms of license, if not, it will be inmediately removed/modified.</p></li></ul><div class="codebox"><pre class="vscroll"><code>#! /bin/bash
#
#    OZGANIZATOR V 0.2beta
#
# ====================================================================
#           DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
#                    Version 2, December 2004
#
# Copyright (C) 2004 Sam Hocevar
#  22 rue de Plaisance, 75014 Paris, France
# Everyone is permitted to copy and distribute verbatim or modified
# copies of this license document, and changing it is allowed as long
# as the name is changed.
#
#            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
#   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
#
#  0. You just DO WHAT THE FUCK YOU WANT TO.
# ====================================================================
#    AUTHORS
#    
# Original idea and spiritual leader: 
# Ozroc         ozrocpablo@gmail.com
# Multiple Desktops and some bug corrections:
# Ville Aakko        
# ====================================================================
# CONFIGURATION

## Settable values:

N_DESKTOP=$(wmctrl -d | wc -l)    ## Asks Window Manager for the number of Desktops. Uncomment next to set it manually.

# N_DESKTOP=6     ## Number of desktops, feel free to set it manually.

        ## ozganizator does not create any scrollbars, and on my screen the window becomes too large when I have &gt; 16 rows
N_COLUMNS=2    ## Number of columns in the gtkdialog window


BOXWIDTH=170
BOXHEIGHT=100

# ====================================================================
# DON&#039;T TOUCH FROM HERE UNTIL YOU KNOW WHAT YOU&#039;RE DOING
# ====================================================================

## Just two initial values (do not set to anything other than 0):
DESKTOP_C=0     ## Desktop counter
COLUMN=0    ## Current Column

# ====================================================================

cd ~/.ozganizator

# ====================================================================
# CONFIGURATION MENU

if [ $# -ne 0 ]
    then

export AYUDA=&#039;&lt;vbox&gt;&lt;hbox&gt;&lt;pixmap&gt;&lt;input file&gt;ozganizator.png&lt;/input&gt;&lt;/pixmap&gt;&lt;text&gt;&lt;label&gt;
&quot;Put in each Desktop the name of each program you
want to be opened in it separed by enters.
The window list can help you to select the name of 
the aplication.
Choosing one and clicking on the corresponding menu
it will be added to the chosen Desktop.&quot;
        &lt;/label&gt;&lt;/text&gt;&lt;/hbox&gt;&lt;hbox&gt;&lt;button ok&gt;&lt;/button&gt;&lt;/hbox&gt;&lt;/vbox&gt;&#039;


### MENU CONSTRUCTOR: ###

until [ $DESKTOP_C -eq $N_DESKTOP ] ; do
    DESKTOP_C=$(($DESKTOP_C+1))
    DESKTOP_C_CHAR=`echo $DESKTOP_C | tr &#039;1234567890&#039; &#039;ABCDEFGHIJ&#039;` # gtkdialog does not like variables with numbers
    [ $COLUMN -lt $N_COLUMNS ] &amp;&amp; COLUMN=$(($COLUMN+1)) || COLUMN=1

    [ -z &quot;`cat d$DESKTOP_C`&quot; ] &amp;&amp; echo &quot; &quot; &gt; d$DESKTOP_C # gtkdialog dies if file exixts and size = 0 with error &quot;pip_malloc(): Unable to get memory for fill_edit_by_file.&quot;
    DESKTOP_MENU=$DESKTOP_MENU&#039;
            &lt;menu&gt;
                      &lt;menuitem&gt;
                       &lt;label&gt;gtk-add&lt;/label&gt;
                &lt;action type=&quot;insert&quot;&gt;ENTRY, D&#039;$DESKTOP_C_CHAR&#039;&lt;/action&gt;
                &lt;/menuitem&gt;
                      &lt;menuitem&gt;
                       &lt;label&gt;gtk-save&lt;/label&gt;
                &lt;action&gt;Save:D&#039;$DESKTOP_C_CHAR&#039;&lt;/action&gt;
                &lt;/menuitem&gt;
            &lt;label&gt;Desktop &#039;$DESKTOP_C&#039;&lt;/label&gt;
               &lt;/menu&gt;
 &#039;
     if [ $COLUMN -eq 1 ] ; then
        DESKTOP_FRAME=$DESKTOP_FRAME&#039;
            &lt;hbox&gt;
&#039; 
    fi      
    DESKTOP_FRAME=$DESKTOP_FRAME&#039;
                &lt;frame Desktop &#039;$DESKTOP_C&#039;&gt;
                    &lt;edit&gt;
                      &lt;variable&gt;D&#039;$DESKTOP_C_CHAR&#039;&lt;/variable&gt;
                      &lt;input file&gt;&#039;d$DESKTOP_C&#039;&lt;/input&gt;
                    &lt;output file&gt;&#039;d$DESKTOP_C&#039;&lt;/output&gt;
                      &lt;width&gt;$BOXWIDTH &lt;/width&gt;&lt;height&gt;$BOXHEIGHT &lt;/height&gt;
                    &lt;/edit&gt;
                  &lt;/frame&gt;&#039;
    if [ $COLUMN -eq $N_COLUMNS ] ; then
                 DESKTOP_FRAME=$DESKTOP_FRAME&#039;
                         &lt;/hbox&gt;&#039;
    elif [ $DESKTOP_C -eq $N_DESKTOP ] ; then
         DESKTOP_FRAME=$DESKTOP_FRAME&#039;
                        &lt;/hbox&gt;&#039;    
    fi
    DESKTOP_SAVE=$DESKTOP_SAVE&#039;
                &lt;action&gt;Save:D&#039;$DESKTOP_C_CHAR&#039;&lt;/action&gt;&#039;
done

### END MENU CONSTRUCTOR ###

export MENU=&quot;
    &lt;vbox&gt; 
        &lt;menubar&gt;
            $DESKTOP_MENU
            &lt;menu&gt;
                &lt;menuitem&gt;
                &lt;label&gt;gtk-help&lt;/label&gt;
                &lt;action&gt;gtkdialog --program=AYUDA&lt;/action&gt;
                &lt;/menuitem&gt;
            &lt;label&gt;Help&lt;/label&gt;
            &lt;/menu&gt; 
        &lt;/menubar&gt;  
        &lt;hbox&gt;
            &lt;pixmap&gt;&lt;input file&gt;ozganizator.png&lt;/input&gt;&lt;/pixmap&gt;
            &lt;vbox&gt;
            &lt;frame Opened Window List&gt;
                &lt;list&gt;
                    &lt;variable&gt;ENTRY&lt;/variable&gt;
                    &lt;input&gt;wmctrl -x -l | cut -c 15- | cut -d \  -f 1 &lt;/input&gt;
                    &lt;width&gt;$BOXWIDTH &lt;/width&gt;&lt;height&gt;$BOXHEIGHT &lt;/height&gt;
                &lt;/list&gt;
            &lt;/frame&gt;
            &lt;hbox&gt;
                &lt;button&gt;
                    &lt;label&gt;Rescan&lt;/label&gt;
                    &lt;action&gt;Clear:ENTRY&lt;/action&gt;
                    &lt;action&gt;Refresh:ENTRY&lt;/action&gt;
                &lt;/button&gt;            
            &lt;/hbox&gt;
                 
        &lt;/vbox&gt;&lt;/hbox&gt;
    
        &lt;vbox&gt;
            $DESKTOP_FRAME
        &lt;/vbox&gt;
        &lt;hbox&gt;
            &lt;button&gt;
                &lt;label&gt; Ozganize!&lt;/label&gt;
                $DESKTOP_SAVE
                &lt;action&gt;sh ozganizator&lt;/action&gt;
            &lt;/button&gt;
            &lt;button&gt;
                &lt;label&gt;Save all&lt;/label&gt;
                $DESKTOP_SAVE
            &lt;/button&gt;
            &lt;button ok&gt;
            &lt;/button&gt;
        &lt;/hbox&gt;
    &lt;/vbox&gt;
&quot;

gtkdialog --name=&quot;ozganizator_menu&quot; --program=MENU &amp;


## This is for changing the window name of the menu. It&#039;s probably a quite stupid and maybe buggy solution, but works for me.

INLIST=1
while [ $INLIST -eq 1 ] ; do
    wmctrl -l | grep gtkdialog
    INLIST=$?
    sleep 0.5
done

wmctrl -x -r GtkDialog -N Ozganizator
wait $(jobs -p)

fi

# ====================================================================
# ORGANIZATOR SCRIPT

DESKTOP_C=0

until [ $DESKTOP_C -eq $N_DESKTOP ] ; do
        DESKTOP_C=$(($DESKTOP_C+1))
    for i in $(cat d$DESKTOP_C) ; do
        for j in $(wmctrl -x -l | grep $i | cut -d &quot; &quot; -f 1 ); do 
            wmctrl -i -r $j -t $(($DESKTOP_C-1))  
        done

    done
done

# ====================================================================
# THAT&#039;S ALL FOLKS</code></pre></div><p>It won&#039;t be at berlios until I do some other modifications, much more code cleaning and testing.<br />It will (should) work just replacing the script in the &quot;official&quot; package.</p>]]></description>
			<author><![CDATA[dummy@example.com (ozroc)]]></author>
			<pubDate>Wed, 14 Feb 2007 18:28:46 +0000</pubDate>
			<guid>http://forum.xfce.org/viewtopic.php?pid=13309#p13309</guid>
		</item>
		<item>
			<title><![CDATA[Re: Ozganizator: Organize your applications in virtual Desktops]]></title>
			<link>http://forum.xfce.org/viewtopic.php?pid=13265#p13265</link>
			<description><![CDATA[<div class="quotebox"><cite>xanthon wrote:</cite><blockquote><div><p><em>One annoying problem I have with Xfce is that, when a script running in an application on desktop 1 opens files (=new windows), the new windows appear on the active desktop instead of desktop 1.</em></p></div></blockquote></div><p>The confusing thing for me is that the behavior you find annoying is exactly what a window manager is supposed to do.&#160; Thankfully the power of UNIX is that there are tools/apps/configs for everyone.&#160; AfterStep/Window Maker look like they&#039;ll do what you want.&#160; </p><p>I&#039;ve always liked both of those.&#160; In fact, I like the majority of wm&#039;s/de&#039;s available for Linux.&#160; The funny thing is that the ones I dislike the most are GNOME and KDE.&#160; The whole WinXX look&#039;n&#039;feel is just wrong and following it just perpetuates it.&#160; Luckily GNOME changed to something a little closet to the old Mac OS setup.</p><p>My personal favorite environment is/was CDE.&#160; That&#039;s why I got into Xfce in the first place, back in the version 1 days.&#160; It&#039;s to bad that Xig isn&#039;t supporting it anymore in their DeXtop product.&#160; It&#039;s also to bad I can&#039;t code worth a crap else I&#039;d shutup and hack what I need and contribute it back.&#160; But, alas, it doesn&#039;t look like that&#039;s ever going to happen.</p><p>Joe</p>]]></description>
			<author><![CDATA[dummy@example.com (X-Nc)]]></author>
			<pubDate>Sun, 11 Feb 2007 22:25:19 +0000</pubDate>
			<guid>http://forum.xfce.org/viewtopic.php?pid=13265#p13265</guid>
		</item>
		<item>
			<title><![CDATA[Re: Ozganizator: Organize your applications in virtual Desktops]]></title>
			<link>http://forum.xfce.org/viewtopic.php?pid=13256#p13256</link>
			<description><![CDATA[<p>Hi,</p><p>I found ozganizator quite useful, but as I&#039;m using six desktops I modified the script a bit to work with six desktops - and then I modified it a bit more&#160; <img src="http://forum.xfce.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>So, the results::</p><ul><li><p>You can choose any number of desktops</p></li><li><p>You can change the number of columns in the gtkdialog window</p></li><li><p>No more crash if there&#039;s an empty desktop organization file </p></li><li><p>The apply setting also saves the settings now (I prefer it this way, though it could be others wont)</p></li></ul><p>You&#039;ll need to edit a value in the script to get the number of desktops you want (two if you wan&#039;t to change the number of columns, but that&#039;s just cosmetics).</p><p>So I&#039;m posting this here with the permission from ozroc:</p><div class="codebox"><pre class="vscroll"><code>#! /bin/bash

## Settable values:
N_DESKTOP=6     ## Number of desktops, feel free to change
        ## ozganizator does not create any scrollbars, and on my scree the window becomes too large when I have &gt; 16 rows
N_COLUMNS=2    ## Number of columns in the gtkdialog window

## Just two initial values (do not set to anything other than 0):
DESKTOP_C=0     ## Desktop counter
COLUMN=0    ## Current Column

cd ~/.ozganizator
# Configurar
if [ $# -ne 0 ]
    then

export AYUDA=&#039;&lt;vbox&gt;&lt;hbox&gt;&lt;pixmap&gt;&lt;input file&gt;ozganizator.png&lt;/input&gt;&lt;/pixmap&gt;&lt;text&gt;&lt;label&gt;
&quot;Put in each Desktop the name of each program you
want to be opened in it separed by enters.
The window list can help you to select the name of 
the aplication.
Choosing one and clicking on the corresponding menu
it will be added to the chosen Desktop.&quot;
        &lt;/label&gt;&lt;/text&gt;&lt;/hbox&gt;&lt;hbox&gt;&lt;button ok&gt;&lt;/button&gt;&lt;/hbox&gt;&lt;/vbox&gt;&#039;


### MENU CONSTRUCTOR: ###

until [ $DESKTOP_C -eq $N_DESKTOP ] ; do
    DESKTOP_C=$(($DESKTOP_C+1))
    DESKTOP_C_CHAR=`echo $DESKTOP_C | tr &#039;1234567890&#039; &#039;ABCDEFGHIJ&#039;` # gtkdialog does not like variables with numbers
    [[ $COLUMN -lt $N_COLUMNS ]] &amp;&amp; COLUMN=$(($COLUMN+1)) || COLUMN=1
    cd  ~/.ozganizator
    [[ -z `cat d$DESKTOP_C` ]] &amp;&amp; echo &quot; &quot; &gt; d$DESKTOP_C # gtkdialog dies if file exixts and size = 0 with error &quot;pip_malloc(): Unable to get memory for fill_edit_by_file.&quot;
    DESKTOP_MENU=$DESKTOP_MENU&#039;
            &lt;menu&gt;
                      &lt;menuitem&gt;
                       &lt;label&gt;gtk-add&lt;/label&gt;
                &lt;action type=&quot;insert&quot;&gt;ENTRY, D&#039;$DESKTOP_C_CHAR&#039;&lt;/action&gt;
                &lt;/menuitem&gt;
            &lt;label&gt;Desktop &#039;$DESKTOP_C&#039;&lt;/label&gt;
               &lt;/menu&gt;
 &#039;
     if [ $COLUMN -eq 1 ] ; then
        DESKTOP_FRAME=$DESKTOP_FRAME&#039;
            &lt;hbox&gt;
&#039; 
    fi      
    DESKTOP_FRAME=$DESKTOP_FRAME&#039;
                &lt;frame Desktop &#039;$DESKTOP_C&#039;&gt;
                    &lt;edit&gt;
                      &lt;variable&gt;D&#039;$DESKTOP_C_CHAR&#039;&lt;/variable&gt;
                      &lt;input file&gt;&#039;d$DESKTOP_C&#039;&lt;/input&gt;
                    &lt;output file&gt;&#039;d$DESKTOP_C&#039;&lt;/output&gt;
                      &lt;width&gt;150&lt;/width&gt;&lt;height&gt;100&lt;/height&gt;
                    &lt;/edit&gt;
                  &lt;/frame&gt;&#039;
    if [ $COLUMN -eq $N_COLUMNS ] ; then
                 DESKTOP_FRAME=$DESKTOP_FRAME&#039;
                         &lt;/hbox&gt;&#039;
    elif [ $DESKTOP_C -eq $N_DESKTOP ] ; then
         DESKTOP_FRAME=$DESKTOP_FRAME&#039;
                        &lt;/hbox&gt;&#039;    
    fi
    DESKTOP_SAVE=$DESKTOP_SAVE&#039;
                &lt;action&gt;Save:D&#039;$DESKTOP_C_CHAR&#039;&lt;/action&gt;&#039;
done

### END MENU CONSTRUCTOR ###

export MENU=&#039;
    &lt;vbox&gt; 
        &lt;menubar&gt;
            &#039;$DESKTOP_MENU&#039;
            &lt;menu&gt;
                &lt;menuitem&gt;
                &lt;label&gt;gtk-help&lt;/label&gt;
                &lt;action&gt;gtkdialog --program=AYUDA&lt;/action&gt;
                &lt;/menuitem&gt;
            &lt;label&gt;Help&lt;/label&gt;
            &lt;/menu&gt; 
        &lt;/menubar&gt;  
        &lt;hbox&gt;
            &lt;pixmap&gt;&lt;input file&gt;ozganizator.png&lt;/input&gt;&lt;/pixmap&gt;
            &lt;vbox&gt;
            &lt;frame Opened Window List&gt;
                &lt;list&gt;
                    &lt;variable&gt;ENTRY&lt;/variable&gt;
                    &lt;input&gt;wmctrl -x -l | cut -c 15- | cut -d \  -f 1 &lt;/input&gt;
                    &lt;width&gt;170&lt;/width&gt;&lt;height&gt;100&lt;/height&gt;
                &lt;/list&gt;
            &lt;/frame&gt;
            &lt;hbox&gt;
                &lt;button&gt;
                    &lt;label&gt;Rescan&lt;/label&gt;
                    &lt;action&gt;Clear:ENTRY&lt;/action&gt;
                    &lt;action&gt;Refresh:ENTRY&lt;/action&gt;
                &lt;/button&gt;            
            &lt;/hbox&gt;
                 
        &lt;/vbox&gt;&lt;/hbox&gt;
    
        &lt;vbox&gt;
            &#039;$DESKTOP_FRAME&#039;
        &lt;/vbox&gt;
        &lt;hbox&gt;
            &lt;button&gt;
                &lt;input file icon=&quot;desktop&quot;&gt;&lt;/input&gt;
                &#039;$DESKTOP_SAVE&#039;
                &lt;action&gt;sh ozganizator&lt;/action&gt;
            &lt;/button&gt;
            &lt;button&gt;
                &lt;input file icon=&quot;filesave&quot;&gt;&lt;/input&gt;
                &#039;$DESKTOP_SAVE&#039;
            &lt;/button&gt;
            &lt;button ok&gt;
            &lt;/button&gt;
        &lt;/hbox&gt;
    &lt;/vbox&gt;
&#039;
gtkdialog --program=MENU 

fi

DESKTOP_C=0

until [ $DESKTOP_C -eq $N_DESKTOP ] ; do
        DESKTOP_C=$(($DESKTOP_C+1))
    for i in $(cat d$DESKTOP_C) ; do
        for j in $(wmctrl -x -l | grep $i | cut -d &quot; &quot; -f 1 ); do 
            wmctrl -i -r $j -t $(($DESKTOP_C-1))  
        done

    done
done</code></pre></div><p>Ozroc well be adding this and other hacks from other sources and his own in the next release. In the meantime, feel free to use this and hack it furher!</p>]]></description>
			<author><![CDATA[dummy@example.com (Cat Quevara)]]></author>
			<pubDate>Sun, 11 Feb 2007 17:19:35 +0000</pubDate>
			<guid>http://forum.xfce.org/viewtopic.php?pid=13256#p13256</guid>
		</item>
		<item>
			<title><![CDATA[Re: Ozganizator: Organize your applications in virtual Desktops]]></title>
			<link>http://forum.xfce.org/viewtopic.php?pid=13185#p13185</link>
			<description><![CDATA[<p>Thanks for your reply.&#160; I need to use afterstep, perhaps.&#160; One annoying problem I have with Xfce is that, when a script running in an application on desktop 1 opens files (=new windows), the new windows appear on the active desktop instead of desktop 1.</p><p>When ozganizator is run, the windows do indeed relocate to the associated desktop.</p>]]></description>
			<author><![CDATA[dummy@example.com (xanthon)]]></author>
			<pubDate>Wed, 07 Feb 2007 04:48:45 +0000</pubDate>
			<guid>http://forum.xfce.org/viewtopic.php?pid=13185#p13185</guid>
		</item>
		<item>
			<title><![CDATA[Re: Ozganizator: Organize your applications in virtual Desktops]]></title>
			<link>http://forum.xfce.org/viewtopic.php?pid=13146#p13146</link>
			<description><![CDATA[<div class="quotebox"><cite>xanthon wrote:</cite><blockquote><div><p>Perhaps I misunderstand what result/s should follow from associating a window with a particular desktop.</p><p>On desktop 1, I used a shortcut to open an OpenOffice file.&#160; The OpenOffice window is associated with that desktop.&#160; OpenOffice takes some time to open (more since I used ozganizator), so I moved back to desktop 2 to continue what I was doing there.&#160; The OpenOffice file, some seconds later, opened on Desktop 2.</p><p>Could you please comment on that result?</p></div></blockquote></div><p>Well, Ozganizator doesn&#039;t open your window directly in the choosen Desktop as Afterstep or DevilsPie do.</p><p>Ozganizator opens normally your window, in the desktop you are because it&#039;s not running all the time (so there&#039;s absolutely no reason for OpenOffice to take more time to open).</p><p>Just <strong>when you call ozganizator,</strong> the allready opened windows will be organized as you decided in the configuration.</p><p>In the case you mention, you have the window:<br /><em>0x02a00064&#160; 0 localhost Test.ods - OpenOffice.org Calc</em><br />You put the word <em>OpenOffice</em> (so every window with OpenOffice in it&#039;s name will be associated) in the box called Desktop 1.<br />You have associated OpenOffice to Desktop 1 and closed the configuration dialog. <br />Now, you go to Desktop 2 and open your document in OpenOffice. It will be in Desktop 2 (because you called it from there). <br />In the moment you run ozganizator, OpenOffice will go to Desktop 1. Then you can move it to Desktop 3, work there for a while and the next time <strong>you decide that you want to organize your Desktop,</strong> you launch again ozganizator&#039;s script and it jumps again to Desktop 1.</p><p>It&#039;s a quite different way (I found better) for doing this.</p><p>When my girlfriend started using my Gnome with DevilsPie she said it was very confusing because she called a program and it opened in a Desktop she wasn&#039;t seeing or she was sent to another Desktop with the program so the other programs she was using before dissapeared...<br />This script will put all the opened windows in their respective Desktop when you think there are too much windows in your Desktop.</p><p>Hope you understand.</p><div class="quotebox"><cite>xanthon wrote:</cite><blockquote><div><p>When I try to add a window using the GUI, this result shows in the Terminal window:</p><div class="codebox"><pre><code>(gtkdialog:4218): Gtk-CRITICAL **: gtk_file_chooser_add_shortcut_folder: assertion `GTK_IS_FILE_CHOOSER (chooser)&#039; failed</code></pre></div><p>I&#039;m going to try using a text editor to add the window.</p></div></blockquote></div><p>Well, I&#039;ve seen the message in my system, it prompts it but everything works OK. I&#039;ll investigate what exactly does it mean but it does what it&#039;s supposed to do. It just copies the name of the window selected in the window list to the box where you have the writing cursor.</p><p>I&#039;ve also discovered a stupid but important to fix bug. If you save an empty file for any of the desktops it fails to open the file with an error:</p><div class="codebox"><pre><code>pip_malloc(): Unable to get memory for fill_edit_by_file.</code></pre></div><p>Will be fixed in next release.</p>]]></description>
			<author><![CDATA[dummy@example.com (ozroc)]]></author>
			<pubDate>Tue, 06 Feb 2007 10:32:09 +0000</pubDate>
			<guid>http://forum.xfce.org/viewtopic.php?pid=13146#p13146</guid>
		</item>
		<item>
			<title><![CDATA[Re: Ozganizator: Organize your applications in virtual Desktops]]></title>
			<link>http://forum.xfce.org/viewtopic.php?pid=13138#p13138</link>
			<description><![CDATA[<p>When I try to add a window using the GUI, this result shows in the Terminal window:</p><div class="codebox"><pre><code>(gtkdialog:4218): Gtk-CRITICAL **: gtk_file_chooser_add_shortcut_folder: assertion `GTK_IS_FILE_CHOOSER (chooser)&#039; failed</code></pre></div><p>I&#039;m going to try using a text editor to add the window.</p><p>Edit: that got the window description added to D1 but the window still opened on the active desktop instead of D1.&#160; The description I added (from ozganizator) was VCLSalFrame.DocumentWindow.OpenOffice.org</p><p>When I run wmctrl -l the window is listed as <br />0x02a00064&#160; 0 localhost Test.ods - OpenOffice.org Calc</p>]]></description>
			<author><![CDATA[dummy@example.com (xanthon)]]></author>
			<pubDate>Tue, 06 Feb 2007 02:34:44 +0000</pubDate>
			<guid>http://forum.xfce.org/viewtopic.php?pid=13138#p13138</guid>
		</item>
		<item>
			<title><![CDATA[Re: Ozganizator: Organize your applications in virtual Desktops]]></title>
			<link>http://forum.xfce.org/viewtopic.php?pid=13137#p13137</link>
			<description><![CDATA[<p>Perhaps I misunderstand what result/s should follow from associating a window with a particular desktop.</p><p>On desktop 1, I used a shortcut to open an OpenOffice file.&#160; The OpenOffice window is associated with that desktop.&#160; OpenOffice takes some time to open (more since I used ozganizator), so I moved back to desktop 2 to continue what I was doing there.&#160; The OpenOffice file, some seconds later, opened on Desktop 2.</p><p>Could you please comment on that result?</p>]]></description>
			<author><![CDATA[dummy@example.com (xanthon)]]></author>
			<pubDate>Mon, 05 Feb 2007 23:39:34 +0000</pubDate>
			<guid>http://forum.xfce.org/viewtopic.php?pid=13137#p13137</guid>
		</item>
		<item>
			<title><![CDATA[Re: Ozganizator: Organize your applications in virtual Desktops]]></title>
			<link>http://forum.xfce.org/viewtopic.php?pid=13118#p13118</link>
			<description><![CDATA[<p>Thanks.</p><p>The goal now is to make it also easy to install and probably a bit more flexible.</p><p>And correct the En[Goo]glish translation.&#160; <img src="http://forum.xfce.org/img/smilies/roll.png" width="15" height="15" alt="roll" /> <br />Sorry again, I&#039;ll try to do it better.</p>]]></description>
			<author><![CDATA[dummy@example.com (ozroc)]]></author>
			<pubDate>Mon, 05 Feb 2007 09:57:50 +0000</pubDate>
			<guid>http://forum.xfce.org/viewtopic.php?pid=13118#p13118</guid>
		</item>
		<item>
			<title><![CDATA[Re: Ozganizator: Organize your applications in virtual Desktops]]></title>
			<link>http://forum.xfce.org/viewtopic.php?pid=13117#p13117</link>
			<description><![CDATA[<p>This is very easy to use.&#160; Note the dependencies.</p><p>I was able to get gtkdialog from my distro.&#160; wmctrl is available here:<br /><a href="http://www.sweb.cz/tripie/utils/wmctrl/" rel="nofollow">http://www.sweb.cz/tripie/utils/wmctrl/</a><br />It compiled on my OS without difficulty, which is a first, IIRC.</p><p>The English on the web page, as ozroc says, could use some attention but the meaning is clear enough.&#160; I&#039;ve just been asking about this in my distro&#039;s forum, so I will post a link there to this thread.</p>]]></description>
			<author><![CDATA[dummy@example.com (xanthon)]]></author>
			<pubDate>Mon, 05 Feb 2007 09:41:29 +0000</pubDate>
			<guid>http://forum.xfce.org/viewtopic.php?pid=13117#p13117</guid>
		</item>
		<item>
			<title><![CDATA[Re: Ozganizator: Organize your applications in virtual Desktops]]></title>
			<link>http://forum.xfce.org/viewtopic.php?pid=13113#p13113</link>
			<description><![CDATA[<p>Thanks.&#160; That did it.&#160; (That&#039;s what I hate about SourceForge.)</p>]]></description>
			<author><![CDATA[dummy@example.com (xanthon)]]></author>
			<pubDate>Mon, 05 Feb 2007 08:40:07 +0000</pubDate>
			<guid>http://forum.xfce.org/viewtopic.php?pid=13113#p13113</guid>
		</item>
		<item>
			<title><![CDATA[Re: Ozganizator: Organize your applications in virtual Desktops]]></title>
			<link>http://forum.xfce.org/viewtopic.php?pid=13108#p13108</link>
			<description><![CDATA[<p>OK, I think you maybe did &quot;right click -&gt; save as...&quot; directly on the link. <br />Just click on it normally (left click) and you&#039;ll be asked for choosing a mirror for downloading, something similar to sourceforge.<br />If that&#039;s not the problem, I&#039;ll pack and upload the file again, but it doesn&#039;t seem to be corrupted.</p>]]></description>
			<author><![CDATA[dummy@example.com (ozroc)]]></author>
			<pubDate>Mon, 05 Feb 2007 08:04:22 +0000</pubDate>
			<guid>http://forum.xfce.org/viewtopic.php?pid=13108#p13108</guid>
		</item>
	</channel>
</rss>
