You are not logged in.

#21 2016-12-21 21:19:35

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: MIA: /etc/lightdm/lightdm.conf.bunsen-orig

^ +1

I think the final option is the most consistent with our general approach (if that make sense).

Offline

#22 2016-12-21 22:08:22

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Re: MIA: /etc/lightdm/lightdm.conf.bunsen-orig

Is that all? Just replacing ".dpkg-new" by "-orig" for those two files? I did that already, works fine here.

Offline

#23 2016-12-22 02:47:01

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,661
Website

Re: MIA: /etc/lightdm/lightdm.conf.bunsen-orig

damo wrote:

Are there any problems for the user if the files have been named incorrectly...?

Potentially, yes.

Right now those dpkg-new files are just backups, but if bunsen-configs is ever uninstalled they will be (or should have been) used to restore the original default lightdm.conf files. Because lightdm.conf.bunsen-orig doesn't exist, no lightdm.conf will be created.

If the user chooses Menu>System>Login Settings the text editor will open a blank file. In fact, that means the default settings will be applied, so the main problem for the user will be not having all those commented-out entries as a guide. (I think any new entries they add to an empty lightdm.conf will still work as long as all the syntax is right.)
The same applies for the lightdm-gtk-greeter files.

Why this has just come up is that, in applying xaos52's suggested improvement to bunsen-configs, the displacement of lightdm.conf will indeed be removed (the BL custom config will be done in /usr/share/lightdm/lightdm.conf.d instead), giving rise to the above issue.

@martix the renaming should be from *.dpkg-new to *.bunsen-orig and, as you noticed, it makes no difference to a standard BL setup at the moment. (It might be safer to copy the files, rather than rename; the old .dpkg-new files will do no harm.)

---

I've just tested again on a VM, and making a copy of *.dpkg-new as *.bunsen-orig does fix the issue when the diversion is removed. I'm starting to lean towards adding that hack to the preinst file of the new bunsen-configs so that the new setup will go in cleanly. Users won't have to do anything.
@damo and @HoaS I appreciate the philosopy there, but in this case we're just cleaning up our own mess. Most users wouldn't learn anything particulary useful from having to dive deep into the quirks of (a possibly old version of) dpkg, would they?

Last edited by johnraff (2016-12-22 02:53:09)


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#24 2016-12-22 07:14:49

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: MIA: /etc/lightdm/lightdm.conf.bunsen-orig

johnraff wrote:

I'm starting to lean towards adding that hack to the preinst file of the new bunsen-configs so that the new setup will go in cleanly. Users won't have to do anything.
@damo and @HoaS I appreciate the philosopy there, but in this case we're just cleaning up our own mess. Most users wouldn't learn anything particulary useful from having to dive deep into the quirks of (a possibly old version of) dpkg, would they?

Yes, good point, I agree with that plan.

Offline

#25 2016-12-22 13:51:19

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Re: MIA: /etc/lightdm/lightdm.conf.bunsen-orig

@johnraff Oh, forgot ".bunsen", so it's to ".bunsen-orig". Thank you for the correction.

Offline

#26 2017-01-09 04:02:26

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,661
Website

Re: MIA: /etc/lightdm/lightdm.conf.bunsen-orig

OK the fix is finally pushed to bunsen-configs deuterium so as soon as that version is released, and people upgrade, their /etc/lightdm directories should be OK. (There will be some unused file copies hanging around, which I didn't remove, just to be on the safe side.)

I've also written a hook which will fix the next iso release.

It does seem to be a strange dpkg bug, and it would be nice to stop it happening in the first place, but I'll leave that for later...


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

Board footer

Powered by FluxBB