Re: Frustrating feature in Evolution mail

2024-07-18 Thread Mark Gary
On Thu, 2024-07-18 at 12:10 +0200, Jan Stary wrote:
> > On Jul 18 10:42:23, mwg...@btinternet.com wrote:
> > > > > > > > > > https://gnome.pages.gitlab.gnome.org/evolution/help/mail-change-time-format.html
> > > > > > > > > > 
> > > > > > > > 
> > > > > > > > I did already change that.  However it only changes the
> > > > > > > > header
> > > > > > > > view, on > > > the email. Not the column view on list
> > > > > > > > of
> > > > > > > > emails.
> > > > > > 
> > > > > > Have you reported that upstream?
> > > > > > 
> > > > Not yet, trying to sort it out myself, as it works fine on
> > > > other
> > > > *BSDs.
> > > > I might though, as small change its baked into the binary,
> > > > maybe.
> > 
> > > > > > I know how to fix this in
> > > > > > FreeBSD by  including LANG=en_GB.UTF-8 etc in a number of
> > > > > > text
> > > > > > files.
> > > > > > However on OpenBSD, this hasn't worked in exactly the same
> > > > > > way.
> > 
> > To be clear: "hasn't worked in exactly same way" means what then?
> > 
meaning that under the other BSDs changing the locale settings in the
specified files will make sure the dates shown on the Date column in
the inbox are shown the correct way, i.e. for the traditional UK users,
and not confusingly.  So far I've failed to get the formating correct.
Either it's baked into the binary, so there would be bugger all I could
do about it, or I've there is another text file somewhere that needs
adding the locale setting.





Re: Frustrating feature in Evolution mail

2024-07-18 Thread Mark Gary
On Thu, 2024-07-18 at 11:17 +0200, Jan Stary wrote:
> On Jul 18 09:21:14, mwg...@btinternet.com wrote:
> > On Wed, 2024-07-17 at 13:22 +0200, Jan Stary wrote:
> > > On Jul 17 09:59:01, mwg...@btinternet.com wrote:
> > > > HI All,
> > > > 
> > > > I'm trying to resolve a trivial, but annoying problem with
> > > > using
> > > > Evolution mail on my OpenBSD setup. The style of date used in
> > > > the
> > > > list
> > > > of mail in my inbox is in US format, i.e month first, day
> > > > second,
> > > > and I
> > > > want it is UK format, day first, then month.
> > > 
> > > Does Evolution itself have a knob for that?
> > 
> > No, unfortunately it doesn't.  It picks up its behaviour from the
> > locale.  That's definitely how it works on other systems, FreeBSD,
> > NetBSD, Linux etc.
> 
> Googling "evolution date format", this is the first hit:
> https://help.gnome.org/users/evolution/stable/mail-change-time-format.html.en

Yes, I found that too.  It does change the date format, but only on the
header display in the email, not the column for the list of emails in
the inbox. That gets its setting from locale for some strange reason.
> 



Re: Frustrating feature in Evolution mail

2024-07-18 Thread Mark Gary
On Wed, 2024-07-17 at 13:22 +0200, Jan Stary wrote:
> On Jul 17 09:59:01, mwg...@btinternet.com wrote:
> > HI All,
> > 
> > I'm trying to resolve a trivial, but annoying problem with using
> > Evolution mail on my OpenBSD setup. The style of date used in the
> > list
> > of mail in my inbox is in US format, i.e month first, day second,
> > and I
> > want it is UK format, day first, then month.
> 
> Does Evolution itself have a knob for that?

No, unfortunately it doesn't.  It picks up its behaviour from the
locale.  That's definitely how it works on other systems, FreeBSD,
NetBSD, Linux etc.

> 
> > I know how to fix this in
> > FreeBSD by  including LANG=en_GB.UTF-8 etc in a number of text
> > files. 
> > However on OpenBSD, this hasn't worked in exactly the same way.
> 
> So what happened on OpenBSD, after defining LANG?
> (Note that LANG is a fallback if any of the LC_* are unset.)
> 
> As you probably know, the base system ignores the locale
> except for the character encoding (LC_CTYPE);
> that is not the case for packages though.
> 
> > As an aside, I was getting a similar problem with Libreoffice
> > defaulting to
> > USA dictionaries, but that has been fixed and is picking up its
> > locale
> > properly from one of the text files I amended.
> > 
> > text files where i have the correct variable is :
> > 
> > .bashrc
> > .bash_profile
> > .xinitrc
> > .xsession
> > .profile
> 

I've added the following to the above files:-

export LC_COLLATE="en_GB.UTF-8"
export LC_CTYPE="en_GB.UTF-8"
export LC_MONETARY="en_GB.UTF-8"
export LC_NUMERIC="en_GB.UTF-8"
export LC_TIME="en_GB.UTF-8"
export LC_MESSAGES="en_GB.UTF-8"
export LC_ALL="en_GB.UTF-8"
export LANG="en_GB.UTF-8"
export LANGUAGE="en_GB.UTF-8

