reiniciar paineis xfce
xfce4-panel --quit;pkill xfconfd;rm -r ~/.config/xfce4;xfce4-panel
xfce4-panel --quit;pkill xfconfd;rm -r ~/.config/xfce4;xfce4-panel
Preparation
Prepare a mount point for your data and change ownership.
# Create a mount point
sudo mkdir /media/cryptoUSB
# Set permissions for the owner
sudo chown stefan:stefan /media/cryptoUSBCreate an Encrypted Device
Encrypt the device with LUKS. Note that all data on the partition will be overwritten during this process.
# Create encrypted device
sudo cryptsetup --verify-passphrase luksFormat /dev/sdX -c aes -s 256 -h sha256
começamos por adicionar ao final do ficheiro /etc/lightdm/lightdm.conf (#nano /etc/lightdm/lightdm.conf) o texto que se segue, substituindo na 2ª linha o nome de utilizador (aldina neste caso) pelo pretendido:
[SeatDefaults]
autologin-user=aldina
autologin-user-timeout=0
autologin-session=xfce
depois de gravarmos o ficheiro (CTRL + X; S; Enter) executamos os comandos seguintes substituindo no último o nome de utilizador (aldina neste caso) pelo pretendido:
#groupadd -r autologin
#gpasswd -a aldina autologin
editar o ficheiro /etc/NetworkManager/NetworkManager.conf e acrescentar no final:
[device]
wifi.scan-rand-mac-address=no
https://linuxsuperuser.com/unable-connect-wifi-debian-and-ubuntu/