Page 1 of 1
GTK+ VLC
Posted: 20 Jul 2005 13:19
by suiciety
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.
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
![Smile :)](./images/smilies/icon_smile.gif)
Keep up the good work. So far VLC has been the only media player I've needed under Win/Linux.
Re: GTK+ VLC
Posted: 21 Jul 2005 16:16
by fkuehne
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.
Posted: 22 Jul 2005 03:51
by Guest
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?
Posted: 22 Jul 2005 10:53
by fkuehne
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).
Posted: 15 Aug 2005 17:53
by martin
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.
Posted: 15 Aug 2005 17:55
by Guest
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.
Posted: 15 Aug 2005 17:56
by martin
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.
Posted: 15 Aug 2005 18:33
by xtophe
You should get wxgtk 2.6 from source or from experimental to have gtk2 ( themes, font, ...)
hth,
Posted: 15 Aug 2005 20:09
by martin
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
![Sad :(](./images/smilies/icon_sad.gif)
(tried to force gtk as well, didn't work)
Posted: 15 Aug 2005 20:29
by fkuehne
Did you force gtk2 when compiling wxWidgets?
Posted: 15 Aug 2005 20:58
by martin
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.
Posted: 15 Aug 2005 21:46
by martin
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.
debian nice interface howto
Posted: 17 Aug 2005 15:16
by martin
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.
Posted: 17 Aug 2005 15:20
by martin
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).
Re: debian nice interface howto
Posted: 17 Aug 2005 15:21
by Guest
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.