SoulseekQt not respecting set mime types in Openbox.

Hi,
I am having a strange problem with mime type handling in openbox.
When opening files through SoulseekQt, instead of opening with VLC as my mime types are set to do it opens Audacity. And when opening the folders, it opens Gwenview instead of Thunar.
I tried doing the same thing in xfce and it opened vlc, and thunar fine.
Is there a file I need to edit for openbox specific mime types?
Thanks for any help.

My appologies for posting it into wrong forum. It should have been posted to Web Tier APIs > Java Servlet

Similar Messages

  • How to set mime types in AppServer 8

    Couldn't find commands to list mime types or set mime types used by Sun Java Application Server 8

    Hi,
    Please refer to Adding Mime types and let me know if that address to solve your problem.
    Regards
    Ganesh .R
    Developer Technical Support
    Sun Microsystems
    http://www.sun.com/developers/support

  • File/Open Dialog Box / Setting MIME type

    In my application, I am calling a web service that returns text that I need to download into an EDI application. I am simply looking to have an open/file dialog box open when the text is returned. I was using the following code in a PL/SQL process:
    begin
    -- Set the MIME type
    owa_util.mime_header( 'application/octet', FALSE );
    -- Set the name of the file
    htp.p('Content-Disposition: attachment; filename="EDIOuput.edi"');
    -- Close the HTTP Header
    owa_util.http_header_close;
    end;
    The problem is the HTML code that comes along with the text that is returned. Is there a way to simple call the procedure on a page that only containes the raw data?
    Thank you.

    HTML doesn't provide you the possibility to select multiple files or select folders at a single browse. Thus JSF can't do any much for you. Best what you can do is to write a signed applet or web start application which does the task. The Mojarra Scales component library has a ready-to-use component which embeds an applet which does that task. Check [https://scales.dev.java.net/multiFileUpload.html].

  • How to set Mime Type for Static Files

    Hi All,
    I am working on Apex 3.2.1.00.10.
    When I am trying to upload (create) a ".js" file into Static Files under Shared Components of an application; it is saving as "*text/plain*" for Mime Type. But I need Mime type to be set as "*application/x-javascript*".
    Please help me to change the Mime type of .js file.
    Or is there any way to upload the file directly as "*application/x-javascript*" as its Mime Type.
    Thanks in advance.
    Umesh

    In IIS v4 which comes with the Windows NT4 option pack, you right click the web page you are working with, select properties, then go to the HTTP Headers tab. At the bottom there's a button labelled File Types in the MIME Map section.
    After you've clicked that, you can add the two mime types you need;
    Associated Extension MIME Type
    .jar application/x-java-jar-file
    .jnlp application/x-java-jnlp-file
    I'm assuming that it is the same in W2k/IIS5.

  • When I try to click on a download link for a .pdf file Firefox does not recognize the MIME type and tries to download the file as "index.php"

    When visiting a site I frequent I tried to download a linked .pdf file. Previously I've used Firefox 7.0.1 to download the link with no problem. Using Firefox 8 however I the browser does not recognize the .pdf link's mime type. Instead of recognizing the download link as a .pdf file Firefox 8 tries to download it as "index.php". Firefox 8 does this with .doc files and .txt files as well. When I downgrade to 7.0.1 again the problem disappears.

    Hi hakmacpace,
    I'd try starting Firefox in [[Safe Mode]]. If you don't have the issue while all of your add-ons, extensions, and themes are disabled, you can try adding them back in one by one until you find the culprit. You should look at the [https://support.mozilla.org/en-US/kb/Troubleshooting-extensions-themes Extensions and Themes troubleshooting guide ] and the [[Troubleshooting plugins]] article as well.
    You could also try [https://support.mozilla.org/en-US/kb/Managing-profiles?s=create+a+new+profile&r=2&e=es&as=s#w_creating-a-profile Creating a new profile].
    Hopefully this helps!

  • Quicktime not playing SMIL mime type

    I was trying to stream some audio of file type .smil. The computer in question did not have Real Player installed, so the finder started a QuickTime Player to play the file. The player failed to load and play the file. In fact, when the file in question was dragged to the player, it wasn't recognized.
    In the QuickTime Prefs, Advanced, Mime Types, SMIL 1.0 was unchecked. I checked it, but the QuickTime Player's behavior didn't change.
    Is it the case that another player, such as RealPlayer, must be installed to play those files? Or is there a way to get QuickTime to play them? Or ... ?
    Mac Mini   Mac OS X (10.4.3)  

    No, my question hasn't really been answered ... but it's been sort of addressed in another forum, kind of. Might as well get this question off the board.

  • Setting MIME type in IIS 4 & 5

    Well I am very impressed with this Web Start technology but it was a little slow downloading via sun's site.
    I set about trying to set it up on my company Intranet server before I demonstrated to my IT director.
    I saved the swingset2.jnlp file from the sun demo's page, used the Swingset2.jar file from the JDK 1.3.1 demos and got the swingset2.jnlp images and put them in an images subdirectory. Next I amended the swingset.jnlp to my own web server by changing the cobebase parameter. I then created a simple web page wrapper with a link to the jnlp file.
    In my directories I have the following files:
    swingset2.html
    swingset2.jar
    swingset2.jnlp
    images\swingset2.small
    On the server side IIS 5.0, I go into master properties for my web server, go to HTTP headers and hit the file types button.
    I then add a new entry with associated extension .jnlp and content type of application/x-java-jnlp-file
    Also found and changes the IIS.inf file just in case.
    Rebooted the web server to make sure everything is initialised correctly.
    When I launch the jnlp file from a client PC "Java Web Start" starts but I get the following error "Unable to launch Swingset2", details "category: download error. Bad MIME type returned from server when accessing resource: http://Newgreg/jaws/Swingset2.jnlp - text/html.
    The jnlp used is listed:
    <!--
    # @(#)template.jnlp     1.2 01/04/25
    # JNLP File for SwingSet2 Demo Application
    -->
    <?xml version="1.0" encoding="utf-8"?>
    <jnlp spec="1.0+"
    codebase="http://NewGreg/jaws/apps"
    href="SwingSet2.jnlp">
    <information>
    <title>SwingSet2</title>
    <vendor>Sun Microsystems, Inc.</vendor>
    <homepage href="../demos.html"/>
    <description>SwingSet2 Demo</description>
    <description kind="short">A demo of the capabilities of the Swing Graphical User Interface.</description>
    <icon href="images/swingset2.small.jpg"/>
    <offline-allowed/>
    </information>
    <resources>
    <j2se version="1.3+"/>
    <jar href="SwingSet2.jar" main="true" download="eager"/>
    </resources>
    <application-desc main-class="SwingSet2"/>
    </jnlp>
    Can anyone help??? I would love to start using this technology, it looks very promising.
    Email: [email protected]

    Have you been able to write your own java app and deploy it on that same server by any chance? It's hard to say whether it's something to do with the swing start demo configuration or whether it's your server's configuration. Since it's reporting bad MIME type I'm wondering if it's more related to the web server configuration.

  • How to set MIME type for JNLP in Windows2000 IIS

    Hi!
    I try to set up my windows 2000 IIS's MIME type for JNLP to test java web start, but I have no idea how to set
    the MIME type. Can anybody help me???
    Best wishes

    In IIS v4 which comes with the Windows NT4 option pack, you right click the web page you are working with, select properties, then go to the HTTP Headers tab. At the bottom there's a button labelled File Types in the MIME Map section.
    After you've clicked that, you can add the two mime types you need;
    Associated Extension MIME Type
    .jar application/x-java-jar-file
    .jnlp application/x-java-jnlp-file
    I'm assuming that it is the same in W2k/IIS5.

  • How to set MIME-TYPE in weblogic6.1

    hi,
    i have developed a sample example putted in weblogic,
    how can i set the mime-type in weblogic6.1 to
    application/x-java-jnlp-file
    so that it returns the above given mime-type.....
    thanks in advance

    http://e-docs.bea.com/wls/docs60//programming/webappdeployment.html#1007217
    in version 6.0 it works like this ......
    Step 11: Define MIME mapping
    <mime-mapping>
    (Optional)
    Define MIME types
    For more information, see
    mime-mapping Element
    <extension>ext</extension>
    <mime-type>mime type</mime-type>
    </mime-mapping>
    I hope it helps .....
    cheers
    <marc>

  • How to set mime types for applet in iAS sp3?

     

    Hi,
    Please refer to Adding Mime types and let me know if that address to solve your problem.
    Regards
    Ganesh .R
    Developer Technical Support
    Sun Microsystems
    http://www.sun.com/developers/support

  • Setting MIME type in Sun Application Server 8.1

    How to configure for MIME Mapping in sun Application server. I am developing wap application.
    In the jsp filr I am setting the content type("text/vnd.wap.wml") and is redirecting to wap browser with run time errors. Pl. help me
    Thanks
    vs

    if you download SJAS 8.2, Derby is included and pre-configured as a DataSource
    Using 8.1, you will need to add the jars to either the lib or domains/domains1/lib/ext directory and manually configure a DataSource using
    javax.sql.DataSource           org.apache.derby.jdbc.ClientDataSource
    javax.sql.XADataSource           org.apache.derby.jdbc.ClientXADataSource

  • Gnome does not recognize flac mime-type

    Although listed in the file types configuration tool, and also present in the gnome-vfs mime data with both extension and file-sniffer identification, nautilus nor rhythmbox will recognize any flac files as such, leaving them as application/octet-stream.
    I am running gnome 2.6, and have noticed that flac is not present in the shared-mime-info data (i.e. /usr/share/mime). I will try to audio/x-flac to shared-mime-info, but I would also like to know if anyone else is having these problems.

    Incase anyone else does have this problem (rhythmbox refuses to open flac files), I have now solved it by adding the audio/x-flac type to the shared-mime-info. If anyone wants it I can supply the files that need to go into /usr/share/mime. After that an update-mime-database /usr/share/mime will make everything work. I can't be bothered to post it if no-one wants it though. It might just be my screwy system..

  • Group Wikis not respecting set permissions - OS X Server 10.5.6

    I have an x serve running 10.5.6 and the web service enabled and working with 2 wikis.
    2 Groups both with wikis up and running.
    I recently discovered that one of the members from Group A (wiki A) can access the wiki B site.
    This is a big problem that I am trying to resolve.
    I know the 1st thing logically would be to update to the latest release...but this isn't an option currently, and I want to explore other less disruptive alternatives first.
    I wondered if anyone has come across something like this ?
    I have tried creating a realm for the wiki folder in question with no sucess..
    recreating the offending group (the one that has access when it should) isn't really an option either as has 100 members or so.

    Hi,
    This may have some relevance on the access side
    http://discussions.apple.com/thread.jspa?messageID=9593883&#9593883
    Note that two wikis on the same host can be accessed by their group name. But that doesn't allow any more than getting a login popup if the access priviledges are correctly assigned.
    Each wiki is assigned to a group and its membership determines who gets access. Along with group membership additional access settings can be set in WGM but more detailed if you use Directory.app by selecting a specific group.
    If the setting is for Access to all authorized users then that applies to all users in Open Directory. A more specific setting is required to limit access to group members only.
    Additionally the setting of Viewable to all authorized users allows any members in the directory to see wiki content but not add or modify content. They will be allowed to make comments.
    If a wiki is to be closed to all except group members then access is select for group members only. With this setting only group members can get passed the login prompt.
    This is not exhaustive of all the possibilities but does demonstrate a range of control. The wiki access controls are not as fine grained as ACLs but can be used effectively.
    It is eye opening to realize that an authorized user includes any one that can login to the directory.
    HTH,
    Harry

  • Issue with Tomcat 4.0.1 (not recieving proper mime type header)

    I have two environments running xsql servlets. One is a Red Had 7.2 box with jdk13 and Tomcat 4.0.1 running the jars in WEB-INF/lib directory of my test context. The other environment is a Solaris8 Netra box with the same version of the jdk and the same version of Tomcat. Everthing seems to work okay except for one thing... When I view an xml page on Solaris I get just the text in IE and on the Red Hat box I get the properly formatted xml. I was wondering if anyone else has run into this issue.

    Hi There,
    As you said using equals would not work as it should be a valid String in order for the eqauls function to work.
    Unfortuantely I can't access the Servlet created or the log files. It has crossed my mind too but this is a setup by the service provider and they don't let you nose into their business but they ahvedone something wrong with their system as far I can think.
    I've wanted to print the output to the web but when i use the request.getParameter it just creates the error.
    Java service is provided optional and as any optional service it is not well supported so I need to make them some pointers. So any more ideas?
    Cheers,
    Mert

  • File Download and Mime-Types

    I have some files (txt, xls, rtf, pdf) that need to be downloaded from our site. I
    have an http link to the files on the web page. I've set mime-types for each file
    type in web.xml for that web app. I'm using WLS 6sp2 on Windows 2K. I'm using an
    MVC model for the application with a Controller servlet. Every time anyone tries
    to click on the link and download it, the Contorller kicks them to a default page.
    Can anyone help?
    Thank you.

    Go to IIS Management console. At the server level, go to MIME Types. Add a new MIME type:
    File name extension:
    .mp4
    MIME type:
    video/mp4
    Restart IIS (can't remember if this is required).
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

Maybe you are looking for

  • Windows 8 and Canvio Desk 3TB: System will not boot when external hdd is connected

    http://h30434.www3.hp.com/t5/Desktop-Operating-Systems-e-g/HP-PAVILION-A6109N-amp-windows-8-System-w... Hi, just recently upgraded to Win Pro on my HP PAVILION A6109N.  I also bought a toshiba canvio desk 3TB.  What I notice is that if I reboot my pc

  • Conversion error in RSTXLITF

    hello all, I want to migrate order long texts with program RSTXLITF from SAP 4.6C (code page 1100) to ERP 6.0 (code page 4110?) but I got dump CONVT_CODEPAGE - CX_SY_CONVERSION_CODEPAGE how must we fill the parameters??? Dataset name                 

  • Trim field's preceeding blank spaces in select statement

    Dear Gurus,   I have a select query like this.   DATA : znormt TYPE NORMT.   select normt into znormt from mara where normt EQ  Mymatnr. Mymatnr is coming from one of the Z table and the field contains 3 preceding spaces. Can you please tell me how I

  • Kodo plugin for eclipse 3.1.2 : does it work ?

    hi, i have installed the plugin in my Eclipse plugins directory but i still cannot see it in Eclipse IDE. I tried to change perspectives, and customize it, i dont see any KODO views. Nothing. Does anyone know if it's bugging, or what i can do to make

  • Jsf not compiling in Tomcat 5.5.

    Hi All, I am using Tomcat 5.5 with IDE NetBeans. I have the following code in the jsf page. <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>JSP Page</title> </head> <body> <f:view> Paging </f:view> </body> </h