I think you might be misreading the manpage for scrot. -e is for exectuing things on the screenshot you just took. So this is not a problem with scrot.
I think this command should do what you intended you will need to installed the xdotool package. I would also use the xdotool getmouseselectoin; scrot -s ; getmouseselectoin twice to get the cordinates of both ends of the rectangle. ** Changed in: scrot (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1033187 Title: No way to detect x and y offset when using -s option To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/scrot/+bug/1033187/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs