LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-01-2005, 06:51 AM   #1
otoomet
Member
 
Registered: Oct 2004
Location: Tartu, Århus,Nürnberg, Europe
Distribution: Debian, Ubuntu, Puppy
Posts: 619

Rep: Reputation: 45
firefox download/mime types


I am trying to get a rdesktop connection through a web page. The page offers to dowload connection configuration as .rdp file.

However, firefox does not let me to choose what to do with this file. It assumes it is a BIN file and offers only to save it, neither open nor default action can specified (they are shaded).

Why is it recognised as BIN file? Is it something on the server side?

Why cannot I choose options (from preferences/downloads) for this type? Is there some junk sitting in any of the config files?

Can .rdp files simply opened by rdesktop?

Any help appreciated.
 
Old 11-01-2005, 08:42 AM   #2
djpaulie
LQ Newbie
 
Registered: Sep 2005
Posts: 1

Rep: Reputation: 0
otoomet,

it doesn't sound like a server issue, it sounds like a Firefox MIME type issue to me.

try editing your MIME types with the MIME Type Editor extension. You can find it here under the "Downloading" header about one third of the way down the page.
http://extensionroom.mozdev.org/main.php/Firefox

With this extension you can edit Firefox's settings for the .rdp extension, and hopefully it will let you set it to open the file by default. You may end up having to add the .rdp file type into this extension as a MIME, and if you do need to add it, I think that was your original problem. I believe when Firefox encounters an unknown filetype, it will not open it, only save. Can anyone confirm this?

Hope that helps otoomet! cheers!

- Paulie

Last edited by djpaulie; 11-01-2005 at 08:46 AM.
 
Old 11-01-2005, 09:35 AM   #3
otoomet
Member
 
Registered: Oct 2004
Location: Tartu, Århus,Nürnberg, Europe
Distribution: Debian, Ubuntu, Puppy
Posts: 619

Original Poster
Rep: Reputation: 45
Thanks, mime type editor is a great program.

Unfortunately, firefox still want to save the BIN file... I am not quite sure about the protocols etc, but isn't the web server somehow responsible to submitting mine types with files? If yes, can one in that case find out which types they are? Well, I still can save the file and run tsclient on it.

An important not: You have to use 'tsclient' and not 'redesktop'. tsclient is a certain front-end to rdesktop which is able to descipher .rdb files.

Ott
 
Old 07-02-2008, 08:52 PM   #4
AndrewTheArt
LQ Newbie
 
Registered: Nov 2007
Posts: 4

Rep: Reputation: 0
I describe a way to fix this problem in my blog here -

http://andrewtheart.blogspot.com/200...ntu-linux.html

Basically-

Code:
sudo -i
echo "application/x-rdp rdp" >> /etc/mime.types
 
  


Reply

Tags
desktop, mime, rdp, remote



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cups, mime.types and mr.wobble Linux - Networking 2 05-29-2006 10:44 PM
how to set mime-types? gaah Linux - Newbie 1 10-15-2005 10:23 PM
mime types Nightfrost Linux - General 2 10-01-2004 05:11 AM
Gnome 1.4 and mime types kly546 Debian 0 07-25-2003 02:04 AM
MIME Types? JoeLinux Linux - Software 6 09-14-2002 04:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration