wrong order of session scripts

Bug #1882352 reported by Hadmut Danisch
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lubuntu-default-settings (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I'm currently trying to workaround some Lubuntu 20.04 bugs, i.e. to kill that silly update notifier that pops up hourly and thus destroys every video related work (e.g. giving talks, producing videos) and to change the environment variable

SAL_USE_VCLPLUGIN=qt5

because it breaks LibreOffice.

The place of choice to do that without modifying the system itself would be the ~/.xsessionrc or the ~/.profile, because that's the place (especially xsessionrc) to do such user specific work.

Unfortunately both don't work because the environment variable is set and the notifier daemon is run *after* ~/.xsessionrc and ~/.profile.

That's broken by design.

Lubuntu enforces bugs and does not even allow to fix/workaround them.

xsessionrc must be able to override the default settings. Otherwise they are not 'defaults' and the package name 'lubuntu-default-settings' is just wrong.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: lubuntu-default-settings 20.04.4
ProcVersionSignature: Ubuntu 5.4.0-33.37-generic 5.4.34
Uname: Linux 5.4.0-33-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.2
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: LXQt
Date: Sat Jun 6 13:08:21 2020
InstallationDate: Installed on 2020-05-27 (10 days ago)
InstallationMedia: Lubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
PackageArchitecture: all
SourcePackage: lubuntu-default-settings
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Hadmut Danisch (hadmut) wrote :
Revision history for this message
ԜаӀtеr Ⅼарсһуnѕkі (wxl) wrote :

AFAIK the default behavior when starting X is to read .xsessionrc and then start the session. That ALWAYS means that anything in the session environment (as is this case) that conflicts with .xsessionrc is going to take precedence. This is true in Debian as much as it is in Ubuntu and I'm sure much more beyond that. tl;dr this is expected behavior.

Go into LXQt Session Settings in the Environment pane and change the variable there. Or remove it and set it in .xsessionrc.

Changed in lubuntu-default-settings (Ubuntu):
status: New → Won't Fix
status: Won't Fix → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.