alternative code - dt's is fine, cant go wrong with python! :) (edit: test&fix) group_names = 'WWW DEV SYS ETC'.split() groups = [Group(name, layout='max') for name in group_names] for i, name in enumerate(group_names): indx = str(i + 1) keys += [ Key([mod], indx, lazy.group[name].toscreen()), Key([mod, 'shift'], indx, lazy.window.togroup(name))]
@1512purple4 жыл бұрын
i cant figure the darn thing out, i think i'll just stick to c/++ based config files
@AkshayKumar-kz6zh3 жыл бұрын
@@1512purple c/c++ is cool, but not good for scripting in my humble opinion. Learning python won't disappoint you. or better learn rust. It's my new love over C++
@1512purple3 жыл бұрын
@@AkshayKumar-kz6zh well I'm actually using sway now. I have found that trying to use an X based window manager that tiling just doesn't work with my laptop. It tears my screen so Wayland is the best alternative for me and so I don't have that many more choices for that reason anyways
@mikefdorst3 жыл бұрын
Instead of `enumerate(group_names): indx = str(i + 1)` you should `enumerate(group_names, 1): idx = str(i)`. The second argument to enumerate() tells it what number to start enumerating from (defaults to 0).
@imusingwindowsbtw14692 жыл бұрын
Addition: This solution makes all workspaces max, meaning there will be one window that is maximized. To get back to column-mode (aka "normal qtile"), replace in line 2: groups = [Group(name, layout='column') for name in group_names]
@adamu69413 жыл бұрын
I'm learning how to use it and configure it ... not far from 20/25 years of using classic management environments, windows, xfce and kde (I'm 54 years old), and I'm starting to really love this principle of " tile "windows, it is true that it changes a lot of habits but it is not very very complicated to use either ... the original configuration of Qtile being already usable out of the box. A big thumbs up for for making me discover and switch to this world of WM's ;)
@atps4 жыл бұрын
I finally got myself to install qtile a couple of days ago and decided to download @dt's config files to start from there. This video is exactly what I needed. I hope this becomes series. Great video.
@rodneyriplinger79084 жыл бұрын
Something you might be interested to know. Arco linux came out with a version of their software that has Open Box Wm plus all the major tiling window manages already loaded and configured. Awesome , Bpswm, I3, Xmonad, Qtile and even Herbstluft.
@NicolaMastrandrea4 жыл бұрын
Tiling Manager and Python togheter? I'm in!
@cun_00923 жыл бұрын
This qtile thingy is exciting. I recently started python and using qtile for practice like tinkering and all will likely improve my python skills. Never thought I will be seeing these days where I will be using python to customize the DE
@Jeff_Seely Жыл бұрын
Thanks Derek. I hopped off of Xmonad today and have started up my drive that is dedicated solely for your outstanding qtile iso. I did because I've "hit the Python books again" and am testing what I've learned. I did several hacks on the config and then changed almost all of them back. I like your config better 😁, in most cases. Cheers man!
@LutherusPandragon4 жыл бұрын
Installed qtile today. Heard about it, saw people use it but xmonad, dwm and stumpwm where my wm's of choice. I am really happy with qtile. It is light and fast.
@wesleyjrz3 жыл бұрын
@Glizzster no, it's not.
@LinkEX2 жыл бұрын
@@wesleyjrz You mean it's not light and fast since it uses Python, right? I've heard if you want to play with more fancy stuff like animations, qtile is a bad idea precisely because of that.
@copper4eva4 жыл бұрын
I started with I3-gaps, but had some weird issues, and also wanted to try out a dynamic tiler, so ended up switching to dwm. Been struggling with dwm, for obvious reasons. Qtile seems like a really sensible option for me right now, so this is a very timely video. Still happy I screwed around in dwm, learned a lot. And after figuring out qtile, I'll probably come back to dwm. Plus I aspire to learn more about suckless utilities anyways.
@copper4eva4 жыл бұрын
bananaman No it's a manual tiling window manager. Not a dynamic tiling window manager. I3 doesn't have layouts like dwm and qtile. @@rdangdev I'm fairly new to this stuff, and was having issues with the dwm patches giving me errors. I plan on going back at some point, but for now I think sticking with qtile is the better option.
@copper4eva4 жыл бұрын
@@rdangdev I will eventually, I'm happy I switched to qtile for now. Configuring in the C file is not near as intuitive as python. It's just easier for a newbie like me. I will probably switch to dwm eventually, but not till I atleast get qtile fully configured and riced like I want it. I wanna create some dmenu scripts, these suckless tools excite me a lot. I'm using firefox, but I'm going to try out surf eventually.
@SlopeiZCSGO4 жыл бұрын
i Love these type of videos. where you go more in depth. i like watching programming parts etc.
@SwiatLinuksa4 жыл бұрын
Nice video, I use I3wm about 3 months and very like it. From what I see, I3 is easiest in configuration, even with i3bar, just clean bash scripts, python is black magic for me..
@austinbachurski79064 жыл бұрын
Hoping to see more in this series, struggling to get awesome set up, thinking about switching to i3. Can't wait for more.
@Rob-cq1nf4 жыл бұрын
I would be very happy about a second part!
@Arcticpagan4 жыл бұрын
Because of your latest video im choosing qtile as my new wm for a while.
@etherialwell69594 жыл бұрын
yeah thats my cup of tea! Today after work I will directly test qtile as im not very happy with the multihead i3 functionallity and the least working in i3 for me is restoring workspaces after reboot...
@maagu-_-4 жыл бұрын
Did you try i3-resurrect? It's a pretty neat solution, though I hopped to bspwm. Next for me will most likely be qtile.
@TakeTurnsGaming4 жыл бұрын
Is there a chance you can go over setting up multiple monitors I have a 4k and a 1080hp monitor but qtile opens everything fullscreen across both monitors looks silly.
@DistroTube4 жыл бұрын
I don't have a 4K monitor. You will have to dig through the documentation or ask for support on that one yourself.
@TakeTurnsGaming4 жыл бұрын
@@DistroTube yeah there's a couple things I have up my sleeve to try and few config examples. Worst case I'll just get the 4k monitor scaling right and just forget the 2nd 1080p
@richardmonroe42084 жыл бұрын
I finally bit the bullet and installed ArcoLinux Qtile. Very helpful video for a noob like me. Looking forward to more. Very interested in an autostart option that starts specific apps in specific workplaces. Thanks for all that you do in the name of LINUX!
@michaelhenze8773 жыл бұрын
Instead of all of that Python code, I leave the numbers in and use the "label" string. For example: Group(0, matches=[Match(wm_class=["URxvt"])], layout="max", init=True, persist=True, position=0, label="CLI"), mod+0 takes me to my "CLI" group.
@1512purple4 жыл бұрын
I don't know mabey its just me, but when I typed in your code and fixed the mistakes I made in doing so, it still spat error upon error at me
@lucapham-trong66363 жыл бұрын
Since by default a non root user has read permissions of the default config file, it is not useful to sudo cp at 5:07 Great video btw
@PatoToledo234 жыл бұрын
Actually if you just put something like this is gonna work with the default template: Group("LETTER/NUMBER TO ACTIVE",label="label to display")
@elpetepete4 жыл бұрын
Can somebody explain the workflow for using Qtile with multi-head display? Summoning groups to the current screen seems like it breaks normal multi-display work flow. Is there a way to focus the other display or pin a group to a display?
@AnzanHoshinRoshi4 жыл бұрын
Thank you, Derek. Written in Python? That's interesting.
@134552Adnan4 жыл бұрын
Me using nano years ago before I learnt to use vim: "I kinda like this, it's not too bad!" Me using nano today after reinstalling Linux on my laptop:"OH GOD!!!!!!!! HOW DO PEOPLE LIVE LIKE THIS??!!???!!?!!!??" XD
@salvaje14 жыл бұрын
Please make this a series.
@keanu32604 жыл бұрын
I tried to run the terminal commands and I get error: cp: cannot stat 'usr/share/doc/qtile/default_config.py': No such file or directory.
@stcoops4 жыл бұрын
Same
@keanu32604 жыл бұрын
@@stcoops did you ever find a solution?
@memoryfoammatressstuffedwi88764 жыл бұрын
i just qtile trying to figure this out
@keanu32604 жыл бұрын
@@anylastwordspod thanks I'm really dying to use qtile as I'm learning python
@hectorayala78744 жыл бұрын
Nobody has found a solution? I've been looking all over and I've found nothing
@alexandrudaniel80682 жыл бұрын
How can one manage multiple monitors efficiently in Qtile? I'm talking about things such as moving a window from one screen to another using just the keyboard. I've been looking everywhere but I haven't been able to find anything.
@jordixboy2 жыл бұрын
Have you found something?
@alexandrudaniel80682 жыл бұрын
Unfortunately, no. I have since moved to DWM and I am happy with it.
@driedurchin4 жыл бұрын
My question is always how you go about replacing the current window manager effectively.
@etherialwell69594 жыл бұрын
@TychoMagneticAnomaly-1 Do u use a loginmanager or are there multiple versions of your xconfig that you simply rename and switch? would be interested in a terminal login manager :3
@rmcellig4 жыл бұрын
Thanks Derek!! Much appreciated!!😀
@PatoToledo234 жыл бұрын
Is there a way to get conky with qtile? because when i use it all of my windows stacks on the botton of the screen to show the conky. And ive to kill it with the terminal
@YannMetalhead3 ай бұрын
Good introduction.
@13thravenpurple942 жыл бұрын
Great worl 🥳🥳🥳 Thanks 💜💜💜
@davidortega49504 жыл бұрын
Hello, when i do chengues in the config file, its saved but the changues doesnt works when i refresh, but when i enter again in the file the name of the groups is 123456789 but it looks in desktop llike the default. Help please
@davidortega49504 жыл бұрын
changues*
@gibranlp4 жыл бұрын
Hey man, great video as always, have you tried to install Qtile on Elementary? i've been having issues with it for some time.
@guillecendan4 жыл бұрын
Hi, noob here. 9:41 - I edited the line to change it from “xterm” to “st” but didn’t have st installed. So, when I rebooted, logged in and keyd SUPER+ENTER nothing happens. If I log out and log back in with the root user then SUPER+ENTER opens the terminal (xterm) but not on my user... How can I restore my config settings on my user from the root user that is where I can open terminal. I can’t do anything on my user, terminal doesn’t pop up. Thanks.
@DistroTube4 жыл бұрын
Drop to a tty. Login as your user and then edit the config file in vim or nano and change that line back to xterm. Or, in a tty, install the st terminal. ;)
@guillecendan4 жыл бұрын
DistroTube Hey man thank you very much for your response! I have been digging into Arch Linux only for a couple of days, I followed your installation guide and then the QTILE as well. How do I “drop to a tty”? Very noob here :) Thanks again!
@guillecendan4 жыл бұрын
Just in case that someone else ends up having the same issue as I did and not knowing how to enter TTY. Here is a link to a DistroTube vid that explains it. kzbin.info/www/bejne/hGLFq2R6ialrf9E Got my self-induced problem fixed :) Thanks DT! Cheers
@krzysztof-ws9og4 жыл бұрын
I believe that almost every file in /usr ( including default qtile config ) is readable by every user on the system So then you dont have to copy that file as root and change your permissions later I just copied it without sudo
@LC-hd5dc2 жыл бұрын
exactly, qtile itself wasn't run as root, so the default config would have to be world readable for qtile to read it
@Robertass20004 жыл бұрын
tried qtile but CPU status widget cycles the loop every second causes whole wm to stops respond every second. It is very notable on moving objects.
@DistroTube4 жыл бұрын
I think the CPU widget is broken. Doesn't even work on my machine. Not sure if they have a fix planned for it.
@Robertass20004 жыл бұрын
@@DistroTube have you noticed bug with any tiled window when it dragged with mouse it loses borders and becomes totally unresponsive to text typed in it. Actually qtile really seems immature project yet. In contrast to widget window navigation and movement is vital.
@DistroTube4 жыл бұрын
No idea what that problem is. Qtile has been rock solid stable for me for years. And it's far from an immature project. Might be an issue in your config.
@Robertass20004 жыл бұрын
@@DistroTube I believe that on your side is rock solid. likely my config isn't flawless even defaults one. If it is as good as it sounds that I must agree that project isn't immature so far.
@julius75742 жыл бұрын
Is There a way in qtile to have workspaces for each monitor? I have a dual monitor setup and wish to have my 9 workspaces on the first and also 9(diffrent) on the other monitor. I searched the docs and Forums but i didnt find anything. Hope somebody could help me. (Non copy Paste solutions are also welcome)
@fullstackdave41174 жыл бұрын
if you can't find the default config file try: /usr/lib/python3/dist-packages/libqtile/resources/default_config.py also you can omit the sudo when copying and it will make a copy with you as the owner already.
@alexd56374 жыл бұрын
Umm .. is default_config.py accessible to root only? That whole thing seems more toiling that cat|grep :)
@ketilkn4 жыл бұрын
No. He did not need to use sudo there.
@DanielAlvarez-rq5vu4 жыл бұрын
Distrotube excellent video, I have a little problem with Qtile and my Keyboard, My keyboard has the format (la-latin1) but the file I put in /etc/vconsole.conf "KEYMAP = la-latin1" does not respect me. I would like to know how that can be fixed since before installing Qtile my keyboard obeyed that file and everything was fine but in Qtile it detects the keyboard as US.
@DanielAlvarez-rq5vu4 жыл бұрын
@@JulenCampsDamas-wk5ij Ejecuta este comando: echo 'setxkbmap es' >> ~/.config/qtile/autostart.sh
@DanielAlvarez-rq5vu4 жыл бұрын
@@JulenCampsDamas-wk5ij Luego reinicia y todo esta listo
@seancarleo59223 жыл бұрын
What does Terminal = guess_terminal () mean? it's under mod = mod4
@bunnowastaken16533 жыл бұрын
Its like i3 sensible terminal. Basically if you uninstall a terminal emulator and install another one, it will guess what terminal you want to use and open it. For example, if I uninstall xterm and install kitty, it will automatically detect it and when I reload qtile it will launch kitty instead. Hopes this helps :D
@torspedia4 жыл бұрын
Ta for that. I'm gonna be starting to learn Python, in the new year, so using this WM may well be a good way for me to learn how to hack already existing code! :-)
@thengakola62173 жыл бұрын
btw, how did the year go for ya? :)
@mohamadeen4 жыл бұрын
qtile is kind of frustrating for me because of a couple of points: 1- shortcuts aren't working on different keyboard layout ( language ) it has to be English. 2- there is no notification? floating ones like in awesomewm !
@mohamadeen4 жыл бұрын
Also, I know that something to do with how python works but the config error can't be fixed unless we close the xsession, fix the error and start Qtile again.. that's annoying
@Robertass20004 жыл бұрын
I have noticed the same issue with kbd layout diff then eng is no go. However possible to assign additional keybindings for particular non-english layout. Sound tedious but might be possible. I haven't tried but keycode could be used instead of key character. I'm on bspwm, but the same issue with multiple kbd layouts.
@TsvetomirTodorov3 жыл бұрын
Hey guys, can`t find how to config and switch different keyboard layout? can anyone help me ?
@falx9664 жыл бұрын
5:01 You don't need sudo to copy a file from root, unless it's a protected one like /etc/shadow.
@DanielAlvarez-rq5vu4 жыл бұрын
How to install Qtile in Kali Linux or any Debian based distro.?, I read the documentation but it gives problems it does not install properly and when turning on the machine it does not give me the option to use qtile. It would be nice if you made a tutorial on how to install it from its source code in distros based on Debian, Por Todo lo otros Excellent Video.
@krzysztof-ws9og4 жыл бұрын
I am using Alt as my mod key because I have weird keyboard, where my Super key is on the right side of spacebar :(
@2008dsg4 жыл бұрын
is it possible to use bumblebee-status in qtile?
@VulcanOnWheels4 жыл бұрын
In case someone finds this comments... How do you know which mod-key is which key on the keyboard?
@little-wytch4 жыл бұрын
I must be too much of a noob for qtile. I can't get it from any apt source I've tried so far, I'm not comfortable attempting to compile from source yet, and installing with pip seems to work but qtile doesn't show up in my list of xsessions lol. I was really hoping to get into qtile as a way to finally force myself to start learning some python but that seems to not be in the cards for me. Looks like I'm sticking with i3 for now.
@twb01094 жыл бұрын
I try to program but I couldn't understand the workspaces thing :/, maybe I should quit
@huahuapro3 жыл бұрын
Hi DT, can you tell us how to set wallpaper in qtile? Thx!
@DistroTube3 жыл бұрын
In your autostart.sh, have a wallpaper program run and set your wallpaper. I use nitrogen: nitrogen --restore
@MyReviews_karkan4 жыл бұрын
That was absolute Chinese. I need to dig into this subject. Lol
@ChrisD__3 жыл бұрын
不,这是中文!
@deadplan10554 жыл бұрын
For me Python is a no-go for a window manager. Good video though
@umermaqsoodofficial3 жыл бұрын
Hi, I wanna try Qtile but I'm having scaling issue with my 4k display. Everything is too small to see. Can you please help me how to scale it properly for Qtile. I was using Ubuntu 21.04 on Wayland. And I changed scaling settings in it and it was perfect. But now I wanna use Tiling window managers.
@jotix25704 жыл бұрын
Hi, love your videos, i think might you like give a shot to a spectrwm
@knutien98324 жыл бұрын
how do you get wallpaper?
@DistroTube4 жыл бұрын
Wallpaper is one of the default Arco linux wallpapers.
@knutien98324 жыл бұрын
@@DistroTube thank you for your reply, would you reconmend qtile over i3wm when it comes to utilization and setup?
@DistroTube4 жыл бұрын
It all just preference. Give them both a try and see what you think. I prefer dynamic tilers like qtile and xmonad over the manual tilers like i3 and herbstluftwm. But again, just preference. You might have a different opinion.
@knutien98324 жыл бұрын
@@DistroTube thank you again for taking the time to answer, love your work!
@knutien98324 жыл бұрын
i am doing a re install of gentoo on my laptop, running kde on it, of rflexibility with some programs, and will use qtile, since i am study python. but how do i set the wallpaper at start?
@keanu32604 жыл бұрын
I don't understand how to start qtile after installing it.
@user-df4zw7yb4v3 жыл бұрын
extremely late but sign out and on the bottom left you can switch to qtile
@krzysztof-ws9og4 жыл бұрын
8:30 when ur mod4 key is on the other side of the spacebar :(
@134552Adnan4 жыл бұрын
For Ubuntu users trying to install qtile on 20.04 you need to install from source. See: docs.qtile.org/en/latest/manual/install/index.html#installing-from-source
@Ironpants573 жыл бұрын
This works.. However, the weird thing is that it doesn't install a session like the other tiling window managers. Maybe it needs to be built into a obsession or xfce?
@luke_filewalker4 жыл бұрын
I am one of those weird ppl :)
@red13emerald4 жыл бұрын
Claude Müller yeah wtf, Alt is way easier to reach than Super, it’s definitely the goto for commonly used commands for me
@luke_filewalker4 жыл бұрын
@@red13emerald yeah, now I have an Ergodox Ez keyboard so I COULD remap the keys to be Super, but I discovered tiling WMs with a normal, "fixed" keyboard, so it'd just be weird at this stage ;D
@red13emerald4 жыл бұрын
Claude Müller funny how we all completely go out of our comfort zone to start with TWMs, but once we’re in deep enough, we can’t change our habits at all anymore :D great kb, the ez. how do you like it? I got an XD75 with box whites and blank DSA caps with a split layout, that shit is soooo comfortable to type on, even for hours on end.
@luke_filewalker4 жыл бұрын
@@red13emerald yeah indeed - even though it seemed so bizarre in the beginning, now, I can't imagine life without a TWM! bspwm FTW :) Ahh nice! the XD75 looks great. I loved my Micro$soft Sculpt (only thing I don't hate about them).. then.. I got the EZ - best keyboard I've ever used! My only complaint is that the tilting arms aren't 100% accurate.. so now after a year or so I struggle to get the kb perfectly balanced some times i.e. doesn't rock. I have the black labelled caps that came with it and Cherry MX Blues. But after a year I realise I should have gone with Browns lol - so they're on my "wife, please may I buy" list :D - yeah sooooo comfortable, plus makes you feel like a h4x0r :D
@luke_filewalker4 жыл бұрын
@@red13emerald and then also I've been using Vim for like 5 years, so I'm ruined for "standard" UI/UXs lol
@jamesmccarte16093 жыл бұрын
"squiggly brackets" are actually called "braces"
@daksh67524 жыл бұрын
If it's in Python, isn't that slows it down?
@anantgupta79163 жыл бұрын
Have some changes occurred in Qtile since 2019 as now I can workspaces 1-9, wallpaper, & some more config in the panel by default. I am using Manjaro
@vaibhavppandey3 жыл бұрын
what?...
@abhabh68963 жыл бұрын
What I hate is when i look at top 10 DE lists on the net and they put WMs. People need to realize WMs arent DEs. Good video though.
@yusufaktepe4 жыл бұрын
Useless sudo and chown, btw.
@DistroTube4 жыл бұрын
Definitely not useless. You will not have write privileges to the config unless you chown.
@otapliger4 жыл бұрын
@@DistroTube I think what Yusuf means is that if you cp without sudo you'll have no need to change ownership on your config
@DistroTube4 жыл бұрын
Ah, gotcha.
@Subzearo3 жыл бұрын
aaaaaaaahhhh, it's not available on Ubuntu 20 without compiling. I hate Ubuntu 😫😫😫😫😫😫
@pcfreak19924 жыл бұрын
Maybe it’s just me but these jump cuts are a bit tiring to watch..
@adc1094 жыл бұрын
Yeah it's just you.
@afonsosalbrecht3 жыл бұрын
can't believe that qtile uses http, instead of https! how hard is it to set up a f*:) https nowadays!?
@ji32303 жыл бұрын
install qtile, and don't know how to launch...
@wiktorwektor1234 жыл бұрын
You have absolutely no idea what "hacking" means. You didn't "hack" QTile at all. You just used QTile the way it should be used. It's not hacking. You would hack QTile if you were use it in a way that was not intended to be used. You just showed everyone how to CONFIGURE QTile, not hack it.
@Robertass20004 жыл бұрын
Seems like everyone who opens config file is hacker :) But even on docs.qtile.org/en/latest/manual/hacking.html hacking word is mentioned. I guess word hacking doesn't apply only to complex coding hackers.