Configuring The Bar In Qtile

  Рет қаралды 68,948

DistroTube

DistroTube

Күн бұрын

Пікірлер: 106
@atps
@atps 4 жыл бұрын
Hey, Derek. I've been waiting for this video since the beginning of the series. It would be great if you expanded a little bit on the other widgets you use. I'd be glad if you considered the following suggestions for future videos: 1. Wi-Fi widget/module; 2. Keyboard layouts - adding additional keyboard layouts; 3. Multiple monitors setup; 4. How/where you find the specific unicode characters you put in the config. Thanks :).
@DistroTube
@DistroTube 4 жыл бұрын
No need to expand on the other widgets. Just add them to the bar to see them in action. It takes seconds. I might cover multiple monitors on a future video. And the unicode character is just a left arrow ⯇ so just copy and paste this. ;)
@atps
@atps 4 жыл бұрын
@@DistroTube , thanks. Looking forward to seeing you future content. 👍
@mohamadeen
@mohamadeen 4 жыл бұрын
​@@DistroTube Multiple monitors setup is kind of tricky in qtile you need to config qtile to check number of connected monitors (with python's xlib or anything of your choice) then expand screens with N Screen() objects with the desired bars. then after you connect the monitor, setup xrandr (with arandr or CLI) you have to restart qtile to refresh the bars... You can look in here to figure it out with the config in the link and the snippet to find monitor count: groups.google.com/forum/#!topic/qtile-dev/pcuI1lpkxtw
@mohamadeen
@mohamadeen 4 жыл бұрын
As for the keyboard layouts checkout this config file: github.com/zordsdavini/dotfiles/blob/master/.config/qtile/config.py#L69
@MetalCrazyGoat
@MetalCrazyGoat 4 жыл бұрын
@@DistroTube hey DT I've been trying to get the power line like effect on my qtile bar but I keep getting extra space on the right side of the Unicode arrow, and I can't seem to find a way to remove that space any ideas?
@AnzanHoshinRoshi
@AnzanHoshinRoshi 4 жыл бұрын
Thank you, Derek. I'll save this for reference.
@fab_code
@fab_code 3 жыл бұрын
hey DT im wondering how you made that triangle kinda edges
@BlindRambler
@BlindRambler 2 жыл бұрын
I do believe that those are in the gitlab in the description
@graphy6581
@graphy6581 4 жыл бұрын
why would you use functions everywhere when there's no need for them I really don't get it. for example you wrote a function init_colors that returns a nested list of colors and then you create a variable 'colors' holding that returned value why not just write a list named 'colors'
@nobytes2
@nobytes2 4 жыл бұрын
He did say in the first video he's not a python programmer or a programmer at all. I'm actually impressed he had the time to learn. Obviously for a python programmer configuring qtile is cake.
@warhawk_yt
@warhawk_yt 4 жыл бұрын
I was looking at your dotfiles repo and I saw you updated your qtile and xmonad configs with a keyboard shortcut to your scrot dmenu script but you haven’t actually pushed the script to the repo. Did you do that on purpose or was it just that you forgot to?
@DistroTube
@DistroTube 4 жыл бұрын
I can push the script. It's not my script though. It probably needs some tweaking.
@warhawk_yt
@warhawk_yt 4 жыл бұрын
Oh okay. I just wanted to check with you. It’s up to you just wanted to let you know in case you meant to but forgot.
@DistroTube
@DistroTube 4 жыл бұрын
I pushed it for you. I just wanted you to be aware that I might drastically rewrite that script at some point for my own needs.
@warhawk_yt
@warhawk_yt 4 жыл бұрын
DistroTube I completely understand. After all it’s your git repo for your needs. Might not be for other people.
@butterboy2246
@butterboy2246 4 жыл бұрын
What distro are you using currently? Thinking of switching from Manjaro after using it for a while.
@DistroTube
@DistroTube 4 жыл бұрын
Arco Linux. They have a Qtile edition if that's what you are after. ;)
@RonnieNissan
@RonnieNissan 4 жыл бұрын
Hey DT. I really love how qtile works. But I have some things I can't figure out. 1) how to use the LaunchBar widget. 2) how to set multiple screens? What about a projector? How to switch between "Extended" and "Duplicate"? Hope you can make a video about this. :-)
@mohamadeen
@mohamadeen 4 жыл бұрын
Multiple monitors setup is kind of tricky in qtile you need to config qtile to check number of connected monitors (with python's xlib or anything of your choice) then expand screens with N Screen() objects with the desired bars. then after you connect the monitor, setup xrandr (with arandr or CLI) you have to restart qtile entirely to refresh the bars... You can look in here to figure it out with the config in the link and the snippet to find monitor count: groups.google.com/forum/#!topic/qtile-dev/pcuI1lpkxtw As for the extended and mirror part is never handled by the window manager, you need to use xrandr maybe arandr if you need a gui Another good tool I use is autorandr (for hotplug and switching xrandr profiles) Use whatever suites you and create your own work flow that's the beauty of linux
@RonnieNissan
@RonnieNissan 4 жыл бұрын
@@mohamadeen thank you for the help, I'll try to make it work :-)
@TheChemisch
@TheChemisch 2 жыл бұрын
I'm assuming you figured this out a year later but anyone struggling now like i did. I ultimately ust ended up using the example config provided by qtile. Could not get the config that distrotube runs to run. must be missing some dependencies. Also all I know programming wise is a little bit of Javascript so i'm on hardmode. screens = [ Screen( top=bar.Bar([ widget.GroupBox(), widget.WindowName() ], 30), ), Screen( top=bar.Bar([ widget.GroupBox(), widget.WindowName() ], 30), ) ]
@RonnieNissan
@RonnieNissan 2 жыл бұрын
@@TheChemisch I did figure it out actually, and your code is correct. Thank you.
@surferbum618
@surferbum618 4 жыл бұрын
Thanks Derek, you are awesome. Any chance on getting a video on how to properly test our configs? I tried to follow the instructions on the documentation, but couldn't get it to work. Either way I really appreciate you doing this. I love my computer again thanks to you and Qtile!
@DistroTube
@DistroTube 4 жыл бұрын
I could go over that maybe in a future video. Typically, for testing out a window manager, you would use an X11 program called Xephyr. It basically launches a window that contains an instance of your window manager that you are testing.
@DanielAlvarez-rq5vu
@DanielAlvarez-rq5vu 4 жыл бұрын
@@DistroTube What font or icon do you use to show the icons you have in the Qtile bar? In mine they are not shown. I would appreciate it if you could tell me how I install those icons that you have.
@rylanraylan9517
@rylanraylan9517 3 жыл бұрын
i guess I am kinda randomly asking but do anyone know of a good website to stream newly released tv shows online?
@marctripp3140
@marctripp3140 3 жыл бұрын
@Rylan Raylan flixportal
@rylanraylan9517
@rylanraylan9517 3 жыл бұрын
@Marc Tripp thanks, I signed up and it seems like a nice service :) Appreciate it!!
@henryjames2007
@henryjames2007 4 жыл бұрын
so im trying to setup qtile with polybar and i want to remove the stock qtile bar, is there an effective way to do this?
@pchick
@pchick 4 жыл бұрын
if you haven't googled by now add bottom.show(false) to your startup hook @hook.subscribe.startup def startup(): bottom.show(False)
@henryjames2007
@henryjames2007 4 жыл бұрын
@chicken thanks!
@henryjames2007
@henryjames2007 4 жыл бұрын
ive spent the last day messing with that and rereading the documentation (which i did do before posting the original comment) and nothing i put inside of startup() works. i am importing the right modules and everything. i cant find anything about this on github/archwiki/qtile.org. am i just completely brainfucked or has someone else had this issue?
@pchick
@pchick 4 жыл бұрын
@@henryjames2007 github.com/qtile/qtile/issues/1497 this is where i got the solution from. i'm pretty sure i tried it and had it work. also, qtile might not be worth your time. somehow it used up 6 gigs of ram having firefox (one tab), vscode, and discord open. that combination sits at less than 2 gigs in i3. also, clicking on things in firefox had near-second delays. if your pc is beast tho you probably won't notice
@henryjames2007
@henryjames2007 4 жыл бұрын
@@pchick unfortunately i have already checked that github page and all of the linked documentation in it, thanks for your help anyway though. also wow thats strange i have 5 tabs in two instances of firefox open with discord and heavily customized atom and its using 2.4 gb ram. im also getting no unexpected delay from firefox or anything. thats odd. perhaps ill switch to bspwm or something if i cant figure out the bar issue.
@eckhardt_dk
@eckhardt_dk 4 жыл бұрын
Hi I would like to play with qtile but you set it up with dynamic screens? it is on my laptop which i use at work with 2 screens and at home only with the built-in screen?
@piyushchaudhary3195
@piyushchaudhary3195 9 ай бұрын
Derek can you please tell me how you got the character in the text box to make the appearance of the widgets pointing towards the left. It would be a great help. I just can't seem to replicate it. widget.TextBox( text='◁', padding=0, foreground=["#AF656E"], background="#AF656E", fontsize=27 ),
@TNT14gaming
@TNT14gaming 3 жыл бұрын
Does anyone know how to get separators to be pointy like that?
@chil1t0
@chil1t0 4 жыл бұрын
I have a pretty ¨big¨ problem with qtile, I freshly install manjaro XFCE and you motivated to try qtile because in certain things you have all the reason, with the wasted unused space, so. I installed Qtile but when I execute it I dont have media controls with my kb, my dual monitor only mirrors the main display, and cant logout from my user. One thing I did is copy your entire config of the qtile and execute it, it worked but I still have problem with the display and dont have any file manager to open. PD: Im new with arch, Im getting into it and I kinda like it, I was on W10 but I have previously used eOS and Ubuntu but nothing special, any tips?
@krishnasivakumar2479
@krishnasivakumar2479 3 жыл бұрын
yeah, those need to be added to qtile later. as for logout, you can just exit qtile with ctrl+mod+q. Most of this stuff is documented on the qtile section of arch wiki, so do check it out. cheers
@damonmccain307
@damonmccain307 4 жыл бұрын
Hey Derek is there a way to set a specific size for floating windows in qtile? Say I want Thunar to open at a set window size, in i3 it would be something like for_window [class="Thunar"] floating enable resize set 1060 650 ....could you show how to do the same in qtile?
@jacoboaristizabal979
@jacoboaristizabal979 4 жыл бұрын
hello distro, could you please help me with the font? in the bars appears the arrow in hexa code and i don't know how to fix it
@theiMarble
@theiMarble 3 жыл бұрын
You need to install Nerd-Fonts. When it isn't installed it will show hex placeholder glyphs.
@caubert
@caubert 4 жыл бұрын
thing is, how to get widget.Net stable/static... fmt= seems of no use and it just skips any padding and if numbers change bar is dynamically growing/shrinking
@Ganon1337
@Ganon1337 4 жыл бұрын
This is the same problem I have and I've been looking for a solution for a some time now. Any dynamic widget resizes the bar, which leads to either blank space on the right or widgets on the right now showing in the bar.
@JobinJose
@JobinJose 4 жыл бұрын
Thanks Derek for the guide. I have been using qtile for a while now thanks to you. What I couldnt figure out yet is how to set a transparent bar background. Do you know of any way to do so. Any help is appreciated, thanks.
@DistroTube
@DistroTube 4 жыл бұрын
Check out lines 565-568 of my config: gitlab.com/dwt1/dotfiles/-/blob/master/.config/qtile/config.py You will see that you can set an opacity setting when doing the bar. Obviously, make sure you have a compositor (like compton or picom) running, otherwise transparency won't work.
@JobinJose
@JobinJose 4 жыл бұрын
@@DistroTube thanks Derek, I'm afraid that sets the opacity for the full bar. What I'm aiming for is a transparent bar background where the widgets are fully opaque. Tried setting the background argument to #ffffff.0 which didn't help.
@metastag
@metastag 3 жыл бұрын
Just want to point out that DT probably updates this config file, so now the opacity settings are not on lines 565-568, but rather, 509-512
@DanielAlvarez-rq5vu
@DanielAlvarez-rq5vu 4 жыл бұрын
How can I configure shortcuts to adjust the brightness and volume in qtile.?. On my keyboard the key combinations are: Volume-up: Fn + Up-key Lower-Volume: Fn + Down-Key Up-Brightness: Fn + Right-Key Lower-Brightness: Fn + Left-Key. I know they are added in the QTile configuration but I do not know what the codes of my Keys are. If you helped me in that little one, you would be very grateful.
@IQUBE
@IQUBE 3 жыл бұрын
So you'll have to install pulseaudio (which might be already installed), pamixer (for volume), and brightnessctl for brightness control. Then you can add the following keybindings: # Volume control Key([], "XF86AudioLowerVolume", lazy.spawn("pamixer --decrease 5")), Key([], "XF86AudioRaiseVolume", lazy.spawn("pamixer --increase 5")), Key([], "XF86AudioMute", lazy.spawn("pamixer --toggle-mute")), # Brightness control Key([], "XF86MonBrightnessUp", lazy.spawn("brightnessctl set +10%")), Key([], "XF86MonBrightnessDown", lazy.spawn("brightnessctl set 10%-")), And then restart Qtile with Mod + ctrl + r :)
@5caioc
@5caioc 2 жыл бұрын
Hello! Does anyone know how I can change the position of the widgets? I'd like to have just my clock positioned on the center of the bar, but I haven't found how to do it in the docs Thanks
@ΓιώργοςΤσακίρογλου-ι2η
@ΓιώργοςΤσακίρογλου-ι2η 2 жыл бұрын
I think you can add separators with the appropriate size left and right of the clock, so that the clock is centered Edit: Just checked, you should use the Spacer widget, my bad
@jasonkimmerling9395
@jasonkimmerling9395 3 жыл бұрын
Is there any way to choose what side the widgets go on? I am trying to customize a bar, and every widget is slammed to the left, and I would to have some on the left and some on the right.
@biscuitrescue9787
@biscuitrescue9787 3 жыл бұрын
use the widget.Spacer after where you want to end the widgets on the left it would push all the widgets after it to the right
@jasonkimmerling9395
@jasonkimmerling9395 3 жыл бұрын
@@biscuitrescue9787 Thanks, some of the obvious things are only obvious in hindsight :D
@sumitmamoria
@sumitmamoria 4 жыл бұрын
Hey DT.. I have been trying to setup on a 4k laptop display.. But tiling window managers haven't work well for me. Do you have a mini guide or something to do the same?
@DistroTube
@DistroTube 4 жыл бұрын
Don't have any 4K monitors so I don't know anything about this. Best to ask this question in a support forum or IRC channel for the DE/WM that you are interested in.
@SachinGopalkrishnan
@SachinGopalkrishnan Жыл бұрын
Thank you. This was useful.
@sripradpotukuchi9415
@sripradpotukuchi9415 4 жыл бұрын
Does anyone know how to center a widget on the bar? I want to center the time and date on the bar, and I just cant find any reference to this in the documentation
@SycoonGaming
@SycoonGaming 3 жыл бұрын
Did you find out?
@sripradpotukuchi9415
@sripradpotukuchi9415 3 жыл бұрын
@@SycoonGaming Unfortunately, no. But I'm currently using BSPWM now (with polybar). Never been happier with my setup! I think I wouldn't have left Qtile at all if i found out how to center a widget in the first place lol.
@biscuitrescue9787
@biscuitrescue9787 3 жыл бұрын
add 2 spacers one after the left part and one after the center part github.com/biscuitrescue/qtile-bottom-bar/ these are my dots
@sripradpotukuchi9415
@sripradpotukuchi9415 3 жыл бұрын
@@biscuitrescue9787 Thanks a lot! I'm gonna try this out. Much appreciated!
@sambird7
@sambird7 3 жыл бұрын
Has anyone gotten the MOC widget to work? I'm having trouble, and I would love to copy someone's homework.
@wadecurry938
@wadecurry938 4 жыл бұрын
The only thing preventing me from using qtile again, is my hidpi display. Qtile displays everything unusably tiny. Searches for help, including in IRC, have produced no solutions. Using SDDM as my display manager only helps a little. Arch wiki has a solution that doesn't work. X11 doesn't support setting the DPI. :-(
@320shanto
@320shanto 2 жыл бұрын
Is it possible for you to add a link to your custom qtile config file?
@keanu3260
@keanu3260 4 жыл бұрын
Hey distro not sure if you read this but I left a comment on your other video about trying to install qtile. I can't seem to get it to work on ubuntu.
@DistroTube
@DistroTube 4 жыл бұрын
If the problem is finding the default config, I don't run Ubuntu so I don't know where that file is. But you can copy the default config from me: gitlab.com/dwt1/dotfiles/blob/master/.config/qtile/default_config.py
@2008dsg
@2008dsg 4 жыл бұрын
is it possible to use bumblebee-status in qtile?
@Sean_476
@Sean_476 3 жыл бұрын
super+Ctrl+r is not restarting .....and I haven't changed anything....help! lol
@alexanderkbailey
@alexanderkbailey 4 жыл бұрын
Do you plan to make any more videos on Doom Emacs?
@DistroTube
@DistroTube 4 жыл бұрын
Definitely!
@stephenwilson0386
@stephenwilson0386 3 жыл бұрын
Hey DT, or if anyone else can help, I'm trying to get a shutdown menu working as an icon on the bar or even a keybinding similar to what ArcoLinux has (either fullscreen like theirs or a popup would be fine), with options for logout, restart, shutdown, etc. I was thinking a mouse_callbacks function would work like you showed in another video, but wasn't able to get that working. If anyone is using something like I'm talking about, can you share that part of your config?
@DistroTube
@DistroTube 3 жыл бұрын
If you want a logout menu program, try out oblogout: wiki.archlinux.org/index.php/Oblogout Arco might already have oblogout (or something similar) installed. Then put an icon on your qtile panel and have the mouse callback execute oblogout.
@francois86sc
@francois86sc 4 жыл бұрын
Could you make an explanatory video about the qtile autostart.sh file ?, I have done everything I found in the qtile documentation, and I was unable to autostart applications when qtile starts. Im using Arch linux, thanks in advance!
@erichernandez5527
@erichernandez5527 4 жыл бұрын
Is your autostart.sh marked as executable? chmod +x autostart.sh
@francois86sc
@francois86sc 4 жыл бұрын
@@erichernandez5527 yes, i just get bored and install arco linux, thanks anyway.
@isaulhernandez2856
@isaulhernandez2856 4 жыл бұрын
how can i just to replace my entire config folder with his config's ?
@thengakola6217
@thengakola6217 3 жыл бұрын
@@sripradpotukuchi9415 thanks bruh... :)
@sripradpotukuchi9415
@sripradpotukuchi9415 3 жыл бұрын
@@thengakola6217 np!
@dove227
@dove227 4 жыл бұрын
Qtile or awesome
@DistroTube
@DistroTube 4 жыл бұрын
Yes!
@XDjUanZInHO
@XDjUanZInHO 4 жыл бұрын
Dwm
@quervo151
@quervo151 4 жыл бұрын
my config.py file is not working, it is not doing any changues, helpppppppppppppp pls
@DistroTube
@DistroTube 4 жыл бұрын
Is it falling back to the default config? If so, that is what it does if there is an error in your config. Find the error and fix it.
@alexstone691
@alexstone691 4 жыл бұрын
Derek are you any closer to youtube being your job ?
@DistroTube
@DistroTube 4 жыл бұрын
As the kids say: the struggle is real. :D
@zakhoskins6404
@zakhoskins6404 4 жыл бұрын
Me : "The all Python config is awesome, but I'm debating whether or not to use this or BSPWM" >scrolls through docs >finds docs.qtile.org/en/latest/manual/ref/layouts.html#bsp Me: :)
@beron_the_colossus
@beron_the_colossus 4 жыл бұрын
-First guy to say first?-
@DistroTube
@DistroTube 4 жыл бұрын
Cringe.
@beron_the_colossus
@beron_the_colossus 4 жыл бұрын
Indeed
@bogdanlupu3679
@bogdanlupu3679 4 жыл бұрын
First
@DistroTube
@DistroTube 4 жыл бұрын
Congrats.
@skryoo8027
@skryoo8027 4 жыл бұрын
Getting rid of your intro was a great idea.
@DistroTube
@DistroTube 4 жыл бұрын
Thanks. But the credit for that goes to the folks over on 4chan. It was their suggestion.
@mentalmarvin
@mentalmarvin 4 жыл бұрын
@@DistroTube You should have an intro video where you thank them
@RockawayCCW
@RockawayCCW 4 жыл бұрын
Looks pretty cool to me but for normies, Qtile is futile...
@_yuri
@_yuri 4 жыл бұрын
normies use linux they can use qtile as well it is not writing your own shit just copy pasting modules
Qtile - Getting Started And Setting Workspaces
17:37
DistroTube
Рет қаралды 135 М.
Linux Mint vs... Linux Mint (Debian Edition)
17:43
Veronica Explains
Рет қаралды 275 М.
VAMPIRE DESTROYED GIRL???? 😱
00:56
INO
Рет қаралды 7 МЛН
А что бы ты сделал? @LimbLossBoss
00:17
История одного вокалиста
Рет қаралды 9 МЛН
Free Software Is Under Attack! (Will You Help Defend It?)
32:02
DistroTube
Рет қаралды 20 М.
Qtile "Extras" Gives You Even More Customization Options
17:58
DistroTube
Рет қаралды 31 М.
Linux File System/Structure Explained!
15:59
DorianDotSlash
Рет қаралды 4,2 МЛН
ASMR Programming - Spinning Cube - No Talking
20:45
Servet Gulnaroglu
Рет қаралды 4 МЛН
7 Apps Better Than The Defaults Your Distro Ships
12:43
DistroTube
Рет қаралды 83 М.
Resistance Is Futile, So I'm Back In Qtile
21:08
DistroTube
Рет қаралды 75 М.
Qtile Bar - Unicode And Widgets For A Fancy Bar
10:02
tuffgniuz
Рет қаралды 11 М.
The Tragedy of systemd
47:18
linux.conf.au
Рет қаралды 1,1 МЛН
Qtile - A Powerful and Flexible Window Manager You Should Try!
34:38
Problems You will Encounter on Linux (and How to Solve Them)
23:01
Rob Braxman Tech
Рет қаралды 103 М.
Is this Samsung's change over time #shorts
0:13
Si pamerR
Рет қаралды 1,5 МЛН
🤔Где сапфировое стекло в смартфоне? 📱
0:52