Author Topic: SOLVED : VLC 2.0.1 with pclinuxos LXDE  (Read 1172 times)

Offline raed

  • Full Member
  • ***
  • Posts: 200
SOLVED : VLC 2.0.1 with pclinuxos LXDE
« on: July 17, 2012, 04:05:06 PM »
hi guys

I saw one of the topics here, But I did not find it about install VLC 2 there are steps i followed it exactly :

add "testing" to section :

main updates nonfree kde4 games xfce4
main updates nonfree kde4 games xfce4 testing , and reload and search for vlc - mark it as upgradable
when it finish i get VLC 2.0.1

again i go to repository and delete word "testing" from this line
"main updates nonfree kde4 games xfce4 testing" and leave one space after xfce4

Now , When i go to any video and open it with VLC does not working , VLC does not open But when i open VLC from menu - video - VLC
program working well after i choose MEDIA - OPEN FILE - then go to any video - DOUBLE CLICK ON IT > like this way it's working , this Process is tired for me when i do it over and over

The Question is : Why can't i just double click on any video and will open it with VLC ?

I'm using : pclinuxos-lxde-2012.06
VLC version : 2.0.1
« Last Edit: July 18, 2012, 03:10:18 PM by raed »

Offline macemm

  • PCLinuxOS Tester
  • Full Member
  • *******
  • Posts: 215
Re: VLC 2.0.1 with pclinuxos LXDE
« Reply #1 on: July 17, 2012, 04:22:47 PM »
Quote
The Question is : Why can't i just double click on any video and will open it with VLC ?

Sounds like file association.

Ask this question in the LXDE board: How can I associate media files with VLC?

Sorry you get exhausted opening files the long way.

Best wishes,

Hugh
Dell Inspiron 560;
IntelĀ® PentiumĀ® Dual Core E5500(2.80GHz,800MHz,2MB);
4GB DDR3;
Nvidia GeForce 310;
ST2320L 23-inch Full HD WLED Widescreen Monitor (VGA, DVI-D and HDMI)
HP DeskJet F2200 series
3.2.18-pclos2.bfs

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: VLC 2.0.1 with pclinuxos LXDE
« Reply #2 on: July 17, 2012, 04:44:33 PM »
raed,

as macemm has pointed out, it sounds like the file associations are messed up. The solution is simple. Open the pcmanfm file manager. Browse to a file you wish to open with VLC. Right-click the file. In the popup menu, select Open With. In the next popup window, scroll down to the video section. Click the black arrow to the left of Video, then scroll all the way down to VLC and highlight it (do not double click it). Next, check the box to the left of Set selected application as default action of this file type. Click the OK button.



The next time you open the file or another file with the same extension, VLC will automatically start and play the file. You will have to do this for each file type, such as .avi, .mp4, .mp3, etc. NOTE: Even if you are choosing a music file, you can still open it with VLC. There's not much VLC won't play.

Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline raed

  • Full Member
  • ***
  • Posts: 200
Re: VLC 2.0.1 with pclinuxos LXDE
« Reply #3 on: July 17, 2012, 04:52:45 PM »
Quote
The Question is : Why can't i just double click on any video and will open it with VLC ?

Sounds like file association.

Ask this question in the LXDE board: How can I associate media files with VLC?

Sorry you get exhausted opening files the long way.

Best wishes,

Hugh


thanx

Offline raed

  • Full Member
  • ***
  • Posts: 200
Re: VLC 2.0.1 with pclinuxos LXDE
« Reply #4 on: July 17, 2012, 04:55:12 PM »
raed,

as macemm has pointed out, it sounds like the file associations are messed up. The solution is simple. Open the pcmanfm file manager. Browse to a file you wish to open with VLC. Right-click the file. In the popup menu, select Open With. In the next popup window, scroll down to the video section. Click the black arrow to the left of Video, then scroll all the way down to VLC and highlight it (do not double click it). Next, check the box to the left of Set selected application as default action of this file type. Click the OK button.



The next time you open the file or another file with the same extension, VLC will automatically start and play the file. You will have to do this for each file type, such as .avi, .mp4, .mp3, etc. NOTE: Even if you are choosing a music file, you can still open it with VLC. There's not much VLC won't play.




hello djohnston

I do it before but still VLC not open, just open like i said at the end "open vlc - media .... etc.  ???

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: VLC 2.0.1 with pclinuxos LXDE
« Reply #5 on: July 17, 2012, 04:57:48 PM »
What you're looking at is done on LXDE with VLC version 2.0.1. I've been running it on LXDE without issues for several weeks. What is the name of the file you are trying to open and what directory is it in?
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline raed

  • Full Member
  • ***
  • Posts: 200
Re: VLC 2.0.1 with pclinuxos LXDE
« Reply #6 on: July 17, 2012, 05:03:09 PM »
After i reboot, Now I can't open anything even the long way .. please see this :

Screencast

Offline raed

  • Full Member
  • ***
  • Posts: 200
Re: VLC 2.0.1 with pclinuxos LXDE
« Reply #7 on: July 17, 2012, 05:12:19 PM »
What you're looking at is done on LXDE with VLC version 2.0.1. I've been running it on LXDE without issues for several weeks. What is the name of the file you are trying to open and what directory is it in?


file name :
There.Will.Be.Blood

directory : home
« Last Edit: July 19, 2012, 01:19:55 PM by raed »

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: VLC 2.0.1 with pclinuxos LXDE
« Reply #8 on: July 17, 2012, 05:14:21 PM »
Sorry, raed, but that still tells me nothing other than you have a problem. Why did I ask for the name of the file? So you could do some troubleshooting. Open a terminal.

