Re: Change default application for file type?



Please keep the thread on the list, unless you really intend to talk to
me privately.


On Thu, 2005-06-30 at 15:51 -0700, John Jordan wrote:
> On 30 Jun 2005, at 22:36, guenther wrote:
> 
> > Use Nautilus, right click on any .mp3 file, chose "Open with other
> > Application" and set it to xmms. If xmms isn't in the lust of apps,
> > use "Use a custom command".
> > 
> > All currently available apps (as in the context menu) and the default
> > one to run a particular file type with are accessible by: Nautils,
> > right click on a file, "Open With".
> 
> Ummm, yes, except that is not what I want to do.

So what? You did not ask (yet)...


> I want to change which app automatically opens a music CD when 
> I insert it in the DVD/CD drive, and which app automatically opens 
> a movie DVD when I insert it.

gnome-volume-manager does this. FWIW, this is not a MIME type...


> I think each type of media has some kind of "auto-something" file 
> that triggers the default app to open it. But I don't know what it is. 
> And I don't know what file gets opened. 

There isn't necessarily a file. Audio CDs for example do not use a file
system in the way your hard drive does.

You aren't supposed to pick a file anyway. Audio CDs and DVDs are
detected by dbus and gnome-volume-manager handles the application to
open the medium automatically.


> And while I'm on this subject, the eject button frequently does not 
> work. Like after I insert a movie DVD Totem pops up, then 
> disapppears because it doesn't have the right codecs or 
> something. At that point the eject button doesn't work. And if I right-
> click on the DVD/CD drive icon in the panel, "eject" is no longer an 
> option. My only recourse is to get out the paper clip. Is there a 
> more elegant way of getting the media out of the drive?

Nautilus / "computer:///" location / right click on the drive / Eject

Does "Eject" work? If it does not, please file a bug in
bugzilla.gnome.org.

...guenther


-- 
char *t="\10pse\0r\0dtu\0  ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]