Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-24-2005, 01:04 PM
|
#1
|
LQ Newbie
Registered: Dec 2003
Posts: 19
Rep:
|
Firefox download preferences, nobody knows the answer
Ive already asked this question on numerous forums, and nobody knows the answer. I either don't get responses, or the responses I get are completely irrelevant to the actual problem. I've searched and searched, I've found posts by other people in other forums with the same problems, no one knows the answer.
Here's the issue:
Firefox wants to play WMV files in Totem. I don't. I want to play everything in MPlayer. So, when I click a link to a WMV file, I choose MPlayer from /usr/bin, and then tell Firefox to "Do this automatically for files like this from now on". But it doesn't, nope. It always wants to use Totem, and it always asks, so every single time I click a WMV link, I have to do this.
I don't know how to change the default program for an application in Gnome.. I'm too unfamiliar with it and Linux in general. However, I do know how to change this in KDE, and I tried it. Well, no matter what the default app is for WMV files, it still wants me to use totem, and it still gives me the same problem. Mind you this does not happen with ANY OTHER file types, everything else saves the application I want to use.
P.S. How do you turn repeat on in MPlayer?
P.P.S When I open a WMV from a folder with mplayer, it gives me an error saying that the file is wmv, but the contents are asf. I have to use open>with to open it properly.
|
|
|
05-24-2005, 01:30 PM
|
#2
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
In Edit / Preferences / Downloads select the option to "Show Download Manager..."
You can change this back later, this will produce a dialog.
Find a page with a wmv link in it..
http://home.att.net/~cherokee68/wmvtest.html
Select "Open with ..." in the dialog dropdown browse to mplayer and select to "Do this automatically from now on..."
Your settings should be seen in the download tab in "File Types" if you do not get a prompt then see if there is a file type setting already there.
Last edited by DavidPhillips; 05-24-2005 at 01:46 PM.
|
|
|
05-24-2005, 06:09 PM
|
#3
|
Senior Member
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,905
|
Edit>Preferences>Downloads>Plugins uncheck the file type>OK
The next time you click on a file Firefox will ask what you want to do with that file>check open with and choose mplayer then check the box that says remember this choice or something along those lines.
|
|
|
05-24-2005, 06:21 PM
|
#4
|
Senior Member
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038
Rep:
|
Quote:
P.P.S When I open a WMV from a folder with mplayer, it gives me an error saying that the file is wmv, but the contents are asf. I have to use open>with to open it properly.
|
this is a nautilus problem, it checks the file type, and extension, if they match, it runs the file based on extension, if they don't match it errors out (i guess its trying hard to be like windows, if it can detect file types, it shouldn't check its extension, it already knows what file type it is)
but, WMV is based on ASF, so nautilus is even more broke there. anyways, during my time using gnome, i never found a way to make nautilus behave, i just switched to a different, faster file manager.
|
|
|
06-21-2005, 01:03 PM
|
#5
|
LQ Newbie
Registered: Nov 2002
Location: Mississippi Gulf Coast, USA
Distribution: Fedora Core 2, Debian unstable, Kubuntu, Mepis
Posts: 15
Rep:
|
Helper application
Did anyone read the parent post? He's tried the first two suggestions already. It also appears that he's using KDE as his DE, so the Nautilus thing shouldn't make a difference.
I have this same problem. I use KDE and Firefox and it ALWAYS asks these questions when I download files. I think there must be a preferences file somewhere that is owned by root and therefore can't be changed.
|
|
|
06-21-2005, 01:56 PM
|
#6
|
Senior Member
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,905
|
In KDE open Konqueror and click on File Associations, change the audio/video to the player you want to use for each file type.
Or in the K control panel under:
File Associations
This is where you configure everything to do with file associations. Here you can select a filetype, and choose what applications you would like to be able to open it with. You can also select which icon you would like to represent each filetype, and whether to show it in an embedded or a separate viewer.
http://docs.kde.org/development/en/k...omponents.html
In Gnome open Preferred Applications. And do the same as above.
Configuring File Types and Programs
http://k12linux.mesd.k12.or.us/docs/gnome/ch11s05.html
If there is more than one app listed move the one you want to the top of the list.
Also if you have plugins make sure they do not conflict. Mplayer-plugin and Kaffeine plugin do not play nice. Mozplugger can also conflict with mplayer-plugin or the Kaffeine plugin.
Depending on the media plugins you have you can edit the appropriate file so the player you want opens.
|
|
|
06-21-2005, 01:59 PM
|
#7
|
Senior Member
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938
Rep:
|
I believe it's -loop 0 to loop indefinitely in mplayer. You can probably put that in a .mplayerrc file or somthing.
|
|
|
06-28-2005, 11:24 PM
|
#8
|
LQ Newbie
Registered: Jun 2005
Posts: 1
Rep:
|
This is not gonna work because there's no such configuration option in gnome, at last
in my fc4.
I had exactly the same problem as described in the first post. In fact, if
a website treats wmv files as a video stream, my firefox can handle it correctly by
calling mplayer (I have mplayerplug-in installed). However, if a website treats
wmv files as files and asks my broswer to download them, my firefox either asks
me to save them or to play them with totem, which is gnome's default player for wmv.
So, the goal is to change the default wmv player to mplayer in gnome and I found
the solution here:
http://forums.fedoraforum.org/archiv...p/t-26875.html
Quote:
Since GNOME 2.8, MIME types are stored in the new FreeDesktop shared-mime-info database. However, gnome-control-center has not been updated to allow one to easily add MIME types to this database. Therefore, if applications such as Nautilus complain that there is no MIME type associated with a particular file, using the Associate Application interface will not work.
|
I followed the article memtioned above to edit defaults.list and mimeinfo.cache
under /usr/share/applications/, and the problem solved!
Last edited by cclo; 06-28-2005 at 11:26 PM.
|
|
|
07-20-2005, 04:41 AM
|
#9
|
Member
Registered: Mar 2005
Posts: 109
Rep:
|
Did you also tried to check the keys in firefox....type about :config in your url bar and write player in the textfield filter.
you should see all keys that have in pattern player...
Check the path of foxytunes.player_class key....if the path leads to totem then change it...
Hope this helps..
|
|
|
07-20-2005, 03:07 PM
|
#10
|
Member
Registered: Feb 2005
Location: Ontario, Canada
Distribution: Gentoo, Slackware
Posts: 345
Rep:
|
Personally I'd try changing the default firefox movie player to mplayer while running the program as root and see if that fixes it.
I've had problems with firefox not actually changing settings due to permissions without it printing out error messages. (e.g. try adding a search engine to your quick search bar while not running as root. It won't work, but doesn't print an error or anything)
|
|
|
10-14-2006, 07:13 PM
|
#11
|
Senior Member
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Rep:
|
huh?
Okay, so change the default movie player in Firefox while root. I can su to root in a console and start firefox, but how do I change its default movie player?
|
|
|
10-15-2006, 12:06 AM
|
#12
|
LQ Guru
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Rep:
|
And what's wrong with just editing Firefox preferences through the menu..
Edit -> Preferences -> Downloads -> Download Actions
My setting is as follows.
WMV - Windows Media Interleave - Open with VLC Multimedia Player..
Works Like a charm here, and I didn't have to jump through any of those hoops you are all describing.
And this can be set by File type, so you COULD choose different players for different video types..
Last edited by farslayer; 10-15-2006 at 12:07 AM.
|
|
|
10-15-2006, 12:58 PM
|
#13
|
Senior Member
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Rep:
|
See, my problem isn't with downloading the file. There's two ways firefox gets files - downloading and direct access. For example, if there is a link on a webpage to a mwv, I have no problem. However, if there is a page with a wmv embedded in it - I'm screwed.
|
|
|
10-15-2006, 11:20 PM
|
#14
|
LQ Guru
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Rep:
|
Do you use VLC ? VLC has a mozilla plugin, and it works fine for me for most embedded videos.. Only time one won't play is if I dont have the codec for it..
so many darn codecs.. Grrrr
vlc - multimedia player and streamer
mozilla-plugin-vlc - multimedia plugin for web browsers based on VLC
No clue if MPlayer has a similar plugin or not.. I rarely use MPlayer.
http://www.videolan.org/
http://developers.videolan.org/vlc/m...n-compile.html
|
|
|
All times are GMT -5. The time now is 11:47 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|