On Sun, Sep 25, 2011 at 8:07 PM, Wido <wido...@gmail.com> wrote: > First, I don't know how to code, so I can't send patches :( (sorry for that) > > Second, I like more QT (as in kde) apps, so I set GTK to mimic QT by using > oxygen-gtk theme or qtCurve theme. > > I think Hannes work is awesome, I'm just saying that lot of people uses GTK > as well as QT apps, so why only support one type of toolkit? > > I know, I know, there are tons of different toolkits, but being GTK and QT > the two most used, I think is not fair to just include one of them 'just > because I like it most'. > > I can understand if this is technically non-viable, I'm fine with that. But > saying 'I don't know how it works and I don't care'.....sounds kind of > mediocre (sorry if it's sounds rude, that's not the point really) > > Am I wrong to think this way? >
As far as i can see it's not possible for e to set kde themes in general in a sane way. with gtk you have a theme file that defines which engine is used + all engine options. so only theme name needs to be set. with qt you have to set a style engine that can store it's config somewhere unknown to qt/kde (bespin e.g.) + color scheme. so one would need to know for each engine where it stores its settings to write its config. furthermore there is no spec which says where qt/kde writes its config or which signal is used to tell app to update their config. Then i dont like the idea to write to qt config files spread all over the place, so i would suggest to ask Qt people to adopt xsettings spec :) http://www.redhat.com/archives/xdg-list/2001-March/msg00003.html http://standards.freedesktop.org/xsettings-spec/xsettings-spec-0.5.html Regards, Hannes > > And again, I'm not a coder, so I'm really sorry that I can't submit patches > to do so > > El 25 de septiembre de 2011 08:52, Thomas Gstädtner > <tho...@gstaedtner.net>escribió: > >> On Sun, Sep 25, 2011 at 10:06, Carsten Haitzler <ras...@rasterman.com> >> wrote: >> > On Sun, 25 Sep 2011 02:45:47 -0500 Jeff Hoogland <jeffhoogl...@linux.com> >> said: >> > >> > if E set this by DEFAULT (there is some qt gtk theme engine that can use >> gtk >> > themes and theme engines mostly in qt), that'd be best, but i have no >> idea how >> > qt/kde does this... so patches accepted. >> > >> >> Set your QT apps to use your current GTK then _ then this is already >> done :) >> >> >> >> On Saturday, September 24, 2011, Carsten Haitzler <ras...@rasterman.com >> > >> >> wrote: >> >> > On Sun, 25 Sep 2011 00:26:08 +0200 "hannes.janet...@gmail.coms" >> >> > <hannes.janet...@googlemail.com> said: >> >> > >> >> >> On Sat, Sep 24, 2011 at 8:55 PM, Wido <wido...@gmail.com> wrote: >> >> >> > Sorry to be a jerk....but if it's going to be 'native' support for >> GTK >> >> >> > themes, shouldn't also be the same level of support for QT? >> >> >> > >> >> >> do you know how to tell qt to use a specific theme or to list themes >> >> >> available to qt? It would be good if qt could use XSettings spec. >> >> >> actually the property i set is Net/IconThemeName so it seems to be >> >> >> intended to work cross toolkit. though this spec seems to be only >> used >> >> >> by gtk.. I don't have a clue about how to do these things with qt. >> >> >> patches welcome :) >> >> > >> >> > as jeff said - patches welcome. xsettings is something gtk/gnome uses >> and >> >> > supports, and jeff did the footwork of implementing. now it's just a >> >> matter of >> >> > glueing it into all the right spots and adding a few more config vars >> and >> >> maybe >> >> > a few widgets in the config dialogs to swizzle them. >> >> > >> >> > if there are qt/kde mechamisms... please send the code! :) >> >> > >> >> >> > I mean, not everybody is a GTK fanboy =) >> >> >> > >> >> >> > El 24 de septiembre de 2011 02:41, Carsten Haitzler >> >> >> > <ras...@rasterman.com>escribió: >> >> >> > >> >> >> >> On Sat, 24 Sep 2011 05:37:07 +0200 "hannes.janet...@gmail.com" >> >> >> >> <hannes.janet...@googlemail.com> said: >> >> >> >> >> >> >> >> > On Sat, Sep 24, 2011 at 5:08 AM, Carsten Haitzler < >> >> ras...@rasterman.com> >> >> >> >> > wrote: >> >> >> >> > > On Sat, 24 Sep 2011 04:37:05 +0200 "hannes.janet...@gmail.com >> " >> >> >> >> > > <hannes.janet...@googlemail.com> said: >> >> >> >> > > >> >> >> >> > >> Hey, >> >> >> >> > >> >> >> >> >> > >> I've added xsettings-module to e-modules-extra. it's pretty >> much >> >> proto >> >> >> >> > >> but it does what I mostly wanted it for: >> >> >> >> > >> >> >> >> >> > >> - set global icon theme to match the one selected in e17. >> >> >> >> > >> >> >> >> >> > >> - adding 'data { "gtk-theme" "theme_name"; }' to e17 themes >> >> allows to >> >> >> >> > >> automatically use a gtk theme matching e17 theme. >> >> >> >> > >> >> >> >> >> > >> in config dialog one can override these options to set themes >> >> >> >> explicitly. >> >> >> >> > > >> >> >> >> > > dude - this shouldn't be in modules-extra... it should be in >> core >> >> e! :) >> >> >> >> many >> >> >> >> > > years ago i poked around the xsettings thing mentally deciding >> we >> >> had >> >> >> >> to add >> >> >> >> > > this to e, but i just never got to it. >> >> >> >> > > >> >> >> >> > >> >> >> >> > yes, i would also like it to be in core when it becomes more >> mature. >> >> >> >> > should it go into conf_theme then? >> >> >> >> >> >> >> >> well the xsettings core support should not even be a module >> >> >> >> just in e's main code. configuration - eg to provide a gtk theme, >> >> shoudl go >> >> >> >> into conf_theme. the others (icon theme) are already there - just >> >> recycle >> >> >> >> e's >> >> >> >> config. i'd say the conf_theme should provide a dialog to select >> gtk >> >> theme >> >> >> >> (from installed themes on system) in a list. that's it. with one >> >> option >> >> >> >> added >> >> >> >> to the list "let enlightenment theme decide". from memory >> xsettings >> >> can set >> >> >> >> up >> >> >> >> fonts, dpi and other things too. probably something to add to the >> conf >> >> >> >> scale >> >> >> >> dialog and to conf_fonts dialog in e etc. >> >> >> >> >> >> >> >> -- >> >> >> >> ------------- Codito, ergo sum - "I code, therefore I am" >> >> -------------- >> >> >> >> The Rasterman (Carsten Haitzler) ras...@rasterman.com >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> >> >> >> All of the data generated in your IT infrastructure is seriously >> >> valuable. >> >> >> >> Why? It contains a definitive record of application performance, >> >> security >> >> >> >> threats, fraudulent activity, and more. Splunk takes this data and >> >> makes >> >> >> >> sense of it. IT sense. And common sense. >> >> >> >> http://p.sf.net/sfu/splunk-d2dcopy2 >> >> >> >> _______________________________________________ >> >> >> >> enlightenment-users mailing list >> >> >> >> enlightenment-users@lists.sourceforge.net >> >> >> >> https://lists.sourceforge.net/lists/listinfo/enlightenment-users >> >> >> >> >> >> >> > >> >> >> > >> >> >> > >> >> >> > -- >> >> >> > Wido >> >> >> > >> >> >> ------------------------------------------------------------------------------ >> >> >> > All of the data generated in-- >> >> > ------------- Codito, ergo sum - "I code, therefore I am" >> -------------- >> >> > The Rasterman (Carsten Haitzler) ras...@rasterman.com >> >> > >> >> > >> >> > >> >> >> ------------------------------------------------------------------------------ >> >> > All of the data generated in your IT infrastructure is seriously >> valuable. >> >> > Why? It contains a definitive record of application performance, >> security >> >> > threats, fraudulent activity, and more. Splunk takes this data and >> makes >> >> > sense of it. IT sense. And common sense. >> >> > http://p.sf.net/sfu/splunk-d2dcopy2 >> >> > _______________________________________________ >> >> > enlightenment-users mailing list >> >> > enlightenment-users@lists.sourceforge.net >> >> > https://lists.sourceforge.net/lists/listinfo/enlightenment-users >> >> > >> >> >> >> -- >> >> ~Jeff Hoogland <http://jeffhoogland.com/> >> >> Thoughts on Technology <http://jeffhoogland.blogspot.com/>, Tech Blog >> >> Bodhi Linux <http://bodhilinux.com/>, Enlightenment for your Desktop >> >> >> ------------------------------------------------------------------------------ >> >> All of the data generated in your IT infrastructure is seriously >> valuable. >> >> Why? It contains a definitive record of application performance, >> security >> >> threats, fraudulent activity, and more. Splunk takes this data and makes >> >> sense of it. IT sense. And common sense. >> >> http://p.sf.net/sfu/splunk-d2dcopy2 >> >> _______________________________________________ >> >> enlightenment-users mailing list >> >> enlightenment-users@lists.sourceforge.net >> >> https://lists.sourceforge.net/lists/listinfo/enlightenment-users >> >> >> > >> > >> > -- >> > ------------- Codito, ergo sum - "I code, therefore I am" -------------- >> > The Rasterman (Carsten Haitzler) ras...@rasterman.com >> > >> > >> > >> ------------------------------------------------------------------------------ >> > All of the data generated in your IT infrastructure is seriously >> valuable. >> > Why? It contains a definitive record of application performance, security >> > threats, fraudulent activity, and more. Splunk takes this data and makes >> > sense of it. IT sense. And common sense. >> > http://p.sf.net/sfu/splunk-d2dcopy2 >> > _______________________________________________ >> > enlightenment-users mailing list >> > enlightenment-users@lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/enlightenment-users >> > >> >> Setting Qt to use the Gtkstyle engine is easy: just set "style=GTK+" >> in ~/.config/Trolltech.conf >> However, doing this properly means you have to check for available >> engines, parsing the config, making sure there is a config and >> probably check for a dozend race conditions. >> >> As qt ships with qtconfig which does the job already, I don't see why >> to include that. >> Also, there is not really such a thing as Qt themes (there are a >> number of styles, but I don't think anyone has ever written an >> additional one outside of Trolltech), if anything there are KDE themes >> for Qt. >> >> Adding a link to qtconfig in the menu should be more than enough. At >> most, adding a button "Use GTK theme for Qt" could be done, which sets >> "style=GTK+" in the ini-style Trolltech.conf. >> >> >> ------------------------------------------------------------------------------ >> All of the data generated in your IT infrastructure is seriously valuable. >> Why? It contains a definitive record of application performance, security >> threats, fraudulent activity, and more. Splunk takes this data and makes >> sense of it. IT sense. And common sense. >> http://p.sf.net/sfu/splunk-d2dcopy2 >> _______________________________________________ >> enlightenment-users mailing list >> enlightenment-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/enlightenment-users >> > > > > -- > Wido > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2dcopy2 > _______________________________________________ > enlightenment-users mailing list > enlightenment-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-users > ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 _______________________________________________ enlightenment-users mailing list enlightenment-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-users