summarylogtreecommitdiffstats
path: root/nxmc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'nxmc.sh')
-rwxr-xr-xnxmc.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/nxmc.sh b/nxmc.sh
new file mode 100755
index 000000000000..eda67a84cde2
--- /dev/null
+++ b/nxmc.sh
@@ -0,0 +1,10 @@
+#!/usr/bin/env sh
+
+# We should disable UBUNTU_MENUPROXY for KDE because KDE's global menu lagging
+# with nxmc's menu.
+
+if [ "${XDG_CURRENT_DESKTOP/KDE//}" != "${XDG_CURRENT_DESKTOP}" ]; then
+ export UBUNTU_MENUPROXY=
+fi
+
+/opt/nxmc/nxmc $@