This bug was fixed in the package xdg-utils - 1.1.3-4.1ubuntu1.22.04.1
---
xdg-utils (1.1.3-4.1ubuntu1.22.04.1) jammy; urgency=medium
* Cherry-pick an upstream merge request to remove bashisms from xdg-settings
(LP: #1970594)
- debian/source/options
-
** Changed in: xdg-utils
Status: Unknown => New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1970594
Title:
"xdg-settings check default-web-browser something.desktop" fails in
Kubuntu
I've updated the PR with a fix for this ugly message
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1970594
Title:
"xdg-settings check default-web-browser something.desktop" fails in
Kubuntu
Reported the "unexpected operator" error here:
https://gitlab.freedesktop.org/xdg/xdg-
utils/-/merge_requests/52#note_1389020.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1970594
Title:
Successfully tested by doing the following:
In a fully up-to-date jammy VM:
$ sudo apt -y install libkf5config-bin
$ export XDG_CURRENT_DESKTOP=KDE
$ export KDE_SESSION_VERSION=5
$ xdg-settings get default-web-browser
firefox.desktop
$ xdg-settings check
Hello Olivier, or anyone else affected,
Accepted xdg-utils into jammy-proposed. The package will build now and
be available at https://launchpad.net/ubuntu/+source/xdg-
utils/1.1.3-4.1ubuntu1.22.04.1 in a few hours, and then in the -proposed
repository.
Please help us by testing this new
** Description changed:
+ [Impact]
+
+ The firefox snap (default in 22.04) will always report that it thinks
+ it's not the default browser (even when it actually is) for KDE users
+ (this can be seen when browsing to about:preferences).
+
+ This is caused by an upstream bug in xdg-utils (using
** Changed in: xdg-utils (Ubuntu Jammy)
Status: Confirmed => In Progress
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1970594
Title:
"xdg-settings check default-web-browser
** Also affects: xdg-utils (Ubuntu Jammy)
Importance: Undecided
Status: New
** Changed in: xdg-utils (Ubuntu Jammy)
Status: New => Confirmed
** Changed in: xdg-utils (Ubuntu Jammy)
Assignee: (unassigned) => Olivier Tilloy (osomon)
** Changed in: xdg-utils (Ubuntu Jammy)
This bug was fixed in the package xdg-utils - 1.1.3-4.1ubuntu2
---
xdg-utils (1.1.3-4.1ubuntu2) kinetic; urgency=medium
* Cherry-pick an upstream merge request to remove bashisms from xdg-settings
(LP: #1970594)
- debian/source/options
-
** Changed in: xdg-utils (Ubuntu)
Assignee: (unassigned) => Olivier Tilloy (osomon)
** Changed in: xdg-utils (Ubuntu)
Status: Confirmed => In Progress
** Changed in: xdg-utils (Ubuntu)
Importance: Undecided => Medium
--
You received this bug notification because you are a member
** Also affects: xdg-utils via
https://gitlab.freedesktop.org/xdg/xdg-utils/-/issues/10
Importance: Unknown
Status: Unknown
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1970594
Title:
It turns out it's a known issue: https://gitlab.freedesktop.org/xdg/xdg-
utils/-/issues/10.
** No longer affects: kubuntu-meta (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1970594
Title:
Those are good points. I'm a bit baffled that this was not noticed by
other users of xdg-settings earlier. Maybe KDE users don't usually rely
on it? I'll file an upstream bug.
** Bug watch added: gitlab.freedesktop.org/xdg/xdg-utils/-/issues #10
Why in stock Ubuntu and not Kubuntu, I think is because the offending
code is inside functions that are named as though only KDE is supposed
to use them. For example, the default browser break is inside a function
named `check_browser_kde()`. There might be some logic to determine that
your stock
I suppose that would work (although I haven't actually tested to
confirm, but it looks correct and I'm trusting your shell-fu). The real
questions are:
* why is this working in stock Ubuntu (where /bin/sh is also a symlink
to dash) and not in Kubuntu?
* why does the upstream project declare
There is also a similar statement that needs fixing for DASH on line
1090:
if [ x"!" == x"${binary:0:1}" ]; then
** Changed in: xdg-utils (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
Can you try replacing the line with:
if [ x"!" == x"$(printf %.1s "$browser")" ]; then
and reverting back to dash? I think this might work in most posix
shells, without requiring to move to bash.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed
18 matches
Mail list logo