[Xfce-bugs] [Bug 1100] New: "Run in terminal" doesn't pass arguments

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Mon Aug 1 22:33:46 CEST 2005


Do NOT reply to this email.  To make further comments on this bug, use
the URL below:
http://bugzilla.xfce.org/show_bug.cgi?id=1100

           Summary: "Run in terminal" doesn't pass arguments
           Product: Xfce
           Version: 4.2.2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: Medium
         Component: xfce-utils
        AssignedTo: xfce-bugs at xfce.org
        ReportedBy: bernhard.walle at gmx.de


For example, if I use xfrun4 with "man mutt", it doesn't work because the "mutt"
arguments it not passed to the Terminal. xfrun4 executes xfterm4 -e man mutt
which does not work.

Suggested fix:

--- xfterm4.orig        2005-08-01 22:23:30.000000000 +0200
+++ xfterm4     2005-08-01 22:23:44.000000000 +0200
@@ -8,8 +8,8 @@

 if [ "$1" = "-e" ]; then
        if [ -n "$2" ]; then
-               ESTRING="$2"
-               shift; shift
+               shift;:
+               ESTRING="$@"
        else
                shift
        fi


Reproducible: Always
Steps to Reproduce:
1. xfrun4
2. man mutt
3. [x] run in terminal
4. ENTER

Actual Results:  
man is executed and the Terminal immediately closes

Expected Results:  
'man mutt' should be executed and the Terminal schould close if the user closes it.

        This is xfwm4 version 4.2.2 for Xfce 4.2.2
        built with GTK+-2.6.4, linked with GTK+-2.6.4.

-- 
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Xfce-bugs mailing list