Skip to content

Make location of .xsession-errors configurable #95

Description

@dorsiflexion

LightDM always uses $HOME/.xsession-errors as the log file because it is harcoded. There are several possible reasons for someone to define another location, for example to write it into the RAM or to just have a tidier $HOME-folder.

$HOME just isn't the right place for the file. $XDG_RUNTIME_DIR (that's /run/user/$UID with systemd) or $XDG_CACHE_HOME (= $HOME/.cache) $XDG_STATE_HOME, which defaults to $HOME/.local/state is much more suitable.

Currently there is no way around this one path. So please make it configurable. I could live with a hardcoded path, too, if it was the aforementioned plus an xorg subfolder.

Edit 2023-06-06: Updated to $XDG_STATE_HOME.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions