I'm using Ubuntu 20.04 and I was thinking about trying a window manager for programming and daily use. I'm actually not a computer expert but I'm starting to learn the basics of a few programming languages (especially Python) and of some data analysis software (like R for statistics), so I like the idea of having my workspace and windows optimally organized. I thought the best choice for me would be Qtile: being programmed in Python, I can improve my programming skills while, at the same time, configuring the WM. However, it seems Qtile is still not present in the focal repository, so I had to follow the guidelines of the website (qtile.org) to install it from the source code. But, at the end of this process, I'm still not able to see the Qtile option in the log-in window and when I try to run the setup.py file present in my home folder I get plenty of errors like these:
mattia@HAL9000:~/qtile$ sudo python setup.py
Failed to find pulseaudio headers. PulseVolume widget will be unavailable
/usr/lib/python2.7/dist-packages/cffi/cparser.py:153: UserWarning: String literal found in cdef() or type source. String literals are ignored here, but you should remove them anyway because some character sequences confuse pre-parsing.
warnings.warn("String literal found in cdef() or type source. "
/usr/lib/python2.7/dist-packages/cffi/cparser.py:164: UserWarning: Global variable 'CAIRO_TAG_DEST' in cdef(): for consistency with C it should have a storage class specifier (usually 'extern')
"(usually 'extern')" % (decl.name,))
/usr/lib/python2.7/dist-packages/cffi/cparser.py:164: UserWarning: Global variable 'CAIRO_TAG_LINK' in cdef(): for consistency with C it should have a storage class specifier (usually 'extern')
"(usually 'extern')" % (decl.name,))
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: no commands supplied
I don't understand a word of it and I'm not even sure whether or not I was supposed to run that file, but I thought my problems could be related to the fact that my default python version is still 2.7. The final outcome is that I'm not able to use Qtile. What do you think it could be the reason for that? And if it's truly related to the python2.7 thing, how can I update my python version without crashing half of my apps? (I'm saying this out of past experience, but I don't know if now things are changed and the apps are supposed to be fine with a different python version). I'm pretty sure I'm missing something very basic and simple...