You are not logged in.

#1 2024-01-12 14:29:59

Xavier0
Member
Registered: 2024-01-12
Posts: 3

Rofi failet to SET Locale

Hey Folks, I think I followed every thread about Rofi here so far. I'm trying a fresh install with Arch + Hyprland and I cannot get Rofi to work.

Rofi error:

rofi -r
(process:1315): Rofi-WARNING **: 11:21:08.041: Failed to set locale.

locale:

locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

Locale gen:

grep -v ^# /etc/locale.gen
en_US.UTF-8 UTF-8  

localectl output:

localectl
System Locale: LANG=en_US.UTF-8
    VC Keymap: us
   X11 Layout: us
    X11 Model: pc105+inet
  X11 Options: terminate:ctrl_alt_bksp

Does somebody have any idea of what I did wrong?

Offline

#2 2024-01-12 15:26:13

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,273

Re: Rofi failet to SET Locale

locale -a

?

Did you ever actually ran locale-gen ?

Offline

#3 2024-01-12 15:30:09

Xavier0
Member
Registered: 2024-01-12
Posts: 3

Re: Rofi failet to SET Locale

V1del wrote:
locale -a

?

Did you ever actually ran locale-gen ?

I ran gen, here's the output for the locale -a

locale -a

C
C.utf8
en_US.utf8
POSIX

I did, just did it  again:

sudo locale-gen 
Generating locales...
  en_US.UTF-8... done
Generation complete.

rofi -r
(process:15794): Rofi-WARNING **: 12:28:23.535: Failed to set locale.

Last edited by Xavier0 (2024-01-12 15:34:53)

Offline

#4 2024-01-12 16:06:22

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,573

Re: Rofi failet to SET Locale

Same behavior on an X11 session?

Offline

#5 2024-01-12 16:12:17

Xavier0
Member
Registered: 2024-01-12
Posts: 3

Re: Rofi failet to SET Locale

seth wrote:

Same behavior on an X11 session?

I went fresh arch + hyprland from the archinstall menu. So I have not tried any other way

Offline

#6 2024-01-12 16:15:18

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,573

Re: Rofi failet to SET Locale

rofi is an X11 client, you'll at best run it through xwayland and we need to know whether the locale warning is a red herring and the actual problem the wayland context.
The wiki btw. advises you to use wofi on wayland compositors.

Offline

#7 2024-01-12 16:44:00

dogknowsnx
Guest

Re: Rofi failet to SET Locale

seth wrote:

The wiki btw. advises you to use wofi on wayland compositors.

FWIW 'wofi' isn't actively maintained anymore, but there are plenty alternatives:
https://wiki.archlinux.org/title/List_o … _launchers
https://aur.archlinux.org/packages/rofi … ayland-git

Board footer

Powered by FluxBB