Something is wrong with the pgrep matching here, likely the process name.
126 def get_desktop_vfs(ui): 127 if subprocess.call(['pgrep', '-u', str(os.getuid()), '-x', 'gnome-session']) == 0: 128 return 'gvfs' 129 if subprocess.call(['pgrep', '-u', str(os.getuid()), '-x', 'ksmserver']) == 0: 130 return 'kdelibs5'
Something is wrong with the pgrep matching here, likely the process name.
126 def get_desktop_ vfs(ui) : call([' pgrep', '-u', str(os.getuid()), '-x', 'gnome-session']) == 0: call([' pgrep', '-u', str(os.getuid()), '-x', 'ksmserver']) == 0:
127 if subprocess.
128 return 'gvfs'
129 if subprocess.
130 return 'kdelibs5'