ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Arcady Ivanov <arc@ikir.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] Запуск приложения без возможности закрыть/свернуть
Date: Mon, 05 Oct 2009 21:33:14 +1300
Message-ID: <4AC9AF4A.2090001@ikir.ru> (raw)
In-Reply-To: <E14D07E9D9428F4AA33D30F7E7CE7E910C2289FD@Exukmb64.eur.nsroot.net>

Gorbatenko, Alexey пишет:
>
> Друзья,
>
> подскажите решение для того чтобы при запуске компьютера запускалось 
> одно приложение во весь экран без возможности его закрыть или 
> свернуть. Грубо говоря, пользователю можно пользоваться только этим 
> одним приложением
>
> Алексей
>
Предварительно: chkconfig dm off  && service dm stop

На старте системы (в /etc/rc.d/rc.local)

export DISPLAY=:0
X  &
xset +
su - myuser -c "app    -geometry ..."


Этого хватает, если ваше app поддерживает ключ geometry.
Для пробы можете запустить:

su  -  myuser  -c  "export DISPLAY=:0; xterm"



Можете для пробы проделать всё это руками.
 

-- 


С уважением. 
Гл.спец. по ИТ ИКИР ДВО РАН. Аркадий Иванов

Sincerely yours. Arcady Ivanov

My site: http://www.arccomm.ru




  parent reply	other threads:[~2009-10-05  8:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-05  7:48 ` Alexey Rusakov
2009-10-05  8:12   ` REAL
2009-10-05  8:01 ` Gennadii Redko
2009-10-05  8:44   ` Gorbatenko, Alexey 
2009-10-05 18:12     ` Michael Shigorin
2009-10-05  8:33 ` Arcady Ivanov [this message]
2009-10-05  9:25 ` Андрей Черепанов

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=4AC9AF4A.2090001@ikir.ru \
    --to=arc@ikir.ru \
    --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