You are not logged in.
Pages: 1
Hi there, I appreciate if there is a way to modify the date in thunar like this: day/month/year
I have seen there there are only these possibilities:
THUNAR_DATE_STYLE_SIMPLE (e.g. "Today")
THUNAR_DATE_STYLE_SHORT (e.g. "Today at 07:04:22 AM")
THUNAR_DATE_STYLE_LONG (e.g. "Fri 05 Dec 2014 07:04:22 AM CST")
THUNAR_DATE_STYLE_ISO (e.g. "2014-12-05 07:04:22")
Thanks
Offline
Thunar doesn't have that level of customization, but you can use another locale's LC_TIME setting (for example pt_PT.UTF-8) that displays time in the dd-mm-yyyy format. To do so, start thunar via:
LC_TIME=pt_PT.UTF-8 thunar
Make sure that you have the correct locale configured for use and that the Thunar daemon isn't running when you test.
You can make this permanent by changing the thunar.desktop file so that the "Exec=" line reads:
Exec=env LC_TIME=pt_PT.UTF-8 thunar
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Well, my locale are:
LANG=it_IT.UTF-8
LANGUAGE=it
LC_CTYPE="it_IT.UTF-8"
LC_NUMERIC="it_IT.UTF-8"
LC_TIME="it_IT.UTF-8"
LC_COLLATE="it_IT.UTF-8"
LC_MONETARY="it_IT.UTF-8"
LC_MESSAGES="it_IT.UTF-8"
LC_PAPER="it_IT.UTF-8"
LC_NAME="it_IT.UTF-8"
LC_ADDRESS="it_IT.UTF-8"
LC_TELEPHONE="it_IT.UTF-8"
LC_MEASUREMENT="it_IT.UTF-8"
LC_IDENTIFICATION="it_IT.UTF-8"
LC_ALL=
dpkg -l locales
Voluto=U (non noto)/I (installato)/R (rimosso)/P (rimosso totale)/H (in attesa)
| Stato=Non/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(nessuno)/R (reinstallazione richiesta) (Stato,Err: maiuscolo=grave)
||/ Nome Versione Architettura Descrizione
+++-=====================================================-===============================-===============================-================================================================================================================
ii locales 2.23-0ubuntu9 all GNU C Library: National Language (locale) data [support]
Last edited by Pizio (2017-09-03 09:03:56)
Offline
Try this:
1. First kill any existing thunar processes:
thunar -q
2. Try running thunar like this from the terminal window:
LC_TIME=it_IT.UTF-8 thunar
Does it make the time/date display like you are expecting?
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
No, the date is always as I wrote above years/month/day and not dd/mm/yyyy.
Offline
On my Xubuntu 17.04 system:
$ locale
LANG=en_CA.UTF-8
LANGUAGE=en_CA:en
LC_CTYPE="en_CA.UTF-8"
LC_NUMERIC="en_CA.UTF-8"
LC_TIME="en_CA.UTF-8"
LC_COLLATE="en_CA.UTF-8"
LC_MONETARY="en_CA.UTF-8"
LC_MESSAGES="en_CA.UTF-8"
LC_PAPER="en_CA.UTF-8"
LC_NAME="en_CA.UTF-8"
LC_ADDRESS="en_CA.UTF-8"
LC_TELEPHONE="en_CA.UTF-8"
LC_MEASUREMENT="en_CA.UTF-8"
LC_IDENTIFICATION="en_CA.UTF-8"
LC_ALL=
$ cat /etc/locale.gen | grep -v ^#
en_CA.UTF-8 UTF-8
en_US.UTF-8 UTF-8
it_IT.UTF-8 UTF-8
pt_BR.UTF-8 UTF-8
pt_PT.UTF-8 UTF-8
Thunar via the default (en_US.UTF-8) - date in YYYY-MM-DD format:
Thunar run via "LC_TIME=it_IT.UTF-8 thunar" - date in DD/MM/YYYY:
I used "sudo dpkg-reconfigure locales" to add the non-English locales.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Well, redoing the same command "LC_TIME=it_IT.UTF-8 thunar" I note after this command thunar opens file manager with any changes.
But I note also that the second image you have posted is the image obtained changing settings in preference day in Thunar (THUNAR_DATE_STYLE_SHORT). I would like to see the dates showed in this way dd/mm/yyyy and not "today/yesterday.
Offline
Then I believe you will need to create an enhancement request over at bugzilla.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Sorry that I'm posting in this old thread, but can Thunar be modified to show time like `ls` does?
By default, file timestamps are listed in abbreviated form, using a date like ‘Mar 30 2002’ for non-recent timestamps, and a date-without-year and time like ‘Mar 30 23:45’ for recent timestamps. This format can change depending on the current locale as detailed below.
A timestamp is considered to be “recent” if it is less than six months old, and is not dated in the future. If a timestamp dated today is not listed in recent form, the timestamp is in the future, which means you probably have clock skew problems which may break programs like ‘make’ that rely on file timestamps.
Remember to edit the subject of your topic to include the [SOLVED] tag once you're satisfied with the answers or have found a solution (in which case, don't forget to share it as well), so that other members of the community can quickly refer to it and save their time. Pretty please!
Offline
Sorry that I'm posting in this old thread, but can Thunar be modified to show time like `ls` does?
If you are running a recent version of thunar, in Edit>Preferences, Display Tab there is a Date option. If you set it to "Custom" and use the following string:
%b %_d %H:%M
...it should display the time as something similar to "ls -l".
Then you can also go to View>Columns and select different columns to display (and order them) to see if you can get something similar to the complete ls -l display.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Ah, I see. I'm on version 1.8.14-0ubuntu1. Yes, everything is set up so nicely to mimic the long format of `ls` and only the timestamp format is ruining it all.
Thank you nonetheless!
Remember to edit the subject of your topic to include the [SOLVED] tag once you're satisfied with the answers or have found a solution (in which case, don't forget to share it as well), so that other members of the community can quickly refer to it and save their time. Pretty please!
Offline
Pages: 1
[ Generated in 0.014 seconds, 7 queries executed - Memory usage: 588.76 KiB (Peak: 605.6 KiB) ]