Hammer icon indicating copy to clipboard operation
Hammer copied to clipboard

Linux requires `xsel` to be installed for copy to work

Open vadi2 opened this issue 3 years ago • 0 comments

Exception has occurred: CLR/System.Exception
Exception thrown: 'System.Exception' in System.Private.CoreLib.dll: 'Could not execute process. Command line: bash -c "cat /tmp/tmpzca4em.tmp | xsel -i --clipboard ".
Output: 

Error: bash: xsel: command not found
cat: write error: Broken pipe'
   at BashRunner.Run(String commandLine) in /_/src/TextCopy/BashRunner.cs:line 44
   at LinuxClipboard.<SetTextAsync>d__0.MoveNext() in /_/src/TextCopy/LinuxClipboard_2.1.cs:line 19
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
   at Program.AppModel.<copyToClipboard>d__93.MoveNext() in /media/vadi/SSDer/Programs/Hammer/Program.cs:line 587

vadi2 avatar May 09 '21 12:05 vadi2