On Tue, Feb 13, 2018 at 01:58:50PM -0600, David Wright wrote: > Because .bashrc wasn't called. This might work for a bash function: > > xterm -display :0 -e bash -c . .bashrc ; wake You probably meant: xterm -display :0 -e bash -c '. ~/.bashrc; wake' It would be a lot simpler to put the script in ~/bin/wake though.