Linux: FileZilla error message – A local filename could not be decoded

Fix LC_CTYPE error message when starting FileZilla.

When starting FileZilla I always got the following error message. After clicking OK, the application started normally, but it was still annoying.

A local filename could not be decoded.
Please make sure the LC_CTYPE (or LC_ALL) environment variable is set correctly.
Unless you fix this problem, files might be missing in the file listings.
No further warning will be displayed this session.

Video

The solution

However, the problem can be fixed quite easily. To do this, we edit the link of the application:

sudo vim /usr/share/applications/filezilla.desktop

In the file we look for the following line:

Exec=filezilla

Then we replace the line with the following:

Exec=env LC_ALL=en_US.UTF-8 filezilla

After that, the application started without any problems.

Leave a Reply

Your email address will not be published. Required fields are marked *