Screencast / change value of UPDATE_POINTER_TIME
Dear All,
I use Gnome Shell's built-in screen recorder with shortcut Ctrl+Shift+Alt+R. It works nice with one exception:
It creates a nice 30 frame output video, but it updates the mouse pointer at every 100ms only, so the pointer is too sloppy and laggy to demonstrate with it any stuff on the screen. See the relevant source code here:
https://github.com/GNOME/gnome-shell/blob/master/src/shell-recorder.c#L135
This option seems hard coded. My question is, how can I patch my system to change this value to 33 to make the cursor update with every 30 frames? Or is there any option for me without having to patch anything?
Looking for this option in my system, I can find it in the following lib:
cd /usr/lib/gnome-shell
grep -ir UPDATE_POINTER_TIME
Binary file libgnome-shell.so matches
This file can be found in the following Ubuntu package:
apt-file search libgnome-shell.so
gnome-shell: /usr/lib/gnome-shell/libgnome-shell.so
But I cannot find a devel package for this file. Nor does gnome-devel contain source code for this lib.
System is Ubuntu 18 x64
Any idea how I could change this hard coded value? Any help is greatly appreciated. Thanks.