Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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.
|
 |
|
12-08-2009, 06:24 AM
|
#31
|
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
|
Hello,
The sudo cd does not work beause cd is a shell built-in command. It cannot be run in a child process. The child process simply cannot change the working directory of its parent shell process. Redirection also does not work with sudo for the same reason. Most of the time you can just cd into a directory. If you can't then you can always try
Code:
sudo -i
cd /whatever/directory
or execute it in its own subshell
Code:
sudo sh -c 'cd /root/restricted'
I'm not familiar with Ubuntu but you might take a look at System - Keyboard Shortcuts.
Kind regards,
Eric
|
|
|
12-08-2009, 06:38 AM
|
#32
|
Member
Registered: Nov 2009
Posts: 522
Original Poster
Rep:
|
Ok, thanks for your answers.
Going back to the main problem, I removed (and created a backup copy) of the file that you mentionned and that was in 2 different locations.
I wrote about  lugins and I know have the version 10 installed.
Youtube is working now. What's weird is that, before I removed the version 9, when I went to youtube and right clicked on the video, it appeared that the software that was playing the video was called swfdec. I haven't removed it yet, have I? Maybe I should? I don't like having more than 1 software to do the same thing, it just uses space for no reason.
As a matter of fact, among all the plugins I mentioned, there are probably some that are redundant. Which ones?
|
|
|
12-08-2009, 06:48 AM
|
#33
|
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
|
Hi,
Great you got Youtube working, since that was your main problem wasn't it? If you consider this particular problem solved you can indicate it as such using the Thread Tools.
In regards to your other question about the 'clutter' of plugins you have. Most likely some of them are redundant, I however don't know which ones. As a reference I'll post the plugins I use and I have not yet encountered problems with any sites that have video or such.
Code:
Shockwave Flash
File name: libflashplayer.so
Shockwave Flash 10.0 r32
Default Plugin
File name: libnullplugin.so
The default plugin handles plugin data for mimetypes and extensions that are not specified and facilitates downloading of new plugins.
Java(TM) Plug-in 1.6.0_16
File name: libnpjp2.so
The next generation Java plug-in for Mozilla browsers.
Scalable Vector Graphics
File name: libmozsvgdec.so
Scalable Vector Graphics, as handled by RSVG-2.26.0. Views SVG images.
gxine starter plugin
File name: gxineplugin.so
will start external gxine media player for embedded media streams
Those are all that I have listed. You probably could keep the vlc plugins without a problem.
What shows now when you right-click a video, meaning what player? I believe you have removed the swfdec player (version 9) and are now using the Adobe Flash Player 10 instead.
Kind regards,
Eric
|
|
|
12-08-2009, 06:52 AM
|
#34
|
Member
Registered: Nov 2009
Posts: 522
Original Poster
Rep:
|
Oh so what I have removed is not adobe flash player version 9? I thought I had both version 9 and 10, which is why I had a conflict.
edit: i mean, shockwave flash 9.0 and 10.0 (i don't know the difference between shockwave flash and adobe flash)
My problem is still not completely solved : while trying a divx file, I noticed that the player that is reading them is the totem browser plugin 2.28.2, but i'd rather use the divx web player. How do I do that?
Last edited by elishac; 12-08-2009 at 06:54 AM.
|
|
|
12-08-2009, 07:02 AM
|
#35
|
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
|
Hi,
If you select a divx file, click the right mouse button, do you have an option Open with? Use that and browse to your divx player. Don't forget to select something like Remember application association so that next time any divx will automatically open with your player.
What you removed was the Shockwave Flash Player, not the Adobe one. Apparently those two conflict.
Kind regards,
Eric
|
|
|
12-08-2009, 07:14 AM
|
#36
|
Member
Registered: Nov 2009
Posts: 522
Original Poster
Rep:
|
I don't understand the difference between shockwave flash and adobe flash. When I type about  lugins, i still have an entry called shockwave flash (file name: libflashplayer.so shockwave flash 10.0 r32), so how can I have removed the shockwave flash player?
I don't understand your question regarding the right mouse button. Maybe you misunderstood me : I'm not trying to open a divx on my computer, i'm trying to play a divx on the internet using a web player, and right now it's using a player called totem, but i'd rather use the divx web player.
|
|
|
12-08-2009, 07:53 AM
|
#37
|
LQ 5k Club
Registered: Sep 2009
Posts: 6,443
|
Quote:
Originally Posted by elishac
What about the fact that sudo cd doesn't work?
and how is it possible to change ctrl shift c to ctrl c?
|
You do not neet root permissions to change to a directory, as you are not modifying anything. Just take off the "sudo" part.
Ctrl+C already means something else to the shell, so the terminal can't just block it and use it for copy. If you're thinking that they should have used it for copy, remember that it is made to run in pure command-line mode (no GUI), and the concept of copy-and-paste doesn't exist there.
(if you're curious, Ctrl+C kills the program running in the terminal)
Last edited by MTK358; 12-08-2009 at 07:56 AM.
|
|
|
12-08-2009, 08:50 PM
|
#38
|
Member
Registered: Nov 2009
Posts: 522
Original Poster
Rep:
|
Wouldn't it be possible to switch the shortcuts ctrl c and ctrl shift c then?
Can someone (eric where are you?  ) answer my previous post please?
|
|
|
12-09-2009, 02:36 AM
|
#39
|
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529
|
For copy/paste,
on my system (laptop), I just highlight what I want to copy, and then click the 2 mousebuttons simultanious to paste
with a normal mouse try the middle button to paste
|
|
|
12-09-2009, 02:56 AM
|
#40
|
Member
Registered: Nov 2009
Posts: 522
Original Poster
Rep:
|
That's a great mouse shortcut  .
Still, understand my previous questions please  .
|
|
|
12-09-2009, 02:59 AM
|
#41
|
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529
|
Last edited by repo; 12-09-2009 at 03:01 AM.
|
|
1 members found this post helpful.
|
12-09-2009, 04:32 AM
|
#42
|
Member
Registered: Nov 2009
Posts: 522
Original Poster
Rep:
|
I'm not sure I have understood the difference yet, but it doesn't really matter.
On the other hand, I'm still not happy with the way my system handles divx files.
|
|
|
12-09-2009, 04:55 AM
|
#43
|
LQ Newbie
Registered: Mar 2005
Location: Way out there
Distribution: Ubuntu 9.10
Posts: 25
Rep:
|
First off, go ahead and read those two links provided above; they probably provide as good a description as any about the difference between Flash and Shockwave.
Also, though you're probably fine with just renaming /moving the conflicting plugins, you could formally remove them by
running
Code:
sudo apt-get remove <name of offending plugin>
I'd probably move the aforementioned files back into their original locations before, doing that, however, lest apt-get become a bit confused.
Finally, on this subject, you should know that the deal with plugins (as I understand them) is that firefox just scans certain directories for files every time it starts, and whatever plugin files it finds there it automatically loads. Consequently, moving plugins to different directories is, in effect, the same as uninstalling them.
Next, to answer your second question: I think the person above was just saying it would probably make the most sense to try to play any given file directly from the DivX player, rather than asking your browser to invoke a player plugin on your behalf. You can do that one of two ways:
1. Download the file you're trying to play onto your local machine, and then right-click and open with DivX. I think this may be what the above response was suggesting.
2. Most linux media players can take URLs as arguments, either from within the application GUI, or from the command line. In other words, if you launch DivX manually, there should be a place where you can enter a URL to play. Alternatively, if you want to dabble with the command line, you can type something like DivX [URL you want to play, without these brackets], and expect DivX to quietly open and start playing your media of choice.
Finally, if you really, really want to have automatic DivX playback from within your browser, you might try systematically uninstalling all of the plug-ins which seem determined to supercede DivX in firefox's plugin hierarchy - which you can do either by moving the pertinent files out of firefox's plugin directories, or using the aptitude package manager. Since it sounds like one of the plugins in your way is totem, you might try:
Code:
sudo apt-get remove totem-mozilla
Hope all this is somewhat clear!
Last edited by Le Beastie; 12-09-2009 at 04:56 AM.
|
|
|
12-09-2009, 05:21 AM
|
#44
|
LQ Newbie
Registered: Mar 2005
Location: Way out there
Distribution: Ubuntu 9.10
Posts: 25
Rep:
|
One other random note:
The name of the <offending plugin> package is not necessarily "<offending plugin>." Try to use tab-completion to figure out the actual package name (sudo apt-get remove [first couple of letters of plugin name, then start hitting tab like crazy, and you'll start seeing suggestions pop out of nowhere].
|
|
|
12-09-2009, 05:33 AM
|
#45
|
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529
|
Quote:
Originally Posted by Le Beastie
One other random note:
The name of the <offending plugin> package is not necessarily "<offending plugin>." Try to use tab-completion to figure out the actual package name (sudo apt-get remove [first couple of letters of plugin name, then start hitting tab like crazy, and you'll start seeing suggestions pop out of nowhere].
|
AFAIK tab-completion doesn't work for apt-get, at least not on debian.
you can use however
Code:
apt-cache search packagename
|
|
|
All times are GMT -5. The time now is 10:27 PM.
|
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
|
|