Hi all, I'm the creator and current maintainer optimus-manager (Askannz on Github). optimus-manager is an utility for Arch that handles display configuration and switching for dual-GPU laptops with an Nvidia GPU, also called "Optimus" laptops. But if you don't know that you probably don't need to ca...
Hi there ! I have just released the first version of Optimus Manager, a tool for easy switching between the Intel GPU and the Nvidia GPU on Optimus laptops. Now, to be clear, this does not do dynamic offloading like bumblebee does ; rather, this tool reconfigures the X server to use a different GPU,...
Hello there. I'm using Manjaro on a laptop with a SSD. There seems to be a ton of options out there to fine-tune the way Linux deals with SSDs, but the more I research this topic, the more it confuses me. I keep reading contradictory information or advices that could be outdated. So my questions are...
If you need to install a python package system-wide, use your package manager (for instance, if you want to install PyQt5 system-wide, do sudo pacman -S python-pyqt5).
If you are working on a particular Python project, create a self-contained Python environment for this project. It's as simple as this :
Boom, you're in your environment. Now, your Python interpreter will use packages from that environment, instead of your system-wide Python install. As long as you're in there, you can go crazy, install whatever you want with pip, it's not going to conflict with your system.
When you want to exit the environment, just run the command deactivate. If you want to wipe the environment completely, just delete the folder my_env.
Another advantage of using a virtual environment is that the package versions are frozen until you upgrade them manually. Whereas when using the system-wide install, your program may break because Pacman upgraded some Python package to an incompatible version.
People have been reporting a smoother experience when using native (not XWayland) apps. Wayland is also supposed to solve a lot of issues regarding mixed DPI settings, input lag, tearing and composition in general.
It's definitely the way to the future, but one thing to understand is that Wayland is not a program : it's a specification. Each desktop environment needs to have its own implementation, and currently some are more mature than others. Gnome supposedly has a pretty good implementation, since they're now enabling Vulkan Wayland by default (on non-Nvidia cards at least). Sway also looks in good shape. KDE on the other hand still needs some work.
Well there's a general defiance towards AUR helpers. I think that's because they make it too easy for newbies to forget the difference between official packages and user-maintained packages (cough cough Manjaro cough cough).
But as long as you know why you use them and exactly what they are doing behind the scenes, there's no reason not to use them, IMHO.
Don't use pip to install system-wide packages.
If you need to install a python package system-wide, use your package manager (for instance, if you want to install PyQt5 system-wide, do
sudo pacman -S python-pyqt5).If you are working on a particular Python project, create a self-contained Python environment for this project. It's as simple as this :
Boom, you're in your environment. Now, your Python interpreter will use packages from that environment, instead of your system-wide Python install. As long as you're in there, you can go crazy, install whatever you want with pip, it's not going to conflict with your system.
When you want to exit the environment, just run the command
deactivate. If you want to wipe the environment completely, just delete the foldermy_env.Another advantage of using a virtual environment is that the package versions are frozen until you upgrade them manually. Whereas when using the system-wide install, your program may break because Pacman upgraded some Python package to an incompatible version.
People have been reporting a smoother experience when using native (not XWayland) apps. Wayland is also supposed to solve a lot of issues regarding mixed DPI settings, input lag, tearing and composition in general.
It's definitely the way to the future, but one thing to understand is that Wayland is not a program : it's a specification. Each desktop environment needs to have its own implementation, and currently some are more mature than others. Gnome supposedly has a pretty good implementation, since they're now enabling
VulkanWayland by default (on non-Nvidia cards at least). Sway also looks in good shape. KDE on the other hand still needs some work.Also
lib32-vulkan-radeonif you intend to play games.Patches for FreeSync support with Vulkan should land soon in Mesa (if not already).
Well there's a general defiance towards AUR helpers. I think that's because they make it too easy for newbies to forget the difference between official packages and user-maintained packages (cough cough Manjaro cough cough).
But as long as you know why you use them and exactly what they are doing behind the scenes, there's no reason not to use them, IMHO.