"-center", "-onroot", "-quiet", "-zoom", "auto",
row.full_name.encode(fs_encoding)]
+ ext = os.path.splitext(row.full_name)[1].lower()
+ if ext in ('tif', 'tiff'):
+ program_options[0] = 'xsetbg'
+
rc = subprocess.call(program_options)
if rc:
error("cannot execute xli!")