Hi Andrew,

On Sat, 9 May 2026 15:54:31 +0200
Andrew Lee <[email protected]> wrote:

> On Sat, May 9, 2026 at 7:55 AM Bryan Gardiner <[email protected]> wrote:
> > It would be nice if the panel started with widgets even without
> > lxqt-branding-debian, but I understand if you consider this a corner
> > case.  Maybe Debian's lxqt-panel could continue to install it under
> > /usr/share/lxqt, if lxqt-branding-debian is more important?
> >
> > [1] https://github.com/lxqt/lxqt-panel/issues/2175
> 
> Thanks for the info. I hope you assumaion is correct that panel.conf
> from lxqt-branding-debian under /etc is higher prioity than panel.conf
> from /usr/share/lxqt. And we can satisfy both cases.

According to the docs for QSettings, this should be how it works.
First ~/.config is checked, then each directory in XDG_CONFIG_DIRS.
LXQt sessions set that variable to "/etc:/etc/xdg:/usr/share".  And if
that variable is unset, Qt defaults it to /etc/xdg.

> Feel free to submit patches or Merge Request via salsa. I will test
> them and make upload to fix these shortly.

Thanks, I would be happy to open a MR.  Before I do though, if we
revert to installing under /usr/share/lxqt, that will leave the
upstream bug #2175 above unfixed, so without lxqt-branding-debian
installed, non-LXQt sessions will default to empty panels.  I
confirmed that this happens with an Openbox session when the panel
config is only in /usr/share/lxqt and not /etc/xdg/lxqt.  LXQt
probably can't (and shouldn't) force XDG_CONFIG_DIRS into other
sessions.

One option that respects #2175 might be to have an alternate "stock"
branding package that provides the default panel.conf (and I assume
this is all that would need to be in there at the moment), and give
lxqt-panel "Depends: lxqt-branding" or some variant on that.

Or maybe there's some other way.  But it feels like lxqt-panel depends
on *some* panel.conf existing now.  How should we proceed?

Thanks,
Bryan

Reply via email to