Re: [sshmenu] Suggestions
Brought to you by:
grantm
|
From: Grant M. <gr...@mc...> - 2008-07-03 22:46:30
|
On Thu, 2008-07-03 at 11:34 -0400, Jeff Greenfield wrote: > First off, let me just say this is a great app. > > I've got a bit of a problem when using the "Open all windows" feature. > My gnome-terminals don't seem to open at a rate that allows the compiz > place-windows to function correctly. When I use the feature, it > stacks a bunch of the gnome-terminals on-top of each other instead of > doing the "smart" placement that it should. I'm wondering if it would > be possible to add a minor delay in-between each of the calls to > gnome-terminal when using the open all windows option. I suspect a > customizable delay would be best for the general case. Actually SSHMenu does have a delay - it sleeps for 100ms before opening each subsequent window. But like you, I've found situations where this delay is not long enough. A configurable option is probably a good idea but not necessarily exposed in the preferences dialog. You could work around the problem by overriding the 'open_all' method. Unfortunately you'd have to cut/paste the whole method from sshmenu.rb and then change just the sleep time. I'll look at putting a configurable sleep in a future version. > Second, is it possible in addition to the Geometry preference to allow > someone to specify what workspace the window(s) will open on? Not as far as I know - but I'd be delighted to be proven wrong on that. You may be able to workaround that problem using the window manager helper app called 'Devils Pie'. In summary, you'd specify a unique window title in the SSHMenu host definition and then you'd configure Devil's Pie to override geometry when it sees that title. http://ubuntuforums.org/showthread.php?t=75749 A colleague suggested that compiz has support for starting things on specific desktops. I haven't used compiz so can't comment further. Cheers Grant |