[openbox] tint2 border

Andreas Fink andreas.fink85 at googlemail.com
Sat Oct 31 11:02:01 EDT 2009


On Saturday 31 October 2009 15:52:46 Dana Jansens wrote:
> Probably tint2 isnt setting it's window type correctly before it maps,
> which should be a DOCK window.  Dock windows don't get any borders.
> And the window type is something you're supposed to set before you
> show the window, and are not allowed to change afterward.
> 
> 2009/10/31 Freddie Exall <freddie_signup at gmx.co.uk>:
> > On Fri, 30 Oct 2009, Knute wrote:
> >> --- On Fri, 10/30/09, Doug Barton <dougb at dougbarton.us> wrote:
> >>> From: Doug Barton <dougb at dougbarton.us>
> >>> Subject: Re: [openbox] tint2 border
> >>> To: "openbox mailing list" <openbox at icculus.org>
> >>> Date: Friday, October 30, 2009, 2:15 PM
> >>>
> >>> Freddie Exall wrote:
> >>>> I'm running tint2 inside openbox with
> >>>>
> >>>>   <application name="*">
> >>>>    <decor>no</decor>
> >>>>   </application>
> >>>>
> >>>> and
> >>>>
> >>>>
> >>>>   <keepBorder>yes</keepBorder>
> >>>>
> >>>> in my rc.xml. (i.e. I'm wanting everything to have no decorations but
> >>>> with a border). This is working well for everything except my tint2
> >>>> taskbar. I'm wanting it to have no border. When I first log in to
> >>>> openbox tint2 appears WITH a border, however, reconfiguring openbox
> >>>> removes this border.
> >>>
> >>> I'm not 100% sure where you're going wrong, however I'm running tint2
> >>> and I have <keepBorder>yes</keepBorder> in my rc.xml and I'm not having
> >>> this problem.
> >>>
> >>> First question is, how are you starting it? I have "tint2 &" in my
> >>> autostart.sh and that works fine for me. I suspect that what you really
> >>> want to do is fiddle with the tint2rc file. I had to fiddle with it for
> >>> a while but finally got to the point where the tint panel itself has no
> >>> background or border. It took some time to get there though, so maybe
> >>> you need to keep playing with it.
> >>>
> >>>
> >>> hth,
> >>>
> >>> Doug
> >>
> >> One other thought here is that position may be important.
> >>
> >> I know that in some programming languages the settings that come further
> >> up in the program override ones that are later, and I know of others
> >> where the reverse is true in that the settings that come later override
> >> those that were set earlier.
> >>
> >> I can't remember which way openbox does it, but perhaps, it's just that
> >> your tint2 setting is not in the right place to override your default
> >> setting for everything else.
> >>
> >> Does that make sense?
> >
> > I think so, but the problem arises from the fact that I don't actually
> > have any tint2 settings that remove the border. It just disappears on a
> > reconfigure. I'm assuming that openbox has some way of knowing that tint2
> > is a panel and doesn't give it a border because of that but that this
> > mechanism doesn't kick in effectively on launch of tint2 (relaunching
> > after a reconfigure gives it back the border). Could this be tint2 not
> > setting the xprop values correctly?
> >
> > If I could find an openbox application specific tag to remove tint2's
> > border then I'd be happy.
> >
> >> Knute
> >>
> >>
> >>
> >> _______________________________________________
> >> openbox mailing list
> >> openbox at icculus.org
> >> http://icculus.org/mailman/listinfo/openbox
> >
> > _______________________________________________
> > openbox mailing list
> > openbox at icculus.org
> > http://icculus.org/mailman/listinfo/openbox
> 
> _______________________________________________
> openbox mailing list
> openbox at icculus.org
> http://icculus.org/mailman/listinfo/openbox
> 

No tint2 is first setting to Dock-WindowType and is mapping then the window. I 
know that, since I am helping to develop the app.

Regards
Andreas


More information about the openbox mailing list