You are not logged in.
Known problem, irc workaround is to add small delay (see man scrot) or use something else. (Something else: https://brontosaurusrex.github.io/2018/ … aim-xclip/)
Offline
Hello, saw this post and I don't know if this helps, but I also had problems in my Openbox installs using the select-area function of scrot, long story short the problem only happens using that particular scrot function when conky is actively running. If conky updates during the selection-drawing process it throws the whole thing off.
I use scrot from menu entries I made rather than terminal, whole-screen, whole-screen with 5 second delay, and the select option. So to fix the conflict I just use a simple script "scrotselect" that I call up using the menu entry, that turns conky off first, then turns it back on after the screenshotting is complete. Obviously it's not helpful if you're trying to select just the conky display for a screenshot, but works pretty well for everything else.
scrotselect - It also opens the new shot in my picture-viewer so I can check it out, that's easy to change if not needed.
#!/bin/sh
# Copyleft greenjeans 2017-2024, use as you see fit.
# This script turns off conky before using the scrot "select area w/mouse" function because
# when the conky window updates, it interferes with drawing the selection window, and leaves a
# partial white border in your screenshot. If you want to include conky in your screenshot,
# you will need to use one of the other options. If conky was running before the shot, it
# turns it back on, if it wasn't running it stays off.
if pidof conky | grep [0-9] > /dev/null
then
killall conky
exec scrot -q 100 -s -e 'gpicview $f && conky'
else
exec scrot -q 100 -s -e 'gpicview $f'
fi
Hope this helps somebody! Oh and hello Bunsen-folks, i'm greenjeans, an old fan of Crunchbang and Openbox. Y'all are doing some amazing work here, kudos!
Offline