I added it to the first post for people to check out. Looks good, thanks!Originally Posted by sup
I added it to the first post for people to check out. Looks good, thanks!Originally Posted by sup
Devil's Pie worked great fro me. However I have recently installed a nightly build of Firefox instead of 1.5 release version. I also have 1.5 Thunderbird installed.
I set devilspie so that firefox should open on the 1st desktop and thunderbird on the second. If I call these programmes from menu or lancher panel it is fine, but if I click on the link in thunderbird, it opens firefox on the second desktop. Moreover it moves firefox to the second desktop if it is already open. Does anyone know why is that?
I started with this version some times ago but i stil can't find an answer to the thing i wanna do :
I'd like to only move all the firefox windows that aren't the main one, i mean for example the download window or the extension window.
But my problem is that i wanna move them for example in the middle of the screen without resizing them :
I made a rule like this one
But of course it resizes the windows.Code:(if (matches (application_name) "Firefox") and (not matches (window_name) "Firefox$" )( geometry "387x302+161+162" ))
So i was wondering if they were an action to only move a window.
I think it is not possible so maybe a good idea would be to be possible to use arguments ... for example the actual size of the window.
Maybe something to add to devil's pie
Thanx a lot for your help and your tutorial which is really helpfull.
Oh by the way as i am on and amd64 ubuntu i made a deb for devil's pie using checkinstall.
I join it so it could be useful for some people
I think you can just omit the first two parameters. So something like:Originally Posted by fabs0028
geometry "+161+162" should only move the window and not resize it. You may also want to experiment with the "center" action instead.
Last edited by jrib; January 2nd, 2006 at 03:50 AM.
Can anyone tell me how to make a "match all" rule? I'm trying to force ALL windows to open in the centre of the screen. I can make individual windows do it but I don't want to make rules for every single app.
openSuse 10.0 - Kanotix/Debian Sid - Ubuntu Dapper - Fedora Core 5
does the ubiquitous '*' work?Originally Posted by fannymites
So... a 1337 java programmer walks into a bar...
Unfortunately not. Neither does the "always" option from the older version of devilspie (or any, all "" " " and many others I've tried)
openSuse 10.0 - Kanotix/Debian Sid - Ubuntu Dapper - Fedora Core 5
I have not yet used devilspie, but I have an idea of a work-around for that. Its not the best solution, by all means, but it may just work.
what about something like
(if (not matches (application_name) "a_nonexistent_application") .....)
If I read all this correctly, that should do whatever actions you put in there to everything that is not called "a_nonexistent_application", which should be everything.
Or skip the if () section. Don't know if that works tho, due to the fact that i don't have devilspie
Last edited by Azriphale; January 13th, 2006 at 11:12 AM.
It sounded like a good plan but still not working.
[EDIT] Worked it out, I need $[EDIT again} Well that's strange, it was working, I tried about 10 different apps and they all opened centred but after a reboot it won't work anymore.Code:(if (matches (application_name) "$") (begin (center)))
Also, unfortunately, using devilspie the windows open in a corner somewhere then jump to the centre of the screen which isn't pretty. I'll keep playing around with it.
Last edited by fannymites; January 13th, 2006 at 02:29 PM.
openSuse 10.0 - Kanotix/Debian Sid - Ubuntu Dapper - Fedora Core 5
don't use any matcher, just do (I think this should work just like example 1 in my first post does):Originally Posted by fannymites
Code:(center)
Bookmarks