#128 2D workspace geometry

open
nobody
None
5
2013-02-10
2007-10-17
No

Adds 2D workspace geometry to Fluxbox.

Applicable on 1.0.rc3 and 1.0 final.

New keybinds => UpWorkspace, DownWorkspace
New options => session.screen0.workspacesPerRow

Example configuration for a three columns / two rows layout ("browsed" by the Mod1+Control+Arrow keys):

.fluxbox/keys
Mod1 Control Left :LeftWorkspace 1
Mod1 Control Right :RightWorkspace 1
Mod1 Control Up :UpWorkspace
Mod1 Control Down :DownWorkspace

.fluxbox/init
session.screen0.workspacesPerRow: 3
session.screen0.workspaces: 6

Please note, that the keybinds "PrevWorkspace" and "NextWorkspace" is not affected by this patch and hence will still browse through the workspaces in the original manner (wrapping from last<->first workspace). To get the real "feeling" of 2D geometry (with boundaries), use the above key commands.

To disable the 2D Workspace behavior, either remove the workspacesPerRow option or define it as 0 or a number greater than your number of workspaces.

Discussion

  • Mark Tiefenbruck

    Logged In: YES
    user_id=1538990
    Originator: NO

    Yes, I'd been meaning to add this functionality myself. One comment I have is that you might want to take layout information from the EWMH hint _NET_DESKTOP_LAYOUT -- see http://standards.freedesktop.org/wm-spec/wm-spec-latest.html#id2510610 . Also, people will immediately ask for dragging right through the boundary to take them to the left workspace in the same row. This functionality should be available.

    I'll try it out, though, and see what I think needs to be changed.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks