MWM намекает на непостоянную работу / не работает в i3

538
Braden Best

Я искал решения этой проблемы время от времени около четырех месяцев, но безуспешно. Я думаю, что пришло время обратиться к StackExchange для ввода.

Я запускаю двойную загрузку с Windows 8.1 и Ubuntu 14.10 (x86_64) с оконным менеджером i3 и, по-видимому, наугад, fehбудет работать или не работать в полноэкранном режиме (нажатие vтриггеров в полноэкранном режиме). Под «не работает» я подразумеваю, что он не будет реагировать ни на какие нажатия клавиш, пока я не убью его ^C, и у меня появится следующее сообщение об ошибке:

braden@braden-Aspire-XC-603G:~$ feh Pictures/img.png  feh WARNING: Window Manager does not support MWM hints. To get a borderless window I have to bypass your wm. vq^Cbraden@braden-Aspire-XC-603G:~$  

И все же на других стартапах это иногда работает. Иногда это работает, иногда нет. Кажется, он работает стабильно, если я загружаюсь с альтернативного ядра, но я не думаю, что загрузка с более старым ядром является оптимальным выбором.

Ясно, что i3 поддерживает подсказки mwm, иначе полноэкранный режим feh будет работать в 0% случаев, так как я могу заставить принудительно работать feh в полноэкранном режиме?

Если я не могу заставить его работать последовательно с подсказками mwm, могу ли я заставить feh хотя бы принимать нажатия клавиш в полноэкранном режиме?

Есть идеи?

0
Ах да, и мой `feh` современен. Как и все остальное в моей системе. `0 обновлено, 0 недавно установлено, 0 для удаления и 0 не обновлено` Braden Best 9 лет назад 0
Что касается изменений в программном обеспечении, которое я использую (`lightdm -> nothing`,` i3 -> dwm`, `feh -> sxiv`), это больше не является проблемой. sxiv просто отказывается входить в полноэкранный режим, если не может найти подсказки mwm, но dwm, похоже, отлично справляется с подсказками mwm. Я все еще использую ту же систему, и мне не нужно было выполнять «сетевой трюк», чтобы получить доступ к подсказкам mwm. Я считаю, что отсутствие стабильности mwm является ошибкой в ​​i3. Braden Best 8 лет назад 0

1 ответ на вопрос

0
Braden Best

Solution

On the log in screen, disconnect from the network, then re-connect. There should be a notification bubble showing up to inform you that you are connected.

After logging in, the MWM hints work without a hitch. I suspect this has to do with X's internal networking infrastructure.

Assumptions

  • That this solution works for:
    • Tiling window managers other than i3.
    • Systems other than Ubuntu 14.10
    • Systems running Desktop Managers other than Ubuntu's version of lightdm
    • 32-bit systems
    • Systems connected via WiFi
    • Systems not on a network

Observations

  • Contrary to what the question says, alternating between different kernels does not actually affect whether MWM hints work correctly. Through many tests, I've confirmed that there is no correlation between the kernel version loaded and whether MWM hints decided to work

  • So far, getting the "connected to network" message in the lightdm login screen seems to always coincide with MWM hints working post login. This has been tested fairly rigorously, and is the currently accepted solution.

    • This would imply a correlation between the network controller and MWM hints. Which could make sense, considering that MWM hints deal with Window Managers, which in turn deal with Xorg, which is a display server that uses the network infrastructure to send messages around.

Update

  • I have recently removed lightdm from /etc/init.d (as well as its .conf file), switched to dwm, and changed my image viewer to sxiv. I've also added myself to some additional groups in /etc/group. As of these changes, I've noticed that I no longer have to do the above "network trick" to gain access to mwm hints, and both feh and sxiv work just fine. Wherever the problem was, I squashed it.

In other words, the problem appears to lie in either lightdm or i3.

Я сделал это сообщество вики, чтобы каждый мог редактировать его с новой информацией. Braden Best 9 лет назад 0

Похожие вопросы