Remove outdated kfmclient use#121
Conversation
kfmclient will open all links in konquerer as the browser, ignoring any choices made in KDE settings' Default Application. This causes URL opening to not follow the expected behavior of respecting user set default application. Searching for kfmclient leads me to believe this is no longer a used tool with KDE: https://techbase.kde.org/Development/Tools/Using_kfmclient If I understand this correctly, the replacement had been to use `kioclient exec` instead of `kfmclient openURL`. Trying this change the script works as intended in testing and opens the correct default browser atleast for me. But I believe that methods like xdg-open will cover more cases and is the more modern approach. So I would propose to skip the special check for KDE entirely.
|
Hiya, thanks for this. |
|
I honestly can't say for sure. I have had no working external browser with firestorm for 2 years and reported the issue several times. I believe Firestorm developers are all using Gnome so always reported 'it works on my system' in response. I have switched to Alchemy and that has been my solution. So while I have no clear reference to cite to tell you when this script might have worked as intended, I can say with confidence it has not worked in 2 years for KDE systems. |
|
https://github.com/KDE/kde-baseapps/blob/master/konqueror/client/kfmclient.cpp The kfmclient code itself states: and googling KDE4 states it was released in 2008. I am not sure if using |
|
the alternative solution would be to change the KDE entry into: let me know if you prefer me to commit this solution instead |
kfmclient will open all links in konquerer as the browser, ignoring any choices made in KDE settings' Default Application. This causes URL opening to not follow the expected behavior of respecting user set default application.
Searching for kfmclient leads me to believe this is no longer a used tool with KDE: https://techbase.kde.org/Development/Tools/Using_kfmclient If I understand this correctly, the replacement had been to use
kioclient execinstead ofkfmclient openURL. Trying this change the script works as intended in testing and opens the correct default browser atleast for me. But I believe that methods like xdg-open will cover more cases and is the more modern approach. So I would propose to skip the special check for KDE entirely.