Results 1 to 2 of 2

Thread: PCManFM Time & Date Formats

  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
  •  


SRF8Z Intel Xeon Gold 6244 8-Core 3.60GHz 24.75MB 150W Processor ***New Other*** picture

SRF8Z Intel Xeon Gold 6244 8-Core 3.60GHz 24.75MB 150W Processor ***New Other***

$1484.90



Dell PowerEdge R630 Server 3.50Ghz 8-Core 192GB 10x NEW 2TB SSD H730P Rails picture

Dell PowerEdge R630 Server 3.50Ghz 8-Core 192GB 10x NEW 2TB SSD H730P Rails

$2877.90



Dell PowerEdge R730 Server 3.50Ghz 8-Core 32GB 9x NEW 2TB SSD HBA330 Rails picture

Dell PowerEdge R730 Server 3.50Ghz 8-Core 32GB 9x NEW 2TB SSD HBA330 Rails

$2522.35



Intel - Core i9-13900K 13th Gen 24 cores 8 P-cores + 16 E-cores 36M Cache, 3 ... picture

Intel - Core i9-13900K 13th Gen 24 cores 8 P-cores + 16 E-cores 36M Cache, 3 ...

$689.99



AMD Ryzen 7 7800X3D 8-Core - 16-Thread 4.2 GHz (5.0 GHz Max Boost) Socket A... picture

AMD Ryzen 7 7800X3D 8-Core - 16-Thread 4.2 GHz (5.0 GHz Max Boost) Socket A...

$339.95



Intel - Core i7-13700K 13th Gen 16 cores 8 P-cores + 8 E-cores 30M Cache, 3.4... picture

Intel - Core i7-13700K 13th Gen 16 cores 8 P-cores + 8 E-cores 30M Cache, 3.4...

$489.99



HP Chromebase Desktop PC 21.5

HP Chromebase Desktop PC 21.5" FHD Core i3-10110U Intel UHD 8GB DDR4 128GB SSD

$359.99



Apple Mac Pro Processor Tray 5,1 2010 2012 2.4ghz 8 core picture

Apple Mac Pro Processor Tray 5,1 2010 2012 2.4ghz 8 core

$79.99



Dell Optiplex 5060 SFF 8th Gen Core i7 3.2GHZ 16GB 512GB Win 11 Pro picture

Dell Optiplex 5060 SFF 8th Gen Core i7 3.2GHZ 16GB 512GB Win 11 Pro

$249.00



Dell 9020 Optiplex Micro-Intel Core i5 - 1TB SSD 8GB RAM Window 11 picture

Dell 9020 Optiplex Micro-Intel Core i5 - 1TB SSD 8GB RAM Window 11

$129.49