首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >截图-忽略选项“选择选定区域的屏幕截图”右击码头

截图-忽略选项“选择选定区域的屏幕截图”右击码头
EN

Ask Ubuntu用户
提问于 2019-05-20 07:25:49
回答 1查看 102关注 0票数 1

在Ubuntu16.04中,通过右键单击码头上的屏幕截图应用程序,可以选择“选择选定区域的屏幕快照”。

在Ubuntu18.04中,这个选项消失了。

如何恢复?

org.gnome.Screenshot.desktop文件包含:

代码语言:javascript
复制
[Desktop Entry]
Name[en_GB]=Screenshot
    ... other translations
Name=Screenshot
Comment[en_GB]=Save images of your screen or individual windows
    ... other translations
Comment=Save images of your screen or individual windows
Keywords[en_GB]=snapshot;capture;print;screenshot;
    ... other translations
Keywords=snapshot;capture;print;screenshot;
Exec=gnome-screenshot --interactive
Terminal=false
Type=Application
Icon=applets-screenshooter
StartupNotify=true
Categories=GTK;GNOME;Utility;X-GNOME-Utilities;
NotShowIn=KDE;
X-GNOME-Bugzilla-Bugzilla=GNOME
X-GNOME-Bugzilla-Product=gnome-utils
X-GNOME-Bugzilla-Component=screenshot
# Disable broken actions https://pad.lv/1720262
# Actions=screen-shot;window-shot;area-shot
Actions=screen-shot;
DBusActivatable=true

[Desktop Action screen-shot]
Name[en_GB]=Take a Screenshot of the Whole Screen
    ... other translations
Name=Take a Screenshot of the Whole Screen
Exec=gnome-screenshot

[Desktop Action window-shot]
Name[en_GB]=Take a Screenshot of the Current Window
    ... other translations
Name=Take a Screenshot of the Current Window
Exec=gnome-screenshot -w

[Desktop Action area-shot]
Name=Take a Screenshot of a Selected Area
Exec=gnome-screenshot -a
EN

回答 1

Ask Ubuntu用户

发布于 2019-05-22 07:41:42

window-shotarea-shot操作在.desktop文件中被禁用。更改

代码语言:javascript
复制
Actions=screen-shot;

行到

代码语言:javascript
复制
Actions=screen-shot;window-shot;area-shot;

(或者,如果您只想要“选择区域的截图”操作,请避免使用window-shot;部件)。

不建议直接在.desktop中编辑/usr/share/applications/文件。相反,首先将文件复制到~/.local/share/applications/目录,然后编辑复制的文件。

注意:由于臭虫,这些操作是故意禁用的。看来这个bug是(部分的?)现在修好了。如果它仍然不起作用,等待适当的修复发布。

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1145280

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档