[SOLVED] which mimetype is qbittorrent using for previewing files?

How do I find out which mimetype qbittorent uses to preview a file when I right-click on a downloaded/-ing torrent and select "preview file"? It is definitely not application/x-directory, can someone tell me which it is and how I can figure this out myself in the future?
My problem is previewing opens in Firefox as a "file://" url, but I want this to be handled by vlc or rox...
Thanks!!
Last edited by awayand (2011-06-02 16:15:47)

I am going to answer my own question here:
The mime type somehow is in the file so it is not the app that says "use mime type x on this file" but it's rather "use whatever mime type is associated with this file". To see a mime type of a file called test.mp4 use this command:
$ xdg-mime query filetype test.mp4
In my example I got this:
audio/mp4; charset=binary
Now we set the mime-type, in my example I want to use rox to handle this file, and then configure rox to use vlc:
xdg-mime default rox.desktop audio/mp4
Since I already set the default action for that file in rox with a right-click and then using "vlc" as the command, this now works beautifully.
If you are wondering, setting the default app for a mime type will edit the file
~/.local/share/applications/defaults.list
and add the following for this magic to work:
[Default Applications]
audio/mp4=rox.desktop
On a side note, does anyone else feel that freedesktop.org's documentation really blows? Isn't all of the above supposed to be explained for example here? http://www.freedesktop.org/wiki/Specifi … -info-spec
EDIT: I added this into the wiki here: https://wiki.archlinux.org/index.php/Ch … rary_files
as this is the first page that showed up when I searched "mime" in the wiki...
Last edited by awayand (2011-06-02 16:26:12)

