From: "Владимир Гусев" <vova1971@narod.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Автозагрузка в иксах
Date: Mon, 01 Aug 2005 17:16:45 +0400
Message-ID: <op.suty57jkglg102@post.cnt.ru> (raw)
In-Reply-To: <42EDD001.9080902@mail.ru>
> По команде xinit запускаются иксы с терминалом (без KDE или GNOME).
> Как сделать, что бы автоматом запускалось нужное приложение?
Если runlevel 3, то создать скрипт ~/.xinitrc примерного содержания:
#!/bin/sh
# Установка ускорения мыши
xset m 3 2
# Автозагрузка дополнительных программ
/usr/bin/gkrellm&
/usr/bin/sven&
/usr/bin/kkbswitch&
sleep 3 && /usr/X11R6/bin/idesk&
# В случае возможного краха wm запустится xterm
exec /usr/local/bin/icewm-session || exec xterm -fg red "$@"
Однако, если используется Icewm или WMaker, то у них есть свои файлы
автозагрузки.. либо ~/.icewm/startup, либо
~/GNUstep/Library/WindowMaker/autostart
Примерное содержимое autostart:
#!/bin/sh
xset m 20/10 4
gkrellm&
xxkb&
Примерное содержимое startup:
# Автозагрузка дополнительных программ
/usr/bin/gkrellm&
#/usr/bin/sven&
/usr/bin/xxkb&
/usr/local/bin/xpad&
(sleep 3; /usr/X11R6/bin/idesk&)&
--
С уважением, Владимир Гусев
next prev parent reply other threads:[~2005-08-01 13:16 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-01 7:32 Aleksey P. Karelin
2005-08-01 8:20 ` Владимир Гусев
2005-08-01 11:22 ` Andrei Popov
2005-08-01 12:12 ` Alexey Rusakov
2005-08-01 13:16 ` Владимир Гусев [this message]
2005-08-01 17:55 ` Владимир Гусев
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=op.suty57jkglg102@post.cnt.ru \
--to=vova1971@narod.ru \
--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