Results 1 to 2 of 2

Thread: PCManFM Time & Date Formats

Hybrid View

  1. #1
    Senior Member
    Join Date
    Dec 2012
    Posts
    152

    PCManFM Time & Date Formats

    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.
    Last edited by philo; 01-05-2015 at 05:25 PM.

  2. #2
    Senior Member
    Join Date
    Dec 2012
    Posts
    152
    PS - Cannot reproduce

    The above works in my current USB installation of Knoppix 7.4.2.

    I just made a fresh installtion on another USB key but I fail to reproduce the "solution" hastily proposed above.

    Before applying that script I had tinkered with several locale settings, but none of those tricks worked and I thought I had rversed them all. Possibly one changed setting was retained and helped the '~/.bashrc' to succeed but I do not know which one.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE picture

1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE

$297.00



HPE ProLiant MicroServer Gen8 Intel Xeon E3-1265L 16GB ECC PCIe x16 4x1TB HDD picture

HPE ProLiant MicroServer Gen8 Intel Xeon E3-1265L 16GB ECC PCIe x16 4x1TB HDD

$249.99



HP ProLiant Xeon E3-1220L V2 MicroServer Gen8 2.30 GHz 16 GB RAM NO DRIVES picture

HP ProLiant Xeon E3-1220L V2 MicroServer Gen8 2.30 GHz 16 GB RAM NO DRIVES

$199.99



SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount picture

SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount

$202.49



HPE ProLiant MicroServer Gen10 Plus v2 Ultra Micro Tower Server - 1 x Intel Xeon picture

HPE ProLiant MicroServer Gen10 Plus v2 Ultra Micro Tower Server - 1 x Intel Xeon

$846.19



Supermicro 505-2 Mini-1U Server 5018A-FTN4 16GB 2.4ghz Atom + Rack Ears picture

Supermicro 505-2 Mini-1U Server 5018A-FTN4 16GB 2.4ghz Atom + Rack Ears

$199.00



Supermicro 5018A-FTN4 Rack Server - Black picture

Supermicro 5018A-FTN4 Rack Server - Black

$125.00



SuperMicro SuperServer 505-2 Intel Atom @ 2.4GHz 8GB w/ Ears 5018A-FTN4 picture

SuperMicro SuperServer 505-2 Intel Atom @ 2.4GHz 8GB w/ Ears 5018A-FTN4

$159.80



SUPERMICRO CSE-512 AMD Opteron Processor 6128, 32GB DDR3 RAM NO HDD picture

SUPERMICRO CSE-512 AMD Opteron Processor 6128, 32GB DDR3 RAM NO HDD

$90.00



1U Supermicro Server X10DRU-i+ 2x Xeon Total 36 Cores 64GB 4x 10GBE-T 2PS picture

1U Supermicro Server X10DRU-i+ 2x Xeon Total 36 Cores 64GB 4x 10GBE-T 2PS

$299.00