You are not logged in.

#1 2025-05-27 04:04:57

bala451987
Member
Registered: 2025-01-22
Posts: 38

dmenu Locale Issue on bspwm

I recently installed bspwm with XFCE and I'm having issues using dmenu. It throws an error related to locale support. I’ve already checked the locale settings in /etc/locale.conf, and they appear to be correctly set to my region (India). Could someone help me troubleshoot this?

Offline

#2 2025-05-27 07:06:07

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,307

Re: dmenu Locale Issue on bspwm

It throws an error related to locale support.

Please don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855
Also

localectl; locale; locale -a

Offline

#3 2025-05-28 15:51:16

bala451987
Member
Registered: 2025-01-22
Posts: 38

Re: dmenu Locale Issue on bspwm

Sorry, I didn’t fully understand your response. However, I do understand that you're asking me to write the message more clearly.

Offline

#4 2025-05-28 18:27:18

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,307

Re: dmenu Locale Issue on bspwm

Did you click and read the link?
You're supposed to post the verbatim errors you get, not some vague  description of them.
And then also the output of those three locale commands.

Offline

#5 2025-05-29 09:49:26

bala451987
Member
Registered: 2025-01-22
Posts: 38

Re: dmenu Locale Issue on bspwm

Here is the output of Journalctl -b


