Solved Lollypop locale error

I installed audio/lollypop from ports but when I start it I get a error

IGwXzps.png


Any ideas why?

Thanks in advance!
 
Hi,
Try this addition to your ~/.login_conf
Code:
me:\
             :charset=UTF-8:\
             :lang=en_US.UTF-8:
Log out user to reset locale.
See section 22.2. Using Localization in the FreeBSD Handbook.
 
I am the maintainer of Lollypop (I know it's outdated, but I noticed problem with Lua with some ports).

As this soft is written in Python3 and uses the python GObject Introspection bindings, strings are stored as Unicode in instance of the str type, so your locale settings needs to be UTF-8. However, you can keep your locale untouched.

There are 2 methods:

Create an alias for your shell (depends type of shell)
Code:
alias lollypop='env LC_CTYPE=en_US.UTF-8 /usr/local/bin/lollypop'

Or copy lollypop.desktop into ${XDG_DATA_HOME}/applications directory (~/.local/share/applications). If you use desktop environment like GNOME, Xfce, Mate ... Then change Exec=... line by:

Code:
Exec=env LC_CTYPE=en_US.UTF-8 lollypop
 
thanks both ... I m using the last method

Code:
Exec=env LC_CTYPE=en_US.UTF-8 lollypop

Works now
 
Back
Top