Why won't my XFCE4 log-in script work?

Calin Baenen - Jan 27 '22 - - Dev Community

Why doesn't my XFCE4 log-in script work?
To my knowledge, everything seems set-up correct.

Me showing the log-in script.

This is the actual script located in ~/Misc/CalinsStartUtils:

# Calin's start-up utilities.



# Remove recently used.
rm ~/.local/share/recently-used.xbel


# Clean trash.
rm -rf ~/.local/share/Trash/expunged
rm -rf ~/.local/share/Trash/info

rm ~/.local/share/gvfs-metadata/*.log


# Clear cache.
rm -rf ~/.cache/thumbnails/*/*
rm -rf ~/.cache/sessions/*
truncate -s 0 ~/.bash_history


# Connect to wifi.
iwctl station wlan0 scan
iwctl station wlan0 connect $HOME_WIFI
Enter fullscreen mode Exit fullscreen mode

Thanks!
Cheers!

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .