You are not logged in.
Pages: 1
I have recently installed qtile as haskell was quite some pain...
I am trying to run autostart.sh from within the qtile config
I have tried both the qtile official way and arch recommended way none of them work... after a lot of searching I have put in some code so that the log is created
Here is the code
@hook.subscribe.startup
def autostart():
output = subprocess.check_output(
os.path.expanduser('~/.config/qtile/autostart.sh'),
shell=True
).decode('utf-8')
logger.error(output)and here is the log output of the last restart
2021-06-15 22:25:57,107 ERROR libqtile core.py:_xpoll():L297 Shutting down due to X connection error XCB_CONN_ERROR (1)
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/xcffib/__init__.py", line 571, in wrapper
return f(*args)
File "/usr/lib/python3.9/site-packages/xcffib/__init__.py", line 610, in poll_for_event
self.invalid()
File "/usr/lib/python3.9/site-packages/xcffib/__init__.py", line 559, in invalid
raise ConnectionException(err)
xcffib.ConnectionException: xcb connection errors because of socket, pipe and other stream errors.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/libqtile/backend/x11/core.py", line 258, in _xpoll
event = self.conn.conn.poll_for_event()
File "/usr/lib/python3.9/site-packages/xcffib/__init__.py", line 573, in wrapper
self.invalid()
File "/usr/lib/python3.9/site-packages/xcffib/__init__.py", line 559, in invalid
raise ConnectionException(err)
xcffib.ConnectionException: xcb connection errors because of socket, pipe and other stream errors.
2021-06-15 22:25:57,108 ERROR libqtile manager.py:get_interesting_pid():L598 Got an exception in getting the window pid
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/xcffib/__init__.py", line 571, in wrapper
return f(*args)
File "/usr/lib/python3.9/site-packages/xcffib/__init__.py", line 610, in poll_for_event
self.invalid()
File "/usr/lib/python3.9/site-packages/xcffib/__init__.py", line 559, in invalid
raise ConnectionException(err)Last edited by dezire (2021-06-15 16:57:34)
Offline
Pages: 1