i'm quite new to Ubuntu/Linux and i'm trying to start a desktop application at launch with a script located in ~/.xsessionrc
. The script works but for some reason ~/.xsessionrc
runs twice on startup which is causing launch errors for my desktop application.
I've looked at the /etc/X11/
files and it seems that all the scripts in Xsession.d/ directory are also being executed twice. Im not really sure how X11 works, but a solution to this would be great.
~/.xsessionrc
and possible other config file(s), of course.)