xfce: startup script.

Historically, I had a .xinitrc file that I used to launch all of the
windowing environment stuff that I wanted.  It was a complex and
confusing shell script, and after 20 years, it was full of outdated
cruft that tried to track what distributions now generally do for
you.

So, instead, I've taken over the stuff that truly is personal to me
and put it into this xfce autostart script.
This commit is contained in:
Bradley M. Kuhn 2025-12-10 10:48:31 -08:00
parent e83e11a694
commit 34ab4270a5
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,13 @@
[Desktop Entry]
Encoding=UTF-8
Version=0.9.4
Type=Application
Name=bkuhn-autostart-commands
Comment=Shell Script of commands that run at xfce startup for bkuhn
Exec=/home/bkuhn/public-config/xfce4/bkuhn-startup.sh
OnlyShowIn=XFCE;
RunHook=0
StartupNotify=false
Terminal=false
Hidden=false

25
xfce4/bkuhn-startup.sh Executable file
View file

@ -0,0 +1,25 @@
#!/bin/bash
export PATH=$HOME/bin:$PATH
PUBLIC_CONFIG_PATH=$HOME/public-config
set -x
echo "I AM HERE IN THE STARTUP" >> $HOME/X_STARTUP_LOG
umask 077
PATH=$HOME/bin:$PATH
export PATH
if [ -f ~/.airplane-mode ]; then
# xrdb -merge FIXME
echo Bring over airplane mode!
else
xrdb -merge $HOME/public-config/x11-and-wayland/Xdefaults
fi
chmod 640 $HOME/.Xauthority
export GDK_USE_XFT=1
export QT_XFT=1