vermaden / automount

Simple devd(8) based automounter for FreeBSD
66 stars 20 forks source link

`automount` launch caja with German locale, while desktop's is English #45

Closed lispstudent closed 1 year ago

lispstudent commented 1 year ago

Hello,

I have an unusual situation, perhaps only loosely related to automount. I have this in my /usr/local/etc/automount.conf:

FM="caja --browser --no-desktop"

When I connect a USB drive, caja is launched with German locale and different settings.

If I launch caja from the taskbar, though, it has my defined English locale.

Is by any chance automount using a different locale? How could one debug this kind of issues?

See attached screenshots.

20221212-01

20221212-03

vermaden commented 1 year ago

Hi,

its the first time I have heard about such issue - but for a start I would out that line below into the /usr/local/etc/automount.conf file:

FM="env LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 caja --browser --no-desktop"

Please do that and let me know if it helped.

Thanks, vermaden

lispstudent commented 1 year ago

Yes, with that line, caja opens with proper English locale.

Thank you for the help!

vermaden commented 1 year ago

Glad to hear that :)

Regards.