
Comment #18 on issue 317 by daniel.schoepe: Implement a working X.U.putSelection http://code.google.com/p/xmonad/issues/detail?id=317 This works for me(you need to darcs pull again since I noticed X.Prompt lacked set/getInput): putSelection str = spawn $ "echo \"" ++ concatMap escape str ++ "\" | xclip" where escape x | x `elem` "$;&|\"'\\" = "\\" ++ [x] | otherwise = [x] .. promptKeymap = M.fromList [((controlMask,xK_c), getInput >>= liftIO . putSelection)] `M.union` promptKeymap defaultXPConfig -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings