اینقدری بهم ریختهاس که فکر کردم خطای دسترسی مربوط به qtile باشه. فکر کنم مربوط به کیبورد بود.
دستور قبلی هم که با ( "" ) بود رو با sudo اجرا کردم خطا داد.
این خطای qtile که ریختمش داخل فایل مرتب باشه.
2022-03-07 16:33:57,233 ERROR libqtile start.py:start():L94 Qtile crashed
Traceback (most recent call last):
File "/home/smjt2000/.local/lib/python3.10/site-packages/libqtile/scripts/start.py", line 92, in start
q.loop()
File "/home/smjt2000/.local/lib/python3.10/site-packages/libqtile/core/manager.py", line 190, in loop
asyncio.run(self.async_loop())
File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/lib/python3.10/asyncio/base_events.py", line 641, in run_until_complete
return future.result()
File "/home/smjt2000/.local/lib/python3.10/site-packages/libqtile/core/manager.py", line 215, in async_loop
self.load_config(initial=True)
File "/home/smjt2000/.local/lib/python3.10/site-packages/libqtile/core/manager.py", line 132, in load_config
self._process_screens(reloading=not initial)
File "/home/smjt2000/.local/lib/python3.10/site-packages/libqtile/core/manager.py", line 340, in _process_screens
scr._configure(self, i, x, y, w, h, grp, reconfigure_gaps=reconfigure_gaps)
File "/home/smjt2000/.local/lib/python3.10/site-packages/libqtile/config.py", line 307, in _configure
i._configure(qtile, self)
File "/home/smjt2000/.local/lib/python3.10/site-packages/libqtile/bar.py", line 288, in _configure
self.drawer.clear(self.background)
File "/home/smjt2000/.local/lib/python3.10/site-packages/libqtile/backend/x11/drawer.py", line 179, in clear
self._check_xcb()
File "/home/smjt2000/.local/lib/python3.10/site-packages/libqtile/backend/x11/drawer.py", line 124, in _check_xcb
self._xcb_surface = self._create_xcb_surface()
File "/home/smjt2000/.local/lib/python3.10/site-packages/libqtile/backend/x11/drawer.py", line 90, in _create_xcb_surface
surface = cairocffi.XCBSurface(
File "/home/smjt2000/.local/lib/python3.10/site-packages/cairocffi/xcb.py", line 37, in __init__
p = cairo.cairo_xcb_surface_create(
AttributeError: cffi library 'libcairo.so.2' has no function, constant or global variable named 'cairo_xcb_surface_create'