Re: tiling with openbox
Anthony Thyssen <a.thyssen-YlX7AVbyhojX/[email protected]> Mon, 26 Sep 2016 10:17:09 +1000
| Newsgroups | gmane.comp.window-managers.openbox |
|---|---|
| Message-ID | <CABOaSg3B2vSHX1puMOk4D4WEbWkNCygX-fi3obNsGr08fB-G2Q@mail.gmail.com> |
The script is a nice idea. I myself don't like tiling for general use, except for my initial XTerm windows (I'm old fasioned. never likes the newer terminal windows) To tile that windows I use a script that works out the font size, borders, spacing, spacing for titles, etc and then outputs environment variables giving the size and positions needed to place 3 X term windows. On my current 1920x1080 display this results in the variables.. FONT=-misc-fixed-medium-r-*-*-15-*-75-75-c-90-iso10646-1 BFONT=-misc-fixed-bold-r-*-*-15-*-75-75-c-90-iso10646-1 XTERMGEOM_L=80x62+76+85 XTERMGEOM_1=80x45+76+85 XTERMGEOM_2=80x14+76+801 XTERMGEOM_R=80x62+845+85 That is it has selected a 15 point font which is added to my X resources, and from that font size it calculates 4 XTerm geometry placements (always 80 columns) for tiling on my display on startup. 'L' is a fill left window, or you can use 2 smaller windows '1' and '2' the later xterm meant to be a 'type quick command' window. The 'R' xterm is a full size window on the right. The script is complex and was built over a long period of 20 years, as display sizes changed, and I shifted to/from dual displays. On Sat, Sep 24, 2016 at 3:41 AM, <antoine.vigouroux-Bf/[email protected]> wrote: > Here it is! > > > ---- Message d'origine ---- > De : "Łukasz Grabowski" <[email protected]> > À : [email protected] > Objet : Re: [openbox] tiling with openbox > Date : 23/09/2016 14:07:25 CEST > > > On Sat, 25 Jun 2016 23:38:59 +0300 > TT <[email protected]> wrote: > > > Hello, > > thank you for this beautiful script. > > the way i see it it isn't even openbox-specific! > > however, my question was: > > Could we see the script in question? I like the feature of the > separating line depending on the position of the cursor very much... > > Best, > Łukasz > > > > > > >> I am searching for good examples of manual tiling that can be > > achieved with openbox only, as far as possible. > > > > i was thinking esp. the new "If" Action might open many new > > possibilities to do some semimanual tiling with openbox only. > > i tried to use "If" once or twice but soon got lost in the depths of > > the xml tree... > > > > so, the question remains: > > what can be achieved with openbox only? > > > > > > On 23/06/16 23:10, Antoine Vigouroux wrote: > > > Hello, > > > > > > I'm using a custom script to tile my windows, and I'm pretty happy > > > with it at the moment. I put the script as an attachment because it > > > is not on GitHub, and I could never find time to write a proper > > > documentation... When it is executed, it tiles the windows so the > > > central separation line is at the level of the cursor. You can also > > > use the -c option to have a centered tiling (that's useful for > > > keybindings). > > > > > > Here is what I have in my config file to start it, so when I click > > > while pressing Control the windows get tiled: > > > > > > <mousebind action="Press" button="C-Right"> > > > <action name="Execute"> > > > <command>/home/antoine/Python/Tuile/tuile.py</command> > > > </action> > > > </mousebind> > > > > > > Hope it helps! > > > > > > Antoine > > > > > > _______________________________________________ > openbox mailing list > [email protected] > http://icculus.org/mailman/listinfo/openbox > > _______________________________________________ > openbox mailing list > [email protected] > http://icculus.org/mailman/listinfo/openbox > _______________________________________________ openbox mailing list [email protected] http://icculus.org/mailman/listinfo/openbox