terça-feira, 23 de junho de 2009

gDevilspie - gdevilspie - Google Code

gDevilspie - gdevilspie - Google Cod


gDevilspie

A user friendly interface to the devilspie window matching daemon, to create rules easily.

Introduction

System wide installation is handled now, but you it can also run uninstalled. Look it at the README for instructions.

Releases

Third release http://gdevilspie.googlecode.com/files/gdevilspie-0.31.tar.bz2

Second release http://gdevilspie.googlecode.com/files/gdevilspie-0.2.tar.bz2

Initial release http://gdevilspie.googlecode.com/files/gdevilspie-0.1.tar.bz2

Changelog

1 April 2008 Release version 0.31

21 March 2008 Release version 0.2

17 March 2008 Release version 0.1

Screenshots

Main Dialog :

Rule Editor :

Window Selector ( with arabic window titles ):


Comment by Goetz.Waschk, Mar 18, 2008

The usage of the 'full justification' for the window list is wrong. The text 'fill' might work in English, but not in other UI languages.

Comment by pharon, Mar 18, 2008

Can you please explain a little bit, what do you mean ? The window list is a treeview with a text renderer cell packed in each row. Text rendering is just default. The selected row just happens to fill the width exactly.

Comment by Goetz.Waschk, Mar 18, 2008

I was talking about the 'fill' button. You are misusing an icon here.

Comment by pharon, Mar 19, 2008

Oh, I get it, you are right. Will fix it. Thanks :)

Comment by nikolay.kovachev, Mar 19, 2008

There is a bug in geometry action - after restart of app all textboxes (height,width, ...) contain the same full geometry string. Other thing is start/stop devilspie daemon not working on my Ubuntu 7.10 - "The devilspie daemon is not installed...". I am sure that devilspie is installed :).

Comment by pharon, Mar 19, 2008

that's true , the geometry is not parsed properly yet. We are working on it. As to the devilspie launching , can you please tell me where it is installed ? I launch it from /usr/bin/devilspie

Comment by nikolay.kovachev, Mar 20, 2008

In my case path is /usr/local/bin. I use devilspie 0.22 compiled from source.

Comment by pharon, Mar 20, 2008

Ok, all the stuff you reported should be fixed. Expect 0.2 soon if nothing else gets reported for a while :)

Thank you so much for your testing :)

Comment by pharon, Mar 21, 2008

Version 0.2 released. Please test and report. Thank you :)

Comment by nikolay.kovachev, Mar 21, 2008

In 0.2 version start/stop daemon work fine (i look in gnome system monitor) but status text and button text did not change. If i stop daemon and restart gdevilspie status text and button text are correct.

Comment by pharon, Mar 21, 2008

Should be all fixed in SVN. Try testing from there please.

Comment by nikolay.kovachev, Mar 21, 2008

In SVN revision 94 i get this message when start/stop: "The devilspie daemon was started somewhere else. Trying to restart it now." and in terminal: # python gdevilspie.py Traceback (most recent call last):

File "gdevilspie.py", line 489, in on_ToggleDaemon?_clicked
self.toggle_daemon()
File "gdevilspie.py", line 484, in toggle_daemon
self.toggle_daemon()
File "gdevilspie.py", line 483, in toggle_daemon
os.kill(int(status),signal.SIGKILL)
OSError: 3? No such process

After that start/stop button begin to work :). Other thing is width of this button - width is different between Start and Stop button text. Request: double click on "Rule Name" = "Edit"

Comment by pharon, Mar 22, 2008

Wow you are fast :) Will work on it. Sorry for my noobness, I am still new to this :) Thanks for keeping up with me.

Will look into these issues :)

Comment by pharon, Mar 22, 2008

ok, all the issues reported should be fixed , and the enhancement request has been done. Check r95 , keep them coming :)

Thanks.

Comment by nikolay.kovachev, Mar 22, 2008

I delete my last comment because it's still not fixed. After starting of gdevilspie and pressing stop button i get 2 times that message - "The devilspie daemon was started somewhere else. Trying to handle it here" After that button begin to work normal. This is not happen if daemon is stopped before start of gdevilspie - in that case start button work normal. Other thing is - when pressed Stop button resize whole window with few pixels in right direction.

Comment by pharon, Mar 22, 2008

Well that means it is working. By design, this is just an informational message that tells you that the daemon was started outside the program's control and that it will have to kill it.

You think I should remove that message ?

I will look into the resizing issue, it is not happening here..

Comment by pharon, Mar 23, 2008

Last revision should be more consistent.

Comment by nikolay.kovachev, Mar 23, 2008

Yes please remove the message. It's not important for users and tell nothing. Resizing window issue happen only when i press Stop button. When devilspie daemon is stopped and i press Start all is ok. In general there are two issues when Stop button is pressed. Thank you for patience.

Comment by pharon, Mar 23, 2008

it's ok, now try r97 .. /me crosses fingers.

Comment by nikolay.kovachev, Mar 23, 2008

Now most of issues are fixed but... First 2 clicks on Start/Stop didn't change status of daemon in gdevilspie and button say only "Stop". After 3rd click status begin to work. With other words: interface don't indicate change of daemon status with first 2 clicks. Again this behaviour happen when daemon is started before dgevilspie. If daemon is stopped and i start it from gdevilspie all work perfect for me.

Comment by pharon, Mar 24, 2008

I am baffled, this doesn't happen here. I tried a multiple times with different order of starting devilspie and gdevilspie.

