https://bugs.kde.org/show_bug.cgi?id=382764
Bug ID: 382764 Summary: Save and restore environment variables per application Product: ksmserver Version: 5.10.3 Platform: Other OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: general Assignee: l.lu...@kde.org Reporter: psychon...@nothingisreal.com Target Milestone: --- I sometimes launch applications using different language environment variables, either because I prefer to use that application in a different language from my global defaults, or because I am trying to work around KDE/Qt's lack of support for custom date formats (see the much-hated Bug 340982). For example, I always launch Thunderbird with LC_TIME=en_DK so that it shows me YYYY-MM-DD dates in my message list. Unfortunately, ksmserver doesn't seem to remember the language environment for these applications when I save the session. (This problem occurs regardless whether the application was launched from a desktop shortcut or from a shell script that manually sets the environment variable(s).) For example, when I log out of KDE and log back in again, Thunderbird gets restored, but it formats the dates according to the system default locale rather than en_DK. It would be useful if ksmserver could somehow recognize when applications are launched with special environment variables, and re-set these variables when restoring the session. I realize that this may be difficult or impossible to do in the general case, but maybe it is possible at least for applications launched via a standard desktop/menu shortcut. -- You are receiving this mail because: You are watching all bug changes.