Bug#451528: Please make the software look for x-terminal-emulator and x-www-browser
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.0 +0200 +++ tunapie-2.1/src/tunapie2_main.py 2007-11-19 12:57:53.0 +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.)
Bug#451528: Please make the software look for x-terminal-emulator and x-www-browser
On Nov 19, 2007 1:06 PM, Fabian Greffrath [EMAIL PROTECTED] wrote: 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. This is very nice. Thanks. As author of the program as well as debian maintainer, it is great to get some patches! If you have time to think about how best to deal with the problem of the multitude of audio stream players that a user could have installed, that would be great. James -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#451528: Please make the software look for x-terminal-emulator and x-www-browser
Package: tunapie Version: 2.1-1 Severity: minor Dear Maintainer, after starting the application a window pops up telling me that it has neither found a xterm nor a Web browser. I don't have xterm installed, but gnome-terminal, which provides x-terminal-emulator. Additionally I have epiphany-browser installed, which is definitely a Web browser, as it provides x-www-browser. Please change the program to look for 'x-terminal-emulator' instead of 'xterm' and for 'x-www-browser' instead of whatever it looks for (and concludes that I have no Web browser installed at all). Thanks! 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] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]