lua - awesomewm 标签无休止地重复
问题描述
我刚刚升级到了真棒 4.3,在我打开几个应用程序后,我的标签开始无休止地重复。我使用字母字符而不是数字或名称,我可以通过一个按键快捷键获得 26 个标签,但代码基本相同,并且已经工作了一年多。更新后,由于某种原因,Chrome 不会影响它,但如果我打开几个 Thunars 或我的基于 Java 的 IDE,它就会启动。在几秒钟之内,每个屏幕都会依次添加另一个标签副本,并且会无休止地继续下去。一旦开始,它也会锁定屏幕。任何帮助,想法将不胜感激,我只能使用默认配置,所以它让我慢了很多。谢谢
local keyNames = { "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z" }
以及我在标签中添加的部分
awful.tag(keyNames, s, awful.layout.layouts[layoutIndex])
这是我启动时 awmtt 的输出,当问题发生时,这部分代码也会在控制台中重复。
~/.config/awesome >>> awmtt start -S 2048x1280 ±[●●][master]
/usr/bin/gnome-keyring-daemon
1936
2059
/usr/bin/start-pulseaudio-x11
3108
/usr/lib/mate-polkit/polkit-mate-authentication-agent-1
36875
/usr/bin/xfce4-power-manager
36881
/usr/bin/system-config-printer-applet
5409
/usr/bin/xfsettingsd
36891
/usr/bin/light-locker
2020-08-18 01:09:10 W: awesome: a_glib_poll:437: Last main loop iteration took 0.110275 seconds! Increasing limit for this warning to that value.
36888
/usr/bin/compton
/usr/bin/thunar
[ 08/18/2020 01:09:10.094 open_config_file_at WARN ] This compositor has been renamed to "picom", the old config file paths is deprecated. Please replace the "compton"s in the path with "picom"
[ 08/18/2020 01:09:10.094 parse_config_libconfig WARN ] Option `no-dock-shadow` is deprecated, and will be removed. Please use the wintype option `shadow` of `dock` instead.
[ 08/18/2020 01:09:10.094 parse_config_libconfig WARN ] Option `no-dnd-shadow` is deprecated, and will be removed. Please use the wintype option `shadow` of `dnd` instead.
[ 08/18/2020 01:09:10.094 parse_config_libconfig WARN ] Option `menu-opacity` is deprecated, and will be removed.Please use the wintype option `opacity` of `popup_menu` and `dropdown_menu` instead.
[ 08/18/2020 01:09:10.094 parse_config_libconfig WARN ] vsync option will take a boolean from now on. "none" is interpreted as "false" for compatibility, but this will stop working soon
[ 08/18/2020 01:09:10.094 parse_config_libconfig WARN ] glx-swap-method has been deprecated since v6, your setting "undefined" should be replaced by `use-damage = true`.
[ 08/18/2020 01:09:10.094 parse_config_libconfig WARN ] "clear-shadow" is removed as an option, and is always enabled now. Consider removing it from your config file
[ 08/18/2020 01:09:10.094 parse_config_libconfig ERROR ] "paint-on-overlay" has been removed as an option, and the feature is enabled whenever possible
[ 08/18/2020 01:09:10.094 main FATAL ERROR ] Failed to create new session.
解决方案
好的,我发现在升级期间我的配置的谨慎部分增加了一倍。我使用了尽可能接近当前重建配置之前的备份,问题就消失了。谢谢
推荐阅读
- php - PHP:尝试显示 PDF 文档
- glfw - PySide2 如何将现有的 OpenGL 窗口添加到 QGLWidget
- r - 在“ggplot2”绘图注释中显示“shape”值
- python - 如何使用 Python 的 PID 查看 python 正在读取或编辑哪些文件?
- javascript - Jest & Testing Library 语法错误 Unexpected Identifier async Babel 问题
- python - 如何在 SSIS 执行流程任务中使用“if __name__ == '__main__':”?
- kubernetes - 如何向本地计算机公开入口?(Windows 上的 minikube)
- kotlin - 前台服务 kotlin 使用 Location 和 usedLocationProviderClient
- knockout.js - Knockout/Select2 Dropdownlist 包含正确的选项,但现在不显示任何选定内容
- python - 计算直方图中每个 bin 的百分比