Telegram on Linux: Solution to correct error when opening links

Telegram on Linux: Solution to correct error when opening links

Telegram on Linux: Solution to correct error when opening links

By many positive and favorable reasons which we will not mention today, but which will surely be worth mentioning in a separate article about the cross-platform instant messaging application called Telegram, we can affirm without fear of being wrong that Telegram is preferred by many Linux users, compared to similar ones like WhatsApp.

For this reason, many times, people, teams and communities related to the World of Free Software, Open Source and GNU/Linux, create their Groups and Channels to promote, disseminate and share your news, updates, content and other important things from there. And as in any GNU/Linux application, the ideal is to be able to click on any link/file, and see how it opens or runs directly on the corresponding or preferred app of our Distribution. But, when this does not usually happen, we must know how to correct it. Therefore, this little quick guide today to learn how to solve when Telegram on Linux does not open "HTTP/HTTPS" links directly on our favorite browser.

about install telegram on ubuntu 20.04

But, before starting this article «Telegram on Linux», we recommend you explore the previous related postWhen you finish reading this:

about install telegram on ubuntu 20.04
Related article:
Telegram, how to install this messaging client on Ubuntu 20.04

Telegram on Linux: How to fix error when opening HTTP/HTTPS links?

Telegram on Linux: How to fix error when opening HTTP/HTTPS links?

Steps to correct error when opening "HTTP/HTTPS" links in Telegram on Linux

Getting straight to the point, if ever, for example, you are on Telegram and you click on a web link, that is, a link that begins with the usual abbreviations "HTTP or HTTPS" and you see the software store of your GNU/Linux Distribution or another similar application/window informing you that There is no associated application to open that file format, as seen in the image immediately above, then these are the steps to follow to solve it:

  • We execute the terminal (console) of our GNU/Linux Distribution.

Screenshot 1

  • We edit the mimeapps.list file of our local user configuration with our preferred CLI file editor.

Screenshot 2

  • We insert at the end of it the following lines of text:
x-scheme-handler/http=firefox.desktop x-scheme-handler/https=firefox.desktop
  • And then we save the changes and exit editing the file.

Note: We have used firefox.desktop, but it could be “YourFavoriteBrowser.desktop”.

Screenshot 3

Screenshot 4

  • Next and to finish, we return to click on any web link (HTTP/HTTPS) within Telegram to check that we have resolved the problem.

Screenshot 5

If you want to know more about MIME Types and their use in GNU/Linux Distributions, we recommend you start by exploring the following official links: Debian, Ubuntu y Arch.

Related article:
Five ways to use Telegram on your Ubuntu PC

Abstract banner for post


In summary, «Telegram on Linux» It is undoubtedly a better option for an instant messaging application than WhatsApp, and others like it. Therefore, we must not only know how to use it well, but also know how to correct the errors that may arise when using it on GNU/Linux. So, I hope this small quick guide may be useful to many, in case of presenting this error or a similar one with any type of links/files/applications.

Finally, remember to share this useful information with others, as well as visit the beginning of our «site" in Spanish. Or, in any other language (just by adding 2 letters to the end of our current URL, for example: ar, de, en, fr, ja, pt and ru, among many others) to learn more current content. And also, you can join our official channel Telegram to explore more news, tutorials and Linux updates. West group, for more information on today's topic.

Leave a Comment

Your email address will not be published. Required fields are marked with *



  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.