Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • Note that (assuming you're using gnome terminator) pgrep terminator always fails. Try pgrep -f terminator || nohup terminator instead. That's because terminator is a python program so what you see in pgrep is python, not terminator. Commented Jan 14, 2017 at 18:04
  • Thank you for your clarification. But in my case pgrep terminator works as expected. It returns pid of running terminator instance. Commented Jan 14, 2017 at 18:07
  • That's strange then. I would try i) redirecting the error output of the script to a file to see if anything is printed; ii) trying to run terminator without the nohup and without the wmctrl, to see which part of the command is the problem. Commented Jan 14, 2017 at 18:11