Package: gexec
Version: 0.3-1
Severity: important
Tags: patch

gexec writes cmd_termemu & cmd_su to ~/.gexec, but reads the file expecting
prog_termemu & prog_su, despite what the documentation says.

okay, so maybe my severity is a little severe, but this is a pretty blatant
bug, and greatly undermines usability (when i can't launch an application
within a terminal because i use rxvt and don't have xterm installed).  and
the bug is easy to fix, so the severity shouldn't matter much. ;-)

btw, maybe instead of xterm as the default, it should be the
x-terminal-emulator alternative as that's what debian uses to specify the
default terminal emulator.

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18-4+2-vserver+cpu-k7
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages gexec depends on:
ii  libatk1.0-0                 1.12.4-1     The ATK accessibility toolkit
ii  libc6                       2.3.6.ds1-10 GNU C Library: Shared libraries
ii  libcairo2                   1.2.4-4      The Cairo 2D vector graphics libra
ii  libfontconfig1              2.4.2-1      generic font configuration library
ii  libglib2.0-0                2.12.4-2     The GLib library of C routines
ii  libgtk2.0-0                 2.8.20-5     The GTK+ graphical user interface
ii  libpango1.0-0               1.14.8-4     Layout and rendering of internatio
ii  libx11-6                    2:1.0.3-4    X11 client-side library
ii  libxcursor1                 1.1.7-4      X cursor management library
ii  libxext6                    1:1.0.1-2    X11 miscellaneous extension librar
ii  libxfixes3                  1:4.0.1-5    X11 miscellaneous 'fixes' extensio
ii  libxi6                      1:1.0.1-4    X11 Input extension library
ii  libxinerama1                1:1.0.1-4.1  X11 Xinerama extension library
ii  libxrandr2                  2:1.1.0.2-5  X11 RandR extension library
ii  libxrender1                 1:0.9.1-3    X Rendering Extension client libra

gexec recommends no packages.

-- no debconf information
--- gexec-0.3/gexec.c.orig	2005-10-26 09:38:38.000000000 -0500
+++ gexec-0.3/gexec.c	2007-03-05 21:43:35.000000000 -0600
@@ -193,10 +193,10 @@ struct _settings *settings_read() {
 
 			tokens = g_strsplit(line, "=", 2);
 
-			if (strcmp(tokens[0], "prog_termemu") == 0 && tokens[1] != NULL) {
+			if (strcmp(tokens[0], "cmd_termemu") == 0 && tokens[1] != NULL) {
 				settings->cmd_termemu = strdup(tokens[1]);
 			}
-			if (strcmp(tokens[0], "prog_su") == 0 && tokens[1] != NULL) {
+			if (strcmp(tokens[0], "cmd_su") == 0 && tokens[1] != NULL) {
 				settings->cmd_su = strdup(tokens[1]);
 			}
 			if (strcmp(tokens[0], "history_max") == 0 && tokens[1] != NULL) {

Reply via email to