On Fri, Sep 20, 2019 at 02:00:08PM -0700, Petro wrote:
> Thanks everybody for reply.
> Somehow I missed this version difference. 
> I am not sure if it is Qtile property or some other tiling manager I used 
> before. But I have a feeling that there was a command with allowed to 
> generate a default configuration file.
> But I cannot find it now. Does it exist or I was dreaming :)

We don't have one explicitly, but:

cat $(dirname $(python3 -c 'import libqtile; 
print(libqtile.__file__)'))/resources/default_config.py

should work well enough :)

Tycho

> Best regards.
> Petro 
> 
> On Friday, September 20, 2019 at 10:11:57 AM UTC+2, Guillaume Gelin wrote:
> >
> > Hi Petro,
> >
> > The version of Qtile shipped with Ubuntu 18.04 (Qtile 0.10.7) is way too 
> > old for the default configuration file at the HEAD of the GitHub 
> > repository, so both are incompatible.
> >
> > Try using Qtile 0.10.7 default configuration: 
> > https://github.com/qtile/qtile/blob/v0.10.7/libqtile/resources/default_config.py
> >
> > Or install Qtile from sources: 
> > http://docs.qtile.org/en/latest/manual/install/index.html#installing-from-source
> >
> > Hope that helps!
> >
> > Le ven. 20 sept. 2019 à 07:04, Shunsuke Mie <[email protected] 
> > <javascript:>> a écrit :
> >
> >> Could you show me a link of the configuration file that you downloaded?
> >>
> >> 2019年9月19日木曜日 18時07分04秒 UTC+9 Petro:
> >>>
> >>> Hi all
> >>> I am running qtile installed  from ubuntu 18.04 repository.
> >>>
> >>> It starts fine without config.py. But if I copy default config from 
> >>> github  I get errors:
> >>>
> >>> 2019-09-17 08:57:06,337 WARNING libqtile __init__.py:safe_import():L48 
> >>> Unmet dependencies for optional Widget: '.mpd2[0/455]
> >>> Mpd2', No module named 'mpd'
> >>> 2019-09-17 08:57:06,342 WARNING libqtile __init__.py:safe_import():L48 
> >>> Unmet dependencies for optional Widget: '.wlan.Wlan'$
> >>>  No module named 'iwlib'
> >>> 2019-09-17 08:57:06,442 ERROR libqtile qtile.py:make_qtile():L106 Error 
> >>> while reading config file (Traceback (most recent c$
> >>> ll last):
> >>>   File "/usr/lib/python3/dist-packages/libqtile/confreader.py", line 55, 
> >>> in __init__
> >>>     config = __import__(os.path.basename(fname)[:-3])
> >>>   File "/home/petro/.config/qtile/config.py", line 28, in <module>
> >>>     from libqtile.lazy import lazy
> >>> ModuleNotFoundError: No module named 'libqtile.lazy'
> >>> )
> >>> Traceback (most recent call last):
> >>>   File "/usr/lib/python3/dist-packages/libqtile/confreader.py", line 55, 
> >>> in __init__
> >>>     config = __import__(os.path.basename(fname)[:-3])
> >>>   File "/home/petro/.config/qtile/config.py", line 28, in <module>
> >>>     from libqtile.lazy import lazy
> >>> ModuleNotFoundError: No module named 'libqtile.lazy'
> >>>
> >>> During handling of the above exception, another exception occurred:
> >>>
> >>> Traceback (most recent call last):
> >>>   File "/usr/lib/python3/dist-packages/libqtile/scripts/qtile.py", line 
> >>> 104, in make_qtile
> >>>     config = confreader.File(options.configfile, 
> >>> is_restart=options.no_spawn)
> >>>   File "/usr/lib/python3/dist-packages/libqtile/confreader.py", line 70, 
> >>> in __init__
> >>>     raise ConfigError(tb)
> >>> libqtile.confreader.ConfigError: Traceback (most recent call last):
> >>>   File "/usr/lib/python3/dist-packages/libqtile/confreader.py", line 55, 
> >>> in __init__
> >>>     config = __import__(os.path.basename(fname)[:-3])
> >>>   File "/home/petro/.config/qtile/config.py", line 28, in <module>
> >>>     from libqtile.lazy import lazy
> >>>
> >>> Any help about it?
> >>> Thanks.
> >>> Petro.
> >>>
> >>> -- 
> >> 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] <javascript:>.
> >> To view this discussion on the web visit 
> >> https://groups.google.com/d/msgid/qtile-dev/c093446c-bcba-4d84-a390-ba339a58abd0%40googlegroups.com
> >>  
> >> <https://groups.google.com/d/msgid/qtile-dev/c093446c-bcba-4d84-a390-ba339a58abd0%40googlegroups.com?utm_medium=email&utm_source=footer>
> >> .
> >>
> >
> >
> > -- 
> > Guillaume Gelin
> >
> 
> -- 
> 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/55d180a2-fb06-4e05-a6a3-974e1578b823%40googlegroups.com.

-- 
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/20190925164003.GB17620%40cisco.

Reply via email to