If Beyond Compare is used on KDE 5, the following error is printed to stderr:
This happens because the script /opt/beyondcompare/lib/kde_context_menu.sh tests for KDE 4, and if the KDE version is not 4, is assumes the only alternative is 3. If fixed this by changing line 65 from
to
as KDE 5 still uses a lot of KDE 4 applications, so this should work. At least it works better than assuming KDE 3.
Maybe the script can be adapted to more modern desktop environments for BC 4.1.
Code:
/opt/beyondcompare/lib//kde_context_menu: line 160: /home/xxxxxx/.kde/share/apps/konqueror/servicemenus/beyondcompare_selectfile.desktop: No such file or directory /opt/beyondcompare/lib//kde_context_menu: line 177: /home/xxxxxx/.kde/share/apps/konqueror/servicemenus/beyondcompare_selectdir.desktop: No such file or directory
Code:
if [ "$KDE_SESSION_VERSION" = "4" ]; then
Code:
if [ "$KDE_SESSION_VERSION" -ge "4" ]; then
Maybe the script can be adapted to more modern desktop environments for BC 4.1.
Comment