Picking lxde did not work for me! In xdg-open, the helper function open_lxde relies on pcmanfm (lxde file manager) and something is wrong with either the code in open_lxde or perhaps it's pcmanfm's fault. Warning: The choice in the last step is more important than it might seem. Part of the EA Originals program, the game was released for Microsoft Windows, Nintendo Switch, PlayStation 4, PlayStation 5, Xbox One and Xbox Series X/S in September 2021. The Arch wiki suggests another approach that avoids this flaw (but has its own downside). Lost in Random is an action-adventure video game developed by Zoink and published by Electronic Arts. The downside to this approach is that if xdg-open gets updates, you'll have to redo this. I chose xfce since I actually have an Xfce session that I've configured and use on occasion. ![]() At the end of the file, you'll find a portion that starts with: detectDEĬhange generic to one of gnome, kde, xfce, or lxde. As suggested on the Arch wiki, you can simply modify /usr/bin/xdg-open. If you are not, xdg-open will not work on magnet links. ( Step not necessary if you use Gnome, KDE, Xfce, or LXDE) Lastly, xdg-open assumes you are running one of the standard desktop environments: gnome, kde, xfce and lxde. In the terminal, type: xdg-mime default sktop x-scheme-handler/magnet Now for the essential step to tell xdg-open to open magnet links using Transmission. MimeType=application/x-bittorrent x-scheme-handler/magnet So you can check that /usr/share/applications/sktop contains the lines: Exec=transmission-gtk %U It's possible the desktop file is messed up. It (like usual) has its desktop file in /usr/share/applications/ and in fact, by perusing the listing of the directory, I find that my version of transmission is actually the gtk version, so its desktop file is called sktop. Let's suppose the program is Transmission. ![]() There are a couple things that you need to do before xdg-open will handle magnet links properly.įind the name of the desktop file of the program you want to handle the magnet link. Firefox basically keeps track of all that itself, which is why you can configure protocol handling (like magnet links) in the Applications part of the Preferences. Chrome (or Chromium) protocol handling works differently than in Firefox.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |