You are not logged in.

#1 2008-12-21 10:40:55

foggybrain
Member
Registered: 2008-07-29
Posts: 86

Stopping VLC's file associations

I use Arch with xfce4 and nautilus for the file manager and desktop.

I use VLC occasionally with Tunapie (shoutcast radio/tv), for the rest of my media I use Kaffeine and XMMS.

My problem is that VLC keeps associating itself with most media file types, sometimes even stealing them back after I have associated them Kaffeine and XMMS. I'm sick of seeing "Open with VLC Player" in right click menus etc all the time.

I have removed the MimeType= line...  from /usr/share/application/vlc.desktop and I have also removed

audio-vlc-default.sh
gnome-vlc-default.sh
video-vlc-default.sh

scripts found in /usr/share/vlc/utils

I then removed VLC with pacman -R vlc , (thus removing all associations and "Open With VLC" context), and then I re-installed my modified VLC package with the above changes.

Only to find that after a restart VLC is still doing the same stuff !

Can anyone suggest anything else I can try ?

Thanks

Tim

Offline

#2 2008-12-21 11:24:03

seenxu
Member
Registered: 2008-08-25
Posts: 111

Re: Stopping VLC's file associations

*check mine name for a file type
xdg-mime query filetype xxx.torrent

*the output shall be the following
application/x-bittorrent

*then change the default app for this mine type to other app
xdg-mime default deluge.desktop application/x-bittorrent

I hope this example had demonstrated how you can change the default application for each mime type.

Last edited by seenxu (2008-12-21 11:31:28)

Offline

#3 2008-12-21 11:38:23

foggybrain
Member
Registered: 2008-07-29
Posts: 86

Re: Stopping VLC's file associations

thanks for the reply, but I'm trying to stop vlc making changes and adding associations on installation/execution in the first place.

it seems that VLC keeps putting these mime statements (file associations) back into my system, this problem is nearly as bad as windows media player on a microsoft OS.

The only answer so far is to remove VLC

Last edited by foggybrain (2008-12-21 11:40:58)

Offline

Board footer

Powered by FluxBB