ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Dolgov OV <dov@media-link.info>
To: community@altlinux.ru
Subject: Re: [Comm] Выбор файла через  Xdialog
Date: Wed, 28 Jul 2004 09:28:12 +0300
Message-ID: <20040728092812.12600cc7.dov@media-link.info> (raw)
In-Reply-To: <20040719131227.GA29224@yerden.petr.kz>

[-- Attachment #1: Type: text/plain, Size: 768 bytes --]

On Mon, 19 Jul 2004 20:12:27 +0700
Pyatnitskich Evgeniy <pem@nm.ru> wrote:
> FILE="/mnt/win_c/Мои документы/file.avi"
> mplayer "$FILE"
> 
> Пож-ста, проверьте ещё раз, что у вас именно так.
> Это должно работать.

В общем после непродолжительных мытарств добился работоспособности
скрипта в следующем виде (см. аттач). Правда не вышло присабачить
переменную DISPLAY в скрипт, пришлось делать отдельный на запуск
mplayer'a.

Как бы теперь в Xdialog добавить возможность поставить галочку, при
наличии которой отрабатывался бы после mplayertv && sudo poweroff?
Или штатными средствами этого не добиться? Не хочется запускать еще один
Xdialog (который ДА/НЕТ) после выбора файла.

-- 
С наилучшими,
Олег Долгов
<dov AT media-link DOT info>
Registered Linux user #315454

[-- Attachment #2: mplayertv --]
[-- Type: application/octet-stream, Size: 152 bytes --]

[-- Attachment #3: tvplay --]
[-- Type: application/octet-stream, Size: 258 bytes --]

  reply	other threads:[~2004-07-28  6:28 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-08  9:15 Dolgov OV
2004-07-08  9:28 ` Myroslav M Rozum
2004-07-08 10:03   ` Dolgov OV
2004-07-08 11:34 ` Dolgov OV
2004-07-08 20:22 ` Vitaly Lipatov
2004-07-19  7:12 ` php-coder
2004-07-19  8:58   ` Dolgov OV
2004-07-19  9:22     ` Максим Ярушин
2004-07-19 10:09     ` Pyatnitskich Evgeniy
2004-07-19 11:38       ` Dolgov OV
2004-07-19 13:12         ` Pyatnitskich Evgeniy
2004-07-28  6:28           ` Dolgov OV [this message]
2004-07-19 10:09     ` Myroslav M Rozum
2004-07-19 11:39       ` Dolgov OV

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=20040728092812.12600cc7.dov@media-link.info \
    --to=dov@media-link.info \
    --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