From: Igor Vlasenko <vlasenko@imath.kiev.ua>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] DM & WM packaging policy 2.0 project.
Date: Fri, 12 Nov 2021 17:11:44 +0200
Message-ID: <20211112151143.GC32554@dad.imath.kiev.ua> (raw)
In-Reply-To: <ab4963ec-77ca-0ccd-c457-e864d771c1c7@altlinux.org>
On Fri, Nov 12, 2021 at 06:00:24PM +0300, Sergey V Turchin wrote:
> 12.11.2021 17:56, Igor Vlasenko пишет:
>
> [...]
> > Я напомню, что XDG_SESSION_DESKTOP - это pam_systemd,
> > если DM подключает pam_systemd в pam.
> У ме
> У меня XDG_SESSION_DESKTOP выставляет пользователю sddm, а значение берёт из
> параметра DesktopNames.
Это sddm так конфигурирует pam_systemd, см. документацию
[ https://www.freedesktop.org/software/systemd/man/pam_systemd.html ]
Для pam_systemd можно гвоздями прибить значение XDG_SESSION_DESKTOP
в %pam, указав desktop=ПРИБИТОЕ_ГВОЗДЯМИ_ИМЯ.
Но для DM так очевидно нельзя, поэтому в pam_systemd
предусмотрено конфигурирование через ENV.
DM выставляет переменную окружения XDG_SESSION_DESKTOP=name,
а pam_systemd берет ее оттуда.
И да, в доках рекомендуется брать ее оттуда же,
откуда (первое) значение в XDG_SESSION_DESKTOP :
It is recommended to use the same identifiers and capitalization as for $XDG_CURRENT_DESKTOP, as defined by the Desktop Entry Specification. (However, note that the option only takes a single item, and not a colon-separated list like $XDG_CURRENT_DESKTOP.)
--
I V
next prev parent reply other threads:[~2021-11-12 15:11 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-31 17:55 Igor Vlasenko
2021-11-10 16:23 ` Igor Vlasenko
2021-11-12 11:16 ` Sergey V Turchin
2021-11-12 13:06 ` Igor Vlasenko
2021-11-12 13:31 ` Sergey V Turchin
2021-11-12 13:51 ` Arseny Maslennikov
2021-11-12 13:57 ` Sergey V Turchin
2021-11-12 14:56 ` Igor Vlasenko
2021-11-12 15:00 ` Sergey V Turchin
2021-11-12 15:11 ` Igor Vlasenko [this message]
2021-11-12 15:33 ` Arseny Maslennikov
2021-11-12 11:17 ` Sergey V Turchin
2021-11-12 12:52 ` Igor Vlasenko
2021-11-12 13:35 ` Sergey V Turchin
2021-11-12 14:35 ` Igor Vlasenko
2021-12-01 22:40 ` Igor Vlasenko
2021-12-02 7:30 ` Sergey V Turchin
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=20211112151143.GC32554@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