Redundant configuration files for LXDE

Bug #1030328 reported by Lars Noodén
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lubuntu-default-settings (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

When Lubuntu is installed redundant configuration files are put in for LXDE.

/etc/xdg/lubuntu/lxdm/lxdm.conf
/etc/lxdm/default.conf

default.conf is actually ignored in spite of the naming which suggests that it is actually the main configuration. Probably one of the files should be taken away. However it is decided, there should only be one.

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: lubuntu-default-settings 0.28
ProcVersionSignature: Ubuntu 3.5.0-6.6-powerpc-smp 3.5.0
Uname: Linux 3.5.0-6-powerpc-smp ppc
ApportVersion: 2.4-0ubuntu6
Architecture: powerpc
Date: Sat Jul 28 18:32:21 2012
InstallationMedia: Lubuntu 12.10 "Quantal Quetzal" - Alpha powerpc (20120727)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: lubuntu-default-settings
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.xdg.lubuntu.lxdm.lxdm.conf: [modified]
mtime.conffile..etc.xdg.lubuntu.lxdm.lxdm.conf: 2012-07-28T15:59:04.673027

Revision history for this message
Lars Noodén (larsnooden) wrote :
Revision history for this message
Lars Noodén (larsnooden) wrote :

There's a third file:

/etc/lightdm/lightdm.conf

If Lubuntu is now using lightdm, then if it is possible lxde and its files should be cleaned out of the way.

Revision history for this message
Jonathan Marsden (jmarsden) wrote :

At least for me, /etc/default/lxdm.conf is not a file, it is a symlink, pointing to /etc/alternatives/lxdm.conf -- which is itself a symlink that points to /etc/xdg/lubuntu/lxdm/lxdm.conf

So there is actually only one such configuration file. We're just using the alternatives system to manage it.

Checking which package creates this file may help understanding its purpose and origin:

  dpkg -S /etc/xdg/lubuntu/lxdm/lxdm.conf

outputs

  lubuntu-default-settings: /etc/xdg/lubuntu/lxdm/lxdm.conf

My suspicion is that leaving this file in that package could help ensure that users who decide to revert back to lxdm instead of lightdm, for whatever reason, get a default configuration that works well for Lubuntu. It is also possible this one configuration file is a leftover from when Lubuntu used lxdm by default and can now be removed.

Based on the value of XDG_CONFIG_DIRS, which for me on Lubuntu 12.04 is

  /etc/xdg/lubuntu/:/etc/xdg-Lubuntu:/etc/xdg

the file is in the right place for an Lubuntu-specific lxdm configuration file.

Revision history for this message
Julien Lavergne (gilir) wrote :

Those files are used to configure LXDM to be used by default on Lubuntu. I don't see any reason to remove them, since people may want to use LXDM instead of lighdm.

Changed in lubuntu-default-settings (Ubuntu):
status: New → Won't Fix
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.