Comment 7 for bug 1592360

Revision history for this message
Tim (tnhunt) wrote : Re: Unable to set prt sc as a shortcut for print screen [$70]

The proposed merge allows the Print Screen button to be used as a shortcut. Custom shortcuts using print Screen calling screenshot-tool now work fin.

But.. Without adding a custom shortcut the screenshot-tool still won't open.

The problem seems to be gnome-settings-daemon trying to use an undeclared dbus interface - logging the dbus session shows g-s-d sending Screenshot requests to org.gnome.Shell (owned by gala) and getting missing interface errors in return.

Fixes that spring to mind are:
Add the Screenshot commands the to the dbus service gala as it's already declaring org.gnome.Shell and a window manager seems as good as place as any for something which taking pictures of windows.
Making gnome-settings daemon use another dbus interface then writing a new dbus service somewhere... screenshot-tool?
Extract the org.gnome.Shell interface from gala into it's own/some other service?

Would like opinions & approval before going any further. The first is most straightforward tbh.