Difference between revisions of "DMenu/ru"
Views
Actions
Namespaces
Variants
Tools
(Created page with "dmenu - это динамическое меню для X, изначально разработанное для dwm. Оно эффективно управляет боль...") Tags: Mobile web edit Mobile edit |
(Created page with "=Советы и хитрости=") |
||
Line 9: | Line 9: | ||
=Советы и хитрости= | =Советы и хитрости= | ||
== | ==Предупреждение: нет поддержки локали== | ||
Иногда без видимых причин пользователи сталкиваются со следующей проблемой dmenu: | |||
A. When calling dmenu from a key binding in their environment dmenu comes up but when they continue to select anything in dmenu, it disappears from the screen and does not execute anything. | A. When calling dmenu from a key binding in their environment dmenu comes up but when they continue to select anything in dmenu, it disappears from the screen and does not execute anything. |
Revision as of 05:06, 10 January 2023
Обзор
dmenu - это динамическое меню для X, изначально разработанное для dwm. Оно эффективно управляет большим количеством определяемых пользователем пунктов меню.
Советы и хитрости
Предупреждение: нет поддержки локали
Иногда без видимых причин пользователи сталкиваются со следующей проблемой dmenu:
A. When calling dmenu from a key binding in their environment dmenu comes up but when they continue to select anything in dmenu, it disappears from the screen and does not execute anything. B. Trying to start dmenu from the terminal, the error "warning: no locale support" appears.
Assuming that you have correctly set up your system's LOCALE settings, here is a simple solution to this problem:
Edit file /usr/bin/dmenu_run and add a line setting your LANG variable to your actual language locale before the line that calls dmenu:
#!/bin/sh LANG="en_GB.UTF-8" <-- Change it according to your locale. dmenu_path | dmenu "$@" | ${SHELL:-"/bin/sh"}