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: Thu, 8 Jul 2004 14:34:22 +0300
Message-ID: <20040708143422.4632a0a7.dov@media-link.info> (raw)
In-Reply-To: <20040708121555.72bd826b.dov@media-link.info>

On Thu, 8 Jul 2004 12:15:55 +0300
Dolgov OV <dov@media-link.info> wrote:
> FILE=`$DIALOG --stout --title "Select movie" --fselect /mnt/D/video/
> 40 80`
> 
> case $? in
>     0)
>   xterm -title "$FILE" -hold -e 'mplayer "$FILE"';;
> 
Вопрос снят. Виноваты кривые руки :-)
Во первых параметр --stdout (а у меня --stout), во вторых запуск mplayer
надо было взять в обычные, а не в одинарные кавычки. Заработало.

А как бы теперь прописать, чтобы при выборе файла можно было
поставить/снять в Хдиалоге галочку, при наличии/отсутствии которой
выполнялся бы просто "mplayer" или "mplayer && sudo poweroff"?

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


  parent reply	other threads:[~2004-07-08 11:34 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 [this message]
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
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=20040708143422.4632a0a7.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