From: David G. <dg...@co...> - 2011-10-20 19:44:57
|
On 20/10/11 17:01, Arnout Engelen wrote: [...] > In the old days F9 asked for the workspace type. Since some time before > http://notion.git.sourceforge.net/git/gitweb.cgi?p=notion/notion;a=commit;h=3d38954deab0146e60f7f30ff44f0684b77c7500 > you could use the context command new-empty-workspace instead. > That appears to have disappeared, too, though. Not sure what the proper way > is now. Anyone? I'm running the most recent snapshot, and F9 asks for the workspace type. I have, however, found Tiling->Untile and Context->New Tiling which convert to and from floating mode respectively. [...] > You don't need that when you're using a WFloatWS though do you? What I really want is a tiled workspace, over which windows appear floating by default (unless the user has previously specified a rule, or manually drops a window into a frame). Looking at the way defwinprops work, it appears as though the first defwinprop that matches is used; that is, settings don't stack. I was rather hoping I could just put: defwinprop { floating = true } ...at the top of my config file and so have all windows floating by default, but that doesn't work. OTOH it doesn't look like it would be hard to modify ioncore.getwinprop() to stack settings. I don't know what horrible side effects this might have. [...] > I'm not sure mod_dock supports having panels on multiple sides of the screen. > Anyone? Is it possible to create multiple docks? >> I did spend some time fiddling with mod_dock but there's no documentation >> for that either. I think I did manage to get it to swallow a panel once but >> it then expanded to fill 2/3 of the screen... > > Hmm not sure. I notice mod_dock doesn't always work when I just restart Notion, > I have to restart gnome-panel itself, too. I found out why this happened: the dock swallowed the top-bar (which is one screen wide), then the gkrellm (which is 2/3 of a screen high), then the bottom-bar (which is one screen wide). So the dock ended up being about two screens wide and 2/3 of a screen high, with only the top-bar visible. [...] > The sf.net trackers, https://sourceforge.net/tracker/?group_id=314802 Okay, I've done that here. https://sourceforge.net/tracker/?func=detail&aid=3426524&group_id=314802&atid=1324531 I've labelled it 'EMWH compliance' because, hey, I can dream... >> (I'm also wondering whether the defwinprop stuff is flexible enough to >> support this without needing any core changes.) > > I'm not sure. It's not --- it can only match on class, role and instance. A more sophisticated matching engine would certainly be possible, but given all this is Lua, maybe something like: defwinprop { predicate = function(w) return w._NET_WINDOW_TYPE == "_NET_WM_WINDOW_TYPE_DOCK" end, floating = true -- or something } ...would be possible? Again, not hard --- code in clientwin_get_ident() to export the properties, and changing ioncore.getwinprop() --- but I just don't know enough about the Notion innards to know if it's a good idea or not. -- ┌─── dg@cowlark.com ───── http://www.cowlark.com ───── │ │ "Under communism, man exploits man. Under capitalism, it's just the │ opposite." --- John Kenneth Galbrith |