If you get this error you need to add the registries in the registries.conf.
Here is my registries.conf file (to edit: sudo vim /etc/containers/registries.conf):
If you get this error you need to add the registries in the registries.conf.
Here is my registries.conf file (to edit: sudo vim /etc/containers/registries.conf):
I have been trying to use dwm tile Window Manager from Suckless with the Kali installation on a Windows 10 machine. But I kept running into issues. I tried using .xinitrc and other ways, but nothing worked until I discovered the file xstartup /usr/lib/win-kex/xstartup.
From there, you can change startxfce4 to dwm.
Then you can close the TigerVNC. And in the Kali terminal, use the commands to restart with your new Window Manager:
If you are looking for the source code for Kex:
In your /sys directory, you can get the status and capacity (percentage of power left) of your device’s battery.
For the status:
$ cat /sys/class/power_supply/BAT0/status
For the capacity (percentage of power left in the battery):
$ cat /sys/class/power_supply/BAT0/capacity
This gives you a number.
You might have more than one battery on your device. You can find the list by doing this:
$ ls -l /sys/class/power_supply/ | grep -i bat
FYI the output is of symlinks.