如何禁用gnome-屏幕截图‘相机闪光灯’动画(从黑色淡出)?我已经用sudo mv /usr/share/sounds/freedesktop/stereo/camera-shutter.oga /usr/share/sounds/freedesktop/stereo/camera-shutter-disabled.oga禁用了相机快门的声音。在Dconf编辑器中(在/org/gnome/gnome-screenshot下)似乎没有这样的设置。
发布于 2021-08-09 17:56:45
不幸的是没有办法让这个..。我正在寻找工作工具来抓取Ubuntu焦点的屏幕(以前我使用过scrot,但它停止工作了,现在只有gnome-screenshot仍在将屏幕内容转储到文件中,但使用了恼人的闪光灯)。所以我重新编译了https://github.com/GNOME/gnome-screenshot的源代码
git clone https://github.com/GNOME/gnome-screenshot.git && cd gnome-screenshotsrc/screenshot-backend-shell.c中,用FALSE, /* flash */替换所有出现的TRUE, /* flash */ (可以使用sed命令:sed -i 's#TRUE, /\* flash \*/#FALSE, /\* flash \*/#' src/screenshot-backend-shell.c)meson、ninja-build、libgtk-3-dev和libhandy-1-dev)meson setup buildmeson test -C buildgnome-screenshot工具没有闪存:./build/src/gnome-screenshot --file out.jpghttps://askubuntu.com/questions/854350
复制相似问题