LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 07-01-2010, 10:06 AM   #1
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current & "True Multilib." PC-BSD.
Posts: 2,252

Rep: Reputation: 180Reputation: 180
VLC & Xfce.


It seems VLC and Xfce don't get along.

For the last few versions (beta & release candidates) the following happens: Open VLC, click on "Media," click on
"openfile," and a blank box pops up and VLC freezes and you have to "kill" it. In the recent past, once that happened the first time, then all was well the second time it was tried.
Now, however, with the stable version, 1.1.0, it happens every time.
I just fired up VLC and clicked on "Help" to check the version number and the same thing happened.
However, if you click on "media" and then "recent media" and pick a file it will play.
VLC works fine in KDE 4.4.4.
Any suggestions on how to fix this problem in Xfce?
Many Thanks.

Last edited by cwizardone; 07-01-2010 at 10:08 AM.
 
Old 07-01-2010, 10:13 AM   #2
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 14.1
Posts: 1,141

Rep: Reputation: 55
Quote:
Originally Posted by cwizardone View Post
It seems VLC and Xfce don't get along.

For the last few versions (beta & release candidates) the following happens: Open VLC, click on "Media," click on
"openfile," and a blank box pops up and VLC freezes and you have to "kill" it.
I use VLC quite often and have compiled it for version 1.1.0 but I don't see that problem. For me "open file" does open the file browser. This is from XFCE. I haven't tried KDE yet.

EDIT: BTW, I'm using 32-bit 13.1 and I'm using my own vlc slackbuild.

Last edited by tuxrules; 07-01-2010 at 12:26 PM. Reason: more info
 
Old 07-01-2010, 12:14 PM   #3
syvy
Member
 
Registered: Sep 2005
Location: Germany
Distribution: slackware64
Posts: 110

Rep: Reputation: 16
Same problem here. Looking for running processes i noticed that vlc "openfile" starts kdeinit4:

Quote:
ps -efw
.
syvy 2696 1 0 18:02 ? 00:00:00 kdeinit4: kdeinit4 Running...
syvy 2698 2696 0 18:02 ? 00:00:00 kdeinit4: klauncher [kdeinit] --fd=8
syvy 2701 1 0 18:02 ? 00:00:00 kdeinit4: kded4 [kdeinit]
syvy 2728 1 4 18:02 ? 00:00:01 vlc
syvy 2739 2696 0 18:03 ? 00:00:00 kdeinit4: kio_trash [kdeinit] trash local:/tmp/ksocket-snyder/klauncherMT2698.slave-
syvy 2740 2696 0 18:03 ? 00:00:00 kdeinit4: kio_file [kdeinit] file local:/tmp/ksocket-snyder/klauncherMT2698.slave-so
.
This processes stay alive when vlc is killed after freezing and the next time vlc is started "openfile" can use them. The file browser opening then looks like dolphin or konqueror. Is it possible to make vlc using thunar or whatever xfce-apps are using?

BTW:Iīm running aliens 64 bit package of vlc 1.1.0

Last edited by syvy; 07-01-2010 at 12:17 PM.
 
Old 07-01-2010, 02:19 PM   #4
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 223Reputation: 223Reputation: 223
Same as syvy. Launch vlc so it can load some KDE libs, close it, then relaunch to use. Xfce has an option to start these KDE background tasks at start up. If you plan on using a few KDE apps in Xfce, it might be a solution.

If you just need a media player, Parole is a promising up and coming player for Xfce. Does rely on gstreamer for codecs.
 
Old 07-01-2010, 02:21 PM   #5
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 287Reputation: 287Reputation: 287
Quote:
Originally Posted by cwizardone
Open VLC, click on "Media," click on
"openfile," and a blank box pops up and VLC freezes and you have to "kill" it
I have the same problem on Slackware 13.1 32bit using the stock XFCE 4.6.1 that comes with Slackware 13.1.
I am using Alien Bob's vlc 1.1.0 package: http://connie.slackware.com/~alien/s.../vlc/pkg/13.1/
Interestingly, if I hit ctrl + O to open a file, instead of using the mouse, vlc does not hang. It will just play the file straight away.

Last edited by tommcd; 07-01-2010 at 02:28 PM.
 
Old 07-01-2010, 05:36 PM   #6
TSquaredF
Member
 
Registered: Dec 2005
Location: "The South Coast of Texas"
Distribution: Slackware64-current
Posts: 490
Blog Entries: 1

Rep: Reputation: 55
VLC with Fluxbox

I'm using Eric's SlackBuild, compiled here, on Slack64-13.1, with Fluxbox, & had the same problem. I'm now starting VLC with "kdeinit4 vlc". It seems to take a little longer to start, the first time, but I no longer have to start it, try to open a file, kill it, then start it again & use it normally.
Regards,
Bill

Last edited by TSquaredF; 07-01-2010 at 05:37 PM. Reason: add info
 
Old 07-01-2010, 05:46 PM   #7
baxzius
Member
 
Registered: Jan 2010
Location: India
Distribution: ubuntu
Posts: 134
Blog Entries: 1

Rep: Reputation: 21
reinstall

try to un-install and re-install the program in xfce.
 
Old 07-02-2010, 01:11 PM   #8
syvy
Member
 
Registered: Sep 2005
Location: Germany
Distribution: slackware64
Posts: 110

