diff --git a/plyer/platforms/linux/filechooser.py b/plyer/platforms/linux/filechooser.py index c6a9af12..2ebf9b06 100644 --- a/plyer/platforms/linux/filechooser.py +++ b/plyer/platforms/linux/filechooser.py @@ -158,7 +158,7 @@ def _gen_cmdline(self): ] elif self.mode == "save": cmdline += [ - "--getopenfilename", + "--getsavefilename", (self.path if self.path else os.path.expanduser("~")), " ".join(filt) ]