Linux - SoftwareThis 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
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.
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.
First find the command mplayer. If it is linked symbolically then just change the link to point to Xine. If you are talking about the Icon you may not be able to change the command. I hope I understood and answered accordingly .
The one issue here is that mplayer and xine take, in many cases, very different arguments. If one program thinks its calling mplayer when, in fact, it is calling xine, xine may get confused and fail to work properly.
It's certainly possible to write the equivalent of a DOS batch file in Linux--in *nix, they are called "shell scripts". Look up "Bourne Shell" or "bash" for more details.
But for your purposes, using a link would work without any scripts involved. You'd do something like log in a root terminal and enter the commands:
The command "cd /usr/bin" puts you in the directory with all of the executables. The "mv" command renames the old mplayer executable (assuming it exists already, of course). The "ln" commands create the relevant links.
Why do you want this functionality, anyway? And what is "wmplayer", anyway? The only "wmplayer" I know if is Windows Media Player (wmplayer.exe). This isn't a program which exists in Linux anyway.
Distribution: SUSE 9.0 Pro, SUSE OSS 10.0, KDE 3.4.2
Posts: 156
Original Poster
Rep:
Why do you want this functionality, anyway? And what is "wmplayer", anyway? The only "wmplayer" I know if is Windows Media Player (wmplayer.exe). This isn't a program which exists in Linux anyway.[/QUOTE]
Since you don't have mplayer installed, then you should be fine with just creating those symbolic links.
I don't try to watch videos on the internet much, so I don't know for sure...but it sure seems very strange for an internet site to "call" any program. That's a serious security issue if a web site can run any program locally.
More likely, it's the web browser itself which is starting up a program, based on its own settings for opening up a particular file type with a particular external viewer. What web browser are you using? There should be some place to configure what viewers/helper applications are used to handle which file types.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.