LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 12-08-2009, 06:24 AM   #31
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297

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
 
Old 12-08-2009, 06:38 AM   #32
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33
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 aboutlugins 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?
 
Old 12-08-2009, 06:48 AM   #33
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
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
 
Old 12-08-2009, 06:52 AM   #34
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33
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.
 
Old 12-08-2009, 07:02 AM   #35
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
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
 
Old 12-08-2009, 07:14 AM   #36
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33
I don't understand the difference between shockwave flash and adobe flash. When I type aboutlugins, 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.
 
Old 12-08-2009, 07:53 AM   #37
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Quote:
Originally Posted by elishac View Post
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.
 
Old 12-08-2009, 08:50 PM   #38
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33
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?
 
Old 12-09-2009, 02:36 AM   #39
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
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
 
Old 12-09-2009, 02:56 AM   #40
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33
That's a great mouse shortcut .
Still, understand my previous questions please .
 
Old 12-09-2009, 02:59 AM   #41
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
http://kb2.adobe.com/cps/139/tn_13971.html
http://answers.yahoo.com/question/in...3011206AAXWAqU

Last edited by repo; 12-09-2009 at 03:01 AM.
 
1 members found this post helpful.
Old 12-09-2009, 04:32 AM   #42
elishac
Member
 
Registered: Nov 2009
Posts: 522

Original Poster
Rep: Reputation: 33
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.
 
Old 12-09-2009, 04:55 AM   #43
Le Beastie
LQ Newbie
 
Registered: Mar 2005
Location: Way out there
Distribution: Ubuntu 9.10
Posts: 25

Rep: Reputation: 16
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.
 
Old 12-09-2009, 05:21 AM   #44
Le Beastie
LQ Newbie
 
Registered: Mar 2005
Location: Way out there
Distribution: Ubuntu 9.10
Posts: 25

Rep: Reputation: 16
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].
 
Old 12-09-2009, 05:33 AM   #45
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
Originally Posted by Le Beastie View Post
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
 
  


Reply



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
Can't view .flv videos in firefox Quakeboy02 Linux - Software 3 01-20-2009 04:45 PM
No sound on Firefox videos phoenix_wolf Linux - Software 1 07-14-2008 05:34 PM
Firefox not loading videos. vwvr9 Linux - Desktop 1 02-19-2008 09:51 AM
Streaming videos + firefox Sordo Linux - Software 1 02-17-2006 02:41 AM
Firefox crashing with videos Alien123 Linux - Software 2 04-03-2005 08:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:44 AM.

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