Similar Messages

  • Controlling which email address is used for group members?

    Howdy Folks,
    Is there a way to control which email address is used for contacts that you have put into a group in Address Book?
    For example, say John Smith is a member of an Address Book group I have created. John's Address Book entry contains two email addresses for him, one for work and one for home.
    When I send an email to the group I want to have it sent to John's work email address.
    I have experimented by editing the entry and making sure the desired address is the first one listed for the individual in question, but that doesn't do the trick.
    Thanks in advance for any tips!
    --gordon
    15" PowerBook   Mac OS X (10.4.6)  

    Launch Address Book, choose Help > Address Book Help and type "group addresses" in the search box. Read the article titled "Selecting which addresses to use for members of a group". Does that solve your problem?

  • In Adobe Acrobat 9 which I have been using for a long time (Widows 7) says, You cannot use this prod

    In Adobe Acrobat 9 (Wndows 7) which I have been using for a long time now it says I cannot use it withoutv repairing.  It instructs me to uninstall & reinstall...

    I have not run into this yet with my AA9 and Win7, but have been seeing posts about it. I would try a repair before I would do an uninstall and reinstall. You might also turn off javascript for a bit in case there has been some javascript that has caused problems (ok, making wild guesses). If you do decide to uninstall, be sure to deactivate first, uninstall, run http://labs.adobe.com/downloads/acrobatcleaner.html, and remove any left over parts of the Acrobat folder. Then proceed to the reinstall and updates.
    There is a question about whether being able to use it is correct, or you are just getting some message that is a spam that somehow got into your system (again, a possible javascript issue). Besides turning off javascript, you could also try isolating the javascripts to moving them to a temporary directory and seeing if one is causing the problem.

  • Be grateful for your help with Photoshop Elements which I have been using for several years.

    Be grateful for your help with Photoshop Elements which I have been using for several years.  Does Elements need to have access to ‘My Pictures’ on Windows as when I remove Photos from ‘My Pictures’, Elements later, when backing up, gives a message that it is unable to ‘reconnect’ to the same picture on elements.  On other occasions when removing a photo from Elements catalogue I also get a similar message when backing up saying ‘unable to reconnect’.  1. Is there a relationship between Elements and My Pictures and is Elements dependant on    the Windows ‘My Pictures’? 2. Why does some photos in Elements in some cases cause them to multiply e.g. double; triple; quadruple; and on occasions even more?  Is there something I need to do to stop this or an easy way I can remove the multiples without spending hours doing it manually one by one?  Am I doing something wrong? My O/S is Windows XP SP2 and windows Vista on my Laptop.  I have been using Elements 5 and have just purchased Photoshop Elements 8.0. (Upgrade) and about to install it. Be grateful for any advice as I do enjoy using the program if only I can resolve this issue.  I am not a PC wiz and mainly use Elements to catalogue photos from which I compile collections and from them slide shows with music.  Any advice appreciated Sonny.t PS Have tried to post this previously but without success so hoping to see message appear and a +response

    The organizer doesn't care where you send your photos when you download them via the downloader or where they happen to be when you first bring them in if you use the Get Photos command, but once your pics are in the Organizer, you *must* move them from within organizer or it can't find them. You don't have to use My Pictures at all if you don't want to, but regardless of the folder where you put your photos, if you want them someplace else, you use organizer to do it.

  • How to set up set which NIC card to use for multicast?..

              I just downloaded Rolling Patch 1 for WLS6.0SP2.
              While reading the README file it says
              " ISSUE 42518: Provided a way to set which NIC card to use for multicast traffic
              Can anyone tell me how to set this?. on my WebApplication server it has two NIC
              cards and I want to use the NICcard which is being used to talk to internal network
              for multicast messages.
              One more thing,
              Can anyone one tell how to search for bugs (ISSUES) in weblogic. I am looking
              place where I enter ISSUE number and should get the detailed description of bug/issue
              etc..
              Thanks for helping,
              Nilesh
              

              Thanks Kumar, I'll try this.
              Does this -Dweblogic.interfaceAddress used only for multicast. Or this is also
              used to talk to AdminServer?.
              The other problem I am facing is when I restart the AdminServer in recovery mode
              it's not finding my WebApp servers, because my webapp servers are on public network
              and my admin (management) server is on private network.
              please look at http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.developer.interest.management&item=1217&utag=
              , for more details about my problem.
              Thanks,
              Nilesh
              Kumar Allamraju <[email protected]> wrote:
              ><!doctype html public "-//w3c//dtd html 4.0 transitional//en">
              ><html>
              >You should be able to do it via console in 6.1
              ><br>Not sure if it was added in 6.0
              ><p>For 6.0 you can set this via command line
              ><br>java -Dweblogic.interfaceAddress=<addr>
              ><p>You need 6.0 SP2 RP1
              ><p>--
              ><br>Kumar
              ><p>Nilesh Shah wrote:
              ><blockquote TYPE=CITE>I just downloaded Rolling Patch 1 for WLS6.0SP2.
              ><br>While reading the README file it says
              ><br>" ISSUE 42518: Provided a way to set which NIC card to use for multicast
              >traffic
              ><br>"..
              ><p>Can anyone tell me how to set this?. on my WebApplication server it
              >has two NIC
              ><br>cards and I want to use the NICcard which is being used to talk to
              >internal network
              ><br>for multicast messages.
              ><p>One more thing,
              ><p>Can anyone one tell how to search for bugs (ISSUES) in weblogic. I
              >am
              >looking
              ><br>place where I enter ISSUE number and should get the detailed description
              >of bug/issue
              ><br>etc..
              ><p>Thanks for helping,
              ><p>Nilesh</blockquote>
              ></html>
              >
              

  • I accidentally set up two accounts.  One account with my old e-mail address which I've been using for years and has all of my purchases on it.  Now I have a new account with my current e-mail address. How do I disable this new account?

    I accidentally set up two accounts.  One account with my old e-mail address which I've been using for years and has all of my purchases on it.  Now I have a new account with my current e-mail address. How do I disable this new account?  I need to disable the new e-mail address account so that I can add it as an additional e-mail to my old account.  THEN, how do I make this new e-mail address my primary e-mail for this old account?

    Did yoo go to Settings>iTunes and App Stores and sign out and sign back in?
    Next see:
    Frequently Asked Questions About Apple ID

  • Following a software update, I can no longer access/authorise music purchased via iTunes from my old Apple ID, which I have not used for 8  years, and no longer have password.  Any ideas how I can re-access/recover that music?

    Following a software update, I can no longer access/authorise music purchased via iTunes from my old Apple ID, which I have not used for 8  years, and no longer have password.  Any ideas how I can re-access/recover that music?

    Apple ID FAQs  >  http://support.apple.com/kb/HT5622

  • Which extraction methods are used for extracting AR , AP, GL , cost centre

    which extraction methods are used for extracting AR , AP, GL, cost centre  account   data from R/3 system.
    please let me know what type of extraction we use...generic or FISL.... OR COPA
    ON WHAT SCENARIOS WE USE  THIS EXTRACTIONS..
    if any have documents on it please  email...please  send  an  email    documents ..
    to  [email protected]  
    iam bit confused with sap help...
    will reward full points
    please reply

    Hi,
    For general ledger :
    http://help.sap.com/saphelp_nw70/helpdata/en/57/dd153c4eb5d82ce10000000a114084/frameset.htm
    This is the best how-to guide on AP,AR,GL and TAX.
    http://help.sap.com/saphelp_nw04/helpdata/en/af/16533bbb15b762e10000000a114084/frameset.htm
    Hope it helps.
    Regards,
    Srikanth.

  • Which  Function Module is used for converting the DATE in BDC

    HI,
    Which  Function Module is used for converting the DATE Format in BDC for Uploading purpose please help me.

    data : date like sy-datum.
    data : odate(10) type c.
    date = sy-datum.        " in format YYYYMMDD
    CALL FUNCTION 'CONVERSION_EXIT_PDATE_OUTPUT'
      EXPORTING
       input         = date
    IMPORTING
       OUTPUT        = odate         .
    write:/ odate.  "in ur format '.
    1.
    In ur itab make a field for date as 10 characters and use this Fm to store the date .
    2. Pass the date as the charcter field to the screen and now check .

  • Which protocol we should use for file transfer in ios ?

    which protocol we should use for file transfer in ios ?

    My friend that's definitively a Lotus Domino question, you'll probably ask in the Domino's forums if it generates wsdl, or simple http services you're ready to consume those services in Flex.

  • HT5654 Hi my wife has a 2008 iPod Touch which has not been used for at least 5 years.  It will not charged and I have tried to carry out a DFU with out any result.  Any ideas please?

    Hi my wife has a 2008 iPod Touch which she has not used for approximately 5 years.  It will not charge and I have tried to carry out a Device Firmware Upgrade to no effect.  Can anyone please help?

    Try disabling the computer's antivirus and firewall.
    - Next try the manual install method of:
    iDevice Troubleshooting 101 :: iPhone, iPad, iPod touch
    Place the iPod in recovery mode after the firmware download is complete and then restore using the instructions in the article. Sometimes recovery mode timeouts and returns to disabled before the firmware download is complete.
    - Then try on another computer

  • I was surprises to see my iphone is blanked which i have been using for few months

    i was surprises to see my iphone is blanked which i have been using for few months

    can someone help me in this pls???

  • Which FM/BAPI is used for creating repair orders

    Hi,
       Please tell me which FM / BAPI is used for creating service notifications,Repair/Service order and Delivery Docs.How to find out??
    Please someone help me.
    Thanks,
    Neelima

    For service notification you can try using this.
    'BAPI_ALM_NOTIF_CREATE'

  • Which tool do you use for load testing?

    Which tool do you use for load testing for J2EE application?

    hi,
    i use jmeter for without issues..
    first make sure that the system from where you are doing load testing is in the same lan(without firewall) to that of server. Here you are testing the capacity of server and not the network bandwith.
    So assuming very good network connection what is the servers performance level...
    If u have to decide which tool is decent enough to load testing,
    i would suggest go for jmeter. its reliable and i have used it without problems.
    Here is my quick tutorial for jemeter which i made for my teams reference.
    REFERENCE
         For Getting Started refer to any tutorial for Jmeter
         You can refer to introduction on
              http://jakarta.apache.org/jmeter/usermanual/
    RUNNING LOAD TEST
         Extract jakarta-jmeter-2.3RC4.zip in c:
         install jdk-1_5_0_12-windows-i586-p.exe
         Run C:\jakarta-jmeter-2.3RC4\bin\jmeter.bat
         In Test Plan add Thread Group
         Right Click Thread Group -> Add->Sampler->HTTP Request
         Select HTTP Request added fill details
              Serverip:www.xyz.com
              Port:80
              Path:/xyz-webapp/index.jsp
              Use KeepAlive: Checked
              Retrive All Embeded images from HTML: Checked(For geting images inside html)
         Right Click Thread Group -> Add->Listner->Graph Results
         Click on Thread Group Fill details
              No of Threads:3(This means no of simultaneous users)
              Ramp Up Period:1(3 Request will be made in 1 second period)
              Loop Count:5(Above process should be repeated how many times)
         Save TestPlan
         Run -> Clear All
         Run -> Start
              Click on Graph Results for Output
         Try adding different listener in Thread Group
              Thread Group -> Add->Listner->Summary Report
         Listeners coud be added at thread group level or HTTP Request Level
    RECORDING A TEST.
         Add a HTTP proxy server in workbench by right clicking on it and selecting Add->Non test Element->HTTP Proxy Server.
         In Test Plan Add Thread Group
         In HTTP proxy server select Target Controller as Test Plan > Thread Group.
         Go to Internet Explorer and go to internet settings and set proxy server as localhost and the port
              which is configured in Jmeter proxy server.Save Settings.
         In Jeter proxy server start by Clicking on Start button in the HTTP Proxy Server Flap.
         In browser navigate the application which you want to test.
         The nodes will be added in the Thread Group.
         Once Navigation is done stop the proxy server and save the test plan from file menu.
    LOGGING INTO APPLICATION.
         When we have to login into system and then navigate the system
              we need a cookie to be tracked after login. This could be achieved
              simply by Add -> Config Element -> HTTP Cooie Manager.
         After adding the HTTP Cooie Manager simply run the test.
    LOOPING COUNTER.
         When a request is made multiple parameter is sent to server.
         Parameters are sent from the HTTP Request node added in the Thread Group
              in "Send Parameter with the request" table.
         If we run the loop count 10 times the parameters will be sent same in every request.
         If you have to send parameters like user1,user2,user3,user4....
              then add -> Pre processor -> Counter.
         Put start as 1 and and Maximum as 10 or whatever required.
         Put Referene name as iCtr or whatever.
         In the "Send Parameter with the request" in value column put user${iCtr}

  • Which bag do you use for 14 inch wide screen?

    Which bag do you use for 14 inch wide screen?
    I got confused when searching for possible candidates. Almost all wide screen bags are designed for 15.4 inch. Few 14 inch bags are fit only for the normal 4:3 screen.
    Any advice from you are welcomed!
    Many thanks!

    Hello,
    Other brands you might want to look at are Brenthaven, Case Logic, Eagle Creek, EastPak, EZM, Jan Sport, Kensington, Swiss Army, Targus and Trager.  There is also an earlier message thread here in the forum discussing carrying options, and a quick search of the Internet found some messages here, here and here that you might find of interest.
    There really are lots of different solutions when it comes to carrying your ThinkPad, so it might be best to visit a few computer, electronics, office supply and sporting goods stores to find something you like and meets your needs (and budget).  If you do not have your ThinkPad to yet, consider either bringing  a tape measure or a piece of cardboard cut to the dimensions to "test" with bags.
    Regards,
    Aryeh Goretsky
    I am a volunteer and neither a Lenovo nor a Microsoft employee. • Dexter is a good dog • Dexter je dobrý pes
    S230u (3347-4HU) • X220 (4286-CTO) • W510 (4318-CTO) • W530 (2441-4R3) • X100e (3508-CTO) • X120e (0596-CTO) • T61p (6459-CTO) • T43p (2678-H7U) • T42 (2378-R4U) • T23 (2648-LU7)
      Deutsche Community   Comunidad en Español Русскоязычное Сообщество

