Problem
When using the native Linux version of WeChat (typically the Flatpak version) on Ubuntu, receiving an image or file and clicking “Save As” brings up a file save dialog that only shows two directories:
- Downloads
- xwechat_files
Instead, you would expect to see all the folders in your user directory, such as Documents, Pictures, Videos, Desktop, etc. As shown in the screenshot below, the dialog is almost empty, with only these two items listed.

Cause Analysis
This happens because the Linux version of WeChat usually runs as a Flatpak sandbox. To improve security, Flatpak restricts applications by default to accessing only a very small number of system directories (such as ~/下载 and the app’s own data directory ~/xwechat_files). WeChat does not have permission to access other directories like 文档, 图片, 桌面, etc., so they naturally do not appear in the “Save As” dialog.
This is not a bug in WeChat, but rather the permission isolation mechanism of Flatpak. The benefit is that WeChat cannot freely read all your personal files; the downside is that saving files becomes quite inconvenient.
Solutions
There are two ways to solve this: a graphical tool (recommended for beginners) or terminal commands (recommended for users familiar with the command line).
Option 1: Use the Flatseal GUI
- Install Flatseal
Open a terminal and run:
flatpak install flathub com.github.tchx84.Flatseal- Launch Flatseal
Find and open Flatseal in your application menu. - Grant permissions to WeChat
- Find WeChat (or
com.tencent.WeChat) in the application list on the left and click it. - In the Filesystem section on the right, turn on the All user files toggle (this allows WeChat to access the entire user directory).
- Alternatively, for more granular control, click the plus sign next to “Other files” to add specific directories like
/home/wangqiang/文档and/home/wangqiang/图片.
- Restart WeChat
Close WeChat and reopen it. Click “Save As” again, and you will find that all your common directories are now visible.
Option 2: Use the command line (one-time authorization)
If you prefer using the terminal, you can directly run the following command to grant WeChat access to the entire user home directory:
sudo flatpak override com.tencent.WeChat --filesystem=homeIf you only want to authorize specific directories (such as Documents and Pictures):
sudo flatpak override com.tencent.WeChat --filesystem=/home/wangqiang/文档
sudo flatpak override com.tencent.WeChat --filesystem=/home/wangqiang/图片After running the command, you also need to restart WeChat.

Temporary Workaround (without modifying permissions)
If you prefer not to modify WeChat’s permissions, you can do this instead:
- In the WeChat chat window, right-click the file → select “Download File”.
- Right-click the same file again → select “Show in Folder”.
- The file manager will open the
~/xwechat_filesdirectory, which contains the downloaded file. From here, you can manually copy it to any other location.
This method requires no configuration, but it involves a few extra steps every time.
Additional Finding: Saved files may lack extensions
After resolving the above issue, you might encounter another minor annoyance: images saved from WeChat often have filenames consisting of just a string of numbers or simple names like “1” or “2” without any extension. For example, if you save an image, its filename might be 1 (instead of 1.jpg). When you try to upload it to certain web pages (like DeepSeek), the file picker may filter it out due to the missing extension, making the file invisible—even if the file content itself is actually a JPEG.
Solution: Batch add the .jpg suffix to images without extensions. Use the following command (safe version, only processes files without a dot):
cd /path/to/your/images
for f in *; do
[ -f "$f" ] && [[ "$f" != *.* ]] && mv -- "$f" "$f.jpg"
doneThis ensures the images are properly recognized during upload.
Summary
| Problem | Cause | Solution |
|---|---|---|
| WeChat “Save As” only shows two folders | Flatpak sandbox permission restrictions | Use Flatseal or the command line to grant filesystem permissions |
| Saved images have no extension | Flawed save logic in the Linux version of WeChat | Batch rename to add .jpg |
With these settings, Linux WeChat lets you freely choose a save path just like the Windows version. I hope this experience helps others using Ubuntu + WeChat.
This article is based on testing with Ubuntu 22.04/24.04 + the Flatpak version of WeChat (com.tencent.WeChat). Different versions may vary slightly, but the underlying principle remains the same.

