dragon- sm- and kplayer shows transparent window

Discussions Regarding Software

Moderator: Moderators

dragon- sm- and kplayer shows transparent window

Postby batvink » Sat Nov 12, 2011 14:25

hi guys,
My system shows some strange behaviour when playing movies.
It doesn't matter if it's a mpeg, flv, mp4, ogv, flv, whatever.,
it shows only correct in Totem and vlc player.
Dragon player, smplayer, and kplayer shows a transparent window that you can see right through the app
that's running behind it on the desktop.
i've searched in log files, can't find anything unusual.
did libtest and deptest, system is healthy.
I did noticed something: this behaviour started a few days ago, when i switched from AWN to Cairo-dock.

i'm running SL6 CoreCDX -X64 installed KDE (kde-base/kdebase-startkde-4.7.2), and is fully updated to current.

[edit]
i thought i found the solution on Arch-Wiki.
Although it's strange, 'cause they talking about transparent smplayer in Gnome with Composite enabled.
i'm not running Gnome, but KDE instead. It works partially with SMplayer., No more transparent window, but now it doesn't play. you have to manually choose a file from pull-down menu.
Dragon-player and Kplayer still shows a transparent window.

arch-wiki said:
Transparent SMPlayer in Gnome with Composite enabled
Have you noticed the transparent screen of smplayer when you are using compiz and maybe cairo-dock? Well it’s ridiculous that when you open your videos using SMplayer you can just hear audio and no video! Here’s how you fix this: [copy paste into terminal]

Code: Select all
sudo bash -c "cat > /usr/bin/smplayer.helper" <<EOF
   export XLIB_SKIP_ARGB_VISUALS=1
   exec smplayer.real "$@"
   EOF
   sudo chmod 755 /usr/bin/smplayer.helper
   sudo mv /usr/bin/smplayer{,.real}
   sudo ln -sf smplayer.helper /usr/bin/smplayer

If you don’t use sudo then just use “su” to login as root and do the above!
User avatar
batvink
Old Dear Hen
 
Posts: 495
Joined: Sun Oct 28, 2007 11:44
Location: the netherlands

Re: dragon- sm- and kplayer shows transparent window

Postby ksum » Sat Nov 12, 2011 17:52

cairo-dock is the problem causing your transparent video window. There is a bug with cairo and qt. I don't remember the line that needs to be putin :( . google cairo and transparent. I'll also look it up and post back. with this line, edit your menu and put it with your start camand. such as smplayer..................

Here is the line you need to add to your menu start cammand:hope this fixes it for you. :D

export XLIB_SKIP_ARGB_VISUALS=1 &&
ksum
Baby Hen
 
Posts: 10
Joined: Mon Jul 04, 2011 14:56

Re: dragon- sm- and kplayer shows transparent window

Postby batvink » Sun Nov 13, 2011 0:20

i allready did that. the window isn't transparent anymore,
but now, when i doubleclick a video, i get a smplayer window, doing nothing.
i have to manually open a video file using the pull down menu.
it should autoplay the video when i doubleclick on it.
smplayer is my default mediaplayer.
and why does kplayer and dragon player have the same behaviour, while Totem & VLC not.....
User avatar
batvink
Old Dear Hen
 
Posts: 495
Joined: Sun Oct 28, 2007 11:44
Location: the netherlands

Re: dragon- sm- and kplayer shows transparent window

Postby ksum » Sun Nov 13, 2011 1:00

You are correct, if you add the line to your menu entry then you only get the fix if the player is started from that menu entry. The cl fix you have listed will need to be explained by someone else because to me it looks like a global fix and would work as you are trying, ie when a file is double clicked. The line added to my menu entry is what I used in another distro sometime in the past. I did not find a global fix and eventually quit using cairo dock. Ken
ksum
Baby Hen
 
Posts: 10
Joined: Mon Jul 04, 2011 14:56


Return to Software in General

Who is online

Users browsing this forum: No registered users and 4 guests