Maybe you are looking for

  • Premiere Pro CC won't load and I can't uninstall it.

    Hi, I was using Premiere Pro yesterday and it worked fine. I haven't done any updates or anything. Today I tried to use the software and it doesn't even load the logo. As soon as I open Premiere, Adobe's App Manager pops up on the dock and then goes

  • Lead to Opportunity Approach using BADI

    Hi Gurus, I am working on Lead to Opportunity conversion requirement based on few conditions. Condition 1: Lead status is HOT Condition 2: If Channel Partner exists in Partner tab. If above two conditions are met, we are triggering Opportunity from l

  • Seagate Back Up Plus Desk/ Why can't I back up to my mac?

    I have a Seagate back up plus desk but when I try to back anything up to it the disk is locked. I know I can reformat this disk but it may wipe anything that I have saved on my Windows machine Thanks

  • MBP 15" Weird Freezing Problems.

    Hello, This is a rather odd and detailed problem. So I will outline as much as I possibly can. Hopefully someone has seen this before. I currently have a 15" Macbook Pro. 2.16 GHz CPU, stock 1GB RAM and stock 120 GB hard drive. I have been running Ti

  • Oracle Business Process Architechture

    Hi, I want to work on Oracle Business process architechture can anyone tell what it is all about and if there is any useful documents for this. I searched in Oracle do the Business process architect and Business process Architechture are same. Thanks