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

*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)

Similar Messages

  • How do I stop Illustrator CS3 from continually stealing file associations?

    Since moving from CS2 to CS3 I've been plagued with a file association problem. Every time I run Illustrator CS3, it steals the file association for .FLT files (this didn't happen in CS2). .FLT files don't appear in the Bridge so I can't do anything about it there. Problem is that .FLT files have been around since 1990 and are used by a 3D modelling package. Now Illustrator keeps trampling the file association and I can't figure out how to stop it. The .FLT files I've used for the past two decades are NOT Illustrator filters.
    Anyone got any bright ideas? At the moment I have a registry hack sitting on my desktop that I have to run each time I close Illustrator.
    C.

    Ok here's the solution to this.
    It turns out that Illustrator deletes and resets the .flt file extension key and the Adobe.Illustrator.Filter key every time it is run. Removing registry permissions for system didn't work, neither did removing them for owner/creator.
    It seems that the change happens as "me" - the person logged on. As I'm an administrator anyway, I was able to remove all rights for every user (including me) except administrators, and then change the administrator rights to allow everything except set and delete.
    So the .flt file extension key is essentially locked down completely now, and the problem is solved. However as the owner of the key I can still get in and change the set/delete flags if I ever need to change it again.
    Thanks to Harron for giving me the hint on the right way to pursue this.

  • HOW DO YOU RESTORE A BROKEN W520 AUDIO CONEXANT FILE ASSOCIATION?

    I uninstalled a program that had taken over the Conexant file association, and just left it broken.
    Now, if I go to Amazon and click to hear a sample of a song, instead of getting music, I get a file download selection box, asking which program I want to open the sound sample file, but it doesn't list conexant.  I reinstalled the driver, but that didn't restore the automatic connection, as I keep getting the file download file for each sample of a song, which gets saved to disk.
    Aaargh!!   Help!  How can I stop this nonsense?
    Thanks to any helper.

    Conexant isn't an audio player. You'll probably want Windows Media Player, or VLC, or some media player.
    W520: i7-2720QM, Q2000M at 1080/688/1376, 21GB RAM, 500GB + 750GB HDD, FHD screen
    X61T: L7500, 3GB RAM, 500GB HDD, XGA screen, Ultrabase
    Y3P: 5Y70, 8GB RAM, 256GB SSD, QHD+ screen

  • File associations in symbian

    Is there any way to see edit file associations in Symbian?
    i use n79. my problem is wit opera mobile, which on install takes associates html files to itself and has problems while reading the local html files. Which on the other hand used to read beautifully with default browser.
    is there any way i can stop opera mobile from taking over the files association at install?

    Try Y-Tasks with the File Types plugin:
    http://www.drjukka.com/YTasks.html

  • File association in xfce4

    I am wondering how file association works in xfce4.
    Examples: After emacs was installed, xfce4 wanted to open all kinds of files in a new instance of emacs. An .scm scheme source code file was opened in StarCraft Map Editor An .xml file was opened in winebrowser,  many many instances of winebrowser were opened, stole all cpu time and I had to kill the X session. An .mp3 is opened in gxine. (I think gxine has a horrid UI, I use it as an opera plugin.)
    In the right click menu I can choose between gxine or vlc or audacious. "Open With Other Application" > "Use as default for this kind of file"  is an option too, but I rather have this information accessible in one conf file. Now is there one somewhere?

    Yes, there were relevant files in ~/.local/share/applications/  I was staring right at them and didn't see. Anyway I don't understand them and their syntax well enough to edit them yet.
    mimeinfo.cache
    [MIME Cache]
    application/x-wine-extension-ini=wine-extension-ini.desktop
    image/gif=feh-usercreated-1.desktop
    image/jpeg=feh-usercreated-1.desktop
    application/x-wine-extension-hlp=wine-extension-hlp.desktop
    image/png=feh-usercreated-1.desktop
    application/x-wine-extension-scx=wine-extension-scx.desktop
    text/html=wine-extension-htm.desktop;wine-extension-html.desktop;
    text/plain=gvim-usercreated.desktop;wine-extension-txt.desktop;
    application/rtf=wine-extension-rtf.desktop
    application/x-chm=wine-extension-chm.desktop
    application/xml=wine-extension-xml.desktop
    text/x-scheme=wine-extension-scm.desktop
    application/x-mswrite=wine-extension-wri.desktop
    A lot of wine stuff and feh doesn't animate .gif
    defaults.list
    [Default Applications]
    application/xml=gvim.desktop
    audio/mpeg=vlc.desktop
    video/x-flv=vlc.desktop
    text/x-scheme=gvim-usercreated.desktop
    application/x-shockwave-flash=opera.desktop;conkeror.desktop
    video/x-ms-wmv=vlc.desktop
    text/html=opera.desktop
    This one looks better, but isn't it a bit short? (Neither opera or conkeror will actually play the .swf I know I have to fix that somewhere else.)
    File type, as thunar shows it, seems to be another thing and the cmd "file" shows yet another type.
    /etc/xdg/xfce4/helpers.rc     are just 3 apps and I'm only using 2 since I don't use a mail app.

  • Changing the File Associations in Get Info doesn't seem to stick

    Hey everyone. I hope I'm posting this in the best possible place. I just bought a new Mac Pro (single hexacore Westmere processor if that makes a difference) and I've found that the file associations aren't working. I will Get Info on a document and change the application it's supposed to open with. If I stop there, everything is great and the associated icon changes, but if I click Change All... (which is exactly what I want to do) and then click Continue, it reverts back to the default and doesn't change anything. I've changed repairing disk permissions but am a bit stumped after that. Anyone have any suggestions? I minor problem but kind of annoying (especially since I want my new baby to work perfectly). Thanks.

    Grab a copy of RCDefaultApp and once installed you have a preference pane to set the Mime type/handling for any extension.

  • Visual Source Safe keeps checking out my .cs file associated with a report

    Hello there.
    I am new in this community and I need some help. I am part of a team that works with Crystal Reports under .NET framework and we are using Ms Visual Source Safe. Any time we open a solution (.sln file) all .cs files associated  with a Crystal report are checked out. This, of course, drives all of us crazy. If I try to delete the .cs file, it is added automatically. And we could not find any solution to this problem.
    I compared the 2 .cs files (before and after check out) and the indeed differ. The namespace , to be more specific is different.
    I believe the problem is that we are using a separate project that contains the report files and then those .rpt files are added as links to the main project.
    So ... my question is... is there anyway I can tell Sourcesafe or Crystal report or any other program, application or person to stop checking out my .cs files or stop modifying them?
    Thank you.

    Hello  Don.
    Thank you for your answer.
    It seems I have SP1 already installed. I am referencing the following files with versions in my report project:
    CrystalDecisions.CrystalReports.Engine v12.0.2000.0
    CrystalDecisions.Enterprise.Framework v12.0.1100.0
    CrystalDecisions.Enterprise.InfoStore v12.0.1100.0
    CrystalDecisions.ReportSource v12.0.2000.0
    I personally believe that the problem is with the link files.
    To be more exact, I have several projects (csproj) that handle all reports and report loading. I also have several applications that refer these projects (not all in the same time). Because all .rpt files are loaded at runtime, I made these files Embedded resources and I created a folder in the main projects named Reports where I added all .rpt files as links.
    When I open main application A solution, all .cs files associated with the .rpt files are checked out (the namespace is modified to A).
    When I open main application B solution, all .cs files associated with the .rpt files are checked out (the namespace is modified to B).
    And so on.
    And since we are a team of several developers working with all main applications, this is rather annoying.
    I hope this presents my situation a little more clear.
    Any ideas?
    Thanks again

  • CS4 .indd file association problem

    Hi folks,
    I'm running a PC with XP and recently upgraded my software from CS3 to CS4. My computer has stopped associating .indd files with InDesign. I've tried to set the file association manually using the Open With command though InDesign doesn't appear as an available program. When i browse for InDesign and try to set it as the default program it still ignores it. The only way to get a file to open is to go into InDesign first and then do File->Open.
    Any tips would be appreciated,
    Cheers 

    This is a long way away from the original post date, but maybe someone else will have the same issues...
    (taken from another post)
    So I went into the Registry, HKEY_CLASSES_ROOT\Applications\Photoshop.exe\shell\open\command, and changed the (Default) from "C:\Program Files\Adobe\Adobe Photoshop CS5 (64 Bit)\Photoshop.exe" "%1" to "C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\Photoshop.exe" "%1" (so changed CS5 to CS6) - and now I see 'Adobe Photoshop CS6' in my 'Open with' list when right-clicking an image...
    Follow the same steps to re-associate files from other Adobe programs.
    The issue is when you install, let's say CS5 and CS6 at the same time, then remove the first install, your associations are uninstalled also.

  • Changing file associations for Stuffit

    Soooo, I tried opening a BIN file using Stuffit Expander (well, indirectly using it by opening the file from Firefox), but because the VLC Media Player has changed the file associations so that by default it opens them, I can't open it (and for the record, the BIN file in question is the install file for AIM, direct from the AIM website...I'm downloading it as a backup for file transfers). Because Stuffit seems to be integrated within the kernel (as opposed to being a separate program), I can't go about changing the file associations the normal way. Is there a way for me to do it without uninstalling VLC?

    Stuffit Expander is a separate program. You can get it here.

  • Midnight commander questions. menu file & associations file

    hi! i use tuxcmd all time, but find myself interested in try mc, first because it can be transparent and integrates with my transparent desktop:
    but i read this manual  http://www.chm.tu-dresden.de/edv/mc/mc4.5/manual1.html  and dont know how to make a couple of things in first place...
    1. when i start mc it sorts files in a confusing (for me) way tuxcmd shows me first the "dot" directories, next the "not dot" directories , next the "dot" files and finally the files, all in alphabetic order. how to achieve that sorting in mc?
    2. in tuxcmd i have the options to sort (maintaining the number 1 item sort fashion) by date (newest files first) by name, by extension. how to do this in mc?
    3. in tuxcmd i add to it a lot of file associations to my common use files, like when i right click a media file, i have my programs like open with mplayer, xine, vlc, ffmpeg -i (shows me info about the file), etc. what file or what i need to do to have file associations like that in mc? so i can just double click the file and it opens with his associated program?
    THANKS!!!
    my desktop:
    Arch
    Fluxbox
    gkrellm (cronos skin)
    aterm (command: aterm -tr -bl +sb)
    mc (transparent mc: Copy this line to ~/.mc/ini
    [Colors]
    base_color=normal=white,default:directory=white,default:marked=yellow,default:selected=gray,white:executable=brightgreen,default:link=lightgray,default:stalelink=brightred,default:special=brightblue,default:device=magenta,default:editnormal=white,default)
    Last edited by leo2501 (2008-04-12 13:12:47)

    Well, right now i edited my ~/.mc/menu file so when i press F2 i get a menu with my additions, but the thing is, that i need that depending on the selected file when i press F2, the menu displays the corresponding options depending on the file type, but i barely understand the conditions and subconditions thing
    #### Added by me ####
    #### Video File Menu ####
    + f \.avi$ | f \.mpg$ | f \.mpeg$ | f \.mkv$ | f \.ts$ | f \.rm$ | f \.vob$ | f \.rmvb$ | f \.flv$ | f \.wmv | f \.ram | f \.mp4 | f \.asf | f \.ogm | f \.m2v | f \.evo$ $ & t n
    1 ffmpeg -i (show audio/video info)
    ffmpeg -i %f
    2 vlc
    vlc %f
    3 Encode to h264 hq 96 700
    enc2h264 hq 96 700 %f
    #### Audio File Menu ####
    + f \.wav$ | f \.mp3$ | f \.au$ | f \.aiff$ | f \.snd$ | f \.mp2$ | f \.flac$ | f \.wma$ | f \.snd$ | f \.mpc$ | f \.ac3$ | f \.mid$ | f \.ogg$ $ & t n
    1 mplayer
    mplayer %f
    2 aplay
    aplay %f
    3 ffmpeg -i (show audio/video info)
    ffmpeg -i %f
    4 audacity
    audacity %f
    5 Encode to *.mp3
    enc2mp3 %f
    #### Disk Image File Menu ####
    + f \.iso$ | f \.ccd$ | f \.img$ | f \.nrg$ | f \.mdf$ | f \.cue$ | f \.bin$ | f \.daa$ | f \.b6t$ | f \.b6i$ & t r & ! t t
    1 mountiso
    mountiso %f &
    2 isomaster
    isomaster %f
    3 Convert BIN to ISO
    bin2iso %f
    4 Poweriso convert image to ISO
    all2iso %f
    5 Convert CCD to ISO
    myccd2iso %f
    #### Image File Menu ####
    + f \.jpg$ | f \.jpeg$ | f \.bmp$ | f \.png$ | f \.gif$ | f \.svg$ & t r & ! t t
    1 feh
    feh %f
    2 gimp
    gimp %f
    3 gqview
    gqview %f
    4 mirage
    mirage %f
    #### PDF File Menu ####
    + f \.pdf$ & t r & ! t t
    1 epdfview
    epdfview %f
    2 xpdf
    xpdf %f
    #### Text File Menu ####
    + f \.txt$ | f \.nfo$ | f \.cfg$ | f \.log$ | f \.srt$ | f \.sub$ | f \.ssa$ & t r & ! t t
    1 leafpad
    leafpad %f
    #### Archive File Menu ####
    + f \.zip$ | f \.gz$ | f \.rar$ | f \.bz2$ | f \.tgz$ | f \.7z$ | f \.ace$ & t r & ! t t
    1 xarchiver
    xarchiver %f
    2 Extract *.tar.gz
    tar -xzvf %f
    3 Extract *.tar.bz2
    tar -xjvf %f
    4 Extract *.rar Full Path
    unrar x %f
    5 Extract *.rar Current Dir
    unrar e %f
    6 Extract *.zip
    unzip %f
    7 Extract *.7z Full Path
    7z x %f
    8 Extract *.7z Current Dir
    7z e %f
    9 Extract *.ace Full Path
    unace x %f
    a Extract *.ace Current Dir
    unace e %f
    b Extract *.rar in *.rar_dir directory
    unrar2dir %f
    c Extract *.zip in *.zip_dir directory
    unzip2dir %f
    d Pacman Install Package
    sudo pacman -A %f
    e Pacman Upgrade Package
    sudo pacman -U %f
    #### Windows Executable File Menu ####
    + f \.exe$ | f \.bat$ | f \.msi$ & t r & ! t t
    1 wine
    wine %f
    #### Internet File Menu ####
    + f \.htm$ | f \.html$ | f \.php$ | f \.asp$ & t r & ! t t
    1 kazehakase
    kazehakase %f
    2 swiftfox
    swiftfox %f
    #### Document File Menu ####
    + f \.doc$ | f \.rtf$ | f \.php$ | f \.asp$ & t r & ! t t
    1 abiword
    abiword %f
    2 OpenOffice Writer
    soffice -writer %f
    #### Spread Sheet File Menu ####
    + f \.xls$ | f \.csv$ & t r & ! t t
    1 gnumeric
    gnumeric %f
    #### Presentation File Menu ####
    + f \.ppt$ | f \.pps$ & t r & ! t t
    1 OpenOffice Impress
    soffice -impress %f
    #### Java File Menu ####
    + f \.jar$ & t r & ! t t
    1 Execute
    java -jar %f
    #### Help/Manual File Menu ####
    + f \.chm$ | f \.pps$ & t r & ! t t
    1 xchm
    xchm %f
    Last edited by leo2501 (2008-04-12 13:14:16)

  • File associations clobbered

    I really like Arch, but one of the major annoyances for me is everytime I install a new application it takes over the relevant file associations. Like pacman -S vlc will take over media files without asking, -S gimp will take over image files, etc.
    Can I prevent this?

    kgas wrote:In nautilus you can set the association by right clicking on that file.
    Yeah, that's how I change them back to the proper application. My problem is with newly installed application taking over the association. When I install gimp or whatever I don't want to have to keep re-associating my image formats with eog, it's tiring after png,gif,jpg,...
    Last edited by ernesto (2010-01-08 11:16:38)

  • Finder keeps returning file associations back to Preview / Quicktime

    If you right click on a file, go to Get Info, there is a section that allows you to change the application that opens that file from now on. If you click the Change All button beneath it, it will then open all files of that particular format (e.g. JPG, GIF, AVI etc) in your newly chosen application.
    I change all my picture files to open with Xee, and all my videos to open with VLC. However, for some reason my Mac returns the file associations back to Preview and Quicktime if I leave the computer on overnight or reboot. I tried fixing permissions but this hasn't solved the problem.
    Any ideas? I only recently reinstalled Leopard but don't remember having this issue before.

    do you use filevault? if not try rebuilding your launch services database.
    run the following terminal command
    /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user
    then redo "change all" in a get info window and see if it sticks.

  • File association, file association

    I can't get the file association to allow a change from the textedit writer to the OpenOffice.odt format. Is there a way to trick OSX into allowing the change?

    Stop documents from opening in text...: Apple Support Communities

  • Filevault overwrites file associations on boot

    how do I stop it from doing that, and/or what files do I need to edit/replace (ie. via an rc file or script) in order to reset the application/file associations back to the way I prefer?
    I have dozens of associations, so using a gui method after every boot is completely infeasible, nor is turning off filevault.

    I think I may have solved the problem, in large part thanks to you pointing out which file to look at. What I did was convert the plist file from data to xml format via the following command.
    cd ~/Library/Preferences/
    plutil -convert xml1 com.apple.LaunchServices.plist
    I set all my preferences the way I like, backed up the xml file, then rebooted. Voila! A diff between the files, reveals no changes whatsoever, and my apps appear to be working as desired. So far so good, and barring some total fubaredness, we may have a winner...

  • Lion Network Accounts files association is always reverted

    Hi,
    I want to change file associations for all types, like opening all .avi with vlc instead of QuickTime.
    The Workstations run Lion 10.7.2 and Have Network Homes hosted on a Lion Server 10.7.2. Whenever the user changes the file association (Get Info, dialogue...) this change is reverted after a reboot. Strangely enough the new association is still in place if the user just logs out and back again. There is no such problem with local users on the machines.
    The com.apple.LaunchServices.plist where these settings are stored reflects changes made in the GetInfo dialogue. Upon reboot, the Finder seems to ignore this settings file although it stays unchanged!
    Any help would be greatly appreciated.

    I seem to have isolated the issue.
    I was using wireless for both server and client, so I switched both to ethernet to eliminate any possible issues there.  No change.
    Then after some more experimenting I realized my original statement
    if I am logged in via any user on the client (network or local), using fast user switching to go to the login screen ALWAYS shows the network users.
    was incorrect.  It turns out I have to be logged in with a local user for the network users to show up.  So I went back and experimented with the Login Window options I configured in Profile Manager.  Here is how I had my client configured.
    If I enable "Show computer's administrators", or if I disabled "Show local users", the problem goes away.  The problem only exists when I have one or the other, but not both, options enabled.  So it seems there is a bug on the client, or there is a bug in the profile that Profile Manager is pushing to the client.
    Another interesting tid bit.  I temporarily changed the local user on the client to an administrator.  That left the client with two administrators and no standard users.  The problem went away.  Turning that user back into a standard user, and the problem came back.
    So there's one combination of options here that isn't working. In the long run I won't have any local users anyway, so it won't matter.  This only affects me now while I'm migrating things.

