 Hi guys, welcome back to my YouTube channel, so just a quick video here just to pass on some of the help I received on the Ask Ubuntu forums, which are a terrific place to get help if you run into any difficulties with your Linux distribution. So this is a bug that actually has been, I've just kind of been putting up with for a long time and not really kind of thinking about if there's a way to resolve it. And I finally asked yesterday what the deal was. So basically XDGOpen calling that command in your terminal will run, execute, anything, whatever follows this using your default application. So you have various DUIs that set that. Now the problem was when I was trying to run basically anything, this was affecting zoom, this was affecting any program that would call a URL because the default way to put that intraprogram is to put the XDGOpen followed by the URL path. And let's just see if it's working now to make sure it is indeed working. So that's opened nicely on my second monitor over here. So I'm just going to show you basically how to fix this if you're struggling with it. And this isn't my fix. I was a questioner here on askubuntu.com and I got this kind resolution here from Mr. Doug. So thank you Doug. Basically this is due to, this is just the bug report on the Debian bug logs. This is the actual fix. It's on a free desktop.org.gitlab.freedesktop.org. And it's this commit that was committed to this repository one year ago by this gentleman Rex Dieter. And obviously it's just being integrated into Ubuntu now. And this is an LXDE specific bug. I know that not a huge amount of people are still with LXDE. But if you are, I've been using it for so many years. It's kind of hard for me to go back, even though it's not even the official desktop environment of the Labuntu project anymore. But if you do still like LXDE and you don't want to upgrade to 20.04 just to fix this, you can just apply this patch. So basically this is, these are the changes in the commit. This is you can add these two lines to the change log. But the actual fix is here. So this is the path you need to fix. User bin xdgopen, that's the default config file for xdgopen. So you need to open this as root. So I'm using the Atom IDE and I'm just prepending sudo to run Atom with sudo permissions and this is the file here. This is the xdgopen file controlling all the behavior of it. And basically I can't demonstrate the bug because it takes a restart to apply the fix. But basically I would do like xdgopen linux.org, let's just say. And instead of opening, it would say there's an error and it would fail. It might seem like such a big deal, but again, as I said, using Slack or Zoom was basically impossible with this because all those URLs, and I would just have to copy and paste each URL into a browser. So that was not a lot of fun. So basically for some reason my line error here did not correspond to the line errors, but this is actually a script. But all I did was just run a quick start. So you can see all this actually involves, if you inspect this, is I'm just going to zoom into the actual fix. It's just changing one line here. You see ifpcmanfm, I was a bit surprised. I don't quite understand why this works across the board in the terminal, because pcmanfm is the file manager, but it does. I can confirm it's fixed it. So basically all that's changing here is you're taking this minus a in this if line here, and you're changing it to two ampers stands together. And that is the fix in its entirety. So I'm just going to copy this into Adam. Make this feel screen here for a second. Search for it. Sorry, it's not going to find it because I've already fixed it. So let's just go like this. Sorry, my brain is asleep. That was the fix. Maybe I just need to do this again. There we go. So mine came up on line 931. I guess that's the position in the actual XDG open file, as opposed to in the script. So you just go here and basically this was minus a. And just change that was to ampers stands. And save the file and restart your computer. And XDG open will be working. Or you can, of course, upgrade to 20.04. Or you can simply use this patch and keep your current distro. Thanks for watching the video.