Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

7
  • 1
    The dbus-send invocation is going to take some finessing to get it to do something, but this doesn't return an error: dbus-send --type=method_call --dest=org.gnome.Shell.Screencast /org/gnome/Shell/Screencast org.gnome.Shell.Screencast - at this point, I'm calling it: this can be called from the command line Commented Jun 25, 2020 at 23:51
  • Someone else had the same question from the other angle: superuser.com/questions/1367346/… Commented Jun 25, 2020 at 23:52
  • And this guy's almost there: askubuntu.com/questions/359587/… Commented Jun 25, 2020 at 23:53
  • 1
    Got it. gdbus call --session --dest org.gnome.Shell --object-path /org/gnome/Shell/Screencast --method org.gnome.Shell.Screencast.Screencast "/tmp/test_%d_%t.webm" "{'draw-cursor': <'true'>}" - this produces a .webm file at /tmp/test_*.webm Commented Jun 26, 2020 at 0:18
  • 2
    Well done, nice analysis here. I have one question. I'm using Gentoo Linux with Gnome shell, but Screencast in my case doesn't work and never did. There is that .xml file on its place, but when I invoke keyboard shortcut, nothing happens. When I call the command you found, it returns (false, ''). Do you have any idea, where the problem could be? Commented Jun 26, 2020 at 8:35