diff --git a/nwg_panel/processes.py b/nwg_panel/processes.py index 6622422..e3e2f9c 100644 --- a/nwg_panel/processes.py +++ b/nwg_panel/processes.py @@ -32,9 +32,8 @@ def list_processes(widget): user = os.getenv('USER') for proc in psutil.process_iter(['pid', 'ppid', 'name', 'username']): - print(proc.info['ppid']) if proc.info['username'] == os.getenv('USER') or not common_settings["processes-own-only"]: - # if proc.info['ppid'] == 1: + # if proc.info['ppid'] not in pids: processes[proc.info['pid']] = proc.info for child in scrolled_window.get_children():