As you see from my config, it doesnt call. I created lazy command to call next layout
2019 m. lapkr. 23 d., št 13:38, Ahmed Mohamedeen <[email protected]> rašė: > Here are the logs > > Traceback (most recent call last): > File "/usr/lib/python3.8/site-packages/libqtile/scripts/qtile.py", line > 109, in make_qtile > config = confreader.Config.from_file(kore, options.configfile) > File "/usr/lib/python3.8/site-packages/libqtile/confreader.py", line > 105, in from_file > raise ConfigError(tb) > libqtile.confreader.ConfigError: Traceback (most recent call last): > File "/usr/lib/python3.8/site-packages/libqtile/confreader.py", line 99, > in from_file > config = __import__(os.path.basename(path)[:-3]) # noqa: F811 > File "/home/ahmed/.config/qtile/config.py", line 72, in <module> > Key([mod], "space", KeyboardLayout.cmd_next_keyboard()), > File > "/usr/lib/python3.8/site-packages/libqtile/widget/keyboardlayout.py", line > 122, in cmd_next_keyboard > self.next_keyboard() > File > "/usr/lib/python3.8/site-packages/libqtile/widget/keyboardlayout.py", line > 75, in next_keyboard > self.tick() > File "/usr/lib/python3.8/site-packages/libqtile/widget/base.py", line > 449, in tick > self.update(text) > File "/usr/lib/python3.8/site-packages/libqtile/widget/base.py", line > 452, in update > old_width = self.layout.width > AttributeError: 'NoneType' object has no attribute 'width' > > > > On Saturday, 23 November 2019 13:25:49 UTC+2, Arns Udovīčė wrote: >> >> Some logs are in ~/.local/share/qtile >> >> 2019 m. lapkr. 23 d., št 13:23, Arns Udovīčė <[email protected]> rašė: >> >>> First try just run python config.py to get is it correctly written. Then >>> I see you already on python 3.8 (me too). Maybe you forget something to >>> install to new python? >>> >>> 2019 m. lapkr. 23 d., št 11:52, Ahmed Mohamedeen <[email protected]> >>> rašė: >>> >>>> that also makes error. where I can find the error stack trace? >>>> All I see is the tty output after I kill the xsession. >>>> not indented right but here is the tty output >>>> <https://drive.google.com/file/d/1T5RvrpEHTt8gfIYazJp41FFADQgbjEjf/preview> >>>> >>>> On Saturday, 23 November 2019 10:38:33 UTC+2, Arns Udovīčė wrote: >>>>> >>>>> Also you can check how I did >>>>> https://github.com/zordsdavini/dotfiles/blob/master/.config/qtile/config.py >>>>> >>>>> 2019 m. lapkr. 23 d., št 10:37, Arns Udovīčė <[email protected]> >>>>> rašė: >>>>> >>>>>> Try `keyboard_widget.cmd_next_keyboard()` >>>>>> >>>>>> 2019 m. lapkr. 23 d., št 08:54, Ahmed Mohamedeen <[email protected]> >>>>>> rašė: >>>>>> >>>>>>> How do I get stack traces? xtrace qtile >> qtile.log doens't seem to >>>>>>> log anything >>>>>>> >>>>>>> On Friday, 22 November 2019 18:29:56 UTC+2, Tycho Andersen wrote: >>>>>>>> >>>>>>>> On Thu, Nov 21, 2019 at 11:40:36PM -0800, Ahmed Mohamedeen wrote: >>>>>>>> > Hello! >>>>>>>> > I was wondering if it's possible to change the keyboard layout >>>>>>>> with the >>>>>>>> > keyboard? >>>>>>>> > I'm trying something like defining the widget like >>>>>>>> > >>>>>>>> > KeyboardLayout = >>>>>>>> widget.KeyboardLayout(configured_keyboards=['us', 'ara']) >>>>>>>> > >>>>>>>> > and then defining key >>>>>>>> > Key([mod], "space", KeyboardLayout.next_keyboard()), >>>>>>>> > >>>>>>>> > But this does result a CfgErr for some reason. >>>>>>>> >>>>>>>> Can you post the stack trace? That looks like it should work to >>>>>>>> me... >>>>>>>> >>>>>>>> Tycho >>>>>>>> >>>>>>> -- >>>>>>> You received this message because you are subscribed to the Google >>>>>>> Groups "qtile-dev" group. >>>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>>> send an email to [email protected]. >>>>>>> To view this discussion on the web visit >>>>>>> https://groups.google.com/d/msgid/qtile-dev/3c387d7f-4e7e-4008-b262-1a4272093201%40googlegroups.com >>>>>>> <https://groups.google.com/d/msgid/qtile-dev/3c387d7f-4e7e-4008-b262-1a4272093201%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>>> . >>>>>>> >>>>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "qtile-dev" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/qtile-dev/582a5167-e441-428b-b3a9-8f310406891e%40googlegroups.com >>>> <https://groups.google.com/d/msgid/qtile-dev/582a5167-e441-428b-b3a9-8f310406891e%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>> -- > You received this message because you are subscribed to the Google Groups > "qtile-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/qtile-dev/3efd74ee-9339-4991-a7fc-c17b0d11cddd%40googlegroups.com > <https://groups.google.com/d/msgid/qtile-dev/3efd74ee-9339-4991-a7fc-c17b0d11cddd%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "qtile-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/qtile-dev/CACp0OeGKxAgfhGosvz%2BciDPF11uNLd0PNn1GJnjMomt1RWQGpA%40mail.gmail.com.
