[Screen Capture] Unable to take screenshot using shortcuts
Tofloor
poster avatar
jodevan
deepin
2022-03-25 05:28
Author

Hello everyone!

Apparently, without no reason, I've become unable to take screenshots using any of the system shortcuts (Ctrl + Alt + A, Print Scr, Ctrl + Print Scr, ...). Using the screenshot application directly does work, though.

I double checked the default shortcuts and they are mapped correctly. Actually, when I use any of them, the screenshot service is triggered. This is what I found in syslog whenever I trigger one of its keyboard shortcuts:

2022-03-24 10:05:11 Deepin dbus-daemon[4798]:  [session uid=1000 pid=4798] Activating service name='com.deepin.Screenshot' requested by ':1.126' (uid=1000 pid=9002 comm="dbus-send --print-reply --dest=com.deepin.Screensh")
2022-03-24 10:05:11 Deepin dbus-daemon[9004]:  writing oom_score_adj error: Permission denied
2022-03-24 10:05:11 Deepin dbus-daemon[4798]:  [session uid=1000 pid=4798] Activated service 'com.deepin.Screenshot' failed: Failed to execute program com.deepin.Screenshot: No such file or directory
2022-03-24 10:05:11 Deepin daemon/keybinding[4850]:  manager_handlers.go:83: execCmd error: exit status 1

Any ideas on how to fix that?

Thanks a lot!

Reply Favorite View the author
All Replies
babyfengfjx
Super Moderator
CQA
2022-03-25 05:34
#1

What is the version of the system you are using?
Please help me to check the output of the following command:

apt policy deepin-screen-recorder
Reply View the author
jodevan
deepin
2022-03-25 05:39
#2

Hi @babyfengfjx.

I'm using version 20.3.

Here's the output of the command you asked me to run:

deepin-screen-recorder:
Installed: 5.10.9-1
Candidate: 5.10.15-1
Version table:
5.10.15-1 500
500 https://community-packages.deepin.com/deepin apricot/main amd64 Packages
*** 5.10.9-1 100
100 /var/lib/dpkg/status
5.6.4.2-1 500
500 https://com-store-packages.uniontech.com/appstore deepin/appstore amd64 Packages

Thanks!

Reply View the author
Merlin
deepin
2022-03-25 05:53
#3

This is obviously a bug and our developers will get back to you when they locate it

Reply View the author
jodevan
deepin
2022-03-25 06:03
#4
Merlin

This is obviously a bug and our developers will get back to you when they locate it

Thank you!

Reply View the author
babyfengfjx
Super Moderator
CQA
2022-03-25 17:08
#5
jodevan

Hi @babyfengfjx.

I'm using version 20.3.

Here's the output of the command you asked me to run:

deepin-screen-recorder:
Installed: 5.10.9-1
Candidate: 5.10.15-1
Version table:
5.10.15-1 500
500 https://community-packages.deepin.com/deepin apricot/main amd64 Packages
*** 5.10.9-1 100
100 /var/lib/dpkg/status
5.6.4.2-1 500
500 https://com-store-packages.uniontech.com/appstore deepin/appstore amd64 Packages

Thanks!

Sorry for the trouble, I wonder if you can upgrade to V20.4 to see if this problem is solved, currently we use the latest version has not found this trouble.

This 'deepin-screen-recorder' software version has been upgraded to 5.10.15

babyfengfjx@babyfengfjx:~$ apt policy deepin-screen-recorder
deepin-screen-recorder:
  已安装:5.10.15-1
  候选: 5.10.15-1
  版本列表:
 *** 5.10.15-1 500
        500 https://community-packages.deepin.com/deepin apricot/main amd64 Packages
        500 http://pools.uniontech.com/ppa/dde-apricot apricot/main amd64 Packages
        500 http://pools.uniontech.com/ppa/dde-apricot unstable/main amd64 Packages
        500 http://pools.uniontech.com/deepin apricot/main amd64 Packages
        100 /usr/lib/dpkg-db/status
     5.6.4.2-1 500
        500 https://com-store-packages.uniontech.com/appstore deepin/appstore amd64 Packages

Reply View the author
jodevan
deepin
2022-04-01 05:07
#6

Hey @babyfengfjx.

I'm currently unable to upgrade to V20.4 because I use the Cisco Anyconnect Secure Mobility Client (VPN) and for some reason it doesn't connect at all when I'm using V20.4.

Last month I configured an environment from the scratch initially using V20.3. By that time my Cisco VPN was working well, but as soon as I upgraded to V20.4 it stopped working. It took me a while to figure out the problem was V20.4, but I was able to reproduce it using a virtual machine.

Getting back to the screenshot issue, would you recommend some workaround? In the end, it seems to be some kind of permissions issue and was working fine till one day before I post this question here.

Thanks a lot!

Reply View the author
babyfengfjx
Super Moderator
CQA
2022-04-01 16:53
#7
jodevan

Hey @babyfengfjx.

I'm currently unable to upgrade to V20.4 because I use the Cisco Anyconnect Secure Mobility Client (VPN) and for some reason it doesn't connect at all when I'm using V20.4.

Last month I configured an environment from the scratch initially using V20.3. By that time my Cisco VPN was working well, but as soon as I upgraded to V20.4 it stopped working. It took me a while to figure out the problem was V20.4, but I was able to reproduce it using a virtual machine.

Getting back to the screenshot issue, would you recommend some workaround? In the end, it seems to be some kind of permissions issue and was working fine till one day before I post this question here.

Thanks a lot!

Sorry for the trouble, the VPN problem has been solved in the latest version 20.5, which was released on March 31, maybe you can upgrade to try?

Reply View the author
jodevan
deepin
2022-04-02 14:00
#8
babyfengfjx

Sorry for the trouble, the VPN problem has been solved in the latest version 20.5, which was released on March 31, maybe you can upgrade to try?

There's great news. I'll give it a try and let you know!

Thanks!

Reply View the author
babyfengfjx
Super Moderator
CQA
2022-04-02 16:54
#9
jodevan

There's great news. I'll give it a try and let you know!

Thanks!

Wait for your good news!😄

Reply View the author
jodevan
deepin
2022-04-03 18:45
#10

Just upgraded to latest version. It fixed the screenshot issue and I'm able to connect to the VPN!

Perfect!!! You guys rock!!!! \o/

Thanks a lot!

Reply View the author