Problem: Have 2 x11 output windows, 3 entries in task bar?

*nix specific usage questions
vlcLinuxUser
New Cone
New Cone
Posts: 9
Joined: 05 Jul 2007 18:39

Problem: Have 2 x11 output windows, 3 entries in task bar?

Postby vlcLinuxUser » 16 Jul 2007 18:45

Hi,

Firstly, I appreciate your help so far.
I needed to change the title bar to something like: 'My title' in the output window, working from vlc-0.8.6b src on CentOS 5 (RHEL5).
Changed the following files:
./modules/gui/skins2/x11/x11_window.cpp
./modules/gui/skins2/x11/x11_display.cpp
./modules/gui/wxwidgets/input_manager.cpp
./modules/gui/wxwidgets/interface.cpp

I learned that I needed ffmpeg package for the codec to work.
Note: I run vlc on a remote terminal (using ssh -Y): ssh X11 forwaring enabled.
Got the vlc code to compile and run successfully: I see the title changed (in original interface and skin?) and
display streaming video. I see one entry in the task bar: 'My title' for instance which is correct.

However, I need a minimal X-window w/the title set for the video output.

When I change the interface (to Skins2) under:
Settings > Switch interface > Skins2

I get 2 screens and, interestingly, 3 related entries in my task bar:
Screens:
* title: 'Cygwin/X X'
shows the actual streaming video
* title: 'My title':
Shows what I believe is the default skin w/controls at the bottom?

Entries in task bar:
* 'X Cygwin/X X': Corresponds to 'Cygwin/X X' showing the actual video
* 'X My title': This one corresponds to the X-window vlc client titled 'My title'
* 'X My title'? This one looks like a phantom since maximizing it shows a still snapshot image of what's on my current monitor only.

Questions:
How can I get rid of this phantom X-window?
How can I get a minimal skin: i.e. just showing 'My title' on the top bar ?
PS: My configure is as follows:

Code: Select all

./configure --enable-debug --disable-mad --disable-dvdread --disable-dvdnav --disable-ogg --disable-vorbis --with-gtk=1 --with-ffmpeg-tree=/root/allen/ffmpeg_source/
vlc -vvv --no-plugins-cache --list | egrep -i '(wx|skin)' :

Code: Select all

VLC media player 0.8.6b Janus [00000001] main private debug: checking builtin modules [00000001] main private debug: checking plugin modules [00000001] main private debug: recursively browsing `modules' [00000001] main private debug: recursively browsing `/usr/local/lib/vlc' [00000001] main private debug: recursively browsing `plugins' [00000001] main private debug: module bank initialized, found 194 modules wxwidgets wxWidgets interface module wxwidgets wxWidgets dialogs provider skins2 Skinnable Interface skins2 Skins loader demux
Note: Interestingly, ssh(ing) to the box (X11 forwarding enabled), I see the binary vlc-0.8.6b shows the same behavior.
Thanks,
VlcLinuxUser

xtophe
Big Cone-huna
Big Cone-huna
Posts: 1209
Joined: 24 Nov 2003 10:12
Location: Bristol, England

Re: Problem: Have 2 x11 output windows, 3 entries in task bar?

Postby xtophe » 23 Jul 2007 14:05

Does it works better directly on the linux maybe the X forwarding or cygwing mess things up.

also the title of the X11 windows is set in modules/video_output/x11/xcommon.c i believe.

hth,
Xtophe


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: Andrew_brt and 49 guests