# Linux - Default Folder for Load File

**URL:** <https://forum.sienci.com/t/linux-default-folder-for-load-file/27218>\
**Category:** ❓ Question\
**Created:** [October 5, 2026, 5:17pm UTC](https://forum.sienci.com/t/linux-default-folder-for-load-file/27218 "2026-10-05T17:17:46Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![lukewarm58](https://forum.sienci.com/letter_avatar_proxy/v4/letter/l/db5fbb/32.png) [@lukewarm58](https://forum.sienci.com/u/lukewarm58)\
**Post date:** [October 5, 2026, 5:17pm UTC](https://forum.sienci.com/t/linux-default-folder-for-load-file/27218/1 "2026-10-05T17:17:46Z")

</div>

I have version 1.6.4 of gsender up and running on my Linux PC running Linux Mint Debian Edition (LMDE 7).

When I hit the ‘load file’ option in the Carve tab I am always brought to the following folder: `/home/user`. All of my gcode files are kept in `home/user/Documents/gcode` so I have to do a little clicking to get to my `.nc` files. Not a huge deal, but I would expect gsender to remember the last selected folder when ‘load file’ is selected a second time, but it always brings me back to `/home/user`

Are there any Linux wizards in the group who might be able to share a workaround such that ‘load file’ always brings me to my desired folder?

Thanks in advance,  
Luke

p.s. If it helps - I am using a `.desktop` file to launch the .AppImage file  
```  
[Desktop Entry]  
Type=Application  
Version=1.0  
Name=Sienci gSender  
Comment=grbl CNC Control Software  
Path=/home/luke/Programs  
Exec=/home/luke/Programs/gSender-1.6.4-Linux-Intel-64Bit.AppImage --force-device-scale-factor=0.8  
Icon=/home/luke/Programs/gSender-icon.png  
MimeType=text/x-gcode  
Terminal=false  
StartupWMClass=gSender  
Categories=Engineering;  
Keywords=grbl;CNC;gcode;  
```

---

<div class="post-metadata">

**Author:** ![elbarsal](https://forum.sienci.com/user_avatar/forum.sienci.com/elbarsal/32/3345_2.png) [@elbarsal](https://forum.sienci.com/u/elbarsal)\
**Post date:** [October 6, 2026, 12:14pm UTC](https://forum.sienci.com/t/linux-default-folder-for-load-file/27218/2 "2026-10-06T12:14:35Z")

</div>

I was thinking the same thing (I move my files into Desktop/cnc). Now you have me curious…

---

<div class="post-metadata">

**Author:** ![elbarsal](https://forum.sienci.com/user_avatar/forum.sienci.com/elbarsal/32/3345_2.png) [@elbarsal](https://forum.sienci.com/u/elbarsal)\
**Post date:** [October 6, 2026, 12:40pm UTC](https://forum.sienci.com/t/linux-default-folder-for-load-file/27218/3 "2026-10-06T12:40:06Z")

</div>

OK less than ideal news @lukewarm58 - I dug into the code, and while I don’t know the framework they are using (Electron) I did find the specific call to open the file picker ( **`dialog.showOpenDialog`** ) and found this note:

 ![image](https://forum.sienci.com/uploads/default/original/2X/3/35a4e9ce669d07e20f5520e83a16911051660116.png)

This seems to reflect what I see testing gSender on Windows vs Linux - on Windows, it remembers the previous directory, and as you and I both see on Linux it does not.

It seems there might be a workaround in that note, but again I don’t know the framework being used so I would have to test it to see what it does. I might get a chance to do that but probably not super soon.

---

<div class="post-metadata">

**Author:** ![KGN](https://forum.sienci.com/letter_avatar_proxy/v4/letter/k/c77e96/32.png) [@KGN](https://forum.sienci.com/u/KGN)\
**Post date:** [October 6, 2026, 1:03pm UTC](https://forum.sienci.com/t/linux-default-folder-for-load-file/27218/4 "2026-10-06T13:03:51Z")

</div>

It is an operating system API limitation as pointed out, unfortunately.

---

<div class="post-metadata">

**Author:** ![elbarsal](https://forum.sienci.com/user_avatar/forum.sienci.com/elbarsal/32/3345_2.png) [@elbarsal](https://forum.sienci.com/u/elbarsal)\
**Post date:** [October 6, 2026, 1:56pm UTC](https://forum.sienci.com/t/linux-default-folder-for-load-file/27218/5 "2026-10-06T13:56:14Z")

</div>

@KGN is it possible to pass the --xdg-portal-required-version=4 switch as an optional argument for the Linux version? I the above implies it would fall back to standard (gtk or kde) dialogs if that version is not available.

I have explored my Mint system and attempted to update any installed xdg components, as well as tried to pass that argument to gSender (but it gets rejected). Again, I’m not familiar with Electron, so I don’t even know if that would work / what behaviour would result.

---

<div class="post-metadata">

**Author:** ![lukewarm58](https://forum.sienci.com/letter_avatar_proxy/v4/letter/l/db5fbb/32.png) [@lukewarm58](https://forum.sienci.com/u/lukewarm58)\
**Post date:** [October 6, 2026, 3:06pm UTC](https://forum.sienci.com/t/linux-default-folder-for-load-file/27218/6 "2026-10-06T15:06:53Z")

</div>

@KGN and @elbarsal : thank you both for taking the time to reply to my question. It it much appreciated.
