[05:00] -lugito:#lubuntu-devel- [lubuntu-manual] alamo18 opened pull request #20: Add more docs in the 3.3.x section (master...master) https://git.io/vAkDI [13:17] -lugito:#lubuntu-devel- [lubuntu-manual] tsimonq2 closed pull request #20: Add more docs in the 3.3.x section (master...master) https://git.io/vAkDI [14:18] -lugito:#lubuntu-devel- [lubuntu-manual] m4sk1n pushed 1 new commit to master: https://git.io/vAI86 [14:18] -lugito:#lubuntu-devel- lubuntu-manual/master 2cb5614 Marcin Mikołajczak: Update translation files to current sources... [14:21] @MikolajczakMarcin Out of curiosity, what process do you follow to update translations? [14:22] I might try to automate integration of that somewhere [14:25] make gettext [14:26] sphinx-intl update -p build/locale/ -l en_GB -l ja -l ko -l pl -l zh [14:26] nothing more… [14:26] OK cool [17:25] for the record : https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1668722 [17:25] Launchpad bug 1668722 in xorg (Ubuntu) "60x11-common_xdg_path uses $DESKTOP_SESSION which needs a sanity check" [Undecided, Confirmed] [17:26] looks like sddm is doing weird stuf on DESKTOP_SESSION, which mess up XDG_CONF_DIRS [17:26] AaaHA [17:26] Nice one gilir! [17:41] @julienlavergne I'll ask around to see if a fix can be prioritized [17:42] Unless you can fix it? [17:42] (doesn't matter to me, as long as we can find a solution) [17:43] I probably can fix it (sddm or startlxqt) but I don't know when [17:46] Ok [18:02] @julienlavergne One thing that would also be useful is to split up the default settings binary packages so when Lubuntu Next is installed, it doesn't pull in any other extra session or lxsession [18:03] I know we discussed this at one point, but it would be good to finally get it done [18:03] If you don't have the time, I totally understand, I just want to know how you would like it done so I can do it :) [18:05] Otherwise I can just do what looks logical and propose an MP on Launchpad (or a PR on GitHub), whatever works for you @julienlavergne [18:06] IMO, the best short term solution is to patch startlxqt to fix DESKTOP_SESSION [18:06] Right [18:07] @julienlavergne I did this locally in a VM; it works. [18:14] @gilir, Bah, screw it. I'll assign it to myself. [18:21] @tsimonq2, Just remove the depends which are annoying, we probably have them already with the seed [18:43] @julienlavergne, Ok [18:43] Wfm [20:19] @agaida, So just to tell you directly, fwiw, https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1668722 [20:19] That is the XDG bug. [20:20] Now, I see that there's an Ubuntu-specific src:xorg delta which sets this up. [20:20] If you're interested, it's available here: https://patches.ubuntu.com/x/xorg/xorg_1:7.7+19ubuntu4.patch [20:20] (the delta) [20:20] So as the bug report describes, this just needs a sanity check and it should be fixed. [20:21] I'm going to talk with Timo Aaltonen, Ubuntu's X guy, on Monday. [20:21] In the meantime, I'll work on some packages locally and see if I can get anywhere. [22:46] thats one of the strange things in Ubuntus XDG handling - yes [22:46] It's the only one I have to bother with now :D [22:47] nope [22:47] What else do I have to bother with to get this working? :P [22:47] you should ask yourself some other questions [22:47] Like what? [22:47] esp. why /usr/share is not in the XDG path [22:48] It's in XDG_DATA_DIRS [22:48] Got a Debian install handy to tell me what it's *supposed* to look like? [22:48] might be some ubuntu specific thing that i don't know - % echo $XDG_CONFIG_DIRS [22:48] /etc:/etc/xdg:/usr/share [22:49] and that are places where one could expect configurations [22:51] $ echo $XDG_CONFIG_DIRS [22:51] /etc/xdg/xdg-/usr/share/xsessions/lxqt:/etc/xdg [22:51] Right, hm. [22:51] so if the problem with the $DESKTOP_SESSION is solved - fine for you, but that means that you must configure anything yourself, because the fallback to upstream defaults will just don't work [22:52] agaida: Got a link to the XDG spec I can ref in this packaging PR? [22:52] you see the xdg- part - should be fixed to xdg-Lubuntu: or whatever [22:52] Right, I know, that's the part I'm fixing :) [22:52] But while I'm at it... [22:53] can you please paste the 60x? [22:53] on debian right now [22:54] agaida: https://paste.ubuntu.com/=6ZgSxQg3HF/ [22:54] wxl: Ubuntu upgraded the pastebin service recently, I saw the discussion in #canonical-sysadmin ^^^^^^^^^ [22:55] wowie [22:55] wxl: Expirations and everything :D [22:55] Anyways [22:55] oh? how do you set all that? [22:55] wxl: paste.ubuntu.com, it's all options [22:55] who uses the browser to pastebin? :/ [22:55] I do [22:56] laaaaaaaaaaame [22:56] XD [22:56] probably a nano user too :/ [22:56] Nah I'm not THAT bad :P [22:56] but i am [22:56] bah :P [22:56] ANYWAYS [22:56] vim is for wannabees [22:56] agaida: Got a link to the XDG spec I can ref for The Right Thing here? [22:56] agaida: we already sensed there was something wrong with you [22:57] lol [22:57] pastebinit doesn't support expirations at all harumph. they should make expirations default [22:57] Agreed [22:57] rigth - i llike things that just work out of the box™ - thats why i run sid with my own repos [22:58] tsimonq2: look at line 11 [22:58] agaida: yes? [22:59] that's the part i don't understand [23:00] https://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html [23:00] "If $XDG_CONFIG_DIRS is either not set or empty, a value equal to /etc/xdg should be used." [23:00] Ok, so it follows spec. [23:00] hrhrhr - ok, try it again :D [23:00] the best thing is to start a lubuntu [23:01] and then: echo "$XDG_CONFIG_DIRS" [23:01] I'm... there? [23:01] And yes. [23:01] I know what the bug is. [23:01] I'm fixing that. [23:01] echo "$XDG_CONFIG_DIRS" [23:01] /etc/xdg/xdg-/usr/share/xsessions/lxqt:/etc/xdg [23:01] The first part isn't right. [23:01] The rest of it is. [23:02] Because, that's spec. [23:02] you are on lubuntu or next? [23:02] Yes. [23:02] :P [23:04] ok, it might be that i'm to fast [23:05] Yeah no, this is an upstream LXQt bug. Y'all should put /usr/share in XDG_CONFIG_DIRS if you guys plan on using that as a place for config. [23:05] Otherwise, if LXQt doesn't do that upstream, then it's all as it should be. [23:05] As spec says. [23:05] :) [23:05] nope [23:05] wrong assumption [23:06] Well, /usr/share IS in XDG_DATA_DIRS, so if upstream pulls from XDG_CONFIG_DIRS when it should pull from XDG_DATA_DIRS, then that's certainly a bug. [23:06] Anyways, what's my wrong assumption here? [23:06] the timing [23:07] when 60x is sourced that is before LXQt jumps in [23:07] Right. [23:07] and thats the problem [23:08] ...why is following spec in 60x a problem? [23:08] Like I said, /usr/share IS in XDG_DATA_DIRS, so if upstream pulls from XDG_CONFIG_DIRS when it should pull from XDG_DATA_DIRS, then that's certainly a bug. [23:08] I mean, am I wrong here? [23:08] because if your pov would be right that would mean that ubuntu deliver crap for years - and that is simply not the case [23:08] ...? [23:10] if we aggree that 60x should create a meaningful path - that will mean also that there should be a place where some enviromental variables are set [23:10] Right. [23:10] I'm not talking about the bug at hand here. [23:10] I'm asking why it's not OK to follow spec and only spec. [23:10] You realised that it's only a bug in sddm ? LXQt and Ubuntu are doing the things right currently [23:11] @julienlavergne Is it? I thought the bug report says that this was *just* an Ubuntu thing, but I guess that might make sense. [23:11] not exactly - but ok, i see the bug or glitch in sddm - and this glitch boils down to a qt bug [23:12] Is sddm what gives 60x $DESKTOP_SESSION, @julienlavergne? [23:12] Ah, right. [23:12] I think so. [23:13] Look at the comment of the bug report [23:13] Ahhh. [23:14] Right. [23:14] /etc/xdg/xdg-/usr/share/xsessions/lxqt:/etc/xdg [23:14] XDG_CONFIG_DIRS="$DEFAULT_XDG_CONFIG_DIRS"/xdg-"$DESKTOP_SESSION":"$XDG_CONFIG_DIRS" [23:14] Right. [23:14] FYI I didn't see the bug because I'm using lightdm on my test machine [23:14] $DESKTOP_SESSION should be set properly. [23:14] I can see how this would be sddm... [23:15] so the original XDG_CONFIG_DIRS= /etc/xdg - and thats a little bit - erm - to little [23:15] No it isn't. [23:15] It follows spec. [23:15] So this isn't an xorg bug after all... [23:15] nope [23:15] (Because it's done properly.) [23:16] it left out /usr/share - and /usr/share should be considered [23:16] but ok, not my problem [23:16] it also left out /etc [23:16] /usr/share is XDG_*DATA*_DIRS [23:16] Well, that's what the spec says. [23:16] ok, you are right, all other distributions are wrong - solved [23:16] In fact, someone should ask Debian why they deviate from the spec. [23:17] :/ [23:17] If all other distributions were right, someone contact the XDG folks ffs. [23:24] tsimonq2: nope - debian does it right [23:24] https://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html#variables [23:25] If $XDG_CONFIG_DIRS is either not set or empty, a value equal to /etc/xdg should be used. [23:25] so if they set it - it is just fine [23:25] That's what I've been saying this whole time. [23:25] Debian *isn't* right. [23:25] but you understand the word 'if' in the sentence? [23:26] I do. [23:26] 60x sets it. [23:26] It's empty before that. [23:26] so - the set xdg_config_dirs and that is fine [23:26] And if it isn't, it's set. [23:26] RIGHT> [23:26] :) [23:26] and debian set it somehow to foo, bar and baz [23:27] like in [23:27] 2018-02-09 23:48:57 /etc:/etc/xdg:/usr/share [23:27] and this is exactly conform to the specs [23:28] No it isn't. [23:28] That should be /etc/xdg [23:28] And only /etx/xdg [23:28] *etc [23:28] hell no! [23:28] i cite: If $XDG_CONFIG_DIRS is either not set or empty - but it is set [23:29] Set by what? [23:29] not important - it is set [23:29] Yeah it is [23:29] Why is it set? [23:29] And why does Debian set it and Ubuntu doesn't? [23:29] the second part is important - if not set -- > only in that case --> use /etc/xdg or something equivalent [23:30] Ohh. [23:30] I catch your drift now. [23:30] :) - that is one of the last mysteries in the univere [23:30] :) - that is one of the last mysteries in the universe [23:31] Now, I'll submit this to Ubuntu and let them deal with it. [23:31] Not a super high priority. [23:31] no - and for you it is fine, because you don't want the fallbacks [23:32] but you could copy them from /usr/share/lxqt/*conf and take them as a base for the lubuntu configs [23:32] That's what we do already... [23:34] and until the sddm/qt mess is solved i would simply add a file short before 60x :) [23:34] I don't touch xorg unless I have to : [23:34] *:P [23:35] with some bash magic in - that fix the damn session - that was suggested in qt commercial if i remember rigth [23:36] read the file, you have the path in DESKTOP_SESSION - and set DESKTOP_SESSION right- easy - as long sddm/qt is wrong [23:38] Right, but they *shouldn't* set it that way. [23:39] So while a fallback in xorg would be nice, it's ultimately unnecessary. [23:39] and that is a known Qt problem - so sddm do this basically right, but Qt don't [23:40] Nope. [23:40] https://bugreports.qt.io/browse/QTQAINFRA-1229 [23:40] SDDM intentionally takes the full path and passes it. [23:40] damn - read the code - they set, what Qt give to them [23:41] Ah, except for this line: [23:41] m_fileName = m_dir.absoluteFilePath(fileName); [23:41] So you're wrong here :) [23:42] src/daemon/Display.cpp: env.insert(QStringLiteral("DESKTOP_SESSION"), session.desktopSession()); [23:42] ^^ [23:42] Right, that line is from session.desktopSession() [23:43] QString Session::desktopSession() const [23:43] { [23:43] return fileName().replace(s_entryExtention, QString()); [23:43] } [23:43] QString Session::fileName() const [23:43] { [23:43] return m_fileName; [23:43] } [23:43] m_fileName = m_dir.absoluteFilePath(fileName); [23:43] See what I mean now, agaida? [23:44] Oh, and: [23:44] const QString s_entryExtention = QStringLiteral(".desktop"); [23:44] So it's SDDM. [23:44] And that upstream bug you linked, ah, this goes full circle [23:44] :P [23:46] ouch [23:46] Yeah. [23:47] So I think desktopSession() needs to be modified to return the relative path. [23:47] Something like (rough, untested, right from my brain): return fileName().relativeFilePath.replace(s_entryExtention, QString()); [23:47] nope - the whole usage of desktopSession is nuts in this place [23:48] Oh? [23:48] I do agree it needs an overhaul. [23:48] But that's not my job. :D [23:48] ls /usr/share/xsessions/* [23:48] i use mostly default.desktop- so my session would be default [23:49] cool [23:49] and thats indeed the session that have an Exec=startlxqt :D [23:52] so i guess session names would be better - but don't would help you much in case of the upstream session - but maybe with the qLubuntu one [23:53] and thats fugly - to put it mild [23:59] and only another wild guess - https://pb.5id.eu/8Q8S