Howdy -- I make this script:
...if I run that from a bash command line, the files begin, middle, and end all appear in /tmp as expected.
If I configure that as a custom shortcut in KDE, with the Action like "~/bin/mytestscript", and fire the shortcut, I see only /tmp/begin and /tmp/middle. It's as if xsel is crashing out and taking the bash script with it. I see nothing in journalctl or dmesg when this happens.
Anything I can do to debug further? E.g. a way to run the script manually that more faithfully recreates how it is run from a shortcut?
For the purposes of bug reporting, should I start by assuming this is an xsel bug?
Thanks for any ideas.
Code:
#!/bin/bash touch /tmp/begin xsel > /tmp/middle 2>&1 touch /tmp/end
If I configure that as a custom shortcut in KDE, with the Action like "~/bin/mytestscript", and fire the shortcut, I see only /tmp/begin and /tmp/middle. It's as if xsel is crashing out and taking the bash script with it. I see nothing in journalctl or dmesg when this happens.
Anything I can do to debug further? E.g. a way to run the script manually that more faithfully recreates how it is run from a shortcut?
For the purposes of bug reporting, should I start by assuming this is an xsel bug?
Thanks for any ideas.
Comment