ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@osdn.org.ua>
To: community@altlinux.ru
Subject: [Comm] Re: загрузка иксов в Alt Linux
Date: Fri, 24 Dec 2004 23:20:34 +0200
Message-ID: <20041224212034.GL7060@osdn.org.ua> (raw)
In-Reply-To: <opsji5bax9ou9itb@post.cnt.ru>

On Fri, Dec 24, 2004 at 11:46:12PM +0300, Владимир Гусев wrote:
> Сделал ~/.xinitrc примерно такого содержания:
> #!/bin/sh
> exec /usr/X11R6/bin/starticewm "$@"

А хоть понимаете, что значит exec?  Как отработает starticewm --
т.е. по окончании сессии -- и дойдёт управление сюда:

> /usr/bin/gkrellm
> /usr/bin/kkbswitch

Они-то что-то сделают, но в конце скрипта иксы уже завершатся.

> При startx запускается сразу icewm и все (подозреваю
> неправильный  синтаксис - никогда раньше не трогал такое).. и
> плюс ко всему теперь все  настройки Xresources берутся по
> умолчанию, а не их /etc/X11 , как я  настроил до этого...

Так логику, логику включайте :-)

Вот исправленный вариант:

#!/bin/sh
/usr/bin/gkrellm &
/usr/bin/kkbswitch &
exec /usr/X11R6/bin/starticewm "$@"

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


  reply	other threads:[~2004-12-24 21:20 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-24  4:28 [Comm] " Владимир Гусев
2004-12-24  5:45 ` php-coder
2004-12-24 13:03   ` Владимир Гусев
2004-12-24 13:17   ` Владимир Гусев
2004-12-24 20:46   ` Владимир Гусев
2004-12-24 21:20     ` Michael Shigorin [this message]
2004-12-25  1:33       ` [Comm] " Владимир Гусев
2004-12-24  6:07 ` [Comm] " Mike Lykov
2004-12-24  6:54 ` Alex Gorbachenko
2004-12-24  7:46 ` Yura Kalinichenko
2004-12-24 12:00   ` [Comm] [FAQ] " Michael Shigorin

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=20041224212034.GL7060@osdn.org.ua \
    --to=mike@osdn.org.ua \
    --cc=community@altlinux.ru \
    /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