philo
01-05-2015, 05:22 PM
In another recent thread, someone asked how to change the time & date formats in mc (midnight commander) from the "en_US" fomrat to ISO (aka International) and Werner gave the asnswer, actually quite elegant and simple.
I then asked Werner how to do this for PcManFM and his reply was:"As I can see it's hardcoded within PCManFM only to use the locale settings".
The ISO format is offered by "en_DK". All my locales are "en_US" and jsut changing LC_TIME seems to be challenging (for me).
First, I made sure that "en_DK.UTF-8 was marked by running "sudo dpkg-reconfigure locales" but, when asked, I retained "en_US" for the shell variables of the system.
Then, I created a file ~/.bashrc and just wrote into it : "export LC_TIME=en_DK.UTF-8" (without quotes) and made it executable.
Success.
I then asked Werner how to do this for PcManFM and his reply was:"As I can see it's hardcoded within PCManFM only to use the locale settings".
The ISO format is offered by "en_DK". All my locales are "en_US" and jsut changing LC_TIME seems to be challenging (for me).
First, I made sure that "en_DK.UTF-8 was marked by running "sudo dpkg-reconfigure locales" but, when asked, I retained "en_US" for the shell variables of the system.
Then, I created a file ~/.bashrc and just wrote into it : "export LC_TIME=en_DK.UTF-8" (without quotes) and made it executable.
Success.