I have Xubuntu 16.04 with XFCE window manager.
Every time when I start my computer, the terminal of Terminator is also autostarting.
When I look into "Session and Startup", , I found nothing which relates to Terminator. And "Automatically save session on logout" is also unchecked.
In the Terminator settings, there is no autostart option available.
In the following folders:
~/.config/autostart
/etc/xdg/autostart
There are no contents related to Terminator, so it's scratching my mind where Terminator autostartup come from.
When I change the name Terminator as following
sudo mv /usr/bin/terminator /usr/bin/terminator.backup(
and rebooting, Terminator is indeed not starting. Looking into my logs on /var/log
, grepping for anything that would relate to Terminator, I found nothing.
Any suggestion to find out which process is responsible for the autostarting Terminator?
Best Answer
pstree
is the best way I can think of.First you need to find the PID of your
terminator
session you want to trace. I usegnome-terminal
so I would use:The first PID is the
ps aux
command itself so ignore that. You will have two other PIDs, one for the ghost and one for the ghost-hunter session. Use this to display thepstree
for both PIDs:The
pstree
will trace back all parent processes to yourterminator
sessions based on PID (Process Identification).