unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#36180: Problem with non ASCII chars in Libreoffice and zsh on foreign distro
@ 2019-06-12 13:49 Andréas Livet
  2019-06-13  8:02 ` Ludovic Courtès
  0 siblings, 1 reply; 8+ messages in thread
From: Andréas Livet @ 2019-06-12 13:49 UTC (permalink / raw)
  To: 36180

Hi,

Guix is an amazing piece of software and I want to learn more about it.

Before installing GuixSD on my machine, I started playing with Guix on 
my Xubuntu 18.04 system.

Starting to replace apt installed software with guix ones.

It works pretty well but I'm having some trouble with non ASCII 
characters in filenames.

* I can't open files with non ASCII characters in LibreOffice

* I can't type non ASCII characters in zsh (though I can with guix 
installed bash)

I thought the problem was related to : https://issues.guix.info/issue/36074

But after applying the patch and restart systemd, I still got my issues.

Thanks for your help

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#36180: Problem with non ASCII chars in Libreoffice and zsh on foreign distro
  2019-06-12 13:49 bug#36180: Problem with non ASCII chars in Libreoffice and zsh on foreign distro Andréas Livet
@ 2019-06-13  8:02 ` Ludovic Courtès
  2019-06-13 12:11   ` Andréas Livet
  0 siblings, 1 reply; 8+ messages in thread
From: Ludovic Courtès @ 2019-06-13  8:02 UTC (permalink / raw)
  To: Andréas Livet; +Cc: 36180

Hello Andréas,

Andréas Livet <andreas@livet.me> skribis:

> It works pretty well but I'm having some trouble with non ASCII
> characters in filenames.
>
> * I can't open files with non ASCII characters in LibreOffice
>
> * I can't type non ASCII characters in zsh (though I can with guix
> installed bash)

Did you install ‘glibc-locales’ and set ‘GUIX_LOCPATH’ as explained in:

  https://gnu.org/software/guix/manual/en/html_node/Application-Setup.html#Locales

?

You must make sure ‘GUIX_LOCPATH’ is defined in the environment of
LibreOffice and zsh.

Do you see any locale-related warnings?

Thanks for reporting the issue!

Ludo’.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#36180: Problem with non ASCII chars in Libreoffice and zsh on foreign distro
  2019-06-13  8:02 ` Ludovic Courtès
@ 2019-06-13 12:11   ` Andréas Livet
  2019-06-13 12:35     ` Andréas Livet
  2019-06-14 11:16     ` Ludovic Courtès
  0 siblings, 2 replies; 8+ messages in thread
From: Andréas Livet @ 2019-06-13 12:11 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 36180

[-- Attachment #1: Type: text/plain, Size: 908 bytes --]


Hello Ludo,

Thanks for your reply !

> Did you install ‘glibc-locales’ and set ‘GUIX_LOCPATH’ as explained in:
>
>    https://gnu.org/software/guix/manual/en/html_node/Application-Setup.html#Locales
>
> ?
Yes
> You must make sure ‘GUIX_LOCPATH’ is defined in the environment of
> LibreOffice and zsh.

Good catch for Libreoffice, I didn't thought about that since I use to 
open LO files with Thunar (it raise an other question : how to set 
GUIX_LOCPATH for applications that I do not from command line, but it's 
not related to guix).

But for zsh, `GUIX_LOCPATH` was already setted.

Each time I type a non ASCII letter, eg `é` it display : 
`<ffffffff><ffffffff>`

> Do you see any locale-related warnings?
I had those warnings but fix them with instructions given in 
https://issues.guix.info/issue/36074
> Thanks for reporting the issue!

And thank for taking tare of it ! :D

Andréas


[-- Attachment #2: Type: text/html, Size: 1996 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#36180: Problem with non ASCII chars in Libreoffice and zsh on foreign distro
  2019-06-13 12:11   ` Andréas Livet
@ 2019-06-13 12:35     ` Andréas Livet
  2019-06-14 17:24       ` Andreas Enge
  2019-06-14 21:18       ` Ludovic Courtès
  2019-06-14 11:16     ` Ludovic Courtès
  1 sibling, 2 replies; 8+ messages in thread
From: Andréas Livet @ 2019-06-13 12:35 UTC (permalink / raw)
  To: 36180

[-- Attachment #1: Type: text/plain, Size: 457 bytes --]



> Good catch for Libreoffice, I didn't thought about that since I use to 
> open LO files with Thunar (it raise an other question : how to set 
> GUIX_LOCPATH for applications that I do not from command line, but 
> it's not related to guix).
>
I just have to add GUIX_LOCPATH to ~/.xsessionrc and it works for 
LibreOffice AND zsh !!

Don't understand why setting it in ~/.zshrc wasn't enough ??

Anyway, thanks for pointing me to the right direction !


[-- Attachment #2: Type: text/html, Size: 957 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#36180: Problem with non ASCII chars in Libreoffice and zsh on foreign distro
  2019-06-13 12:11   ` Andréas Livet
  2019-06-13 12:35     ` Andréas Livet
@ 2019-06-14 11:16     ` Ludovic Courtès
  1 sibling, 0 replies; 8+ messages in thread
From: Ludovic Courtès @ 2019-06-14 11:16 UTC (permalink / raw)
  To: Andréas Livet; +Cc: 36180

Hello,

Andréas Livet <andreas@livet.me> skribis:

>> You must make sure ‘GUIX_LOCPATH’ is defined in the environment of
>> LibreOffice and zsh.
>
> Good catch for Libreoffice, I didn't thought about that since I use to
> open LO files with Thunar (it raise an other question : how to set
> GUIX_LOCPATH for applications that I do not from command line, but
> it's not related to guix).

Awesome.

> But for zsh, `GUIX_LOCPATH` was already setted.
>
> Each time I type a non ASCII letter, eg `é` it display :
> `<ffffffff><ffffffff>`

Hmm that I don’t know.  It could have to do with your terminal emulator, too.

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#36180: Problem with non ASCII chars in Libreoffice and zsh on foreign distro
  2019-06-13 12:35     ` Andréas Livet
@ 2019-06-14 17:24       ` Andreas Enge
  2019-06-14 21:18       ` Ludovic Courtès
  1 sibling, 0 replies; 8+ messages in thread
From: Andreas Enge @ 2019-06-14 17:24 UTC (permalink / raw)
  To: Andréas Livet; +Cc: 36180-done

On Thu, Jun 13, 2019 at 02:35:00PM +0200, Andréas Livet wrote:
> I just have to add GUIX_LOCPATH to ~/.xsessionrc and it works for LibreOffice
> AND zsh !!

Closing the bug then.

Andreas

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#36180: Problem with non ASCII chars in Libreoffice and zsh on foreign distro
  2019-06-13 12:35     ` Andréas Livet
  2019-06-14 17:24       ` Andreas Enge
@ 2019-06-14 21:18       ` Ludovic Courtès
  2019-06-15 12:58         ` Andréas Livet
  1 sibling, 1 reply; 8+ messages in thread
From: Ludovic Courtès @ 2019-06-14 21:18 UTC (permalink / raw)
  To: Andréas Livet; +Cc: 36180-done

Andréas Livet <andreas@livet.me> skribis:

>> Good catch for Libreoffice, I didn't thought about that since I use
>> to open LO files with Thunar (it raise an other question : how to
>> set GUIX_LOCPATH for applications that I do not from command line,
>> but it's not related to guix).
>>
> I just have to add GUIX_LOCPATH to ~/.xsessionrc and it works for
> LibreOffice AND zsh !!
>
> Don't understand why setting it in ~/.zshrc wasn't enough ??

Ah that’s because it needs to be set in the environment of zsh when you
start it.  Great that you found out!

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#36180: Problem with non ASCII chars in Libreoffice and zsh on foreign distro
  2019-06-14 21:18       ` Ludovic Courtès
@ 2019-06-15 12:58         ` Andréas Livet
  0 siblings, 0 replies; 8+ messages in thread
From: Andréas Livet @ 2019-06-15 12:58 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 36180-done

Thanks for your help, GUIX is really awesome and I enjoy using it !

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-06-15 12:59 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-12 13:49 bug#36180: Problem with non ASCII chars in Libreoffice and zsh on foreign distro Andréas Livet
2019-06-13  8:02 ` Ludovic Courtès
2019-06-13 12:11   ` Andréas Livet
2019-06-13 12:35     ` Andréas Livet
2019-06-14 17:24       ` Andreas Enge
2019-06-14 21:18       ` Ludovic Courtès
2019-06-15 12:58         ` Andréas Livet
2019-06-14 11:16     ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).