Being able to just pip install it, is one of the things that makes qtile easy to install and use on almost any distro even if there is no premade distro package for it.
I like all of these programs, but as a debian user, I wound up writing scripts for each one of these. The qtile version is not the newest in debian's pip install (as of about 6 months ago), so I downloaded the source and installed with pip that way.
If any of you guys add a new directory to the PATH environment variable, never forget to add $PATH, to expand the previous value. And in particular, do not forget the dollar sign.
The only downside to this is that you end up having to use a ton of additional package managers or "make" your way into your favourite packages and that kind of defeats the purpose of the host's package manager. At the very least, an updater script should be made to take care of every package manager's updates so as to not forget to update some of them.
Well, you should not install many programs this way, so it should not be a major problem. Most programs should be from the distributions package manager. But yes, the update process is the reason for stay away from user installed software, as least to rely on that. But it is workable if it is just few programs.
Nix or Guix are on pair with each other there. But they are using different system languages, but still same principles. I have not had time to test them out though.
If you mark a section of text with sweep it with button one on the mouse in X11, you can always past it in with the middle button on the mouse. When you start a graphical program from shell, you could add an & after the command and it will not "lock" your terminal until the program ends. You could also do C-z to freeze the command running in the terminal and then use the shell command "bg". Now the freezed program will continue running the program in the background, like if you started it with a & last in the line. If you want, you can tell pip(1) to install programs under /usr/local directory instead of ~/.local, and in that way you don't need to change the PATH. And the program will be available for all users on that system. But I understand the pedagogical reason to learning about the PATH environment variable, and how to change it. Some programs you don't want to make available for all users, so in that case you should probably use pip3(1) as you wrote.
As a recent user of Arch, what do you use for the virtual machine for other distros? Some of the software I want to try (don't remember what at this time) is not easy and has no documentation other than "sudo apt install " and I can't find the pacman install for it (yet). Just a question so I don't reinvent the wheel. Thanks.
Ubuntu is configured to automatically add "~/.local/bin" and/or "~/.bin" to the PATH during login if these exist. So there is no need to edit .bashrc. Create the directory, log out then back in.
This is one of my beefs with Mint. I end up having to add so many PPAs for newer software and when you upgrade, it purges/downgrades said packages and removes the repos. With MX Linux, it roles and I don't have to deal with that. MX has optional repos built in for newer versions. So my MX (Debian based) has versions years newer then my Mint (Ubuntu based) install.
@@hoomansifat *one click upgrade* . No removing packages, orphans, etc. It's so friggin' easy. I use LinuxMint and the update always has some issue. MX rolling release is the simplest Linux upgrade I've ever seen in my 30+ years using Linux.
Saved me I've tried to install qtile but tried to use DT's configuration file the qtile rollback to its default configuration because of qtile-extras therefore I've switched to i3 and polybar now it's time to switch to qtile
I want to install qtile under ubuntu 23.04. It seems that this will not work due to a policy change to avoid conflicts between the Python package manager (pip) and Ubuntu's underlying APT. Is there a way to do it?
after running pip install xcffib. I get error module is not found xcffib. EDIT: uninstalled all abd did a pip3 install and qtile is recingised now. But login in as qtile logs me back out. Im on linux mint
Thank you I really enjoy your videos, and yeah my level of frustration grew so much at some point using Arch that I ended up switching to PopOs, now the OS is where it has to be: in the background = ) BTW, what makes Alacritty or Qtile for instance, so awesome to go through all of those steps just to have a working terminal?
Alacritty is a terminal emulator, while Qtile is a window manager. Very different things. On regards to Alacritty, it's a GPU accelerated terminal emulator and has many features that you can read about on its GitHub page. I like it because it's very fast and very customisable.
*Or window manager See ua-cam.com/video/Lj1IfdKY0CU/v-deo.html & ua-cam.com/video/-VzqJnlJg3U/v-deo.html As for alacritty, it is less bloated and is an independent project, meaning that unlike konsole or gnome-terminal for example, it does not depend on anything else.
I'd be interested in this too, even if it's a general case. Right now I have to reboot if I want to enable/disable my nvidia dGPU because I'm using an AMD/nVidia laptop setup where for some reason this isn't seamless :/
Run "system76-power graphics ". Option can be nvidia, integrated or hybrid. This only works if you are using popOS with WMs. In Arch, I think you can get system76-power daemon from the AUR and the command should work. But i am not sure about arch though.
Recently I had to build nvim from source cause apt has an ancient version, it was a pretty smooth instalation tbh, rather do that before adding external ppa's
qtile is made specifically for x11. Wayland isn't a display server like x11. It's a protocol which different Wayland compositors implement. A Wayland compositor has a window manager built in which means you don't need qtile so what exactly do you mean by "open qtile in Wayland"? I guess you could use xwayland to run an x server inside your Wayland compositor and then run qtile inside of that but then why are you running Wayland in the first place?
@@anthonybeyond Definitely give it a try. The biggest repo of packages in the Linux world, and package installations faster than any other package manager.
that's weird that all you did was sudo apt awesome but qtile isn't in the repos i figured Wm's and DE's were a must but yes thats one reason i never liked ubuntu and went straight to arch,
There are so many WMs that you'll never find every one in something like Ubuntu. Qtile itself is just not very popular so it's probably not worth the work to include it for Canonical.
better to just ditch ubuntu and get a different distro. i still havent forgotten about ubuntu sending the user's usage data without the users knowledge when it first came out all those years ago
The problem comes if you need to use any professional software/services and prefer to use Linux over Windows. Assuming Linux is supported at all, it's Ubuntu for sure, followed by Debian, Fedora, SUSE/openSUSE, and then anything else you're very lucky.
@@dermond I don't understand the point of installing another package manager on any system at all. It defeats the purpose of having the official package manager. I believe one should care about where his disk space is being wasted even when they have quite a lot of space. Just install NixOS if you want their package manager.
@@dermond It is not; who says it is? Flatpak makes a very false claim of sandboxed software, which is disastrous for anybody who does not know much about their Linux system (the beginners, I mean). It does not use the packages (even when it is a dependency of a Flatpak package) already downloaded by the official package manager and it is basically like emulating a different Linux distribution. After installing a couple apps, it takes even more space than a fresh a install of Ubuntu which I personally see as a waste of space because it could have been avoided if the developers took the effort to make it compatible with the distribution.
Being able to just pip install it, is one of the things that makes qtile easy to install and use on almost any distro even if there is no premade distro package for it.
Very useful video.I'm a debian user and every time I'm struggling with qtile installation. God bless you.
I like all of these programs, but as a debian user, I wound up writing scripts for each one of these. The qtile version is not the newest in debian's pip install (as of about 6 months ago), so I downloaded the source and installed with pip that way.
If any of you guys add a new directory to the PATH environment variable, never forget to add $PATH, to expand the previous value. And in particular, do not forget the dollar sign.
I love how APT just gives you this "jammy,jammy,jammy,jammy..." after you tried to search for the package at 2:20
Ikr? What tf was that about? lol
@@BurgerKingHarkinian apt is just jammin'
Hey Dt! Love your vids, I'm just an Ubuntu peasant but I love your take/perspective on things and I'm learning a lot on your chan!
The only downside to this is that you end up having to use a ton of additional package managers or "make" your way into your favourite packages and that kind of defeats the purpose of the host's package manager.
At the very least, an updater script should be made to take care of every package manager's updates so as to not forget to update some of them.
Well, you should not install many programs this way, so it should not be a major problem. Most programs should be from the distributions package manager.
But yes, the update process is the reason for stay away from user installed software, as least to rely on that. But it is workable if it is just few programs.
must say i like alacritty ad the vscode dark theme to it makes it even better
Thought you'd use the Nix package manager, it would be easier IMO
Nix or Guix are on pair with each other there. But they are using different system languages, but still same principles.
I have not had time to test them out though.
If you mark a section of text with sweep it with button one on the mouse in X11, you can always past it in with the middle button on the mouse.
When you start a graphical program from shell, you could add an & after the command and it will not "lock" your terminal until the program ends. You could also do C-z to freeze the command running in the terminal and then use the shell command "bg". Now the freezed program will continue running the program in the background, like if you started it with a & last in the line.
If you want, you can tell pip(1) to install programs under /usr/local directory instead of ~/.local, and in that way you don't need to change the PATH. And the program will be available for all users on that system. But I understand the pedagogical reason to learning about the PATH environment variable, and how to change it.
Some programs you don't want to make available for all users, so in that case you should probably use pip3(1) as you wrote.
As a recent user of Arch, what do you use for the virtual machine for other distros? Some of the software I want to try (don't remember what at this time) is not easy and has no documentation other than "sudo apt install " and I can't find the pacman install for it (yet). Just a question so I don't reinvent the wheel. Thanks.
Ubuntu is configured to automatically add "~/.local/bin" and/or "~/.bin" to the PATH during login if these exist. So there is no need to edit .bashrc. Create the directory, log out then back in.
This is one of my beefs with Mint. I end up having to add so many PPAs for newer software and when you upgrade, it purges/downgrades said packages and removes the repos. With MX Linux, it roles and I don't have to deal with that. MX has optional repos built in for newer versions. So my MX (Debian based) has versions years newer then my Mint (Ubuntu based) install.
What happens when a new version of MX comes?
@@hoomansifat *one click upgrade* . No removing packages, orphans, etc. It's so friggin' easy. I use LinuxMint and the update always has some issue. MX rolling release is the simplest Linux upgrade I've ever seen in my 30+ years using Linux.
Saved me I've tried to install qtile but tried to use DT's configuration file the qtile rollback to its default configuration because of qtile-extras therefore I've switched to i3 and polybar now it's time to switch to qtile
I always install Brave from the Brave Website
did he just call ubuntu lts old and crusty? i feel attacked lol
I want to install qtile under ubuntu 23.04. It seems that this will not work due to a policy change to avoid conflicts between the Python package manager (pip) and Ubuntu's underlying APT. Is there a way to do it?
Alacritty is in the testing repo so 12 will have it.
Edit: so is nala
For these reasons, I find Arch and derivatives to be miles easier than Ubuntu. It's a giant pain in the ass.
I love how linux is highly customizable.
So I learned how to install Qtiles in this video, but I have not clue how to setup mine... Unless I pull your Qtile dotfiles :)
DT can you please create a part two video where you help noobies like myself to configure it from scratch?
after running pip install xcffib. I get error module is not found xcffib.
EDIT:
uninstalled all abd did a pip3 install and qtile is recingised now. But login in as qtile logs me back out. Im on linux mint
I have the same problem on ubuntu
@@erickgalindo2941 install library using apt. Not pip. Should work fine.
I like how everything is "simple" in ubuntu compared Arch...
Alacritty and Brave are both in the Solus repo.
Thank you I really enjoy your videos, and yeah my level of frustration grew so much at some point using Arch that I ended up switching to PopOs, now the OS is where it has to be: in the background = )
BTW, what makes Alacritty or Qtile for instance, so awesome to go through all of those steps just to have a working terminal?
Alacritty is a terminal emulator, while Qtile is a window manager. Very different things. On regards to Alacritty, it's a GPU accelerated terminal emulator and has many features that you can read about on its GitHub page. I like it because it's very fast and very customisable.
*Or window manager
See ua-cam.com/video/Lj1IfdKY0CU/v-deo.html & ua-cam.com/video/-VzqJnlJg3U/v-deo.html
As for alacritty, it is less bloated and is an independent project, meaning that unlike konsole or gnome-terminal for example, it does not depend on anything else.
Hey DT, i have nvidia hybrid graphics on my laptop. To manage it on PopOS is quite easy, how can i manage it using a WM like Qtile or Xmonad?
I'd be interested in this too, even if it's a general case. Right now I have to reboot if I want to enable/disable my nvidia dGPU because I'm using an AMD/nVidia laptop setup where for some reason this isn't seamless :/
Run "system76-power graphics ". Option can be nvidia, integrated or hybrid. This only works if you are using popOS with WMs. In Arch, I think you can get system76-power daemon from the AUR and the command should work. But i am not sure about arch though.
Recently I had to build nvim from source cause apt has an ancient version, it was a pretty smooth instalation tbh, rather do that before adding external ppa's
You said you were a "Broken man" because of Arch updates breaking things. Now rolling releases are what you use. Please clear this up.
Nix is also a good solution for many things
I tried to open qtile in Wayland but only got a blank screen. Any solution ?
Install x11 :).
@@coalhater392 I already have it working perfectly in x11. Now, I want to try it in Wayland.
@@rishirajsaikia1323 a was saying it jokingly.
qtile is made specifically for x11. Wayland isn't a display server like x11. It's a protocol which different Wayland compositors implement. A Wayland compositor has a window manager built in which means you don't need qtile so what exactly do you mean by "open qtile in Wayland"? I guess you could use xwayland to run an x server inside your Wayland compositor and then run qtile inside of that but then why are you running Wayland in the first place?
@@wojteksowinski248 qtile has a wayland version
Or you could just install the Nix package manager (1 command) and then install all qtile, alacritty and brave all in a single command.
@@anthonybeyond Definitely give it a try. The biggest repo of packages in the Linux world, and package installations faster than any other package manager.
It throws back to login screen
same
How can unistall your configuration??
I'd argue snapcraft is part of yhe mainline Ubuntu repos.
That moment when I hear commodore emulator instead of terminal emulator... 😅
How did you that his username is `DT` and the password is also `DT`
If I get some time, I am going to try to install Qtile in Debian Stable. I've almost sworn off the Linux hobby but it's hard, your videos don't help 😉
🍻
ubuntu blocks pip from working now.
Then you upgrade your Linux Mint to next version and it removes everything xD
that's weird that all you did was sudo apt awesome but qtile isn't in the repos i figured Wm's and DE's were a must but yes thats one reason i never liked ubuntu and went straight to arch,
There are so many WMs that you'll never find every one in something like Ubuntu. Qtile itself is just not very popular so it's probably not worth the work to include it for Canonical.
😀 👌 👍
076 Oliver Road
I break my system
👀
better to just ditch ubuntu and get a different distro. i still havent forgotten about ubuntu sending the user's usage data without the users knowledge when it first came out all those years ago
The problem comes if you need to use any professional software/services and prefer to use Linux over Windows. Assuming Linux is supported at all, it's Ubuntu for sure, followed by Debian, Fedora, SUSE/openSUSE, and then anything else you're very lucky.
Or use the Nix package manager
@@dermond I don't understand the point of installing another package manager on any system at all. It defeats the purpose of having the official package manager. I believe one should care about where his disk space is being wasted even when they have quite a lot of space. Just install NixOS if you want their package manager.
@@eeriemyxi Flatpak is a package manager, so having Flatpak isn't good?
@@dermond It is not; who says it is? Flatpak makes a very false claim of sandboxed software, which is disastrous for anybody who does not know much about their Linux system (the beginners, I mean). It does not use the packages (even when it is a dependency of a Flatpak package) already downloaded by the official package manager and it is basically like emulating a different Linux distribution. After installing a couple apps, it takes even more space than a fresh a install of Ubuntu which I personally see as a waste of space because it could have been avoided if the developers took the effort to make it compatible with the distribution.
GVDT.
Just don't install ubuntu.
I have arrived to shill flatpak, for no good reason, other than that I like flatpak
Flat justice