ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Sergey V. Degtyaryov" <maga@replay.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Фишки WinXP
Date: Sat, 9 Nov 2002 22:56:06 +0300
Message-ID: <20021109225606.6c85c938.maga@replay.ru> (raw)
In-Reply-To: <200211091330.22754.community@netaddres.ru>

Доброго дня, Konstantin. 
09 Ноября в 13:30 Вы сказали буквально следующее:

> Добрый день всем.
> 
> В XP видел такую фишку - если вставил cd с фильмом,
> автоматически предлагается посмотреть его. Я сделал для себя
> так:#! /bin/sh
> 
> MOVIE=$(find /mnt/cdrom/ -name *.avi)
> if [ -z $MOVIE ]
> then
>     exit 0
> else
>     mplayer $MOVIE
> fi
> 
> Соответственно этот скрипт можно вызвать после mount
> /dev/cdrom. Но каким образом создать окошко под X, с выбором
> действий (посмотреть, отмена)?

Это надо в полезные советы на atmsk.ru
Это не про окно, но немного в тему.
Я накидал два мегасложных скриптика:

[maga@master bin]$ cat Play_On_Monitor 
#!/bin/sh
mplayer -stop_xscreensaver -fs "$1"

[maga@master bin]$ cat Play_On_TV 
#!/bin/sh
nvtv -b
nvtv -N -t --chip Brooktree -r 800,600 -s Huge --set dualview:off
mplayer -stop_xscreensaver -screenw 800 -screenh 600 -fs
"$1"
nvtv -N -m --chip Brooktree

Через настройки конкверора сеи два скрипта подвешиваются на
контекстное меню avi-файлов. Удобство значительное.
nvtv - это из sf.net/projects/nv-tv-out/

-- 
Сергей


  parent reply	other threads:[~2002-11-09 19:56 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-09 11:30 Konstantin
2002-11-08 15:45 ` [Comm] SDL_Ticks Evgen Osipcov
2002-11-09 11:50 ` [Comm] Фишки WinXP Vitaly Lipatov
2002-11-09 16:37   ` Konstantin
2002-11-09 16:39     ` Leonid B. Sysoletin
2002-11-09 19:37       ` Konstantin
2002-11-09 12:14 ` Yura Kalinichenko
2002-11-09 19:56 ` Sergey V. Degtyaryov [this message]
2002-11-10 13:23   ` Konstantin
2002-11-10 10:53 ` Antonio
2002-11-11  8:49 ` Alexey I. Froloff
2002-11-11  9:55   ` [Comm] Re[2]: " ASA
2002-11-11 10:24     ` Alexey I. Froloff
2002-11-11 11:49     ` [Comm] " Yura Kalinichenko
2002-11-11 15:02       ` [Comm] rpmfind at www.altlinux.ru? Yury Aliaev
2002-11-14  8:48       ` [Comm] Data CD copying Yury Aliaev
2002-11-14  8:52         ` ASA
2002-11-14  8:59         ` Пушкин Сергей Алексеевич
2002-11-14  9:26         ` Antonio
2002-11-14  9:40           ` Yury Aliaev
2002-11-14  9:01       ` [Comm] How to disaccustom Nautilus to sniff the floppy and CDROM? Yury Aliaev
2002-11-14 10:00         ` Sergey Indlin
2002-11-11 18:40   ` [Comm] Фишки WinXP Konstantin

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=20021109225606.6c85c938.maga@replay.ru \
    --to=maga@replay.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