From 0c5e3c36fae9beb3124851977b289779f65451dd Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 16 Sep 2010 21:59:35 +0000 Subject: * Remove Ubuntu specific code * Change default launch feedback to KDE3.5.10 style git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1176186 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdesktop/klaunch.kcfg | 4 ++-- kxkb/extension.cpp | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/kdesktop/klaunch.kcfg b/kdesktop/klaunch.kcfg index 29418f827..8f7800e92 100644 --- a/kdesktop/klaunch.kcfg +++ b/kdesktop/klaunch.kcfg @@ -22,7 +22,7 @@ - true + false @@ -31,7 +31,7 @@ - true + false 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); } -- cgit v1.2.1