Skip to content

Commit

Permalink
fix RuntimeManager on lxterminal #1203
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu authored and andoh104 committed Apr 8, 2018
1 parent 98b5aa1 commit f6f43ec
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ros/run
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ OPTION_RM_GEOMETRY='--geometry=50x10+500+0'
OPTION_COMMAND='--command'


MASTER_DISPLAY_OPTION="${OPTION_CORE_GEOMETRY} ${OPTION_TITLE}\=\"roscore\""
RUNMGR_DISPLAY_OPTION="${OPTION_RM_GEOMETRY} ${OPTION_TITLE}\=\"runtime_manager\""

if [ $(which gnome-terminal) ]; then
TERMINAL=gnome-terminal
GNOME_VERSION=$(gnome-terminal --version | cut -d '.' -f 2)
Expand All @@ -25,6 +22,7 @@ elif [ $(which xfce4-terminal) ]; then
TERMINAL=xfce4-terminal
elif [ $(which lxterminal) ]; then
TERMINAL=lxterminal
OPTION_TITLE='--title'
elif [ $(which konsole) ]; then
TERMINAL=konsole
OPTION_WORKING_DIR='--workdir'
Expand All @@ -35,6 +33,9 @@ elif [ $(which konsole) ]; then
OPTION_TITLE='-T'
fi

MASTER_DISPLAY_OPTION="${OPTION_CORE_GEOMETRY} ${OPTION_TITLE}=\"roscore\""
RUNMGR_DISPLAY_OPTION="${OPTION_RM_GEOMETRY} ${OPTION_TITLE}=\"runtime_manager\""

echo "Process Manager"

gksudo --message "Please input password for launching process manager" \
Expand Down

0 comments on commit f6f43ec

Please sign in to comment.