[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: x-window-manager priorities



Hi.

I just uploaded asclassic_1.1b-11 with "Provides: x-window-manager"
and

        update-alternatives --install /usr/bin/x-window-manager \
          x-window-manager /usr/bin/X11/${wm} 50 \
          --slave /usr/share/man/man1/x-window-manager.1.gz \
          x-window-manager.1.gz /usr/X11R6/man/man1/${wm}.1x.gz

in postinst, 

        update-alternatives --remove x-window-manager /usr/bin/X11/"$wm"

in prerm. ($wm is set to "asclassic")

It still uses "register-window-manager in postinst and postrm, though.

In <[🔎] 19991204052346.E11751@ecn.purdue.edu>,
 at Date: Sat, 4 Dec 1999 05:23:46 -0500,
  on Subject: Re: x-window-manager priorities,
   Branden Robinson <branden@ecn.purdue.edu> writes:

> On Fri, Dec 03, 1999 at 06:58:36PM +0200, Tommi Virtanen wrote:
> > On Fri, Dec 03, 1999 at 04:33:50AM -0500, Branden Robinson wrote:
> > > > 	Hi. I'm seeing packages using priorities of
> > > >         20, 40 and 50 for different wm's. Is there some
> > > >         logic? I recall seeing something about supporting
> > > >         menus, etc..
> > > Nothing formal yet.  How about this:
> > > 
> > > Start with a base priority of 20.
> > > If the wm supports the Debian menu system, make it 40.
> > > If the wm supports starting a different window manager, make it 50.  (The
> > > Debian menu system provides this option if your package supports it and if
> > > you wrote its menu file correctly.)
> > 
> > 	Okay, I'll settle for 30 ("Supports Debian menus but
> >         needs per-user activation (ln -s /etc/X11/flwm/wmx/Debian ~/.wmx)").
> 
> Hmm, all right.  I'll add a clause that 10 priority points should be
> deducted for each of the enhancements (Debian menus, starting other
> window managers) if the package does not support these features by default
> after it is configured (i.e., the postinst has run).

I set the priority 50 because asclassic supports Debian menus and it is 
the default if the user has not done customization. (i.e. if he does not
have his .steprc) And asclassic can start a different window manger.

Please let me know via this ML when it can not use the register-window-manager.

Thanks.

-- 
  Taketoshi Sano: <sano@debian.org>,<sano@debian.or.jp>,<kgh12351@nifty.ne.jp>


Reply to: