Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Run shell script after XServer is started? [closed]

How to run shell script when XServer is started and lightdm also. I tried with init.d and rc.local in /etc directory, but my script is calling an gui application so that the reason I need to run it after XServer is started.

I am using Debian Jessie.


1 Answers

According to this link .xinitrc in your home directory will be read and executed, otherwise the default /etc/X11/xinit/xinitrc is used. So you should be able to create this file and have the shell script started.

like image 135
kometen Avatar answered Jul 18 '26 01:07

kometen