1 |
Ühel kenal päeval, L, 29.07.2017 kell 13:20, kirjutas tuxic@××××××.de: |
2 |
> The task is already accomplished :) with a mixture of WM-based |
3 |
> hotkey definitions and a delayed commandline utility (main,scrot, |
4 |
> imagemagick). |
5 |
> Addtionally I dont think that my X11 uses framebuffer (not shure |
6 |
> about that, though)... |
7 |
|
8 |
Those tools work by using an inherent X11 security hole by reading out |
9 |
the root window, it's not relevant to framebuffer in the kernel sense. |
10 |
|
11 |
Note that you can't use a global shortcut key in X11 while a typical |
12 |
right click context menu is open, because these take a X11 grab and |
13 |
even screen lock can't activate.. Then only the delay approach will |
14 |
work (if desired then together with a shortcut if the shortcut key is |
15 |
hit before opening the context menu). Fortunately in this case you only |
16 |
wanted a dropdown in firefox, which isn't implemented like that. |
17 |
This popup menu problem is solved with Wayland (most importantly the |
18 |
not screenlocking aspect of it), but so is the root window security |
19 |
hole, so the compositor/WM needs to take the screenshot and tools like |
20 |
import/scrot won't work. |