Bug#1117382: gnome-session: XML files should open in a text editor by default, rather than in a web browser

Amr Ibrahim amribrahim1987 at hotmail.com
Sun Oct 5 16:03:25 BST 2025


Package: gnome-session
Version: 48.0-2
Severity: normal

Dear Maintainer,

By default, XML files should open in a text editor rather than a web browser.

This is particularly evident when editing a fontconfig .conf file, which
currently opens in a web browser. This is undesirable because web browsers are
read-only and do not allow editing.

Steps:
1. Right-click on an XML file (e.g. a fontconfig .conf file)
2. Select 'Open with…'
3. 'Standard App' is the default web browser (Firefox, if installed) ➜ not
desired
4. 'Recommended Apps' are Firefox and Chromium if both are installed ➜ not
desired

What should happen:
The 'Standard App' for an XML file should be the default text editor.
Alternatively, the 'Recommended Apps' list should include the default text
editor.

As both XML and HTML are markup languages, resolving this issue may be
challenging. Therefore, the next best option would be to enable users to open
XML files in their preferred text editor.

I am not sure which Debian package this bug should be assigned to. However,
please change it if necessary, as I don't believe it is GNOME-specific.

Best,
Amr


-- System Information:
Debian Release: forky/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'testing'), (90, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.16.9+deb14-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gnome-session depends on:
ii  adwaita-icon-theme        49.0-1
ii  fonts-cantarell           0.303.1-4
ii  gnome-session-bin         48.0-2
ii  gnome-session-common      48.0-2
ii  gnome-settings-daemon     48.1-2
ii  gnome-shell               48.5-2
ii  xdg-desktop-portal-gnome  49.0-1
ii  xwayland                  2:24.1.8-1

Versions of packages gnome-session recommends:
ii  gnome-session-xsession  48.0-2

Versions of packages gnome-session suggests:
ii  desktop-base   14.0.0~pre2
ii  gnome-keyring  48.0-4

-- no debconf information


More information about the pkg-gnome-maintainers mailing list