Bug 7856 - Incorrectly uses XDG_DATA_HOME for cfg_home leads to wrong placement of applications.menu
Summary: Incorrectly uses XDG_DATA_HOME for cfg_home leads to wrong placement of appli...
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: TLDC (Desktop Customizer) (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: LowPrio
Assignee: Bugzilla mail exporter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-09 14:00 CET by Martin Östlund
Modified: 2022-03-15 12:41 CET (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description Martin Östlund cendio 2022-03-09 14:00:45 CET
We incorrectly try to use XDG_DATA_HOME to figure where to write the menu file. 

If XDG_DATA_HOME is set, we use whatever value it has as output dir to write applications.menu to.

Correct variable should be XDG_CONFIG_HOME.

Note, if XDG_DATA_HOME is unset, we default to $HOME/.config which is correct default behaviour.

Note You need to log in before you can comment on or make changes to this bug.