-
Notifications
You must be signed in to change notification settings - Fork 5.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Opening links does not use XDG/Debian default browser (Linux) #9825
Comments
If Telegram doesn't open the right browser for you, that means that your defaults are misconfured and Telegram won't be the only application that opens wrong browser, since a lot of applications (mostly GTK ones) use the same way that uses Telegram. |
Vague statements such as "your defaults are misconfigured," especially when I display several correctly configured defaults in my problem description and show three different programs that do open the correct browser, aren't too helpful. Fortunately, you did perhaps inadvertantly drop a clue as to what you guys are doing to open a browser when you mentioned GTK applications. Like everything else so far except Telegram,
So it seems to be some sort of user setting. I don't use the Gnome desktop, but looking through the output of
So where are you and |
So, some mucking about seems to indicate that you and
Running the following fixed the problem for both
I'm not clear on what's going on with this, and particularly what's up with the difference between |
tdesktop uses g_app_info_launch_default_for_uri, like most applications on Linux |
Ah, that helps a lot. It's now clear what changed and when: before commit 41e0e4f tdesktop was running It's still a mystery to me what's up with the difference between |
xdg-open is a poorly maintained shell script that incolmpatible with the XDG spec in some places and has stupid mimeopen shell/perl code for WM only environment |
Oh, well that explains it, then. I now know not to rely on that for testing my XDG configuration. Thanks! |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I'm using Debian 9 (fully up to date), a custom fvwm (window manager) configuration with a few XFCE programs, and the Telegram desktop client from the official website, version 2.4.7.
Until some recent update, clicking on a link in Telegram opened a new tab in my XDG/Debian default web browser,
google-chrome-stable
. This behaviour has since changed (I'm not sure when, but no more than three months ago at the outside) and Telegram now startschromium
. All ofsensible-browser
,xdg-open
andx-www-browser
are still opening links usinggoogle-chrome-stable
.Removing the
chromium
package is a workaround; Telegram then starts opening links ingoogle-chrome-stable
.It appears that some of the commenters (but not the original poster) in issue #8982 may be experiencing this issue as well.
The text was updated successfully, but these errors were encountered: