After a few of bugs being eliminated and using it for a while, I think it's time to share my modified version of gnome screenshot app. Checkout github repo here.
Work I've done: a) Rewriting the code for drop shadow effect in window shot, with much better effect(IMO) and much improved algorithm(that's truth lol). b) Adding an option to choose to save window shot pic file in JPG with white background or transparent PNG. c) Packaging it to AUR, Arch Linux users can now install it as "gnome-screenshot-heavy-shadow".
Currently, this modified version works pretty well under xorg. In gnome keyboard settings, you can setup a shortcut for easier use. Like /usr/bin/gnome-screenshot -cwbe shadow for a window shot with the new drop shadow effect and copy to clipboard. Run gnome-screenshot --help to check some more detailed options.
Under wayland, "save to clipboard" is broken in non interactive mode. It's not a bug of this application (may be of dbus'). But it works in interactive mode (run with option -i).
If you're not on archlinux and choose to install from source code, first find out the path prefix of your installed version of gnome-screenshot (like which gnome-screenshot shows /usr/bin/gnome-screenshot, then install with option --prefix=/usr appended to meson), to replace the original version. If an upgrade/reinstall of the app is performed by your package manager, you need to reinstall the modified version from source.
I'm non native English speaker, sorry for some error may present here.
OK, my bad XD. I just checked pacman.log again. Turns out that I performed a umount -a before updating. So my boot partition got unmounted. And that's the reason why vmlinuz didn't get updated... This one has no connection with the bug. :)
Anyway, you could go upvote the bug report #FS54481.
I got this error yesterday but I didn't notice it and shut the system down, went to sleep...:(
Today it failed to boot at loading kernel modules. I use the archiso to chroot into it, weirdly, vmlinuz is still the old one (4.11.3-1-ARCH). The linux package version is the new one though:
# pacman -Q linux
linux 4.11.5-1
Seems that linux modules/libraries got updated anyway (there exists the directory /lib/modules/4.11.5-1-ARCH), but vmlinuz wasn't updated. So at the next boot, DKMS tried to load new modules to the old kernel at booting, and boom! I'm really confused why this happened. I've checked pacman.log, there wasn't any error except the DKMS one. That's too weird! 0_o
Anyway, I've fixed this booting problem by just reinstalling the new linux package in arch-chroot environment. It automatically ignored the procedure of loading new modules in arch-chroot environment. So everything's fine now.
# pacman -U /var/cache/pacman/pkg/linux
...
Running in chroot, ignoring request.
...
Next time when updating linux, I guess this still will happen though :(, if they wouldn't have fixed this yet.
After a few of bugs being eliminated and using it for a while, I think it's time to share my modified version of gnome screenshot app. Checkout github repo here.
Work I've done: a) Rewriting the code for drop shadow effect in window shot, with much better effect(IMO) and much improved algorithm(that's truth lol). b) Adding an option to choose to save window shot pic file in JPG with white background or transparent PNG. c) Packaging it to AUR, Arch Linux users can now install it as "gnome-screenshot-heavy-shadow".
Currently, this modified version works pretty well under xorg. In gnome keyboard settings, you can setup a shortcut for easier use. Like
/usr/bin/gnome-screenshot -cwbe shadowfor a window shot with the new drop shadow effect and copy to clipboard. Rungnome-screenshot --helpto check some more detailed options.Under wayland, "save to clipboard" is broken in non interactive mode. It's not a bug of this application (may be of dbus'). But it works in interactive mode (run with option
-i).If you're not on archlinux and choose to install from source code, first find out the path prefix of your installed version of gnome-screenshot (like
which gnome-screenshotshows/usr/bin/gnome-screenshot, then install with option--prefix=/usrappended to meson), to replace the original version. If an upgrade/reinstall of the app is performed by your package manager, you need to reinstall the modified version from source.I'm non native English speaker, sorry for some error may present here.
OK, my bad XD. I just checked pacman.log again. Turns out that I performed a
umount -abefore updating. So my boot partition got unmounted. And that's the reason why vmlinuz didn't get updated... This one has no connection with the bug. :)Anyway, you could go upvote the bug report #FS54481.
I got this error yesterday but I didn't notice it and shut the system down, went to sleep...:( Today it failed to boot at loading kernel modules. I use the archiso to chroot into it, weirdly, vmlinuz is still the old one (4.11.3-1-ARCH). The linux package version is the new one though: # pacman -Q linux linux 4.11.5-1 Seems that linux modules/libraries got updated anyway (there exists the directory /lib/modules/4.11.5-1-ARCH), but vmlinuz wasn't updated. So at the next boot, DKMS tried to load new modules to the old kernel at booting, and boom! I'm really confused why this happened. I've checked pacman.log, there wasn't any error except the DKMS one. That's too weird! 0_o
Anyway, I've fixed this booting problem by just reinstalling the new linux package in arch-chroot environment. It automatically ignored the procedure of loading new modules in arch-chroot environment. So everything's fine now. # pacman -U /var/cache/pacman/pkg/linux ... Running in chroot, ignoring request. ...
Next time when updating linux, I guess this still will happen though :(, if they wouldn't have fixed this yet.