Package: wifi-radar
Version: 1.9.6-2
Severity: normal
Tags: patch

*** Please type your report below this line ***
The .desktop file to place Wifi-Radar in freedesktop menus has two
problems:  one, it is invalid (it fails desktop-file-validate).  Two, it
does not display an item in the menu of a non-root user, even though it
uses gksudo to become root, due to the use of "TryExec=wifi-radar" when
wifi-radar is in /usr/share/sbin.

The attached patch corrects both of these problems, although it may be a
suboptimal solution.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages wifi-radar depends on:
ii  debconf [debconf-2.0]         1.5.4      Debian configuration
management sy
ii  dhcp3-client                  3.0.4-8    DHCP Client
ii  menu                          2.1.30     generates programs menu for
all me
ii  python                        2.4.3-11   An interactive high-level
object-o
ii  python-gtk2                   2.8.6-5    Python bindings for the GTK
+ widge
ii  wireless-tools                28-1       Tools for manipulating
Linux Wirel

Versions of packages wifi-radar recommends:
ii  wpasupplicant                 0.5.5-1    Client support for WPA and
WPA2 (I

-- debconf information excluded
diff -ru wifi-radar-1.9.6.orig/wifi-radar.desktop wifi-radar-1.9.6/wifi-radar.desktop
--- wifi-radar-1.9.6.orig/wifi-radar.desktop	2006-10-09 08:25:41.000000000 -0500
+++ wifi-radar-1.9.6/wifi-radar.desktop	2006-10-09 08:25:59.000000000 -0500
@@ -7,6 +7,6 @@
 Comment=Tool for connecting to wireless networks
 Icon=wifi-radar.svg
 FilePattern=wifi-radar
-TryExec=wifi-radar
-Exec=gksudo -S wifi-radar
-Categories=Application;Network;
+TryExec=/usr/sbin/wifi-radar
+Exec=gksudo -S /usr/sbin/wifi-radar
+Categories=GTK;System;Network;

Reply via email to