Skip to content

Setting XDG_CURRENT_DESKTOP in ~/.profile no longer works, breaking applications that depend on it #10644

@DemiMarie

Description

@DemiMarie

Qubes OS release

Qubes OS 4.3

Brief summary

If I set XDG_CURRENT_DESKTOP in ~/.profile, it gets overwritten.

Steps to reproduce

  1. export XDG_CURRENT_DESKTOP=GNOME in ~/.profile.
  2. Run an application that depends on its value.

Expected behavior

The application runs with XDG_CURRENT_DESKTOP=GNOME in its environment.

Actual behavior

The application runs with XDG_CURRENT_DESKTOP=XFCE in its environment.

Additional information

This may seem like a strange need, but Google Chrome only picks up proxy settings from GSettings if XDG_CURRENT_DESKTOP is set to GNOME. Therefore, this broke my SOCKS5 proxy settings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C: otherNo other component ("C:") label applies to this issue, or the appropriate label is not yet known.P: defaultPriority: default. Default priority for new issues, to be replaced given sufficient information.affects-4.3This issue affects Qubes OS 4.3.needs diagnosisRequires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions