mirror of
https://github.com/angryip/ipscan.git
synced 2025-10-26 11:18:17 +00:00
bugfix: xfce is now correctly detected
git-svn-id: https://ipscan.svn.sourceforge.net/svnroot/ipscan/trunk@442 375186e5-ef17-0410-b0b6-91563547dcda
This commit is contained in:
parent
832c762987
commit
0feff04fcf
@ -99,7 +99,7 @@ public class TerminalLauncher {
|
||||
workingTerminal = GNOME;
|
||||
}
|
||||
else
|
||||
if (Runtime.getRuntime().exec(new String[] {"pidof", "xfce4-session xfwm4 Thunar xfdesktop"}).waitFor() == 0) {
|
||||
if (Runtime.getRuntime().exec(new String[] {"pidof", "xfce4-session", "xfwm4", "Thunar", "xfdesktop"}).waitFor() == 0) {
|
||||
workingTerminal = XFCE;
|
||||
}
|
||||
else
|
||||
|
||||
Loading…
Reference in New Issue
Block a user