Answers for "python get desktop environment"

0

python get desktop environment

import os
os.environ.get('DESKTOP_SESSION')

# OUTPUT 
# 'gnome'
Posted by: Guest on May-04-2021

Code answers related to "python get desktop environment"

Python Answers by Framework

Browse Popular Code Answers by Language