vlc /directory-name/name-of-file-you-want-to-open

You'll have to supply the right directory path and file name. Post the errors displayed in the terminal. Have to eat now.

EDIT: Okay, then:

vlc ~/There.Will.Be.Blood[2007]DvDrip[Eng]-aXXo.avi

Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline raed

  • Full Member
  • ***
  • Posts: 200
Re: VLC 2.0.1 with pclinuxos LXDE
« Reply #9 on: July 17, 2012, 05:22:25 PM »
Sorry, raed, but that still tells me nothing other than you have a problem. Why did I ask for the name of the file? So you could do some troubleshooting. Open a terminal.

vlc /directory-name/name-of-file-you-want-to-open

You'll have to supply the right directory path and file name. Post the errors displayed in the terminal. Have to eat now.

EDIT: Okay, then:

vlc ~/There.Will.Be.Blood[2007]DvDrip[Eng]-aXXo.avi



"[raed@localhost ~]$ vlc ~/There.Will.Be.Blood[2007]DvDrip[Eng]-aXXo.avi
VLC media player 2.0.1 Twoflower (revision 2.0.1-0-gf432547)
[0x9cfb908] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0x9d0b2b8] qt4 interface error: Unable to load extensions module
[0xb4c00bc8] filesystem access error: cannot open file /home/raed/There.Will.Be.Blood[2007]DvDrip[Eng]-aXXo.avi (No such file or directory)
[0xb6100618] main input error: open of `file:///home/raed/There.Will.Be.Blood%5B2007%5DDvDrip%5BEng%5D-aXXo.avi' failed
[raed@localhost ~]$"

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: VLC 2.0.1 with pclinuxos LXDE
« Reply #10 on: July 17, 2012, 07:15:31 PM »
First thing I notice is this:

[0xb4c00bc8] filesystem access error: cannot open file /home/raed/There.Will.Be.Blood[2007]DvDrip[Eng]-aXXo.avi (No such file or directory)

So, the file is not in your /home/raed directory, or the file has a different name than the one you've given. It is probably in a subdirectory of /home/raed. Next thing is this:

[0x9d0b2b8] qt4 interface error: Unable to load extensions module

Run this from a terminal to clear your old settings.

rm -rf ~/.local/share/vlc/

Try again. Post the errors. You first have to know the exact directory path to use and/or the exact file name.

Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline raed

  • Full Member
  • ***
  • Posts: 200
Re: VLC 2.0.1 with pclinuxos LXDE
« Reply #11 on: July 18, 2012, 11:27:58 AM »
First thing I notice is this:

[0xb4c00bc8] filesystem access error: cannot open file /home/raed/There.Will.Be.Blood[2007]DvDrip[Eng]-aXXo.avi (No such file or directory)


So, the file is not in your /home/raed directory, or the file has a different name than the one you've given. It is probably in a subdirectory of /home/raed. Next thing is this:

[0x9d0b2b8] qt4 interface error: Unable to load extensions module


Run this from a terminal to clear your old settings.

rm -rf ~/.local/share/vlc/

Try again. Post the errors. You first have to know the exact directory path to use and/or the exact file name.




It's working now  :) thanx alot djohnston

I will mark the topic as SOLVED after this question : How can i change this ugly style for VLC, is it because gtk or theme or what, is there any way to fix it ?
see the pic please

http://i47.tinypic.com/3023plu.png

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: VLC 2.0.1 with pclinuxos LXDE
« Reply #12 on: July 18, 2012, 01:48:07 PM »

How can i change this ugly style for VLC, is it because gtk or theme or what, is there any way to fix it ?


Um, put a dress on it?  ???  No, seriously, what you are asking is how to "skin" it, or change the window dressing and, most likely, the buttons. If you know how to create themes, install the vlc-devel-2.0.1-1pclos2012 package, in addition to the vlc-2.0.1-1pclos2012 package you already installed. Then, read the /usr/share/doc/vlc-devel/skins/skins-howto.txt documentation file. There are some other tools and examples provided in the devel package.

The older vlc version also has a corresponding svlc (skinned vlc) package in the repositories. But, there isn't one for the newer twoflower version. You can select a set of buttons from within VLC by going to Tools > Customize Interface and selecting one of the profiles. I believe the Modern Style is the default. However, none of the buttons look much better than any others. As far as GTK contributing to the "ugliness", that's not the case. VLC relies on QT widgets.

rpm -q --requires vlc-2.0.1-1pclos2012 | grep gtk
libgtk-x11-2.0.so.0 

rpm -q --requires vlc-2.0.1-1pclos2012 | grep qt
libqtcore4 
libqtgui4 
libqtnetwork4 
libqtsvg4 
libqtxml4 
qt4-common
 
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline Agent Smith

  • PCLinuxOS Tester
  • Sr. Member
  • *******
  • Posts: 317
    • Brazilian PCLinuxOS Community
Re: VLC 2.0.1 with pclinuxos LXDE
« Reply #13 on: July 18, 2012, 02:29:08 PM »
You can install svlc, which is a skinned version of vlc.
And go to tools, preferences, interface configuration, there's one option: impose window style , and choose from many styles: GTK, windows, motif, clearlooks.

Ok ???

Regards

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: VLC 2.0.1 with pclinuxos LXDE
« Reply #14 on: July 18, 2012, 02:35:51 PM »

You can install svlc, which is a skinned version of vlc.



The older vlc version also has a corresponding svlc (skinned vlc) package in the repositories. But, there isn't one for the newer twoflower version.


SVLC version in the repositories is 1.1.13. That would conflict with the 2.0.1 version of VLC he has installed.
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378