[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freenx-knx
Subject:    [FreeNX-kNX] NX 0.7.1: nxdialog fix now working and in SVN
From:       "Fabian Franz" <FabianFranz () gmx ! de>
Date:       2007-10-30 15:33:40
Message-ID: 20071030153340.272800 () gmx ! net
[Download RAW message or body]

Heya, I can't find the original mail to respond to, so I respond here :-):

The nxdialog fix to spawn the commercial client with the right arguments is now \
working. The new fix (against the old fix) is:


Index: nxdialog
===================================================================
--- nxdialog    (Revision 412)
+++ nxdialog    (Arbeitskopie)
@@ -26,6 +26,7 @@
        done
 }

+PARAMS=( "$@" )
 INPUTS=$(requote "$@") #JJK: Save input parameter line...

 TEMP=`getopt -a -o d: --long \
local,noautokill,dialog:,caption:,message:,display:,printer:,parent: -n $(basename \
$0) -- "$@"` @@ -77,7 +78,7 @@

 NXCLIENT="/usr/NX/bin/nxclient"
 [ -x "$NXCLIENT" -a "$DIALOG_TYPE" != "printer" -a "$(file -bi $NXCLIENT)" != \
                'application/x-shellscript' ] \
-       && exec ${NXCLIENT} $INPUTS
+       && exec ${NXCLIENT} "${PARAMS[@]}"

 # FIXME: This should be COMMAND_XDIALOG, ...
 if [ -x /usr/bin/Xdialog ]

Have fun,

cu

Fabian

PS: This time I even tested it ;-). Thx.
________________________________________________________________
     Were you helped on this list with your FreeNX problem?
    Then please write up the solution in the FreeNX Wiki/FAQ:
  http://openfacts.berlios.de/index-en.phtml?title=FreeNX_FAQ
         Don't forget to check the NX Knowledge Base:
                 http://www.nomachine.com/kb/ 

________________________________________________________________
       FreeNX-kNX mailing list --- FreeNX-kNX@kde.org
      https://mail.kde.org/mailman/listinfo/freenx-knx
________________________________________________________________


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic