I need some help binding the screenshot function in I3

What the title says. I have installed gnome-screenshot app in I3 and idk how to bind it. Any help is appreciated. Also gobble gobble

I’m not sure if gnome screenshot can be invoked from terminal. Instead, I’ll use scrot or maim.

Use these in config for scrot

# full screen picture
bindsym --release Print exec "scrot -m '~/Pictures/screenshots/%s_%H%M_%d.%m.%Y_$wx$h.png'"

# choose region
bindsym --release Shift+Print exec "scrot -s '~/Pictures/screenshots/%s_%H%M_%d%m%Y_$wx$h.png'"

# use current focussed window
bindsym --release $mod+Shift+Print exec "scrot -u -d 3 '~/Pictures/screenshots/%s_%H%M_%d%m%Y_$wx$h.png'"

4 Likes

Not quite related to this thread, but just asking, you know, informally…

Have you considered KDE Plasma? It has a wonderful screenshot application called Spectacle. Really nice! stars

3 Likes

Gobble gobble

2 Likes

I see… Well, okay then.

3 Likes

From the terminal:

gnome-screenshot -i
3 Likes

scrot

bindsym Print exec --no-startup-id scrot ‘screenshot-%Y-%m-%d-%s_screenshot_$wx$h.jpg’ -e ‘mv $f $$(xdg-user-dir PICTURES)’

xfce4-screenshooter

bindsym $mod+Print exec --no-startup-id xfce4-screenshooter

gnome-screenshot

bindsym $mod+Shift+Print exec --no-startup-id gnome-screenshot -i

4 Likes

And I was beat to the answer.

2 Likes

just to add … flameshot better or scrot as @flyingcakes say …

1 Like

why ? that bloat + slower :wink: :pray: final i bite

1 Like

flameshot is nice

4 Likes