From 4184b60d672538b4978172ed3bb2fed7c41b81d8 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 16 Sep 2010 22:06:56 +0000 Subject: Silence xmodmap errors git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1176188 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kxkb/extension.cpp | 4 ++-- 1 file 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); -- cgit v1.2.1