Hi.
first, I’m not good in English.
I installed EndeavourOS Qtile Edition less than a week.
I used Qtile about one year and know something about it.
the grow window
keybinding in Eos config doesn’t work.
I use mod
+ control
+ h
, j
, k
and l
but nothing happened. if I use the default config of Qtile itself. this keybinding work fine and window size will change correctly but with Eos config, nothing !!!
Are you sure you copied all the folders required for qtile on eos?
I can see that these keybindings are in the .config/qtile/modules/keys.py folder. The eos version is not the typical one file config.py, looks like additional script and modules were prepared.
files are in the right location by default.
configs seems to be without any problem but I can’t change size of windows.
-rwxr-xr-x 1 smjt2000 smjt2000 402 May 9 00:12 autostart.sh
-rw-r--r-- 1 smjt2000 smjt2000 604 Jul 24 10:59 config.py
-rw-r--r-- 1 smjt2000 smjt2000 8097 Jul 24 14:33 default.py
-rw-r--r-- 1 smjt2000 smjt2000 805413 May 9 00:12 eos-c.png
drwxr-xr-x 3 smjt2000 smjt2000 4096 Jul 26 20:55 modules
drwxr-xr-x 2 smjt2000 smjt2000 4096 Jul 26 20:46 __pycache__
drwxr-xr-x 2 smjt2000 smjt2000 4096 Jul 24 10:53 scripts
./modules:
total 32
-rw-r--r-- 1 smjt2000 smjt2000 1122 May 9 00:12 groups.py
-rw-r--r-- 1 smjt2000 smjt2000 191 May 9 00:12 hooks.py
-rw-r--r-- 1 smjt2000 smjt2000 3141 Jul 26 20:55 keys.py
-rw-r--r-- 1 smjt2000 smjt2000 994 May 9 00:12 layouts.py
-rw-r--r-- 1 smjt2000 smjt2000 397 May 9 00:12 mouse.py
drwxr-xr-x 2 smjt2000 smjt2000 4096 Jul 26 20:55 __pycache__
-rw-r--r-- 1 smjt2000 smjt2000 3697 May 9 00:12 screens.py
-rw-r--r-- 1 smjt2000 smjt2000 1748 May 9 00:12 widgets.py
./modules/__pycache__:
total 28
-rw-r--r-- 1 smjt2000 smjt2000 873 Jul 24 10:55 groups.cpython-310.pyc
-rw-r--r-- 1 smjt2000 smjt2000 440 Jul 24 10:55 hooks.cpython-310.pyc
-rw-r--r-- 1 smjt2000 smjt2000 2068 Jul 26 20:55 keys.cpython-310.pyc
-rw-r--r-- 1 smjt2000 smjt2000 611 Jul 24 10:55 layouts.cpython-310.pyc
-rw-r--r-- 1 smjt2000 smjt2000 504 Jul 24 10:55 mouse.cpython-310.pyc
-rw-r--r-- 1 smjt2000 smjt2000 2072 Jul 24 10:55 screens.cpython-310.pyc
-rw-r--r-- 1 smjt2000 smjt2000 1650 Jul 24 10:55 widgets.cpython-310.pyc
./__pycache__:
total 4
-rw-r--r-- 1 smjt2000 smjt2000 757 Jul 26 20:46 config.cpython-310.pyc
./scripts:
total 8
-rwxr-xr-x 1 smjt2000 smjt2000 954 May 9 00:12 check_battery.sh
-rwxr-xr-x 1 smjt2000 smjt2000 1182 May 9 00:12 low_bat_notifier.sh
Are these all located under .config/qtile in your home folder? Couldn’t gather that info from your post.
If you change other things in your config does it pick it up when you restart/refresh qtile? Just trying fonts or something similar?
yes. these files are located under ~/.config/qtile.
I just added a keybinding for firefox:
mod = "mod4"
terminal = "xfce4-terminal"
browser = "firefox"
...
...
Key([mod], "b", lazy.spawn(browser))
What I would probably do is download the default qtile config file (not the one from EOS) and try adding the resize window script.
We don’t really know changes you may have done to the eos qtile config file on your system with the snippet of script you posted here, so it’s difficult to troubleshoot.
If you used the default eos qtile files and configs without any changes and it didn’t work, I suggest contacting the git repo maintainer @codic12 to check it out…
They’re definitely bound keys:
Key([mod, "control"],
"h",
lazy.layout.grow_left(),
desc="Grow window to the left"),
Key([mod, "control"],
"l",
lazy.layout.grow_right(),
desc="Grow window to the right"),
Key([mod, "control"],
"j",
lazy.layout.grow_down(),
desc="Grow window down"),
Key([mod, "control"], "k", lazy.layout.grow_up(), desc="Grow window up"),
So I have no clue why it doesn’t work for you. Can you try checking qtile’s logs?
I don’t know how to check Qtile’s log!!
https://docs.qtile.org/en/latest/manual/troubleshooting.html
When Qtile is running, it logs error messages (and other messages) to its log file. This is found at
~/.local/share/qtile/qtile.log
. This is the first place to check to see what is going on. If you are getting unexpected errors from normal usage or your configuration (and you’re not doing something wacky) and believe you have found a bug, then please report a bug.
Here is logs:
2022-07-29 13:58:01,510 ERROR libqtile manager.py:process_key_event():L392 KB command error grow_left: No such command
2022-07-29 13:58:01,650 ERROR libqtile manager.py:process_key_event():L392 KB command error grow_left: No such command
2022-07-29 13:58:01,919 ERROR libqtile manager.py:process_key_event():L392 KB command error grow_right: No such command
2022-07-29 13:58:41,576 WARNING libqtile lifecycle.py:_atexit():L33 Restarting Qtile with os.execv(...)
2022-07-29 14:06:16,074 WARNING libqtile lifecycle.py:_atexit():L37 Qtile will now terminate
2022-07-29 20:10:18,914 ERROR libqtile core.py:_xpoll():L335 Got an exception in poll loop
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/libqtile/backend/x11/core.py", line 303, in _xpoll
ret = target(event)
File "/usr/lib/python3.10/site-packages/libqtile/backend/x11/window.py", line 1151, in handle_KeyPress
self.process_key_press(keysym)
File "/usr/lib/python3.10/site-packages/libqtile/bar.py", line 524, in process_key_press
if self.has_keyboard:
File "/usr/lib/python3.10/site-packages/libqtile/configurable.py", line 48, in __getattr__
raise AttributeError("%s has no attribute: %s" % (cname, name))
AttributeError: Bar has no attribute: has_keyboard
2022-07-29 20:26:19,887 WARNING libqtile lifecycle.py:_atexit():L37 Qtile will now terminate
2022-08-07 00:25:50,719 ERROR libqtile base.py:_wrapper():L353 got exception from widget timer
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/libqtile/widget/base.py", line 351, in _wrapper
method(*method_args)
File "/usr/lib/python3.10/site-packages/libqtile/widget/volume.py", line 126, in update
vol = self.get_volume()
File "/usr/lib/python3.10/site-packages/libqtile/widget/volume.py", line 188, in get_volume
mixer_out = self.call_process(get_volume_cmd)
File "/usr/lib/python3.10/site-packages/libqtile/widget/base.py", line 338, in call_process
return subprocess.check_output(command, **kwargs, encoding="utf-8")
File "/usr/lib/python3.10/subprocess.py", line 420, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/python3.10/subprocess.py", line 501, in run
with Popen(*popenargs, **kwargs) as process:
File "/usr/lib/python3.10/subprocess.py", line 969, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.10/subprocess.py", line 1845, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'amixer'
2022-08-07 00:26:36,878 ERROR libqtile manager.py:process_key_event():L392 KB command error grow_left: No such command
2022-08-07 00:26:37,014 ERROR libqtile manager.py:process_key_event():L392 KB command error grow_left: No such command
2022-08-07 00:26:37,884 ERROR libqtile manager.py:process_key_event():L392 KB command error grow_down: No such command
2022-08-07 00:26:38,006 ERROR libqtile manager.py:process_key_event():L392 KB command error grow_up: No such command
2022-08-07 00:26:38,178 ERROR libqtile manager.py:process_key_event():L392 KB command error grow_up: No such command
2022-08-07 00:26:38,419 ERROR libqtile manager.py:process_key_event():L392 KB command error grow_left: No such command
2022-08-07 01:37:41,958 WARNING libqtile lifecycle.py:_atexit():L37 Qtile will now terminate
2022-08-09 11:35:22,092 WARNING libqtile lifecycle.py:_atexit():L37 Qtile will now terminate
2022-08-09 23:09:10,252 ERROR libqtile manager.py:process_key_event():L392 KB command error grow_left: No such command
2022-08-09 23:09:10,396 ERROR libqtile manager.py:process_key_event():L392 KB command error grow_left: No such command
2022-08-09 23:09:10,610 ERROR libqtile manager.py:process_key_event():L392 KB command error grow_right: No such command
2022-08-09 23:09:10,766 ERROR libqtile manager.py:process_key_event():L392 KB command error grow_right: No such command
2022-08-09 23:09:10,924 ERROR libqtile manager.py:process_key_event():L392 KB command error grow_right: No such command
It doesn’t work for me either. And I’m using MonadTall layout, which is default in EOS. It works only if I use Columns layout.