mhsabbagh / green-recorder

A simple screen recorder for Linux desktop. Supports Wayland & Xorg
GNU General Public License v3.0
616 stars 118 forks source link

No option 'videoswitch' in section: 'Options' #110

Closed neerajrajpoot closed 5 years ago

neerajrajpoot commented 5 years ago

I am trying to run green-recorder on debian 9.2. While trying to run with the luncher it's getting crashed without any error and when i am trying to run the same through the command line getting the error mentioned below please note that same logs are sent in syslog as well :

You are recording on: xorg Traceback (most recent call last): File "/usr/local/bin/green-recorder", line 339, in videoswitch.set_active(checkbool(config.get('Options', 'videoswitch'))) File "/usr/lib/python2.7/ConfigParser.py", line 618, in get raise NoOptionError(option, section) ConfigParser.NoOptionError: No option 'videoswitch' in section: 'Options'

neerajrajpoot commented 5 years ago

After adding the options in config.ini file issue got resolved. I didn't find the information regarding the configuration file anywhere. Options which i have added were :

videoswitch = True audioswitch = True mosueswitch = True followmouseswitch = True

kode54 commented 5 years ago

It appears the configuration skeleton creates those options as:

videocheck = True
audiocheck = True
mousecheck = True
followmousecheck = False