/srv/irclogs.ubuntu.com/2018/09/21/#lubuntu-devel.txt

lubot<HMollerCl> hi, anyone with C# knowledge here?01:15
lubot<HMollerCl> what means  ... #include <QWidget>01:15
lubot<HMollerCl> y always used it as files (.h) don't know what <> means01:16
lubot<HMollerCl> @tsimonq2  @wxl could be that the Qt default the is set in /etc/xdg/xdg-Lubuntu/lxqt/lxqt.conf ?01:33
lubot<HMollerCl> could we add a file to /etc/xdg/lxqt ???02:00
lubot<TheWendyPower> I don't know anything about C#02:01
lubot<TheWendyPower> So it does look like default themes are set in /ect/xdg/xdg-Lubuntu each of the folders in the xdg-Lubuntu folder contains a configuration file that states the theme for that part of the UI.02:10
lubot<profetik777> noice03:09
lubot<HMollerCl> ok, I just proposed for merging the change to defalut Qt Style for Fusion.13:22
lubot<HMollerCl> Apparently I know how to make the gtk override, but I still can't define the default gtk themes. Should I upload the gtk override for now?14:43
lubot<HMollerCl> I know where the config is stored .config/gtk-3.0/settings.ini but I don't know how to make the default putting in xdg-Lubuntu doesn't work14:48
lubot<TheWendyPower> I'm away from home this morning. I'll do some investigating when I get home.15:07
wxl@HMollerCl you mean C++ and any include <something> is very similar to include something, except that the brackets indicate, most likely, standard libraries https://gcc.gnu.org/onlinedocs/cpp/Search-Path.html15:44
wxl@HMollerCl regarding the gtk themes, i find this super confusing myself. maybe you can add a gtk-3.0 to /etc/xdg/xdg-Lubuntu/ and throw the settings.ini in there?15:45
lubot<HMollerCl> @wxl> @HMollerCl you mean C++ and any include <something [<wxl> @HMollerCl you mean C++ and any include <something> is very similar to inc …], thanks! I'm still confused with the C variants. Anyway, I was trying to understand the code to se where the default was constructed.15:47
wxl@HMollerCl well basically there's C, there's the expanded version C++, and then there's the Microsoft version C#15:48
lubot<HMollerCl> @wxl thanks! I know how to set gtk override (still not the theme) should i push the change, or wait untill I know how with the themes?15:52
wxl(there's also many other derivaties but that's where things get crazy: E for secure computing, Apple's Objective-C, Java, which is based heavily on Objective-C, and Not eXactly C and Not Quite C for Lego Mindstorms XD15:52
wxl@HMollerCl push it with a comment in the merge proposal about the theme forthcoming15:53
lubot<HMollerCl> ok15:54
lubot<HMollerCl> all my merge proposal I marked for "Needs review" that's ok?16:19
-lugito:#lubuntu-devel- [rTROJITA07bda0974c58: initial wath file] wxl (Walter Lapchynski) committed: https://phab.lubuntu.me/rTROJITA07bda0974c5816:20
-lugito:#lubuntu-devel- [rTROJITAed7e56fa9517: here's the actual watch file] wxl (Walter Lapchynski) committed: https://phab.lubuntu.me/rTROJITAed7e56fa951716:21
lubot<HMollerCl> @wxl it doesn't let me propose another branch merge because there is one still active16:25
wxlyikes well i guess you could add it to the other one16:47
lubot<HMollerCl> I will try16:58
lubot<HMollerCl> I deleted the first and created a new one with both17:05
lubotunomind was added by: unomind17:24
lubot<HMollerCl> ok, default GTK Theme is picke with this command:  ... gsettings get org.gnome.desktop.interface gtk-theme18:16
wxl@HMollerCl you can only do it with a command? :(18:43
lubot<HMollerCl> that's how lxqt-config-appearance gets the default.18:44
lubot<HMollerCl> QString ConfigOtherToolKits::getDefaultGTKTheme() ... { ...     // Get the GTK default theme. Command line: ...     // $ gsettings get org.gnome.desktop.interface gtk-theme ...     QProcess gsettings; ...     QStringList args; ...     args << "get" << "org.gnome.desktop.interface" << "gtk-theme"; ...     gsettings.start("gsettings",18:45
lubot args); ...     if(! gsettings.waitForFinished()) ...         return QString(); ...     QByteArray defaultTheme = gsettings.readAll().trimmed(); ...     gsettings.close(); ...     if(defaultTheme.size() <= 1) ...         return QString(); ...     // The theme has got quotation marks. Remove it: ...     defaultTheme.replace("'",""); ...     return Q18:45
lubotString(defaultTheme); ... }18:45
lubot<HMollerCl> so, we need to change gsettings18:45
lubot<HMollerCl> https://github.com/lxqt/lxqt-config/blob/master/lxqt-config-appearance/configothertoolkits.cpp line 294 untill 31118:47
wxlwell wait hold on. we need to change what "gtk-theme" is defined as, no?18:49
lubot<tsimonq2> Someone find agaida XD18:49
lubot<HMollerCl> @wxl [<wxl> well wait hold on. we need to change what "gtk-theme" is defined as, no?], This is what I think18:49
wxl$ gsettings list-recursively | grep gtk-theme18:50
wxlorg.gnome.desktop.interface gtk-theme 'Adwaita'18:50
wxlso you can `gsettings set org.gnome.desktop.interface gtk-theme 'WhateverWeWant'`18:51
lubot<HMollerCl> yup, or whit the command they use: ... https://github.com/lxqt/lxqt-config/blob/master/lxqt-config-appearance/configothertoolkits.cpp18:51
lubot<tsimonq2> Now, if only autostart scripts actually DTRT...18:51
lubot<HMollerCl> hmoller@hmoller-pc:~$ gsettings get org.gnome.desktop.interface gtk-theme ... 'Adwaita'18:51
lubot<HMollerCl> but org.gnome.desktop.interface should be a file somewhere (apparently is an xml)18:52
wxlright. working on that18:52
lubot<HMollerCl> so, we coulc branch it and change it as we want18:53
wxlweird if i `strace gsettings list-schemas` it goes straight to writing18:55
wxloh wait i'm wrong18:55
wxl/usr/share/glib-2.0/schemas/gschemas.compiled18:56
wxlalthough that was ENOENT18:57
wxloh no wait18:57
wxlthat was good18:57
wxlthen it looks through /usr/share/local18:57
wxltl;dr it hunts around in /usr/share XD18:57
lubot<HMollerCl> <key name="gtk-theme" type="s"><default>'Adwaita'</default><summary>Gtk+ Theme</summary><description> ...         Basename of the default theme used by gtk+. ...       </description></key>19:00
lubot<tsimonq2> Worst case scenario we can stick a hack in lxqt-session which reads the GTK theme and sets it before launching.19:01
lubot<tsimonq2> But that's EVIL BAD CLUDGE19:01
lubot<tsimonq2> How does e.g. MATE do it?19:02
wxlnahhh19:02
wxlwe  can set it  in default settings19:02
wxlnow that we found the right file19:02
wxljust needed some team work :)19:02
lubot<HMollerCl> Maybe I'm wrong, but couldn we branch /usr/share/glib-2.0/schemas/ and modify org.gnome.desktop.interface.gschema.xml?19:05
wxlyeah we can do that in lubuntu-default-settings19:06
lubot<HMollerCl> mmm, changing org.gnome.desktop.interface.gschema.xml doesn't changed the output of gsettings ... maybe it must be compiled??? (thus gschemas.compiled exist)19:09
wxlthat seems..... strange19:09
wxlbut perhaps19:09
wxli mean i'm not sure why the strace would show it reading it if that was the case19:13
lubot<HMollerCl> worst case scenario we could ... gsettings set org.gnome.desktop.interface gtk-theme "Arc-Darker"19:16
lubot<luca_aleksandr> link plaes lubuntu 18.10 relaser19:26
lubot<HMollerCl> @wxl it is compiled with glib-compile-schemas19:27
lubot<HMollerCl> so there might be 2 options. change the org.gnome.desktop.interface.gschema.xml OR create a gschema.override file. ... In both cases we will need to compile it.19:29
lubot<HMollerCl> https://developer.gnome.org/gio/stable/glib-compile-schemas.html19:32
lubot<HMollerCl> @tsimonq2 [How does e.g. MATE do it?], MATE has a gschema.override looek at terzag answer https://ubuntu-mate.community/t/changing-the-default-appearance-theme/11770/319:35
lyorianlooks like I will make 21 commits to manual this week but I will be away from keyboard for the rest of the day 19:37
wxl@HMollerCl looks like the override seems to be the right way. again, lubuntu-default-settings21:04
wxl@luca_aleksandr for the dailies, same place as last time, but it's also still not released and won't be until near the end of october21:04
wxllyorian: 🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟21:04
lubot<HMollerCl> @wxl [<wxl> @HMollerCl looks like the override seems to be the right way. again, lubun …], yes, it worked in my environment. I created /usr/share/glib2.0/schemas/50_lubuntu.override.schema shud I add, commit and push to lubuntu-default-settings/src/usr/share/glib-2.0/schemas ?? ... Will the installation managed the glib-compile-sche21:08
lubotmas ?? Or should we make something??21:08
wxl@HMollerCl if it exists, does it compile on its own, ever?21:10
lubot<HMollerCl> I had to compile it manualy21:11
wxlso there's no way for it to do it on its own?21:11
lubot<HMollerCl> I believe that during the installation it does21:11
wxlbecause if so, then that should solve the problem21:12
lubot<HMollerCl> but I really don't know what the installation does.21:12
wxli'm thinking maybe it does when the session starts?21:12
wxlit might be good to boot into live, add the override, restart sddm, and see what happens21:12
lubot<HMollerCl> I don't think so, because it's global. The compiled version is stored in /usr/share/glib-2.0/schemas/gschemas.compiled21:14
lubot<HMollerCl> there is no need to compile it every time a session is open21:14
wxlwell a lot of those globals get integrated right from the get go21:14
wxli'd just see what happens21:14
lubot<HMollerCl> agree21:15
lubot<HMollerCl> I will push it21:15
wxlalternately we can always add the compilation into the post inst script https://www.debian.org/doc/debian-policy/ch-maintainerscripts.html21:16
lubot<HMollerCl> I'm wondering how mate does it.21:18
wxlhm https://bugs.launchpad.net/ubuntu/+source/ubuntu-mate-settings/+bug/157771521:28
ubot93Ubottu bug 1577715 in ubuntu-mate-settings (Ubuntu) "ubuntu-mate.gschema.override should begin with a 'nn_' number" [Undecided, Fix Released]21:28
wxlthey do not have a postinst in any case https://github.com/ubuntu-mate/ubuntu-mate-settings21:29
lubot<HMollerCl> now I'm out of ideas ... gsetings get org.gnome.desktop.interface gtk-theme gives me 'Arc-Darker' still a ne user gets 'Adwaita' as default theme21:49
wxlif i may be totally rash, i suggest getting on irc :) and joining #ubuntu-mate21:50
lubot<HMollerCl> or see what happens. I may have trashed my installations with all the things I've done21:51
wxlfor things of this nature i much prefer using a vm21:51
lubot<HMollerCl> yes, I'm using it too, but installing a new one take some time to reconfigure all the things I use, accounts, cifs and other I'm waiting to install the daly with my modifications :)21:53
lubot<HMollerCl> Anyway, I'm proposing the merging and got this error I really don't understand what it means: ... The target repository and path together cannot be the same as the source repository and path.21:54
wxlyeah i usually just go slim21:55
wxlthat sounds like you're suggesting to merge e.g. ~youruser/somerepo into ~youruser/somerepo21:56
lubot<HMollerCl> will check I'm leting Needs review checked because it is the default, is ok?22:00
lubot<HMollerCl> Shoukld I put a reviewer?22:00
wxlnaw it'll all be set up naturally22:03
lubot<HMollerCl> ok, I have my proposed merge done. Do you now when will they be in the new daily to see if it works?22:54
wxl@HMollerCl i'll review probably late tonight22:54
wxl(still at work)22:54
lubot<tsimonq2> I think I could have the energy to go to the computer for a little bit tonight.22:55
lubot<tsimonq2> What's up?22:55
lubot<HMollerCl> 🤞I believe the Arc-Darker GTK theme will be the default.22:56
wxl@tsimonq2: https://code.launchpad.net/~hmollercl/lubuntu-default-settings/+git/lubuntu-default-settings/+merge/35551622:57
lubot<tsimonq2> @wxl [<wxl> @tsimonq2: https://code.launchpad.net/~hmollercl/lubuntu-default-settings/ …], Ack22:58
lubot<HMollerCl> It depends on: ... 1.- glib-compile-schemas is executed automatyically somehow. ... 2.- lxqt-config-appearance takes as supposed gsettings get org.gnome.desktop.interface gtk-theme22:59
lubot<HMollerCl> @TheWendyPower another thing I've seen people complaining is the size of button (of open apps) in taskbar. Default is 400, for me 200 is ok and appears to be the standard. What do you think?23:02

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!