我正在通过 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
看起来最后一个版本
gtk-recordmydesktop
是在 2008 年制作的。您可能想尝试一下 SimpleScreenRecorder,它似乎提供了类似的易于使用的界面。您可以使用此命令安装它
https://sourceforge.net/projects/recordmydesktop/files/gtk-recordMyDesktop/
http://www.maartenbaert.be/simplescreenrecorder/