diff options
Diffstat (limited to 'Plugin/consolefinder.cpp')
-rw-r--r-- | Plugin/consolefinder.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Plugin/consolefinder.cpp b/Plugin/consolefinder.cpp index 4811a624..2e9acf73 100644 --- a/Plugin/consolefinder.cpp +++ b/Plugin/consolefinder.cpp @@ -153,7 +153,9 @@ wxString ConsoleFinder::GetConsoleName() //try to locate the default terminal
wxString terminal;
wxString where;
- if (ExeLocator::Locate(wxT("gnome-terminal"), where)) {
+ if (ExeLocator::Locate(wxT("x-terminal-emulator"), where)) {
+ terminal = wxT("x-terminal-emulator -e ");
+ } else if (ExeLocator::Locate(wxT("gnome-terminal"), where)) {
terminal = wxT("gnome-terminal -e ");
} else if (ExeLocator::Locate(wxT("konsole"), where)) {
terminal = wxT("konsole");
|