ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Vladimir Didenko <vladimir.didenko@gmail.com>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] gdm
Date: Sun, 30 Oct 2011 19:09:22 +0400
Message-ID: <4ead68a5.9b8acc0a.6916.5be8@mx.google.com> (raw)
In-Reply-To: <CAEv1UXyhTq8wJZvMrOAicY3zNyQXhOadBQZvMEf84j99bJAbvQ@mail.gmail.com>

On 30 октября 2011 17:00:24 Andriy Dobrovol`s`kii wrote:

> 
> А как через этот файл указать преимущество gdm над остальными? По идее
> он и так должен для Гнома запускать gdm...

Ну и как скрипт /etc/X11/prefdm узнает, что запускать, если в системе 
установлены и kdm и gdm? Если заглянуть в этот скрипт, то можно увидеть как 
указать предпочитаемы dm 

if [ -s /etc/sysconfig/desktop ]; then
        while read name; do
                case "$name" in
                        GNOME)          preferred=gdm ;;
                        KDE)            preferred=kdm log=1 ;;
                        WindowMaker)    preferred=wdm ;;
                        LXDE)           preferred=lxdm ;;
                        LDM)            preferred=lightdm ;;
                        AnotherLevel)   preferred=xdm ;;
                        *) continue ;;
                esac
                break
        done < /etc/sysconfig/desktop
        rundm $@
        log=
fi


--
С уважением,
Владимир

  reply	other threads:[~2011-10-30 15:09 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-30 12:31 Andriy Dobrovol`s`kii
2011-10-30 13:09 ` Vladimir Didenko
2011-10-30 14:30   ` Andriy Dobrovol`s`kii
2011-10-30 14:41     ` Vladimir Didenko
2011-10-30 15:00       ` Andriy Dobrovol`s`kii
2011-10-30 15:09         ` Vladimir Didenko [this message]
2011-10-30 15:23           ` Andriy Dobrovol`s`kii
2011-10-30 15:32             ` Andriy Dobrovol`s`kii

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=4ead68a5.9b8acc0a.6916.5be8@mx.google.com \
    --to=vladimir.didenko@gmail.com \
    --cc=community@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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git