<div dir="ltr">Clark,<div><br></div><div>You already have the shebang at the top of your script. You don't need the sh command.</div><div><br></div><div><span style="font-size:12.8000001907349px">Control Shift 13 :exec /path/to/file.sh</span><br></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">Seth Miller</span></div><img src="https://followup.cc/tracker_events/10272631/75855e4dad9381705f76f6833520bc9a/ghost.gif?email=sethmiller.sm@gmail.com" style="border:0px;width:0px;min-height:0px" width="0" height="0"></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 9, 2015 at 11:50 PM, Clark Andreasen <span dir="ltr"><<a href="mailto:clark.andreasen@gmail.com" target="_blank">clark.andreasen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div>Not sure how much introduction is necessary here, but in any event, I've just set up a debian installation with fluxbox and I've been customizing things the way I like them, but I 've run into an issue trying to replicate the features of a program called puush under windows.<br></div>Essentially what I've done is taken <a href="https://github.com/blha303/puush-linux/blob/master/puush" target="_blank">this</a> script (although I'm using curl with -s, not -#), in combination with scrot and fluxbox to make Ctrl-Shift-4 allow me to select an area of the screen, and then pass that to puush for uploading and dump the url to the clipboard with xclip. I've been trying to run a separate shell script that looks like this:<br></div><br>#!/bin/bash<br></div>scrot -s -e 'puush $f' | xclip -selection c<br><br></div>from .fluxbox/keys using a line like this:<br><br>Control Shift 13 :exec 'sh /path/to/file.sh'<br><br></div>and after trying many different variations on that, I still can't get it to work, the hotkey works if I assign a different command to it, and running said shell script from the terminal works great, but combined, nothing happens.<br><br></div>Thanks,<br></div>Clark A.<br></div>
<br>_______________________________________________<br>
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota<br>
<a href="mailto:tclug-list@mn-linux.org">tclug-list@mn-linux.org</a><br>
<a href="http://mailman.mn-linux.org/mailman/listinfo/tclug-list" target="_blank">http://mailman.mn-linux.org/mailman/listinfo/tclug-list</a><br>
<br></blockquote></div><br></div>