Compare commits

...

3 commits

Author SHA1 Message Date
Bradley M. Kuhn
34ab4270a5 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.
2025-12-10 10:48:31 -08:00
Bradley M. Kuhn
e83e11a694 install script: vim: install vimrc. 2025-12-10 10:47:59 -08:00
Bradley M. Kuhn
a258401ad0 vim: why wouldn't it just :set term=$TERM by default?
I'm not sure *why* vim didn't work in xterm when I upgraded to Debian
trixie, but it definitely had screen redraw issues of all sorts until
I did a …

   :set term=xterm

… it seems that if there is a $TERM environment variable coming in,
that vim should use it, no?

YA reason why I primarily use Emacs. 😆
2025-12-10 10:46:39 -08:00
4 changed files with 42 additions and 0 deletions

View file

@ -17,3 +17,6 @@ fi
/bin/ln -sf `pwd`/readline/inputrc $HOME/.inputrc
/bin/ln -sf `pwd`/vim/vimrc $HOME/.vim/vimrc

1
vim/vimrc Normal file
View file

@ -0,0 +1 @@
:set term=$TERM

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