ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Алексей Шенцев" <ashen@nsrz.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] Закрытие приложений при выходе из КДЕ
Date: Mon, 26 Jan 2009 08:56:51 +0300
Message-ID: <200901260856.51637.ashen@nsrz.ru> (raw)
In-Reply-To: <glibtv$5vd$1@ger.gmane.org>

On Sunday 25 January 2009 21:44:15 Вадим Илларионов wrote:
> Столкнулся с проблемкой, когда пользовать пульт в tvtime можно при запуске
> irexec исключительно от себя, любимого.
>
> Карточка у меня такая:
> [nst@master ~]$ dmesg | grep Aver
> saa7130[0]: subsystem: 1461:a10a, board: AverMedia AverTV Studio 305
> [card=35,insmod option]
> input: saa7134 IR (AverMedia AverTV St
> as /devices/pci0000:00/0000:00:08.0/0000:01:0b.0/input/input3
>
> Пульт штатный, TVphone-98.
>
> Система (ALD4.1+updates+backports) такова:
> [nst@master ~]$ uname -r
> 2.6.27-std-pae-alt7
> [nst@master ~]$ cat /etc/altlinux-release
> ALT Linux 4.1 Desktop (Thymus)
>
> Суть проблемы:
>
> Если вызывать irexec из service lircd, от рута, попытка под пользователем
> запустить с пульта tvtime приводит к появлению и моментальному закрытию
> окна программы.
>
> Если запустить irexec через sudo или su уже в сеансе - всё работает... для
> меня, а вот для жены - фигвам: она не судоярка, да и в группу wheel не
> вхожа.
>
> Если же поместить irexec в автозапуск КДЕ, при выходе из сеанса процесс
> остаётся работать от свежевышедшего юзера, и собственный экземпляр у вновь
> вошедшего запустить не получается, как и прибить чужой.
>
> Так вот каким бы образом сделать, чтобы при выходе из КДЕ закрывался и
> вызванный текущим пользователем irexec?

Не ту да вставляете запуск irexec. Правильней будет для каждого пользователя в 
~/.bash_profile вставить такие строки:
killall irexec
irexec -d

Работать будет не только в KDE, но и в любом ином WM. И у каждого пользователя 
свой экземпляр irexec.
-- 
С уважением Шенцев Алексей Владимирович.
E-mail: ashen@nsrz.ru
XMPP: ashen@altlinux.org, AlexShen@jabber.ru
ICQ: 271053845

  parent reply	other threads:[~2009-01-26  5:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-25 18:44 Вадим Илларионов
2009-01-25 18:50 ` Вадим Илларионов
2009-01-25 18:51 ` Вадим Илларионов
2009-01-26  5:56 ` Алексей Шенцев [this message]
2009-01-27  7:29   ` Вадим Илларионов

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=200901260856.51637.ashen@nsrz.ru \
    --to=ashen@nsrz.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