summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-16 22:06:56 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-16 22:06:56 +0000
commit4184b60d672538b4978172ed3bb2fed7c41b81d8 (patch)
tree832ee64ad094e36abbd208b5a2cde99603a01efa
parent0c5e3c36fae9beb3124851977b289779f65451dd (diff)
downloadtdebase-4184b60d672538b4978172ed3bb2fed7c41b81d8.tar.gz
tdebase-4184b60d672538b4978172ed3bb2fed7c41b81d8.zip
Silence xmodmap errors
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1176188 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-rw-r--r--kxkb/extension.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kxkb/extension.cpp b/kxkb/extension.cpp
index e9c72728f..6946ab54f 100644
--- a/kxkb/extension.cpp
+++ b/kxkb/extension.cpp
@@ -181,11 +181,11 @@ bool XKBExtension::setLayoutInternal(const TQString& model,
// reload system-wide hotkey-setup keycode -> keysym maps
KProcess pXmodmap;
- pXmodmap << "xmodmap" << "/opt/trinity/share/apps/kxkb/system.xmodmap";
+ pXmodmap << "xmodmap" << "/opt/trinity/share/apps/kxkb/system.xmodmap &> /dev/null";
pXmodmap.start(KProcess::Block);
KProcess pXmodmapHome;
- pXmodmapHome << "xmodmap" << TQDir::home().path() + "/.Xmodmap";
+ pXmodmapHome << "xmodmap" << TQDir::home().path() + "/.Xmodmap &> /dev/null";
pXmodmapHome.start(KProcess::Block);
return p.normalExit() && (p.exitStatus() == 0);