
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.
But, before starting this article «Telegram on Linux», we recommend you explore the previous related postWhen you finish reading this:
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.
- We edit the mimeapps.list file of our local user configuration with our preferred CLI file editor.
- 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”.
- Next and to finish, we return to click on any web link (HTTP/HTTPS) within Telegram to check that we have resolved the problem.
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.
Summary
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.