Skip to content

Commit

Permalink
Add check for Trinity Desktop Environment
Browse files Browse the repository at this point in the history
  • Loading branch information
akshayaurora authored May 5, 2021
1 parent 172e3db commit 439ace5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plyer/platforms/linux/filechooser.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,9 @@ class LinuxFileChooser(FileChooser):
if (str(os.environ.get("XDG_CURRENT_DESKTOP")).lower() == "kde"
and which("kdialog")):
desktop = "kde"
elif (str(os.environ.get("DESKTOP_SESSION")).lower() == "trinity"
and which('kdialog')):
desktop = "kde"
elif which("yad"):
desktop = "yad"
elif which("zenity"):
Expand Down

0 comments on commit 439ace5

Please sign in to comment.