I just switched to Mint/Cinnamon from Ubuntu/Gnome and I'm trying to port a little script that I use all the time. Here's the script:
Code: Select all
name=`/bin/dbus-uuidgen`
/usr/bin/scrot -s /home/dariusk/Pictures/$name.png
cd /home/dariusk/Pictures
/usr/bin/scp $name.png [myServerInfo]
The script works from the command line, but when I bind the command to a keyboard shortcut, it appears to skip entirely over the "scrot -s" command. It's only with the "-s" command (to capture a manual screen selection) that it fails. If I remove -s, it correctly grabs the entire screen and uploads it.
I'm guessing that Mint doesn't want to delegate the mouse to scrot? Any suggestions on how I can fix this? I tried binding it to several different keys to see if that made a difference, but it doesn't seem to.
Thanks!