You are not logged in.

#1 2023-11-24 16:43:10

ArchUserBTW69
Member
Registered: 2022-09-03
Posts: 33

[SOLVED] Spotify-launcher not working

When i install Spotify-launcher from the official repo it and open it, it gives me this

❯ spotify-launcher
[2023-11-24T16:33:49Z INFO  spotify_launcher::config] Loading configuration file at "/etc/spotify-launcher.conf"
[2023-11-24T16:33:49Z INFO  spotify_launcher::apt] Downloading release file...
[2023-11-24T16:33:49Z INFO  spotify_launcher::apt] Downloading signature...
[2023-11-24T16:33:49Z INFO  spotify_launcher::apt] Verifying pgp signature...
[2023-11-24T16:33:49Z INFO  spotify_launcher::apt] Signature verified successfully!
[2023-11-24T16:33:49Z INFO  spotify_launcher::apt] Downloading package index...
[2023-11-24T16:33:50Z INFO  spotify_launcher::apt] Verifying with sha256sum hash...
[2023-11-24T16:33:50Z INFO  spotify_launcher::apt] Downloading deb file for "spotify-client_1.2.25.1011.g0348b2ea_amd64.deb" version="spotify-client" ("1:1.2.25.1011.g0348b2ea")

(process:27792): Gtk-WARNING **: 17:33:50.032: Locale not supported by C library.
        Using the fallback 'C' locale.
This option is not available. Please see --help for all possible usages.
Error: Broken pipe (os error 32)


my locale -a is
❯ locale -a
C
C.utf8
en_DK.utf8
POSIX

Using kde plasma

Last edited by ArchUserBTW69 (2023-12-01 15:30:10)

Offline

#2 2023-11-26 08:52:41

ugjka
Member
From: Latvia
Registered: 2014-04-01
Posts: 1,957
Website

Re: [SOLVED] Spotify-launcher not working

https://github.com/kpcyrd/spotify-launcher/issues/24

I was facing the same problem:
echo $LANG
Returned a UTF-8 locale.

I was able to solve it by (temporarily) setting LC_ALL to a UTF-8 locale for example as follows:
export LC_ALL=en_US.UTF-8

As far is I understand this setting will be gone after a reboot, but it's only needed to install spotify when launching spotify-launcher the first time.

Offline

#3 2023-12-01 15:24:51

ArchUserBTW69
Member
Registered: 2022-09-03
Posts: 33

Re: [SOLVED] Spotify-launcher not working

ugjka wrote:

https://github.com/kpcyrd/spotify-launcher/issues/24

I was facing the same problem:
echo $LANG
Returned a UTF-8 locale.

I was able to solve it by (temporarily) setting LC_ALL to a UTF-8 locale for example as follows:
export LC_ALL=en_US.UTF-8

As far is I understand this setting will be gone after a reboot, but it's only needed to install spotify when launching spotify-launcher the first time.

Sorry i was gone for a while, i have tried that but it's still giving the same error

EDIT: Ok i have kinda fixed it by using the spotify package from Aur instead of the repo

Last edited by ArchUserBTW69 (2023-12-01 15:29:51)

Offline

#4 2023-12-01 15:31:45

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: [SOLVED] Spotify-launcher not working

Of course it does, you don't have en_US.UTF-8 generated.

Forgetting that for a minute, what's the output of just `locale`? `cat /etc/locale.conf`? Also see the plasma wiki page for instructions on how to undo it's interference.

Offline

Board footer

Powered by FluxBB