我正在通过 gtk-recordmydesktop 录制屏幕,录制过程中它崩溃了,我通过命令行重新启动了该应用程序。但出现了错误。请参阅以下错误代码:
#gtk-recordmydesktop
Gtk-Message: 20:26:49.852: Failed to load module "canberra-gtk-module"
Traceback (most recent call last):
File "/usr/bin/gtk-recordmydesktop", line 43, in <module>
main()
File "/usr/bin/gtk-recordmydesktop", line 40, in main
tr=rmdSimple.simpleWidget()
File "/usr/lib/python2.7/dist-packages/recordMyDesktop/rmdSimple.py", line 509, in __init__
self.__subWidgets__()
File "/usr/lib/python2.7/dist-packages/recordMyDesktop/rmdSimple.py", line 88, in __subWidgets__
self.image=sT.GtkThumbSelector(self,self.values[5],self.hidden,2000)
File "/usr/lib/python2.7/dist-packages/recordMyDesktop/rmdSelectThumb.py", line 69, in __init__
self.__subsample__(sroot,self.wwidth,self.wheight,self.root,self.factor)
File "/usr/lib/python2.7/dist-packages/recordMyDesktop/rmdSelectThumb.py", line 79, in __subsample__
im2.put_pixel(k/stride,i/stride,im1.get_pixel(k,i))
AttributeError: 'NoneType' object has no attribute 'get_pixel'
我试图删除 gtk-recordmydesktop 并再次重新安装它,但努力没有结果,我使用的命令是:
#sudo apt remove gtk-recordmydesktop --purge
#sudo apt-get clean
#sudo apt install gtk-recordmydesktop
#gtk-recordmydesktop
同时我的系统规格是:OS = Linux,Ubuntu 18.04 Bionic Beaver
演出成果uname -a
:
Linux suryaveer 4.15.0-43-generic #46-Ubuntu SMP Thu Dec 6 14:45:28 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
答案1
看起来它的最新版本gtk-recordmydesktop
是在 2008 年发布的。您可能想尝试一下 SimpleScreenRecorder,它似乎提供了类似易于使用的界面。
你可以用这个命令安装它
sudo apt install simplescreenrecorder
https://sourceforge.net/projects/recordmydesktop/files/gtk-recordMyDesktop/