Maybe you are looking for

  • Problem with text wrap on anchored objects

    Hi, I'm using CS5 on a Macbook Pro OS 10.6.8 I'm laying out a multiple page biographies section of a conference program and I need to anchor the photo boxes to the beginning of each new bio. I made a photo box and assigned it the proper text wrap att

  • Computer idiot at the end of his rope

    Hi. I know that this question has probably been posted a million different ways already, but I'm desperate. I anticipate getting an ipod here soon and I cannot get itunes to work on my computer! I tried to upgrade my itunes b/c it said an update was

  • How do i get itunes to connect to my phone on recovery mode without having to put in a passcode?

    i turned on my iphone holding the home button and connected it to my computer, on the screen it said connect to iTunes. iTunes then opened up on my computer and I pressed start recovery mode. on the top it started loading 1 item, half ways through th

  • Numbers iOS mac

    Just DL'd Numbers and Pages for IOS. I want to be able to sync and work with my Mac iWork files as IOS file and back. Seems the only way to move files to and from iCloud is through an upload/download process in a Web browser. Am I missing something o

  • Need Video Clip Cutting Software! (NOT FCP)

    I need a software that will use a XML file with in and out points in seconds and automatically cut it up into those segments. FCP doesn't seem to do it, if it does I can't figure out how. Any ideas? Thanks