Unable to set prt sc as a shortcut for print screen [$80]

Bug #1592360 reported by KVG
280
This bug affects 97 people
Affects Status Importance Assigned to Milestone
Gala
Fix Committed
Medium
Santiago
Screenshot
Invalid
Medium
Unassigned
Switchboard Keyboard Plug
Fix Released
Medium
Tim

Bug Description

For the "Take Screenshot" action the shortcut was set to "Disabled" by default. If I press "prt sc" while setting the keyboard shortcut, the shortcut is again set as "disabled". Other shortcuts (ctrl+print, alt+print) are detected alright.

Related branches

Revision history for this message
Cassidy James Blaede (cassidyjames) wrote :

Might this be since we're not shipping gnome-screenshot-tool?

Changed in switchboard-plug-keyboard:
status: New → Confirmed
milestone: none → loki-rc1
Changed in switchboard-plug-keyboard:
milestone: loki-rc1 → none
Revision history for this message
Francisco Fábio Menezes Cardoso (phabio) wrote :

print screen doesn't work!

Changed in switchboard-plug-keyboard:
assignee: nobody → Francisco Fábio Menezes Cardoso (phabio)
Revision history for this message
Fabio Gomes (fabioxgn) wrote :

For me the screenshot shortcuts aren't working at all, I tried to change the shortcuts but none of the shortcuts work, they just do nothing. It worked just fine in Freya.

Revision history for this message
Lekteur (lekteur) wrote :

have the same problem too, can't assign the prinscreen key if isn't combined with another key

Revision history for this message
Joshua Baker (joshbaker90) wrote :

I still have the same problem

Maxim Taranov (png2378)
Changed in switchboard-plug-keyboard:
assignee: Francisco Fábio Menezes Cardoso (phabio) → nobody
affects: switchboard-plug-keyboard → screenshot-tool
Changed in switchboard-plug-keyboard:
status: New → Confirmed
Changed in gala:
status: New → Confirmed
Revision history for this message
Danielle Foré (danrabbit) wrote : Re: Unable to set prt sc as a shortcut for print screen [$50]
Changed in gala:
milestone: none → juno-beta1
Changed in screenshot-tool:
milestone: none → juno-beta1
summary: - Unable to set prt sc as a shortcut for print screen
+ Unable to set prt sc as a shortcut for print screen [$50]
Maxim Taranov (png2378)
summary: - Unable to set prt sc as a shortcut for print screen [$50]
+ Unable to set prt sc as a shortcut for print screen [$55]
Maxim Taranov (png2378)
summary: - Unable to set prt sc as a shortcut for print screen [$55]
+ Unable to set prt sc as a shortcut for print screen [$70]
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.

Revision history for this message
Santiago (santileortiz) wrote :

This branch implements part of the DBus interface that g-s-d is calling, is this the branch you are refering to? https://code.launchpad.net/~santileortiz/gala/fix-print-screen

Revision history for this message
Tim (tnhunt) wrote :

Ah, looks like you're way ahead of me. I was using the standard loki install of gala, hadn't even compiled a separate branch of gala, just seen the gala entries in the dbus logs. As you're already working on this I think I should stop working on it.

Changed in switchboard-plug-keyboard:
status: Confirmed → In Progress
milestone: none → juno-beta1
assignee: nobody → Tim (tnhunt)
importance: Undecided → Medium
Changed in gala:
status: Confirmed → In Progress
assignee: nobody → Santiago (santileortiz)
importance: Undecided → Medium
Changed in switchboard-plug-keyboard:
status: In Progress → Fix Committed
Gre0 (gre0)
summary: - Unable to set prt sc as a shortcut for print screen [$70]
+ Unable to set prt sc as a shortcut for print screen [$80]
Changed in screenshot-tool:
importance: Undecided → Medium
Cody Garver (codygarver)
Changed in switchboard-plug-keyboard:
milestone: juno-beta1 → 0.3.2
status: Fix Committed → Fix Released
Cody Garver (codygarver)
Changed in screenshot-tool:
milestone: 0.1.2 → juno-beta1
Changed in screenshot-tool:
status: Confirmed → Invalid
Changed in gala:
status: In Progress → Fix Committed
Revision history for this message
Magnus Teekivi (teekivi) wrote :

I have a similar issue, except the shortcuts are correctly set in System Settings and no PrintScr shortcut combination works.

Revision history for this message
Peter Uithoven (p7ter) wrote :

If I understand the table at the top of this page the fix to the Switchboard Keyboard Plug is released, which makes that possible, but the fix to Gala is isn't yet? It is proposed though?

Revision history for this message
Santiago (santileortiz) wrote :

It has already been merged, we are waiting for a new release of Gala so that it goes to users in an update.

Changed in screenshot-tool:
milestone: juno-beta1 → none
Revision history for this message
Fahad Ahammed (obak-krondon) wrote :

Same problem in my:

Aspire-F5-572G
elementary OS 0.4.1 Loki

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.