However I just pushed a change to handle multiple instances of devilspie started before gdevilspie.

Also, is it possible that you are starting devilspie as a different user ?

Comment by nikolay.kovachev, Mar 24, 2008

No same user for 2 apps. User is "root" if this help.

Comment by pharon, Mar 25, 2008

I will try to test it as root .. why are you running your GUI as root anyway ?

I think I am ready for a bugfix release 0.21 , meanwhile can you please open an issue in the bug tracker and describe the problem you are facing in details, because I still can't reproduce it here.

Thank you so much for your testing :)

Comment by nikolay.kovachev, Mar 25, 2008

Because as root i don't need to enter password so frequently like normal user :). But when Hardy is released i will make normal user on new install.

I make clip for issue: http://www.mediafire.com/?mvtjszyyskw - 300KB

Comment by techhelpbb, Apr 04, 2008

When I attempted to install and use the 0.31 code on Ubuntu 6.06 LTS I got this:

(gdevilspie:9155): libglade-WARNING : unknown property enable_grid_lines' for class GtkTreeView?'

(gdevilspie:9155): libglade-WARNING : unknown property enable_tree_lines' for class GtkTreeView?'

(gdevilspie:9155): libglade-WARNING : unknown property transient_for' for class GtkAboutDialog?'

(gdevilspie:9155): libglade-WARNING : unknown property program_name' for class GtkAboutDialog?' Traceback (most recent call last):

File "/usr/bin/gdevilspie", line 846, in ?
MainWindow? = RulesListWindow?()
File "/usr/bin/gdevilspie", line 355, in init
self.tray = gtk.StatusIcon?()
AttributeError?: 'module' object has no attribute 'StatusIcon?'

It appears to not like the installed PyGtk? but I've got all the versions available in the Synaptics manager installed.

I'm going to try to upgrade to Ubuntu 7.10 and see what happens.

Comment by pharon, Apr 04, 2008

I am afraid the StatusIcon? was introduced in PyGTK-2.10 , and dapper has only PyGTK-2.8.6

If you are still running dapper because it's an LTS , I suggest you try Hardy when it gets released, as it is an LTS as well.

Comment by techhelpbb, Apr 04, 2008

Confirmed, after an upgrade to Ubuntu 7.10 it seems to run fine.

Comment by sindrb, Apr 07, 2008

0.30 release is now packaged and included in Fedora 8 and the upcoming 9 release. Thanks for making systemwide install (and by extension packaging) so easy in this release.

Comment by pharon, Apr 08, 2008

Oh my, that was fast .. Thank you ! Many thanks also to thesamo for working on the system wide install :)

Comment by martin.raissle, May 17, 2008

hi .. starting gdevilspie without installing it does not work, since it's complaining about a missing glade-file / icon .. adding these two lines fixes the problem (though I'm not sure if this is the right way since I've never written python) .. here's the diff

286a287 > elif os.path.isfile('./gdevilspie.glade'):gladefile = './gdevilspie.glade' 296a298 > elif os.path.isfile('./gdevilspie.png'):gdevilspie_icon = './gdevilspie.png'

Comment by pharon, May 18, 2008

Sorry for the late reply , we don't check the wiki comments a lot, but we watch the issue tracker closely. Thanks for taking the time to post the patch, I will look into it as soon as I get some free time.

Comment by andy.rigney, Jun 12, 2008

gdevilspie-0.31 won't run on my Gentoo box running KDE 3.5 in 64-bit (not sure about 32-bit). It just errors out with "Segmentation Fault". The GUI pops up real quick, then goes away and I'm just left with that seg fault error. However, gdevilspie-0.2 works fine. I tried running 'gdevilspie -v' hoping it would print out some more errors, but no dice. Just thought I should make you aware of this.

Comment by theSamo, Jun 14, 2008

please report bugs/problems in the issue tracker instead of here :)

Comment by sunyuxi, Aug 01, 2008

I'm having all kinds of problem on ubuntu8.04 it doesn't seem to be able to control bunch of chromed firefox windows even using separate window_name and all firefox are cluttered in one viewport (since ubuntu8.04 defaults to compiz which doesn't like workspace)... besides, the viewport seems to have nearly no effect in controlling which specific viewport to situate each firefox window...

any idea?

Comment by wmc...@rogers.com, Jan 14, 2009

Is there a mailing list that mainly deals with Devil's Pie questions?

In lieu of that; I have a couple I would like to have clarified.

I have a gdevilspie script, ~/.devilspie/Evolution_ws3.ds, that works fine as far as it goes. I have devilspie set in my sessions manager to start at startup. The script is set to start Evolution on workspace 3 with a certain geometry.

However, I have noticed that Evolution still starts on workspace 1, flashes for a fraction of a second, and is then moved to workspace 3. If this is the way it has to be, I can live with it. But it seems a bit "hacky". Is there a way, or a startup file (eg xresources), that I should use so that the start up feels and looks smoother; so that Evolution just seems to start in workspace 3 with no milli-second flash?

By the way, I have read and explored several good wiki's and tutorials on using devilspie, but either I am blind or they remain silent on this question."

A second question has developed over the week. Which configuration dominates -- the gconf-editor or Devil's pie? It seems I am bouncing between the two in order to get my windows to do what I want.

Regards Bill Fedora 10, Gnome 2.24.2 Evo.2.24.2, Emacs 22.2.1

Nenhum comentário: