From: Igor Vlasenko <vlasenko@imath.kiev.ua>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] update_wms и DM
Date: Mon, 30 Mar 2009 17:07:34 +0300
Message-ID: <20090330140734.GA2473@dad.imath.kiev.ua> (raw)
In-Reply-To: <20090330134454.GH29915@altlinux.org>
On Mon, Mar 30, 2009 at 05:44:54PM +0400, Alexey I. Froloff wrote:
> * Mikhail Gusarov <dottedmag@> [090330 17:39]:
> > DVL> $ fgrep -c /etc/X11/wmsession.d/ Sisyphus/x86_64/base/contents_index
> > DVL> 27
> > А там display manager'ы, или всё-таки window manager'ы?
> Конечно там window manager'ы, provider'ы. А вопрос про display
> manager'ы, consumer'ы.
Теперь до меня дошло.
Очень хороший вопрос! Просто замечательный вопрос!
Действительно, триггер для DM написать сейчас
затруднительно, так как сейчас у них нет ничего
общего.
Действительно, некрасиво, что обработка DM - ов вбита руками.
Если логика настройки какого-то DM изменится, то
в update_wms придется извращаться.
По хорошему, и ответ на это содержится в вопросе,
надо update_wms распилить на сам update_wms
и хуки в /etc/X11/wm-list.d.
(В переходный период хуки можно сохранить в update_wms,
они будут вызываться дважды:
из тела update_wms и из хука.
и натравить на /etc/X11/wm-list.d файлтриггер.
т.е. по такой схеме надо будет
упаковать с WDM файл
%attr 755 /etc/X11/wm-list.d/wdm
вида <<EOF
#!/bin/sh
# WDM update_wms hook
if [ -s /etc/X11/wdm/wdm-config ]; then
subst "s|^\\(DisplayManager\\*wdmWm\\):.*|\\1:$(printf %s "$runwmlist" |
tr '\n' :)|" \
/etc/X11/wdm/wdm-config
fi
EOF
Если уважаемый майнтайнер xinitrc поддержит, готов
подготовить NMU.
--
Dr. Igor Vlasenko
--------------------
Topology Department
Institute of Math
Kiev, Ukraine
next prev parent reply other threads:[~2009-03-30 14:07 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-30 12:15 Alexey I. Froloff
2009-03-30 12:57 ` Igor Vlasenko
2009-03-30 13:22 ` Alexey I. Froloff
2009-03-30 13:35 ` Dmitry V. Levin
2009-03-30 13:36 ` Mikhail Gusarov
2009-03-30 13:44 ` Alexey I. Froloff
2009-03-30 14:07 ` Igor Vlasenko [this message]
2009-03-30 14:30 ` Dmitry V. Levin
2009-03-30 14:40 ` Igor Vlasenko
2009-03-30 14:45 ` Igor Vlasenko
2009-03-30 15:27 ` Dmitry V. Levin
2009-03-30 15:34 ` Igor Vlasenko
2009-03-30 15:54 ` Dmitry V. Levin
2009-03-30 15:58 ` Mikhail Gusarov
2009-03-30 16:11 ` Alexey I. Froloff
2009-03-30 17:21 ` Igor Vlasenko
2009-03-30 19:32 ` Alexey I. Froloff
2009-04-01 19:14 ` Igor Vlasenko
2009-04-01 21:24 ` Dmitry V. Levin
2009-04-03 18:56 ` Igor Vlasenko
2009-03-30 15:35 ` Alexey I. Froloff
2009-03-30 16:09 ` Igor Vlasenko
2009-03-30 16:12 ` Alexey I. Froloff
2009-03-30 16:20 ` Igor Vlasenko
2009-03-30 13:44 ` Dmitry V. Levin
2009-03-30 13:55 ` Alexey I. Froloff
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090330140734.GA2473@dad.imath.kiev.ua \
--to=vlasenko@imath.kiev.ua \
--cc=devel@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git