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
  •  


ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield picture

ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield

$42.00



***NEW*** BCM RX67Q Gaming Motherboard | Intel Q67 2nd/3rd Gen. | LGA1155 | DDR3 picture

***NEW*** BCM RX67Q Gaming Motherboard | Intel Q67 2nd/3rd Gen. | LGA1155 | DDR3

$29.77



Asus H81M-C Intel LGA1150 DDR3 Desktop Motherboard MicroATX Socket H3  picture

Asus H81M-C Intel LGA1150 DDR3 Desktop Motherboard MicroATX Socket H3

$24.99



ASUS ROG Strix B650E-F Gaming WiFi AM5 ATX AMD Motherboard picture

ASUS ROG Strix B650E-F Gaming WiFi AM5 ATX AMD Motherboard

$115.00



Asrock Z390 Phantom Gaming 4S/AC Wifi 8th/9th Gen Intel 1151 Motherboard Bulk picture

Asrock Z390 Phantom Gaming 4S/AC Wifi 8th/9th Gen Intel 1151 Motherboard Bulk

$47.49



MSI A320M-A PRO AM4 AMD A320 USB3.2 Gen1 Micro-ATX Motherboard picture

MSI A320M-A PRO AM4 AMD A320 USB3.2 Gen1 Micro-ATX Motherboard

$46.99



Micro ATX Desktop Motherboard ASUS H110M-C LGA 1151 picture

Micro ATX Desktop Motherboard ASUS H110M-C LGA 1151

$31.95



Gigabyte AMD B550 UD AC Gaming Motherboard - AMD B550 Chipset - AM4 Socket - AMD picture

Gigabyte AMD B550 UD AC Gaming Motherboard - AMD B550 Chipset - AM4 Socket - AMD

$89.99



BTC-S37 Mining Motherboard Kit /w SSD & Ram Preinstalled picture

BTC-S37 Mining Motherboard Kit /w SSD & Ram Preinstalled

$59.99



GIGABYTE MB10-Datto Motherboard Xeon D-1521- SR2DF 2.40 GHz- Open Box picture

GIGABYTE MB10-Datto Motherboard Xeon D-1521- SR2DF 2.40 GHz- Open Box

$115.00