[Debian-eeepc-devel] Bug#667821: eeepc-acpi-scripts: SHEngine notifications are not displayed

Alexander Inyukhin shurick at sectorb.msk.ru
Fri Apr 6 20:13:17 UTC 2012


Package: eeepc-acpi-scripts
Version: 1.1.12
Severity: normal
Tags: patch

The notify-send fails to display some notifications due to missing whitespace escaping of arguments.
Attached patch fixes problem for SHEngine notifications.

Another solution is to add additional quotes around "$2" in line 38 of notify.sh like this 
 su $user -c notify-send\ -i\ $ICON\ \""$2"\"
but this sligthly changes overall behaviour as whole message goes into header.

-- System Information:
Debian Release: 6.0.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (193, 'testing'), (192, 'unstable'), (190, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to ru_RU.UTF-8)
Shell: /bin/sh linked to /bin/dash
-------------- next part --------------
A non-text attachment was scrubbed...
Name: argument-quotes
Type: text/x-diff
Size: 948 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-eeepc-devel/attachments/20120407/ba6cee5c/attachment.diff>


More information about the Debian-eeepc-devel mailing list