Package: gnome-panel
Version: 2.20.3-5
Severity: normal

Whenever I try to launch an app that has Terminal=true in its desktop
file, I get this error message,

Could not launch application
Failed to execute child process "-x" (No such file or directory)

It seems that gnome-panel is attempting to execute a program called -x:

[EMAIL PROTECTED]:~$ strace -f -F -p `pgrep gnome-panel` 2>&1 | grep -i htop
lstat64("/usr/share/applications/htop.desktop", {st_mode=S_IFREG|0644, 
st_size=210, ...}) = 0
open("/usr/share/applications/htop.desktop", O_RDONLY|O_LARGEFILE) = 30
[pid 17552] execve("/home/pabs/bin/-x", ["-x", "htop"], [/* 28 vars */]) = -1 
ENOENT (No such file or directory)
[pid 17552] execve("/usr/local/bin/-x", ["-x", "htop"], [/* 28 vars */]) = -1 
ENOENT (No such file or directory)
[pid 17552] execve("/usr/bin/-x", ["-x", "htop"], [/* 28 vars */] <unfinished 
...>
[pid 17552] execve("/bin/-x", ["-x", "htop"], [/* 28 vars */] <unfinished ...>
[pid 17552] execve("/usr/bin/X11/-x", ["-x", "htop"], [/* 28 vars */]) = -1 
ENOENT (No such file or directory)
[pid 17552] execve("/usr/games/-x", ["-x", "htop"], [/* 28 vars */]) = -1 
ENOENT (No such file or directory)
[pid 17552] execve("/usr/local/games/-x", ["-x", "htop"], [/* 28 vars */]) = -1 
ENOENT (No such file or directory)
^C

The desktop file looks like this (same issue with other files):

$ cat /usr/share/applications/htop.desktop
[Desktop Entry]
Encoding=UTF-8
Version=0.7
Name=Htop
Type=Application
Comment=Show System Processes
Terminal=true
Exec=htop
Path=
Icon=htop
Categories=ConsoleOnly;System;Application;
GenericName=Process Viewer

Here is what the environment looks like:

$ cat  /proc/`pgrep gnome-panel`/environ | tr '\0' '\n'
SHELL=/bin/bash
USER=pabs
SSH_AUTH_SOCK=/tmp/keyring-ynOWyQ/ssh
GNOME_KEYRING_SOCKET=/tmp/keyring-ynOWyQ/socket
USERNAME=pabs
PATH=/home/pabs/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/usr/local/games
DESKTOP_SESSION=gnome
GDM_XSERVER_LOCATION=local
PWD=/home/pabs
GNOME_KEYRING_PID=4751
LANG=en_AU.UTF-8
GDM_LANG=en_AU.UTF-8
GDMSESSION=gnome
SHLVL=0
HOME=/home/pabs
LOGNAME=pabs
REMOTECONSOLE=3.0.0.16
XDG_DATA_DIRS=/usr/local/share/:/usr/share/:/usr/share/gdm/
WINDOWPATH=7
DISPLAY=:0.0
XAUTHORITY=/home/pabs/.Xauthority
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-u0HVwadxm7,guid=3775a6498af0a6acb0c4f5cf48737c16
GPG_AGENT_INFO=/tmp/seahorse-F2YBCT/S.gpg-agent:4883:1
GTK_RC_FILES=/etc/gtk/gtkrc:/home/pabs/.gtkrc-1.2-gnome2
GTK_MODULES=gnomebreakpad
SESSION_MANAGER=local/chianamo:/tmp/.ICE-unix/4756
GNOME_DESKTOP_SESSION_ID=Default

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gnome-panel depends on:
ii  gnome-about                2.22.3-1      The GNOME about box
ii  gnome-control-center       1:2.22.2.1-1  utilities to configure the GNOME d
ii  gnome-desktop-data         2.22.3-1      Common files for GNOME 2 desktop a
ii  gnome-menus                2.22.2-1      an implementation of the freedeskt
ii  gnome-panel-data           2.20.3-5      common files for the GNOME Panel
ii  libatk1.0-0                1.22.0-1      The ATK accessibility toolkit
ii  libbonobo2-0               2.22.0-1      Bonobo CORBA interfaces library
ii  libbonoboui2-0             2.22.0-1      The Bonobo UI library
ii  libc6                      2.7-12        GNU C Library: Shared libraries
ii  libcairo2                  1.6.4-6       The Cairo 2D vector graphics libra
ii  libdbus-glib-1-2           0.76-1        simple interprocess messaging syst
ii  libecal1.2-7               2.22.3-1      Client library for evolution calen
ii  libedataserver1.2-9        2.22.3-1      Utility library for evolution data
ii  libedataserverui1.2-8      2.22.3-1      GUI utility library for evolution 
ii  libgconf2-4                2.22.0-1      GNOME configuration database syste
ii  libglade2-0                1:2.6.2-1     library to load .glade files at ru
ii  libglib2.0-0               2.16.4-1      The GLib library of C routines
ii  libgnome-desktop-2         2.22.3-1      Utility library for loading .deskt
ii  libgnome-menu2             2.22.2-1      an implementation of the freedeskt
ii  libgnome2-0                2.20.1.1-1    The GNOME 2 library - runtime file
ii  libgnomeui-0               2.20.1.1-1    The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0             1:2.22.0-4    GNOME Virtual File System (runtime
ii  libgtk2.0-0                2.12.10-2     The GTK+ graphical user interface 
ii  liborbit2                  1:2.14.13-0.1 libraries for ORBit2 - a CORBA ORB
ii  libpanel-applet2-0         2.20.3-5      library for GNOME Panel applets
hi  libpango1.0-0              1.20.4-1      Layout and rendering of internatio
ii  libwnck22                  2.22.3-1      Window Navigator Construction Kit 
ii  libx11-6                   2:1.1.4-2     X11 client-side library
ii  libxau6                    1:1.0.3-3     X11 authorisation library
ii  menu-xdg                   0.3           freedesktop.org menu compliant win

Versions of packages gnome-panel recommends:
ii  alacarte                      0.11.5-1   easy GNOME menu editing tool
ii  evolution-data-server         2.22.3-1   evolution database backend server
ii  gnome-applets                 2.22.3-1   Various applets for GNOME 2 panel 
ii  gnome-icon-theme              2.22.0-1   GNOME Desktop icon theme
ii  gnome-session                 2.22.3-1   The GNOME 2 Session Manager

-- 
bye,
pabs

http://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to