May 29 09:04:43 archlinux kernel: Linux version 6.14.7-arch2-1 (linux@archlinux>
May 29 09:04:43 archlinux kernel: Command line: initrd=\initramfs-linux.img roo>
May 29 09:04:43 archlinux kernel: x86/split lock detection: #AC: crashing the k>
May 29 09:04:43 archlinux kernel: BIOS-provided physical RAM map:
May 29 09:04:43 archlinux kernel: BIOS-e820: [mem 0x0000000000000000-0x00000000>
May 29 09:04:43 archlinux kernel: BIOS-e820: [mem 0x000000000009f000-0x00000000>
May 29 09:04:43 archlinux kernel: BIOS-e820: [mem 0x0000000000100000-0x00000000>
May 29 09:04:43 archlinux kernel: BIOS-e820: [mem 0x00000000332fd000-0x00000000>
May 29 09:04:43 archlinux kernel: BIOS-e820: [mem 0x00000000332ff000-0x00000000>
May 29 09:04:43 archlinux kernel: BIOS-e820: [mem 0x0000000033320000-0x00000000>
May 29 09:04:43 archlinux kernel: BIOS-e820: [mem 0x0000000033329000-0x00000000>
May 29 09:04:43 archlinux kernel: BIOS-e820: [mem 0x0000000036e03000-0x00000000>
May 29 09:04:43 archlinux kernel: BIOS-e820: [mem 0x0000000036e04000-0x00000000>
May 29 09:04:43 archlinux kernel: BIOS-e820: [mem 0x000000003c2c9000-0x00000000>
May 29 09:04:43 archlinux kernel: BIOS-e820: [mem 0x000000003cbc9000-0x00000000>
May 29 09:04:43 archlinux kernel: BIOS-e820: [mem 0x000000003e9df000-0x00000000>
May 29 09:04:43 archlinux kernel: BIOS-e820: [mem 0x0000000040a7f000-0x00000000>
May 29 09:04:43 archlinux kernel: BIOS-e820: [mem 0x0000000043a2f000-0x00000000>
May 29 09:04:43 archlinux kernel: BIOS-e820: [mem 0x0000000043aff000-0x00000000>
May 29 09:04:43 archlinux kernel: BIOS-e820: [mem 0x0000000043b00000-0x00000000>
May 29 09:04:43 archlinux kernel: BIOS-e820: [mem 0x0000000048e00000-0x00000000>
May 29 09:04:43 archlinux kernel: BIOS-e820: [mem 0x000000004a000000-0x00000000>
May 29 09:04:43 archlinux kernel: BIOS-e820: [mem 0x00000000c0000000-0x00000000>

I found tthese files under /var/log:

[bala@archlinux log]$ ls
archinstall  journal  old         README     Xorg.0.log
audit        lastlog  pacman.log  timeshift  Xorg.0.log.old
btmp         lightdm  private     wtmp       Xorg.1.log.

I am not sure which log file should i check.

And below is today's pacman.log


2025-05-29T09:12:28+0530] [PACMAN] Running 'pacman -Syyu'
[2025-05-29T09:12:28+0530] [PACMAN] synchronizing package lists
[2025-05-29T09:12:35+0530] [PACMAN] starting full system upgrade
[2025-05-29T09:13:13+0530] [ALPM] transaction started
[2025-05-29T09:13:14+0530] [ALPM] upgraded chromium (137.0.7151.40-1 -> 137.0.7151.55-1)
[2025-05-29T09:13:14+0530] [ALPM] transaction completed
[2025-05-29T09:13:14+0530] [ALPM] running '30-systemd-update.hook'...
[2025-05-29T09:13:14+0530] [ALPM] running 'gtk-update-icon-cache.hook'...
[2025-05-29T09:13:14+0530] [ALPM] running 'update-desktop-database.hook'...
[2025-05-29T15:04:44+0530] [PACMAN] Running 'pacman -S dmenu'
[2025-05-29T15:04:46+0530] [ALPM] transaction started
[2025-05-29T15:04:46+0530] [ALPM] installed dmenu (5.3-3)
[2025-05-29T15:04:46+0530] [ALPM] transaction completed
[2025-05-29T15:04:46+0530] [ALPM] running '30-systemd-update.hook'..

Now i found if i run dmenu run. It appears in the top of the screen as looks like single polybar.

Last edited by bala451987 (2025-05-29 14:46:14)

Offline

#6 2025-05-29 13:57:50

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,307

Re: dmenu Locale Issue on bspwm

I assume there's a massive language barrier => https://deepl.com/
Also please use [code][/code] tags. Edit your post in this regard.
Also don't copy and paste from the pager, in doubt redirect the outputs into files.

Offline

#7 2025-05-29 14:47:49

bala451987
Member
Registered: 2025-01-22
Posts: 38

Re: dmenu Locale Issue on bspwm

So what to do now? I clicked the link. That's seems like a translator.

Offline

#8 2025-05-29 15:00:55

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,307

Re: dmenu Locale Issue on bspwm

You use that to translate post #4 into your native tongue and then post the actual error and the locale* outputs.

Offline

#9 2025-05-29 15:04:32

bala451987
Member
Registered: 2025-01-22
Posts: 38

Re: dmenu Locale Issue on bspwm

My locale is already set to India (English). And i don't completely understand what did you mean by? Why should i post the error in my local language?

Offline

#10 2025-05-29 15:31:54

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

Re: dmenu Locale Issue on bspwm

seth asked for specific things, and you appear to have simply ignored him. He's assuming that's because you didn't understand what he asked.

You haven't even bothered to post an actual error yet, the most basic thing in any request for help.

Online

#11 2025-05-29 15:33:32

bala451987
Member
Registered: 2025-01-22
Posts: 38

Re: dmenu Locale Issue on bspwm

He referred me a link and so based on that i posted my logs.

Offline

#12 2025-05-29 15:35:20

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

Re: dmenu Locale Issue on bspwm

The link was an example for how to post information. For the actual issue in question, we need the error message you are seeing as you see it ("throws a message related to locale error" is not the message, what is the message?) and the outputs of

localectl; locale; locale -a

Offline

#13 2025-05-29 15:36:49

bala451987
Member
Registered: 2025-01-22
Posts: 38

Re: dmenu Locale Issue on bspwm

 [bala@archlinux ~]$ localectl; locale; locale -a
System Locale: LANG=en_IN.UTF-8
    VC Keymap: us
   X11 Layout: us
    X11 Model: pc105+inet
  X11 Options: terminate:ctrl_alt_bksp
LANG=en_IN.UTF-8
LC_CTYPE="en_IN.UTF-8"
LC_NUMERIC="en_IN.UTF-8"
LC_TIME="en_IN.UTF-8"
LC_COLLATE="en_IN.UTF-8"
LC_MONETARY="en_IN.UTF-8"
LC_MESSAGES="en_IN.UTF-8"
LC_PAPER="en_IN.UTF-8"
LC_NAME="en_IN.UTF-8"
LC_ADDRESS="en_IN.UTF-8"
LC_TELEPHONE="en_IN.UTF-8"
LC_MEASUREMENT="en_IN.UTF-8"
LC_IDENTIFICATION="en_IN.UTF-8"
LC_ALL=
C
C.utf8
en_IN
en_IN.utf8
POSIX 

Offline

#14 2025-05-29 15:52:57

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

Re: dmenu Locale Issue on bspwm

And still no error. You just can't help some people.

Online

#15 2025-05-29 15:55:09

bala451987
Member
Registered: 2025-01-22
Posts: 38

Re: dmenu Locale Issue on bspwm

So can't i fix this issue? Can i try changing my locale also to US?

Offline

#16 2025-05-29 15:56:54

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

Re: dmenu Locale Issue on bspwm

As you refuse to tell us what the issue is, despite being asked multiple times, there's nothing we can do here.

Online

#17 2025-05-29 15:58:46

bala451987
Member
Registered: 2025-01-22
Posts: 38

Re: dmenu Locale Issue on bspwm

I posted logs and as Seth requested i have done and explained what i faced. And You are asking me again.

Offline

#18 2025-05-29 16:00:06

bala451987
Member
Registered: 2025-01-22
Posts: 38

Re: dmenu Locale Issue on bspwm

dmenu is not working. It throws me an error as locale not supported. And i posted all the logs as requested. So what would you expect me to do?

Last edited by bala451987 (2025-05-29 16:00:43)

Offline

#19 2025-05-29 16:16:18

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,307

Re: dmenu Locale Issue on bspwm

seth wrote:

You're supposed to post the verbatim errors you get, not some vague  description of them.

This isn't going anywhere, you're either trolling or stupid.

Offline

#20 2025-05-29 16:24:32

bala451987
Member
Registered: 2025-01-22
Posts: 38

Re: dmenu Locale Issue on bspwm

Initially, I encountered an error related to an unsupported locale (I don't recall the exact message). I made some changes to the locale settings, which resolved that issue.

Now, the current problem I'm facing is with dmenu_run: when I launch it, it opens at the top of the screen, resembling a polybar. This is the behavior I'm trying to fix. I cant even take a screenshot possible. Otherwise i could show how it looks like. Hope you understand.

Offline

#21 2025-05-29 16:33:25

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,307

Re: dmenu Locale Issue on bspwm

That's the perfectly normal behavior for dmenu, you can apply eg. https://tools.suckless.org/dmenu/patches/xyw/ to control its position - or use rofi, which also provides a mostly compatible dmenu mode.

Offline

#22 2025-05-29 16:51:31

bala451987
Member
Registered: 2025-01-22
Posts: 38

Re: dmenu Locale Issue on bspwm

Okay i will try and come back later with if i have any more questions.

Offline

Board footer

Powered by FluxBB