ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Фишки WinXP
@ 2002-11-09 11:30 Konstantin
  2002-11-08 15:45 ` [Comm] SDL_Ticks Evgen Osipcov
                   ` (5 more replies)
  0 siblings, 6 replies; 23+ messages in thread
From: Konstantin @ 2002-11-09 11:30 UTC (permalink / raw)
  To: community

Добрый день всем.

В XP видел такую фишку - если вставил cd с фильмом, автоматически 
предлагается посмотреть его. Я сделал для себя так:#! /bin/sh

MOVIE=$(find /mnt/cdrom/ -name *.avi)
if [ -z $MOVIE ]
then
    exit 0
else
    mplayer $MOVIE
fi

Соответственно этот скрипт можно вызвать после mount /dev/cdrom. 
Но каким образом создать окошко под X, с выбором действий 
(посмотреть, отмена)?

-- 
Константин


^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2002-11-14 10:00 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-09 11:30 [Comm] Фишки WinXP 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
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

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