My email button on my keyboard didn’t work. It has never worked. I decided to make the keyboard email button open Thunderbird.
This is done in Lubuntu 18.04, but I presume it’s going to work in any Linux that uses OpenBox. It should also work with any ‘standard’ keyboard that has a dedicated email button. First, you should set Thunderbird (or whatever client) as the default email handler. I’m sure this will work with any Linux email client.
Try as I might, the “Setup Hot Keys” GUI method would not take. You’re really not supposed to edit the XML file that stores OpenBox configs. In fact, there’s a rather explicit warning stating that you should not do this.
Depending on your distro, your OpenBox config may be called something else. In Lubuntu 18.04 it is in ~/.config/openbox/lubuntu-rc.xml – so use that as a guide to find your own.
Then, make a backup of the file and open it up with a plain text editor and add this:[code]]czo0MTpcIiZsdDshLS0gS2V5YmluZGluZyBmb3IgZW1haWwgYnV0dG9uLS0mZ3Q7XCI7e1smKiZdfQ==[[/code] [code]]czozMDpcIiZsdDtrZXliaW5kIGtleT1cIlhGODZNYWlsXCImZ3Q7XCI7e1smKiZdfQ==[[/code] [code]]czoyOTpcIiZsdDthY3Rpb24gbmFtZT1cIkV4ZWN1dGVcIiZndDtcIjt7WyYqJl19[[/code] [code]]czo1NDpcIiZsdDtjb21tYW5kJmd0O2x4c2Vzc2lvbi1kZWZhdWx0IGVtYWlsJmx0Oy9jb21tYW5kJmd0O1wiO3tbJiomXX0=[[/code] [code]]czoxNTpcIiZsdDsvYWN0aW9uJmd0O1wiO3tbJiomXX0=[[/code] [code]]czoxNjpcIiZsdDsva2V5YmluZCZndDtcIjt7WyYqJl19[[/code]
Save the file, overwriting the original, logout and login again, now test it. I doubt it really matters where you put it in the file, but I tucked it in with the other keybindings. That will open your default email client. In my case, that is Thunderbird. Whatever you’ve registered as the default email client is what will open.