You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The latest IceWM update (icewm-3.7.1-2.el8.x86_64 from past week) on Oracle Linux 8.11 has changed something in the icewm-menu-fdo in the sense of how it handles LANG and LC_* environment variables.
With this setup the icewm-menu-fdo produces some non-latin texts:
[opc@sws ~]$ icewm-menu-fdo | grep ^menu
menu "Audio" applications-multimedia {
menu "Science" folder {
menu "Settings" folder {
menu "System" folder {
menu "Video" applications-multimedia {
menu "·𐑦𐑯𐑑𐑼𐑯𐑧𐑑" applications-internet {
menu "𐑐𐑮𐑴𐑜𐑮𐑨𐑥𐑦𐑙" applications-development {
menu "𐑕𐑬𐑯𐑛 𐑯 𐑝𐑦𐑛𐑦𐑴" applications-multimedia {
menu "𐑜𐑮𐑨𐑓𐑦𐑒𐑕" applications-graphics {
menu "𐑜𐑱𐑥𐑟" applications-games {
menu "𐑧𐑛𐑿𐑒𐑱𐑖𐑩𐑯" applications-science {
menu "𐑨𐑒𐑕𐑧𐑕𐑼𐑦𐑟" applications-accessories {
menu "𐑪𐑓𐑦𐑕" applications-office {
menu "𐑳𐑞𐑼" applications-other {
I've found out that setting LC_MESSAGES to C or single en (without US), it works:
[opc@sws ~]$ LC_MESSAGES=C icewm-menu-fdo | grep ^menu
menu "Accessories" applications-accessories {
menu "Audio" applications-multimedia {
menu "Education" applications-science {
menu "Games" applications-games {
menu "Graphics" applications-graphics {
menu "Internet" applications-internet {
menu "Office" applications-office {
menu "Other" applications-other {
menu "Programming" applications-development {
menu "Science" folder {
menu "Settings" folder {
menu "Sound & Video" applications-multimedia {
menu "System" folder {
menu "Video" applications-multimedia {
[opc@sws ~]$ LC_MESSAGES=en icewm-menu-fdo | grep ^menu
menu "Accessories" applications-accessories {
menu "Audio" applications-multimedia {
menu "Education" applications-science {
menu "Games" applications-games {
menu "Graphics" applications-graphics {
menu "Internet" applications-internet {
menu "Office" applications-office {
menu "Other" applications-other {
menu "Programming" applications-development {
menu "Science" folder {
menu "Settings" folder {
menu "Sound & Video" applications-multimedia {
menu "System" folder {
menu "Video" applications-multimedia {
With the _US it produces the wrong output.
To workaround the issue, one can create a wrapper script for icewm-menu-fdo with overridden LC_MESSAGES=en and use that wrapper script in ~/.icewm/menu in the includeprog directive instead of the default program.
[opc@sws ~]$ cd .icewm/
[opc@sws .icewm]$ cat icewm-menu-fdo
#!/bin/bash
LC_MESSAGES=C /usr/bin/icewm-menu-fdo "$@"
exit $?
[opc@sws .icewm]$ cat menu
# This is an example for icewm menu definition file.
# It will be installed as /usr/share/icewm/menu.
# Place your variants in /etc/icewm or in $HOME/.icewm since
# modifications to this file will be overwritten when you reinstall icewm.
#
prog "GNOME Terminal" utilities-terminal /usr/bin/gnome-terminal
separator
prog "/usr/bin/xterm" xterm /usr/bin/xterm
prog urxvt xterm urxvt -bg black -cr green -fg white -C -sl 500
prog gedit fte gedit
prog NEdit nedit nedit
prog Firefox firefox firefox
prog Hexchat xchat hexchat
prog Gimp gimp gimp
includeprog /home/opc/.icewm/icewm-menu-fdo --sep-before --no-sep-others
menufile Programs folder programs
menufile Tool_bar folder toolbar
GitHub Issues is not an official support channel and we don't offer
product support here. If you're not yet an Oracle Linux customer,
consider signing up at https://linux.oracle.com.
Even if you're not a customer, if we can confirm that an issue is a
bug we will do our best to fix it and to update this issue
once it has been fixed. We don't guarantee a fix or feedback and
for now, we will close this issue. If you have Oracle Linux support,
please use support.oracle.com to report issues.
Hello,
The latest IceWM update (
icewm-3.7.1-2.el8.x86_64
from past week) on Oracle Linux 8.11 has changed something in theicewm-menu-fdo
in the sense of how it handlesLANG
andLC_*
environment variables.My locale settings is like this:
With this setup the
icewm-menu-fdo
produces some non-latin texts:I've found out that setting
LC_MESSAGES
toC
or singleen
(without US), it works:With the
_US
it produces the wrong output.To workaround the issue, one can create a wrapper script for
icewm-menu-fdo
with overriddenLC_MESSAGES=en
and use that wrapper script in~/.icewm/menu
in theincludeprog
directive instead of the default program.System Information:
The text was updated successfully, but these errors were encountered: