title: Gnome terminal doesn't recognise commands when started from startup-applications with .sh file
body: <p>I am trying to use an .sh script to start a terminal when ubuntu boots. Gnome-terminal successfully starts up but when commands start executing such as (roscore, roslaunch or rosrun) it displays an error as follows: &quot;bash: roslaunch command not found&quot;. Is there any way to fix this problem or any other way to start launch files of ROS with a visible terminal at start?</p>
  <p>This is how my .sh file looks like</p>
  <pre><code>#!/bin/bash
  
  gnome-terminal --geometry=40x40  \
  --tab --title=&quot;roscore&quot; -e &quot;bash -c \&quot;source ~/.bashrc;roscore;exec bash\&quot;&quot; \
  --tab --title=&quot;navigation&quot; -e &quot;bash -c  \&quot;sleep 38;roslaunch navigation.launch;exec bash\&quot;&quot; \
  --tab --title=&quot;robot&quot; -e &quot;bash -c  \&quot;sleep 28;roslaunch robot_config.launch;exec bash\&quot;&quot;
  </code></pre>