wrong order of session scripts
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_
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-
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: lubuntu-
ProcVersionSign
Uname: Linux 5.4.0-33-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.2
Architecture: amd64
CasperMD5CheckR
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)
PackageArchitec
SourcePackage: lubuntu-
UpgradeStatus: No upgrade log present (probably fresh install)
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.