tags 451528 + patch
thanks
Hi,
I've created a simple patch which looks for 'x-terminal-emulator' and
'x-www-browser' as valid alternatives for 'xterm' and "Web browser". It
also adds support for Debian's icewesel and iceape browsers.
Cheers,
Fabian
--
Dipl.-Phys. Fabian Greffrath
Ruhr-Universität Bochum
Lehrstuhl für Energieanlagen und Energieprozesstechnik (LEAT)
Universitätsstr. 150, IB 3/134
D-44780 Bochum
Telefon: +49 (0)234 / 32-26334
Fax: +49 (0)234 / 32-14227
E-Mail: [EMAIL PROTECTED]
diff -Naru tunapie-2.1~/src/tunapie2_main.py tunapie-2.1/src/tunapie2_main.py
--- tunapie-2.1~/src/tunapie2_main.py 2007-09-17 00:47:11.000000000 +0200
+++ tunapie-2.1/src/tunapie2_main.py 2007-11-19 12:57:53.000000000 +0100
@@ -454,6 +454,8 @@
self.term='Eterm'
elif commands.getoutput("which rxvt").find("rxvt")>-1:
self.term='rxvt'
+ elif commands.getoutput("which x-terminal-emulator").find("x-terminal-emulator")>-1:
+ self.term='x-terminal-emulator'
else:
print("No xterm found\n")
missing_players.append("No xterm found.")
@@ -466,10 +468,16 @@
if self.browser=="":
if commands.getoutput("which firefox").find("firefox")>-1:
self.browser='firefox'
+ if commands.getoutput("which iceweasel").find("iceweasel")>-1:
+ self.browser='iceweasel'
elif commands.getoutput("which mozilla").find("mozilla")>-1:
self.browser='mozilla'
+ elif commands.getoutput("which iceape").find("iceape")>-1:
+ self.browser='iceape'
elif commands.getoutput("which konqueror").find("konqueror")>-1:
self.browser='konqueror'
+ elif commands.getoutput("which x-www-browser").find("x-www-browser")>-1:
+ self.browser='x-www-browser'
else:
print("Web browser not found.\n")
missing_players.append("Web browser not found.")