[Pkg-xfce-devel] Bug#548166: xfce4-terminal: emailing by mutt from openoffice fails

michal palenik bugs at debian.iz.sk
Thu Sep 24 09:49:32 UTC 2009


Package: xfce4-terminal
Version: 0.4.0-1
Severity: important

openoffice file->send by mutt option is not using when xfce4-terminal is
x-terminal-emulator 
changing x-terminal-emulator to xterm or konsole makes this working

openoffice calls something like "x-terminal-emulator -e mutt -e 'set
from="my name"' -a filename" 

i assume the problematic parts are spaces in the arguments (after first
-e switch) which are inproperly handed.

(probably unproper) changes needed to make it work:

link x-terminal-emulator to /usr/bin/xfce4-terminal instead of
/usr/bin/xfce4-terminal.wrapper (the wrapper changes -e switch to -x,
probably has problems with spaces in argument -e, both terminal and mutt
are using -e option)

change senddoc (/usr/lib/openoffice/basis3.1/program/senddoc in my case)
mutt part
from 
${FROM:+-e} ${FROM:+"set from=\"${FROM}\""}
to
${FROM:+-e} ${FROM:+\"set from='${FROM}'\"} 

and save "${MAILER} ..." into a variable and then
call x-terminal-emulator with -e "$cmd" option instead of the value
itself.

however, i have no idea what is affected by these changes. 

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.21-2-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to sk_SK.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages xfce4-terminal depends on:
ii  exo-utils                     0.3.102-1  Utility files for libexo
ii  libatk1.0-0                   1.26.0-1   The ATK accessibility toolkit
ii  libc6                         2.9-25     GNU C Library: Shared libraries
ii  libdbus-1-3                   1.2.16-2   simple interprocess messaging syst
ii  libdbus-glib-1-2              0.82-1     simple interprocess messaging syst
ii  libexo-0.3-0                  0.3.102-1  Library with extensions for Xfce
ii  libglib2.0-0                  2.20.5-1   The GLib library of C routines
ii  libgtk2.0-0                   2.16.6-1   The GTK+ graphical user interface 
ii  libpango1.0-0                 1.24.5-1   Layout and rendering of internatio
ii  libvte9                       1:0.20.5-1 Terminal emulator widget for GTK+ 
ii  libx11-6                      2:1.2.2-1  X11 client-side library
ii  libxfce4util4                 4.6.1-1    Utility functions library for Xfce

Versions of packages xfce4-terminal recommends:
ii  dbus-x11                      1.2.16-2   simple interprocess messaging syst

xfce4-terminal suggests no packages.

-- no debconf information





More information about the Pkg-xfce-devel mailing list