View previous topic :: View next topic |
Author |
Message |
g-virus Tux's lil' helper
Joined: 26 Aug 2017 Posts: 111
|
Posted: Tue Jun 15, 2021 2:45 pm Post subject: i3wm, unable to take screenshot when context menu is open |
|
|
Hello!
I'm using i3-gaps and I have a problem with shortcuts that don't work when a context menu is open. It's a typical situation when you want to take a screenshot of a menu of an application or something, but for some reason on my i3wm both shortcuts Shift+PrintScreen and PrintScreen don't work (I suppose every shortcut doesn't work until the context menu is open). Interesting fact is the Brave browser context menus don't block the shortcuts while all others do (I've tried Qt and GTK apps). Did someone have the same issue? _________________ "A computer is like air conditioning: it becomes useless when you open windows" - Linus Torvalds. |
|
Back to top |
|
|
figueroa Advocate
Joined: 14 Aug 2005 Posts: 2964 Location: Edge of marsh USA
|
Posted: Wed Jun 16, 2021 2:58 am Post subject: |
|
|
Almost certainly the menu is stealing focus for your keystrokes. Maybe you can run XFCE's screenshot. It let's you set a delay before shooting, giving you time to open your context menu, theoretically. GIMP also. _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
Back to top |
|
|
Banana Veteran
Joined: 21 May 2004 Posts: 1391 Location: Germany
|
|
Back to top |
|
|
g-virus Tux's lil' helper
Joined: 26 Aug 2017 Posts: 111
|
Posted: Wed Jun 16, 2021 11:18 am Post subject: |
|
|
figueroa wrote: | Almost certainly the menu is stealing focus for your keystrokes. Maybe you can run XFCE's screenshot. It let's you set a delay before shooting, giving you time to open your context menu, theoretically. GIMP also. |
But why does it even happen? I'm sure I remember those old times when I used to use KDE/Gnome environments and I was able to take a proper screenshot with the menus and everything
Are you sure it is a screenshoter's issue? I've tried to use scrot, maim, now I'm using Flameshot and seems like i3 just doesn't handle a shortcut when a context menu is open _________________ "A computer is like air conditioning: it becomes useless when you open windows" - Linus Torvalds. |
|
Back to top |
|
|
Banana Veteran
Joined: 21 May 2004 Posts: 1391 Location: Germany
|
|
Back to top |
|
|
Hund Apprentice
Joined: 18 Jul 2016 Posts: 218 Location: Sweden
|
Posted: Mon Jun 21, 2021 10:38 am Post subject: |
|
|
If you use scrot you can just set a delay: "scrot -cd <N>". _________________ Collect memories, not things. |
|
Back to top |
|
|
g-virus Tux's lil' helper
Joined: 26 Aug 2017 Posts: 111
|
Posted: Wed Jun 23, 2021 2:56 pm Post subject: |
|
|
No, I didn't try to use it with delay because in that way it will work of course. But when you take screenshots of apps you rather open a context menu, point a cursor on some item and then press hotkey and not vice-versa, right? _________________ "A computer is like air conditioning: it becomes useless when you open windows" - Linus Torvalds. |
|
Back to top |
|
|
figueroa Advocate
Joined: 14 Aug 2005 Posts: 2964 Location: Edge of marsh USA
|
Posted: Wed Jun 23, 2021 3:25 pm Post subject: |
|
|
The choice, then, is to use a WM where an open context menu doesn't steal keystroke focus. Don't know if that exists. _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
Back to top |
|
|
figueroa Advocate
Joined: 14 Aug 2005 Posts: 2964 Location: Edge of marsh USA
|
Posted: Sat Jul 03, 2021 5:13 pm Post subject: |
|
|
Although I don't use Gnome (I'm running OpenBox with PCManFM and LXPanel), I do use a couple of low-impact Gnome utilities. I've just run across and installed gnome-screenshot. It's very small (350K) very low dependencies (no new ones required for me), and runs well from both command-line and a sufficient GUI accessory. For me, this replaces the xfce4-screenshooter and its dependencies. _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
Back to top |
|
|
|