You are not logged in.

#1 2016-02-04 09:55:11

benis
New Member
Registered: 2016-02-04
Posts: 4

Xfce4 screenshooter gives black overlays on the took screenshots

This is a problem I've had since Crunchbang, but nobody bothered opening an issue about it, so I thought it was just me, but a friend related the same problem after installing Bunsen as his first distro.

5ro3isn.png

Offline

#2 2016-02-04 10:30:47

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Xfce4 screenshooter gives black overlays on the took screenshots

This is a known problem with xfce4-screenshooter and the compositor. Either disable compton before the screenshot, or use scrot.


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#3 2016-02-04 13:29:40

benis
New Member
Registered: 2016-02-04
Posts: 4

Re: Xfce4 screenshooter gives black overlays on the took screenshots

Thank you!

Offline

#4 2016-02-04 16:37:42

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: Xfce4 screenshooter gives black overlays on the took screenshots

damo wrote:

use scrot.

this.

Offline

#5 2016-02-04 22:32:08

pvsage
Internal Affairs
Registered: 2015-09-29
Posts: 1,433

Re: Xfce4 screenshooter gives black overlays on the took screenshots

ohnonot wrote:
damo wrote:

use scrot.

this.

Agreed.

@damo:  What was the reasoning behind using xfce4screenshooter in Hydrogen rather than a set of scrot scripts?


Be excellent to each other, and...party on, dudes!
BunsenLabs Forum Rules
Tending and defending the Flame since 2009

Offline

#6 2016-02-04 23:33:30

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Xfce4 screenshooter gives black overlays on the took screenshots

pvsage wrote:

...

@damo:  What was the reasoning behind using xfce4screenshooter in Hydrogen rather than a set of scrot scripts?

AFAICS it was because #! used it, and it has some more gui options than scrot. The compositing issue seems to have started last year sometime - I remember posting the workaround on the #! forums.

There is a new super-scrot which was mentioned hereabouts recently, which sounds like it could do the business. Then xfce4-screenshooter could be dropped I guess - but the guys are a bit busy ATM!


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#7 2016-02-05 01:49:05

vasa1
Member
Registered: 2015-09-29
Posts: 204

Re: Xfce4 screenshooter gives black overlays on the took screenshots

damo wrote:

...
There is a new super-scrot which was mentioned hereabouts recently ...

This?
post #9 in this thread: https://forums.bunsenlabs.org/viewtopic.php?id=276

But the context was storing the image in the clipboard, not about compositing, AFAICT.


Using the Openbox (3.5.2) session of Lubuntu 14.04 LTS but very interested in BL :)

Offline

#8 2016-02-05 03:31:53

tknomanzr
BL Die Hard
From: Around the Bend
Registered: 2015-09-29
Posts: 1,057

Re: Xfce4 screenshooter gives black overlays on the took screenshots

I think damo was mentioning this post https://forums.bunsenlabs.org/viewtopic.php?id=1190

Offline

#9 2016-02-05 03:37:52

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,558
Website

Re: Xfce4 screenshooter gives black overlays on the took screenshots

pvsage wrote:

What was the reasoning behind using xfce4screenshooter in Hydrogen rather than a set of scrot scripts?

Actually both xfce4-screenshooter and scrot are installed by default and available from the menu.


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#10 2016-02-05 03:56:43

vasa1
Member
Registered: 2015-09-29
Posts: 204

Re: Xfce4 screenshooter gives black overlays on the took screenshots

tknomanzr wrote:

I think damo was mentioning this post https://forums.bunsenlabs.org/viewtopic.php?id=1190

Thanks for that smile


Using the Openbox (3.5.2) session of Lubuntu 14.04 LTS but very interested in BL :)

Offline

#11 2016-02-05 07:53:25

pvsage
Internal Affairs
Registered: 2015-09-29
Posts: 1,433

Re: Xfce4 screenshooter gives black overlays on the took screenshots

johnraff wrote:

Actually both xfce4-screenshooter and scrot are installed by default and available from the menu.

:8
@head_office (that would be me) should spend a bit more time using the distro, methinks.  It's just LXDE is so comfy these days, I hardly feel tempted to try any other environment.


Be excellent to each other, and...party on, dudes!
BunsenLabs Forum Rules
Tending and defending the Flame since 2009

Offline

#12 2016-02-05 08:01:25

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: Xfce4 screenshooter gives black overlays on the took screenshots

tknomanzr wrote:

I think damo was mentioning this post https://forums.bunsenlabs.org/viewtopic.php?id=1190

yep.
i'm already using it.
scrot improved. includes mouse pointer, if desired.

also very nice that the slop utility can be used seperately. might come in handy at some point:

$ slop
X=398
Y=132
W=182
H=155
G=182x155+398+132
ID=660
Cancel=false

$ slop
X=0
Y=0
W=0
H=0
G=0x0+0+0
ID=0
Cancel=true
User pressed key. Canceled selection.

Offline

#13 2016-02-06 22:14:51

wrought
Member
Registered: 2015-12-31
Posts: 5

Re: Xfce4 screenshooter gives black overlays on the took screenshots

Looks like it may have been fixed: http://git.xfce.org/apps/xfce4-screensh … 6d0815322b

maintainer needs to update

Offline

#14 2016-09-06 10:56:11

matmutant
Member
Registered: 2016-07-19
Posts: 39
Website

Re: Xfce4 screenshooter gives black overlays on the took screenshots

Sorry to bump that old thread, but since I was still experiencing the "Grey" issue -and did not want to give up either Compositing or xfce4-screenshooter-:
Here is the workaround i found: excluding xfce4-screenshooter from what Compton will put shadows on!

~/.config/compton.conf

shadow-exclude = [ "i:e:Conky", "i:e:xfce4-screenshooter" ];

and voilà :
Before
Bunsen_ComptonDefault.png?raw=true

After
Bunsen_ComptonExclude_XfceSS.png?raw=true

No idea if it belongs to the "Good (ManufacturingCoding) Practices", yet it works smile

Last edited by matmutant (2016-09-06 10:57:10)

Offline

#15 2016-09-06 17:38:57

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: Xfce4 screenshooter gives black overlays on the took screenshots

^ genius! thanks for sharing!

Offline

#16 2016-09-07 05:31:49

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,558
Website

Re: Xfce4 screenshooter gives black overlays on the took screenshots

Add this to the default BL ~/.config/compton.conf for new users?


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#17 2016-09-07 06:12:20

matmutant
Member
Registered: 2016-07-19
Posts: 39
Website

Re: Xfce4 screenshooter gives black overlays on the took screenshots

johnraff wrote:

Add this to the default BL ~/.config/compton.conf for new users?

That would be great!

I didn't see any drawbacks to this method, though we might try other targets before pushing that exclude to default BL:
from man:

 Format of a condition:

              condition = <target>:<type>[<flags>]:<pattern>

              <target> is one of "n" (window name), "i" (window class instance), and "g" (window general class)

              <type> is one of "e" (exact match), "a" (match anywhere), "s" (match from start), "w" (wildcard), and
              "p" (PCRE regular expressions, if compiled with the support).

              <flags> could be a series of flags. Currently the only defined flag is "i" (ignore case).

              <pattern> is the actual pattern string.

For now it works with "i"(window class instance):"e"(exact match)

Offline

Board footer

Powered by FluxBB