You can either use:
- powertop:
- Create a service file (
/etc/systemd/system/powertop.service
):[Unit] Description=Powertop tunings [Service] Type=oneshot ExecStart=/usr/bin/powertop --auto-tune [Install] WantedBy=multi-user.target
- Enable de service:
sudo systemctl enable powertop.service
- Create a service file (
- TLP:
sudo systemctl enable tlp.service
(no need to create the service)
The latter does not turn off PCI components.
Remember to do `powertop --calibrate
Follow this amazing blog: https://austingwalters.com/increasing-battery-life-on-an-arch-linux-laptop-thinkpad-t14s/
It includes how to correctly set up hibernation and sleep. Very much recommended!
Follow this instructions.
Yup, you should be using either:
I can't recall how I fixed this. It had to do with deleting a line or a file regarding the locale...
If you know, please leave a comment.
There is probably missing fonts: paru --needed -S noto-fonts-emoji
If doing sudo systemctl restart pipewire
solves the issue (temporarily), then it is a problem due to pipewire-media-session getting removed and the wireplumber dependency that is around now not playing well with pulse.
By switching to pipewire-pulse you can completely move to pipewire or if you want to stay on pulseaudio disable wireplumber with:
systemctl --user mask wireplumber --now
You will need to install:
- For the linux kernel, choose
virtualbox-host-modules-arch
- For any other kernel (including linux-lts), choose
virtualbox-host-dkms
You will also need the headers for the kernel (e.g. linux-lts-headers
, linux-zen-headers
, etc)
Firefox by default runs on X11 (aka XWayland). In order to make it use Wayland, we need to set the environment variable: MOZ_ENABLE_WAYLAND=1
To make this change permanent, we need to copy the desktop file /usr/share/applications/firefox.desktop
to $HOME/.local/share/applications/firefox.desktop
.
This is in order to customize the desktop file, and avoid it being overwritten when firefox updates.
Then, you need to edit the local desktop file and in every line that says Exec=...
, put env MOZ_ENABLE_WAYLAND=1
before the existing command.
An example Exec line would be: Exec=env MOZ_ENABLE_WAYLAND=1 /usr/lib/firefox/firefox %u
Go to about:config and search for XDG
. A value of "1" will equal kde dialogs. A value of "2" will equal gnome.
You need to install one of the backends first using pacman. You need packagekit-qt5 for "normal" packages, flatpak for Flatpaks and fwupd for firmware updates.
pacman -S packagekit-qt5 flatpak fwupd
Note: packagekit-qt5 is not recommended by Arch or Plasma. Anything other than pacman is usually going to have the potential to create partial upgrades, which are not supported.
You need to install xdg-desktop-portal-gtk
(sudo pacman --needed -S xdg-desktop-portal-gtk
)
Otherwise, just try installing Flatseal and removing the X11 socket (assuming you are on wayland).
You need to install the ntfs-3g
package.
Don't panic. Just write sudo ntfsfix -b -d /dev/<drive>
. That should do it.
Source You need a matplotlib backend. One of:
- Qt5Agg
- GTKAgg
- Qt4Agg
For example: sudo pacman -S python-pyqt5
and/or pip install pyqt5
If now the error is:
qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
and you are using the flatpak version of pycharm, just use the normal version. That will solve the error.