GTK+ VLC

*nix specific usage questions
suiciety

GTK+ VLC

Postby suiciety » 20 Jul 2005 13:19

I've just noticed this behaviour on my Fedora Core 4 install running 8.2

When I start vlc as root I get a proper GTK interface (or one that looks like GTK) but when I run it as a normal user account I only get the motif UI.

Image

Here you can see the difference. I've opened a console and run vlc as root & then as the logged in user.

I know it's not a major problem but any ideas why this would be happening?

Also it would be nice to have keybindings for DVD style operations such as Next Title/Previous Title. Currently there is only Next/Previous Chapter which goes through the playlist instead of the DVD titles.

Thanks :) Keep up the good work. So far VLC has been the only media player I've needed under Win/Linux.

fkuehne
Developer
Developer
Posts: 7264
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

Re: GTK+ VLC

Postby fkuehne » 21 Jul 2005 16:16

Did you reset your preferences already? This should help there, since the root-account uses a different preferences-set (probably the default one) than your main user-account.
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

Guest

Postby Guest » 22 Jul 2005 03:51

Yeah I did try that. I deleted the entire ~/.vlc directory with the same results.

Is there a way to force the gtk interface from the command line?

fkuehne
Developer
Developer
Posts: 7264
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

Postby fkuehne » 22 Jul 2005 10:53

The left GUI is not GTK+, but WxWindows/WxWidgets actually. Our native GTK+-interface is outdated and wasn't maintained for ages, so you shouldn't use it.
The Wx-interface can be called through ./vlc --intf=wxwin (that's the token I remember, perhaps it is wxwindows or just wx -- please try that on your own; I cannot do that on OSX atm).
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

martin

Postby martin » 15 Aug 2005 17:53

How do I get the nice interfaces you have here and on the screenshot pages?

-I am using debian sid package
-vlc, wxvlc, vlc --intf wxwindows, vlc --intf gtk do all the same: a quite ugly interface using gtk 1.2 theme (ugly aliased fonts etc...). And can't find any gtk1.x theme that could be as good as the ones shown on screenshot page.

Guest

Postby Guest » 15 Aug 2005 17:55

the "ugly" interface I'm talkin about is the same as the one you name as the native GTK+ interface on the screenshot of this topic.

martin

Postby martin » 15 Aug 2005 17:56

the "ugly" interface I'm talkin about is the same as the one you name as the native GTK+ interface on the screenshot of this topic.
that was me, sorry for flooding.

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

Postby xtophe » 15 Aug 2005 18:33

You should get wxgtk 2.6 from source or from experimental to have gtk2 ( themes, font, ...)

hth,
Xtophe

martin

Postby martin » 15 Aug 2005 20:09

right, I tried to do so without success after noticing that debian package wxwidgets was compiled for gtk1. I compiled wxwidgets and vlc from sources, but vlc keeps launching with a skin2 non-usable interface :( (tried to force gtk as well, didn't work)

fkuehne
Developer
Developer
Posts: 7264
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

Postby fkuehne » 15 Aug 2005 20:29

Did you force gtk2 when compiling wxWidgets?
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

martin

Postby martin » 15 Aug 2005 20:58

yep (not needed for wxwidgets 2.6 though). It seems to be an installation problem since library is not detected (may not be in the right path).
e.

martin

Postby martin » 15 Aug 2005 21:46

installed wxwidgets 2.6 library from experimental debian. compiling vlc, error in wizard.cpp: something with a cast (const char * => char *, line 1088). Removed the cast, compiled well (error is now a warning), and is finally working... quite experimental procedure though.

martin

debian nice interface howto

Postby martin » 17 Aug 2005 15:16

although I think this post has a better place in the linux section, I will tell a clean solution to have wxwidgets using gtk2 with VLC in debian, without having to recompile all the program.

I installed official package (vlc 0.8.4 10/08/2005) as well as experimental libwxgtk2.6 (-dev) package. I got the source from debian (apt-get source) and just recompiled the modules/gui/wxwidgets/libwxwidgets_plugin.so module, which I replaced in /usr/lib/vlc/gui/. It is now using the new library with gtk2, while I still have a clean (at least debian's...) installation of VLC. I just updated one GUI module from the same sources, so no mix at all, just a recompilation of a module using an up-do-date library.

martin

Postby martin » 17 Aug 2005 15:20

installed wxwidgets 2.6 library from experimental debian. compiling vlc, error in wizard.cpp: something with a cast (const char * => char *, line 1088). Removed the cast, compiled well (error is now a warning), and is finally working... quite experimental procedure though.
the latter is far better than my crappy compilation I did before. Although this one worked quite well, some codec support was missing (at lead mp4/faad). I didn't like the fact it won't compile without modifying the source, has someone identify the error I quoted above? (using gcc4).

Guest

Re: debian nice interface howto

Postby Guest » 17 Aug 2005 15:21

although I think this post has a better place in the linux section, I will tell a clean solution to have wxwidgets using gtk2 with VLC in debian, without having to recompile all the program.

I installed official package (vlc 0.8.4 10/08/2005) as well as experimental libwxgtk2.6 (-dev) package. I got the source from debian (apt-get source) and just recompiled the modules/gui/wxwidgets/libwxwidgets_plugin.so module, which I replaced in /usr/lib/vlc/gui/. It is now using the new library with gtk2, while I still have a clean (at least debian's...) installation of VLC. I just updated one GUI module from the same sources, so no mix at all, just a recompilation of a module using an up-do-date library.
VLC, "apt-get source vlc" of course. libwxgtk2.6 are ok.


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

Who is online

Users browsing this forum: No registered users and 8 guests