It appears that .bash_history
is having .xinitrc
appended to its end with each boot. This is occurring on my xfce vanilla desktop. My xfce vanilla laptop does not exhibit this problem. The issue was first noticed by @Orajnam https://archived.forum.manjaro.org/t/stable-update-2016-12-07-systemd-kernels-firefox-thunderbird-mesa-python/13808/75?u=kmartin
I have searched google and the forum of course, with no success. Re installed bash, deleted .bash_history and checked my backup. The backup indicates this started before this last update (2016-12-07) probably with stable update 2016-11-25.
Does anyone else find their .xinitrc appended to their .Bash_history ?
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
#
export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
DEFAULT_SESSION=xfce4-session
case $1 in
xfce) exec dbus-launch xfce4-session ;;
*) exec dbus-launch $DEFAULT_SESSION ;;
esac
Here I delete .bash_history.
reboot.
ls -l
reboot...
Yes I typed:
"deleted .bash_history (return)
will now reboot (return)"
at the prompt.
Here is the resulting .bash_history:
deleted .bash_history
will now reboot
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
#
export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
DEFAULT_SESSION=xfce4-session
case $1 in xfce) exec dbus-launch xfce4-session ;; *) exec dbus-launch $DEFAULT_SESSION ;; esac
rebooted
ls -l
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
#
export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
DEFAULT_SESSION=xfce4-session
case $1 in xfce) exec dbus-launch xfce4-session ;; *) exec dbus-launch $DEFAULT_SESSION ;; esac
It looks like some thing is writing .xinitrc to the .bash_history buffer, but what and how is over my head.
Some help would be greatly appreciated.
Thank you