Rep: Reputation: 16
Just to see what happens i compiled vlc myself but the behavior didnīt change.
 
Old 07-02-2010, 03:41 PM   #9
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 287Reputation: 287Reputation: 287
Quote:
Originally Posted by TSquaredF View Post
I'm using Eric's SlackBuild, compiled here, on Slack64-13.1, with Fluxbox, & had the same problem. I'm now starting VLC with "kdeinit4 vlc". It seems to take a little longer to start, the first time, but I no longer have to start it, try to open a file, kill it, then start it again & use it normally.
Ok, well that explains it then. So it is not really hanging then, it is just trying to load QT and the related KDE files.
I guess I should have figured that, since VLC depends on QT.
 
Old 07-03-2010, 12:19 AM   #10
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current & "True Multilib." PC-BSD.
Posts: 2,252

Original Poster
Rep: Reputation: 180Reputation: 180
Quote:
Originally Posted by baxzius View Post
try to un-install and re-install the program in xfce.
Tried that, but it didn't make a bit of difference.

Quote:
Originally Posted by TSquaredF View Post
...I'm now starting VLC with "kdeinit4 vlc". It seems to take a little longer to start, the first time, but I no longer have to start it, try to open a file, kill it, then start it again & use it normally.
I would think you really shouldn't have to do that, but I did just try it in Xfce and the problem remains, exactly as originally described.

Last edited by cwizardone; 07-03-2010 at 12:48 AM.
 
Old 07-03-2010, 10:21 AM   #11
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 287Reputation: 287Reputation: 287
Quote:
Originally Posted by TSquaredF View Post
I'm now starting VLC with "kdeinit4 vlc". It seems to take a little longer to start, the first time, but I no longer have to start it, try to open a file, kill it,
I have found that if I first open a KDE app, like K3B, then, even if I close K3B and open VLC a while later, then VLC dos not hang. So starting the necessary KDE processes does prevent VLC from hanging on XFCE.
 
Old 07-03-2010, 12:51 PM   #12
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current & "True Multilib." PC-BSD.
Posts: 2,252

Original Poster
Rep: Reputation: 180Reputation: 180
In Xfce you could also go to "Settings, Session & Startup, Advanced" and put a check mark in the box next to, "Launch KDE Services on Startup."
Regardless, whether starting K3b or the above, VLC 1.1.0 (Alien Bob's build) does not work as per my original post. It may work for you, but it doesn't work for me.
 
Old 07-06-2010, 11:43 AM   #13
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 287Reputation: 287Reputation: 287
Quote:
Originally Posted by cwizardone View Post
In Xfce you could also go to "Settings, Session & Startup, Advanced" and put a check mark in the box next to, "Launch KDE Services on Startup."
Yes, I do know about that. I don't always run KDE apps on my Slackware XFCE desktop, so I have not chosen to start KDE Services on bootup.
Quote:
Originally Posted by cwizardone View Post
Regardless, whether starting K3b or the above, VLC 1.1.0 (Alien Bob's build) does not work as per my original post. It may work for you, but it doesn't work for me.
Hmmm, even if you first start KDE services, Alien_Bob's VLC still hangs (and you have to kill it) in XFCE?
What happens if you open VLC and use the keyboard (ctrl + O) to open a media file? I found that (for some reason) using ctrl + O to open a file does not result in VLC hanging. This is true even on my laptop. I did not install KDE on my laptop. I do have qt-4.6.2 on my laptop though.
 
Old 07-06-2010, 02:59 PM   #14
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current & "True Multilib." PC-BSD.
Posts: 2,252

Original Poster
Rep: Reputation: 180Reputation: 180
Quote:
Originally Posted by tommcd View Post
...Hmmm, even if you first start KDE services, Alien_Bob's VLC still hangs (and you have to kill it) in XFCE?
Yes.


Quote:
Originally Posted by tommcd View Post
What happens if you open VLC and use the keyboard (ctrl + O) to open a media file? I found that (for some reason) using ctrl + O to open a file does not result in VLC hanging. This is true even on my laptop. I did not install KDE on my laptop. I do have qt-4.6.2 on my laptop though.
Ctrl + O results in the same hang.
In the recent past I was able to play files in the "recent media" list, but now it only plays the audio from those files, but not the video.
The same files play just fine in VLC when running in KDE.
 
Old 07-06-2010, 03:42 PM   #15
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,332

Rep: Reputation: Disabled
Can you see any relevant messages in the console around the time vlc stalls, if you start vlc on the commandline like this:
Code:
vlc -vvv --reset-plugins-cache
?

Eric
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LXer: Power & Memory Usage Of GNOME, KDE, LXDE & Xfce LXer Syndicated Linux News 0 03-08-2010 08:12 PM
install mplayer & vlc 7mza Linux - Newbie 6 09-01-2009 01:38 PM
VLC error: VLC could not open the file "/usr/share/vlc/skins2/text.bmp". brjoon1021 Ubuntu 1 01-14-2009 11:48 PM
KDE & Gnome & XFCE Wheat_Thins Linux - Software 1 05-01-2006 12:40 PM
VLC & MPlayer + Alsa Akuji Slackware 3 08-19-2004 01:59 PM


All times are GMT -5. The time now is 11:49 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration