Skip to content

Commit

Permalink
Fix a bug with Pantheon terminal #8
Browse files Browse the repository at this point in the history
  • Loading branch information
SmartFinn committed Apr 17, 2017
1 parent 6373abd commit 0a43ce8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions eve-ng-integration
Original file line number Diff line number Diff line change
Expand Up @@ -34,25 +34,25 @@ class Terminal(object):
elif self._is_command('x-terminal-emulator'):
return ['x-terminal-emulator', '-e']
elif self._current_desktop('cinnamon', 'gnome', 'unity'):
return ['gnome-terminal', '-x']
return ['gnome-terminal', '-e']
elif self._current_desktop('kde'):
return ['konsole', '-e']
elif self._current_desktop('lxde', 'lxqt'):
return ['lxterminal', '-e']
elif self._current_desktop('mate'):
return ['mate-terminal', '-x']
return ['mate-terminal', '-e']
elif self._current_desktop('pantheon'):
return ['pantheon-terminal', '-e']
elif self._current_desktop('xfce'):
return ['xfce4-terminal', '-x']
return ['xfce4-terminal', '-e']
elif self._is_command('urxvt'):
return ['urxvt', '-e']
else:
return ['xterm', '-e']

def execute(self, command):
if isinstance(command, (str)):
command = command.split()
command = command.split('\n')

term = self._terminal_emulator_cmd()

Expand Down

0 comments on commit 0a43ce8

Please sign in to comment.