end-4 / dots-hyprland

i hate minimalism so...
https://end-4.github.io/dots-hyprland-wiki/en/
GNU General Public License v3.0
3.95k stars 267 forks source link

[Issue] Command printsrc for screenshot not working, and capture screenshot with gnome-screenshot apps got error, #454

Closed zydnrbrn closed 5 months ago

zydnrbrn commented 5 months ago
• 󰅙  gnome-screenshot
** Message: 15:57:02.707: Unable to use GNOME Shell's builtin screenshot interface, resorting to fallback X11.

(gnome-screenshot:2176): Gdk-CRITICAL **: 15:57:02.707: gdk_pixbuf_get_from_surface: assertion 'width > 0 && height > 0' failed

(gnome-screenshot:2176): GdkPixbuf-CRITICAL **: 15:57:02.707: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(gnome-screenshot:2176): GdkPixbuf-CRITICAL **: 15:57:02.707: gdk_pixbuf_get_height: assertion 'GDK_IS_PIXBUF (pixbuf)' failed
*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

(gnome-screenshot:2176): GdkPixbuf-CRITICAL **: 15:57:02.708: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(gnome-screenshot:2176): GdkPixbuf-CRITICAL **: 15:57:02.708: gdk_pixbuf_get_height: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(gnome-screenshot:2176): Gtk-CRITICAL **: 15:57:02.720: gtk_window_resize: assertion 'width > 0' failed

** (gnome-screenshot:2176): CRITICAL **: 15:57:02.720: Unable to capture a screenshot of any window

clsty commented 5 months ago

It's under Hyprland, not Gnome. So it does not work, as expected.

zydnrbrn commented 5 months ago

It's under Hyprland, not Gnome. So it does not work, as expected.

ahh yess i see, but there is an options for every take screenshot is automatically saved to pictures directory?

clsty commented 5 months ago

Press Super+/ so you will see a list of keybindings. Screenshot included.

end-4 commented 5 months ago

but there is an options for every take screenshot is automatically saved to pictures directory?

the printscreen in my dotfiles just copies to clipboard (and i can easily paste as file in nautilus) my dotfiles doesn't have a keybind that saves to a screenshot folder, but sure i can add a keybind for it

end-4 commented 5 months ago

Ctrl + PrtSc Then you should get your file in ~/Pictures/Screenshots

zydnrbrn commented 5 months ago

Ctrl + PrtSc Then you should get your file in ~/Pictures/Screenshots

woahhh thanks sir