I am trying to get some commands to run in these files nothing is working.

First file ~/.xinitrc:

#!/bin/bash
echo DERP >>  /home/karl/xinitrc-derp1.log

Second file ~/.xsession:

#!/bin/bash
echo DERP >>  /home/karl/xsession-derp1.log

The logs just do not appear. I'm running pantheon with Ubuntu 14.04.

share|improve this question
up vote 8 down vote accepted

~/.xsessionrc was the file to use.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.