Re: feature request, workspaces
[email protected] Tue, 28 Feb 2006 17:34:37 -0500
| Newsgroups | gmane.compw.window-managers.windowmaker.user |
|---|---|
| Message-ID | <20060228173437.68681a50@amorphous> |
On Sun, 26 Feb 2006 15:26:57 -0500 cga <[email protected]> wrote: > Ralf Butenuth wrote: > > >On Saturday 25 February 2006 22:44, cga wrote: > > > > > >>Charles Philip Chan wrote: > >>One convenient way to simulate to some extent what the OP requested - > >>two-dimension switching - is to define twenty workspaces, eg. and bind > >>convenient keys to "Switch to next/previous ten workspaces". You thus > >> > >> > > > >thanks for the answers. Yes, I was aware of that option, and I allready worked > >with that arrangement. But I think It would be nicer to have something like a > >3x3 or 4x4 grid, or a grid to a costumable size. > > > how about using X's viewport capabilities.. just a thought.. > > > > >To do this I need to have something like an "switch to the next 4 > >workspace"-option, or a program witch tells windowmaker to switch the > >workspaces so I can set keybindings to it. > > > wmaker provides the building blocks via an unlimited (?) number or > workspaces. I remember that the Afterstep window manager used to have > and external module called "pager" - I believe.. that lets you create a > customizable grid of "sub-desktops" .. ie. you can define eg. four > subdesktops of 3x3.. Maybe that code could provide an example and/or be > adapted to wmaker.. don't think it provides keyboard navigation, > though.. besides I'm not sure wmaker supports user-written external > modules (?).. so seamless integration might be a problem.. Maybe we need > a different patch than the one you had in mind - one that makes it > possible to add your own custom code to wmaker as external modules > rather than patches..??? I seem to remember Alfredo was working on new pager code for WM. Lets push for that :) shouldn't take him too long to finish. If he continues the work. > > > > >So I need to figure out how you can tell windowmaker to switch to a certain > >workspace in a little c-program. > >I looked at the wmpager source, and I think he did it by sending an XEvent > >(see code snippet 1 down). > > > first reaction would be to look at the wmaker code that switches > workspaces..?? > > >I am not that familiar with XEvents, but I tried > >to use this method to write my one program, to beginn with it should only > >jump to the first workspace. (see code snippet 2). It compiles, runs, and > >does nothing (well, it sends an XEvent wich is ignored). > >So, if anyone has suggestions on either how to fix my program to do wath I > >want or knows another methode to switch workspaces via a c-programm, I would > >be happy for suggestions. > > > > > can't help you there. > > >If not than thanks for the answers so far, and I will keep on using a 2x10 > >grid via the method kindly described by Charles. > > > > > Cheers.. > Chris. > _______________________________________________ > INFO: https://windowmaker.org/lists/listinfo/wm-user > ARCHIVE: https://windowmaker.org/lists/archive/wm-user/ > FAQ: http://windowmaker.org/faq.html _______________________________________________ INFO: https://windowmaker.org/lists/listinfo/wm-user ARCHIVE: https://windowmaker.org/lists/archive/wm-user/ FAQ: http://windowmaker.org/faq.html