That's probably overkill, but I'm throwing spaghetti at the wall now!


> If by "the correct variable" you mean LANG=en_GB.UTF-8,
> then it sets all the _unset_ LC vars for you.
> Can you pinpoint it to which of the LC vars specificaly
> is the one that alters Evolution's behaviour (if any)?
> 
> > /etc/login.conf - yes I did run cap_mkdb.
> 
> What exactly have ypu put in there?

added to bottom of the default section of login.conf :-

:LC_COLLATE=en_GB.UTF-8:\
:LC_TYPE=en_GB.UTF-8:\
:LC_MONETARY=en_GB.UTF-8:\
:LC_NUMERIC=en_GB.UTF-8:\
:LC_TIME=en_GB.UTF-8:\
:LC_MESSAGES=en_GB.UTF-8:\
:LC_ALL=en_GB.UTF-8:\
:LANG=en_GB.UTF-8:\
:LANGUAGE=en_GB.UTF-8:

Again, overkill but,  ¯\_(ツ)_/¯

> 
> > when I issue the locale command from the terminal, it shows all the
> > correct en_GB.UTF-8 variables. So everything looks OK, but i'm
> > obviously missing something.  So if there is another text file to
> > amend
> > I would apprecate any suggestion.
> 
> I would consult Evolutuon's documentation first.
> Wouldn't a mail client have a knob for the date format?
> 
> Jan
> 




Re: Frustrating feature in Evolution mail

2024-07-18 Thread Mark Gary
On Wed, 2024-07-17 at 13:13 +0200, Rob Schmersel wrote:
> On Wed, 17 Jul 2024 09:59:01 +0100
> Mark Gary  wrote:
> 
> > HI All,
> > 
> > I'm trying to resolve a trivial, but annoying problem with using
> > Evolution mail on my OpenBSD setup. The style of date used in the
> > list
> > of mail in my inbox is in US format, i.e month first, day second,
> > and
> > I want it is UK format, day first, then month.  I know how to fix
> > this in FreeBSD by  including LANG=en_GB.UTF-8 etc in a number of
> > text files. However on OpenBSD, this hasn't worked in exactly the
> > same way.  As an aside, I was getting a similar problem with
> > Libreoffice defaulting to USA dictionaries, but that has been fixed
> > and is picking up its locale properly from one of the text files I
> > amended.
> > 
> > text files where i have the correct variable is :
> > 
> > .bashrc
> > .bash_profile
> > .xinitrc
> > .xsession
> > .profile
> > /etc/login.conf - yes I did run cap_mkdb.
> > 
> > when I issue the locale command from the terminal, it shows all the
> > correct en_GB.UTF-8 variables. So everything looks OK, but i'm
> > obviously missing something.  So if there is another text file to
> > amend I would apprecate any suggestion.
> > 
> Don't use evolution, but what about following the advise in the
> manual:

Well yes, but I like evolution, I've used it for years (on other
systems).  However I don't like mysteries, even if they are very
trivial. 

> https://gnome.pages.gitlab.gnome.org/evolution/help/mail-change-time-format.html
> 

I did already change that.  However it only changes the header view, on
the email. Not the column view on list of emails.  This is picked up
from the machine locale settings.





Frustrating feature in Evolution mail

2024-07-17 Thread Mark Gary
HI All,

I'm trying to resolve a trivial, but annoying problem with using
Evolution mail on my OpenBSD setup. The style of date used in the list
of mail in my inbox is in US format, i.e month first, day second, and I
want it is UK format, day first, then month.  I know how to fix this in
FreeBSD by  including LANG=en_GB.UTF-8 etc in a number of text files. 
However on OpenBSD, this hasn't worked in exactly the same way.  As an
aside, I was getting a similar problem with Libreoffice defaulting to
USA dictionaries, but that has been fixed and is picking up its locale
properly from one of the text files I amended.

text files where i have the correct variable is :

.bashrc
.bash_profile
.xinitrc
.xsession
.profile
/etc/login.conf - yes I did run cap_mkdb.

when I issue the locale command from the terminal, it shows all the
correct en_GB.UTF-8 variables. So everything looks OK, but i'm
obviously missing something.  So if there is another text file to amend
I would apprecate any suggestion.

Many thanks
Mark G.



Olivebsd liveCD and using swap partitions

2008-04-01 Thread Mark Gary
I hope this question is relevant here in this group.

I've just downloaded the Olivebsd CD, to try it out on my Laptop.
I've got a 500Mb free partition doing nothing. Can that be
utilised as a swap partition to be used when the CD is running,
or is it possible to create a swap file on a FAT32 partition(or even
better, is it possible to use a windows pagefile which is not 
located on an NTFS partition?

Note that my laptop is currently exclusivly used by Windows XP.



Thanks

Mark