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

-lugito:#lubuntu-devel- [lubuntu-manual] alamo18 opened pull request #20: Add more docs in the 3.3.x section (master...master) https://git.io/vAkDI05:00
-lugito:#lubuntu-devel- [lubuntu-manual] tsimonq2 closed pull request #20: Add more docs in the 3.3.x section (master...master) https://git.io/vAkDI13:17
-lugito:#lubuntu-devel- [lubuntu-manual] m4sk1n pushed 1 new commit to master: https://git.io/vAI8614:18
-lugito:#lubuntu-devel- lubuntu-manual/master 2cb5614 Marcin Mikołajczak: Update translation files to current sources...14:18
lubot3<tsimonq2> @MikolajczakMarcin Out of curiosity, what process do you follow to update translations?14:21
lubot3<tsimonq2> I might try to automate integration of that somewhere14:22
lubot3<MikolajczakMarcin> make gettext14:25
lubot3<MikolajczakMarcin> sphinx-intl update -p build/locale/ -l en_GB -l ja -l ko -l pl -l zh14:26
lubot3<MikolajczakMarcin> nothing more…14:26
lubot3<tsimonq2> OK cool14:26
gilirfor the record : https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/166872217:25
ubot93Launchpad bug 1668722 in xorg (Ubuntu) "60x11-common_xdg_path uses $DESKTOP_SESSION which needs a sanity check" [Undecided, Confirmed]17:25
gilirlooks like sddm is doing weird stuf on DESKTOP_SESSION, which mess up XDG_CONF_DIRS17:26
lubot3<tsimonq2> AaaHA17:26
lubot3<tsimonq2> Nice one gilir!17:26
lubot3<tsimonq2> @julienlavergne I'll ask around to see if a fix can be prioritized17:41
lubot3<tsimonq2> Unless you can fix it?17:42
lubot3<tsimonq2> (doesn't matter to me, as long as we can find a solution)17:42
lubot3<julienlavergne> I probably can fix it (sddm or startlxqt) but I don't know when17:43
lubot3<tsimonq2> Ok17:46
lubot3<tsimonq2> @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 lxsession18:02
lubot3<tsimonq2> I know we discussed this at one point, but it would be good to finally get it done18:03
lubot3<tsimonq2> 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:03
lubot3<tsimonq2> Otherwise I can just do what looks logical and propose an MP on Launchpad (or a PR on GitHub), whatever works for you @julienlavergne18:05
lubot3<julienlavergne> IMO, the best short term solution is to patch startlxqt to fix DESKTOP_SESSION18:06
lubot3<tsimonq2> Right18:06
lubot3<tsimonq2> @julienlavergne I did this locally in a VM; it works.18:07
lubot3<tsimonq2> @gilir, Bah, screw it. I'll assign it to myself.18:14
lubot3<julienlavergne> @tsimonq2, Just remove the depends which are annoying, we probably have them already with the seed18:21
lubot3<tsimonq2> @julienlavergne, Ok18:43
lubot3<tsimonq2> Wfm18:43
lubot3<tsimonq2> @agaida, So just to tell you directly, fwiw, https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/166872220:19
lubot3<tsimonq2> That is the XDG bug.20:19
lubot3<tsimonq2> Now, I see that there's an Ubuntu-specific src:xorg delta which sets this up.20:20
lubot3<tsimonq2> If you're interested, it's available here: https://patches.ubuntu.com/x/xorg/xorg_1:7.7+19ubuntu4.patch20:20
lubot3<tsimonq2> (the delta)20:20
lubot3<tsimonq2> So as the bug report describes, this just needs a sanity check and it should be fixed.20:20
lubot3<tsimonq2> I'm going to talk with Timo Aaltonen, Ubuntu's X guy, on Monday.20:21
lubot3<tsimonq2> In the meantime, I'll work on some packages locally and see if I can get anywhere.20:21
agaidathats one of the strange things in Ubuntus XDG handling - yes22:46
tsimonq2It's the only one I have to bother with now :D22:46
agaidanope22:47
tsimonq2What else do I have to bother with to get this working? :P22:47
agaidayou should ask yourself some other questions22:47
tsimonq2Like what?22:47
agaidaesp. why /usr/share is not in the XDG path22:47
tsimonq2It's in XDG_DATA_DIRS22:48
tsimonq2Got a Debian install handy to tell me what it's *supposed* to look like?22:48
agaidamight be some ubuntu specific thing that i don't know - % echo $XDG_CONFIG_DIRS22:48
agaida/etc:/etc/xdg:/usr/share22:48
agaidaand that are places where one could expect configurations22:49
tsimonq2$ echo $XDG_CONFIG_DIRS22:51
tsimonq2/etc/xdg/xdg-/usr/share/xsessions/lxqt:/etc/xdg22:51
tsimonq2Right, hm.22:51
agaidaso 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 work22:51
tsimonq2agaida: Got a link to the XDG spec I can ref in this packaging PR?22:52
agaidayou see the xdg- part - should be fixed to xdg-Lubuntu: or whatever22:52
tsimonq2Right, I know, that's the part I'm fixing :)22:52
tsimonq2But while I'm at it...22:52
agaidacan you please paste the 60x?22:53
agaidaon debian right now22:53
tsimonq2agaida: https://paste.ubuntu.com/=6ZgSxQg3HF/22:54
tsimonq2wxl: Ubuntu upgraded the pastebin service recently, I saw the discussion in #canonical-sysadmin ^^^^^^^^^22:54
wxlwowie22:55
tsimonq2wxl: Expirations and everything :D22:55
tsimonq2Anyways22:55
wxloh? how do you set all that?22:55
tsimonq2wxl: paste.ubuntu.com, it's all options22:55
wxlwho uses the browser to pastebin? :/22:55
tsimonq2I do22:55
wxllaaaaaaaaaaame22:56
tsimonq2XD22:56
wxlprobably a nano user too :/22:56
tsimonq2Nah I'm not THAT bad :P22:56
agaidabut i am22:56
tsimonq2bah :P22:56
tsimonq2ANYWAYS22:56
agaidavim is for wannabees22:56
tsimonq2agaida: Got a link to the XDG spec I can ref for The Right Thing here?22:56
wxlagaida: we already sensed there was something wrong with you22:56
tsimonq2lol22:57
wxlpastebinit doesn't support expirations at all harumph. they should make expirations default22:57
tsimonq2Agreed22:57
agaidarigth - i llike things that just work out of the box™ - thats why i run sid with my own repos22:57
agaidatsimonq2:  look at line 1122:58
tsimonq2agaida: yes?22:58
agaidathat's the part i don't understand22:59
tsimonq2https://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html23:00
tsimonq2"If $XDG_CONFIG_DIRS is either not set or empty, a value equal to /etc/xdg should be used."23:00
tsimonq2Ok, so it follows spec.23:00
agaidahrhrhr - ok, try it again :D23:00
agaidathe best thing is to start a lubuntu23:00
agaidaand then: echo "$XDG_CONFIG_DIRS"23:01
tsimonq2I'm... there?23:01
tsimonq2And yes.23:01
tsimonq2I know what the bug is.23:01
tsimonq2I'm fixing that.23:01
tsimonq2 echo "$XDG_CONFIG_DIRS"23:01
tsimonq2/etc/xdg/xdg-/usr/share/xsessions/lxqt:/etc/xdg23:01
tsimonq2The first part isn't right.23:01
tsimonq2The rest of it is.23:01
tsimonq2Because, that's spec.23:02
agaidayou are on lubuntu or next?23:02
tsimonq2Yes.23:02
tsimonq2:P23:02
agaidaok, it might be that i'm to fast23:04
tsimonq2Yeah 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
tsimonq2Otherwise, if LXQt doesn't do that upstream, then it's all as it should be.23:05
tsimonq2As spec says.23:05
tsimonq2:)23:05
agaidanope23:05
agaidawrong assumption23:05
tsimonq2Well, /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
tsimonq2Anyways, what's my wrong assumption here?23:06
agaidathe timing23:06
agaidawhen 60x is sourced that is before LXQt jumps in23:07
tsimonq2Right.23:07
agaidaand thats the problem23:07
tsimonq2...why is following spec in 60x a problem?23:08
tsimonq2Like 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
tsimonq2I mean, am I wrong here?23:08
agaidabecause if your pov would be right that would mean that ubuntu deliver crap for years  - and that is simply not the case23:08
tsimonq2...?23:08
agaidaif we aggree that 60x should create a meaningful path - that will mean also that there should be a place where some enviromental variables are set23:10
tsimonq2Right.23:10
tsimonq2I'm not talking about the bug at hand here.23:10
tsimonq2I'm asking why it's not OK to follow spec and only spec.23:10
lubot<julienlavergne> You realised that it's only a bug in sddm ? LXQt and Ubuntu are doing the things right currently23:10
tsimonq2@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
agaidanot exactly - but ok, i see the bug or glitch in sddm - and this glitch boils down to a qt bug23:11
tsimonq2Is sddm what gives 60x $DESKTOP_SESSION, @julienlavergne?23:12
tsimonq2Ah, right.23:12
tsimonq2I think so.23:12
lubot<julienlavergne> Look at the comment of the bug report23:13
tsimonq2Ahhh.23:13
tsimonq2Right.23:14
agaida/etc/xdg/xdg-/usr/share/xsessions/lxqt:/etc/xdg23:14
agaidaXDG_CONFIG_DIRS="$DEFAULT_XDG_CONFIG_DIRS"/xdg-"$DESKTOP_SESSION":"$XDG_CONFIG_DIRS"23:14
tsimonq2Right.23:14
lubot<julienlavergne> FYI I didn't see the bug because I'm using lightdm on my test machine23:14
tsimonq2$DESKTOP_SESSION should be set properly.23:14
tsimonq2I can see how this would be sddm...23:14
agaidaso the original XDG_CONFIG_DIRS= /etc/xdg - and thats a little bit - erm - to little23:15
tsimonq2No it isn't.23:15
tsimonq2It follows spec.23:15
tsimonq2So this isn't an xorg bug after all...23:15
agaidanope23:15
tsimonq2(Because it's done properly.)23:15
agaidait left out /usr/share - and /usr/share should be considered23:16
agaidabut ok, not my problem23:16
agaidait also left out /etc23:16
tsimonq2/usr/share is XDG_*DATA*_DIRS23:16
tsimonq2Well, that's what the spec says.23:16
agaidaok, you are right, all other distributions are wrong - solved23:16
tsimonq2In fact, someone should ask Debian why they deviate from the spec.23:16
tsimonq2:/23:17
tsimonq2If all other distributions were right, someone contact the XDG folks ffs.23:17
agaidatsimonq2: nope - debian does it right23:24
agaidahttps://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html#variables23:24
agaidaIf $XDG_CONFIG_DIRS is either not set or empty, a value equal to /etc/xdg should be used.23:25
agaidaso if they set it - it is just fine23:25
tsimonq2That's what I've been saying this whole time.23:25
tsimonq2Debian *isn't* right.23:25
agaidabut you understand the word 'if' in the sentence?23:25
tsimonq2I do.23:26
tsimonq260x sets it.23:26
tsimonq2It's empty before that.23:26
agaidaso - the set xdg_config_dirs and that is fine23:26
tsimonq2And if it isn't, it's set.23:26
tsimonq2RIGHT>23:26
tsimonq2:)23:26
agaidaand debian set it somehow to foo, bar and baz23:26
agaidalike in23:27
agaida2018-02-09  23:48:57 <agaida> /etc:/etc/xdg:/usr/share23:27
agaidaand this is exactly conform to the specs23:27
tsimonq2No it isn't.23:28
tsimonq2That should be /etc/xdg23:28
tsimonq2And only /etx/xdg23:28
tsimonq2*etc23:28
agaidahell no!23:28
agaidai cite: If $XDG_CONFIG_DIRS is either not set or empty - but it is set23:28
tsimonq2Set by what?23:29
agaidanot important - it is set23:29
tsimonq2Yeah it is23:29
tsimonq2Why is it set?23:29
tsimonq2And why does Debian set it and Ubuntu doesn't?23:29
agaidathe second part is important - if not set -- > only in that case --> use /etc/xdg or something equivalent23:29
tsimonq2Ohh.23:30
tsimonq2I catch your drift now.23:30
agaida:) - that is one of the last mysteries in the univere23:30
agaida:) - that is one of the last mysteries in the universe23:30
tsimonq2Now, I'll submit this to Ubuntu and let them deal with it.23:31
tsimonq2Not a super high priority.23:31
agaidano - and for you it is fine, because you don't want the fallbacks23:31
agaidabut you could copy them from /usr/share/lxqt/*conf and take them as a base for the lubuntu configs23:32
tsimonq2That's what we do already...23:32
agaidaand until the sddm/qt mess is solved i would simply add a file short before 60x :)23:34
tsimonq2I don't touch xorg unless I have to :23:34
tsimonq2*:P23:34
agaidawith some bash magic in - that fix the damn session - that was suggested in qt commercial if i remember rigth23:35
agaidaread the file, you have the path in DESKTOP_SESSION - and set DESKTOP_SESSION right- easy - as long sddm/qt is wrong23:36
tsimonq2Right, but they *shouldn't* set it that way.23:38
tsimonq2So while a fallback in xorg would be nice, it's ultimately unnecessary.23:39
agaidaand that is a known Qt problem - so sddm do this basically right, but Qt don't23:39
tsimonq2Nope.23:40
agaidahttps://bugreports.qt.io/browse/QTQAINFRA-122923:40
tsimonq2SDDM intentionally takes the full path and passes it.23:40
agaidadamn - read the code - they set, what Qt give to them23:40
tsimonq2Ah, except for this line:23:41
tsimonq2m_fileName = m_dir.absoluteFilePath(fileName);23:41
tsimonq2So you're wrong here :)23:41
agaidasrc/daemon/Display.cpp:        env.insert(QStringLiteral("DESKTOP_SESSION"), session.desktopSession());23:42
agaida^^23:42
tsimonq2Right, that line is from session.desktopSession()23:42
tsimonq2    QString Session::desktopSession() const23:43
tsimonq2    {23:43
tsimonq2        return fileName().replace(s_entryExtention, QString());23:43
tsimonq2    }23:43
tsimonq2    QString Session::fileName() const23:43
tsimonq2    {23:43
tsimonq2        return m_fileName;23:43
tsimonq2    }23:43
tsimonq2       m_fileName = m_dir.absoluteFilePath(fileName);23:43
tsimonq2See what I mean now, agaida?23:43
tsimonq2Oh, and:23:44
tsimonq2const QString s_entryExtention = QStringLiteral(".desktop");23:44
tsimonq2So it's SDDM.23:44
tsimonq2And that upstream bug you linked, ah, this goes full circle23:44
tsimonq2:P23:44
agaidaouch23:46
tsimonq2Yeah.23:46
tsimonq2So I think desktopSession() needs to be modified to return the relative path.23:47
tsimonq2Something like (rough, untested, right from my brain): return fileName().relativeFilePath.replace(s_entryExtention, QString());23:47
agaidanope - the whole usage of desktopSession is nuts in this place23:47
tsimonq2Oh?23:48
tsimonq2I do agree it needs an overhaul.23:48
tsimonq2But that's not my job. :D23:48
agaidals /usr/share/xsessions/*23:48
agaidai use mostly default.desktop- so my session would be default23:48
agaidacool23:49
agaidaand thats indeed the session that have an Exec=startlxqt :D23:49
agaidaso 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 one23:52
agaidaand thats fugly - to put it mild23:53
agaidaand only another wild guess - https://pb.5id.eu/8Q8S23:59

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