summaryrefslogtreecommitdiffstats
path: root/kxkb/extension.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kxkb/extension.cpp')
-rw-r--r--kxkb/extension.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kxkb/extension.cpp b/kxkb/extension.cpp
index 5e9d58ea3..e9c72728f 100644
--- a/kxkb/extension.cpp
+++ b/kxkb/extension.cpp
@@ -179,14 +179,14 @@ bool XKBExtension::setLayoutInternal(const TQString& model,
p.start(KProcess::Block);
- // reload ubuntu hotkey-setup keycode -> keysym maps
+ // reload system-wide hotkey-setup keycode -> keysym maps
KProcess pXmodmap;
- pXmodmap << "/usr/bin/xmodmap" << "/usr/share/apps/kxkb/ubuntu.xmodmap";
+ pXmodmap << "xmodmap" << "/opt/trinity/share/apps/kxkb/system.xmodmap";
pXmodmap.start(KProcess::Block);
KProcess pXmodmapHome;
- pXmodmapHome << "/usr/bin/xmodmap" << TQDir::home().path() + "/.Xmodmap";
- pXmodmapHome.start(KProcess::Block);
+ pXmodmapHome << "xmodmap" << TQDir::home().path() + "/.Xmodmap";
+ pXmodmapHome.start(KProcess::Block);
return p.normalExit() && (p.exitStatus() == 0);
}