Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Strangely, my openbox default rc.xml file has keyboard shortcuts for the commands DesktopDown and DesktopUp, but it seems that the only configuration option for the desktops is their number (which is interpreted as a linear setup of all the desktops, and you can navigate only right and left).

I'm very much accustomed to having a 2x2 grid of desktops... Is there any way to do that within openbox ? (I'm open to installing other things. I'm even expecting to have to, I just don't know what.)

share|improve this question

Took me a while but now I found a workaround. wiki FAQ linked to a tiny program (called setlayout) which is doing the job

You have to compile it with:

  1. sudo aptitude install libx11-dev
  2. gcc setlayout.c -o setlayout -lX11

Call it with: ./setlayout 0 2 2 0

share|improve this answer
I had to play around with this to get the setting I wanted, 1 column, 4 rows. If you want more than 4 workspaces, there is another setting that needs to be changed elsewhere; I tried ./setlayout 0 3 2 0 to try to identify which was row/column but got a 2x2 grid (not helpful). It turned out 0 1 4 0 was what I wanted. – stvn66 Jun 30 '15 at 12:41
For anyone who finds this using Arch like I did, install libx11, as there is no libx11-dev available. Still compiles/works fine though. – SnoringFrog Jan 25 at 4:43

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.