X2Go Bug report logs - #827
hosted application doesn't support %i and %c in application exec param

version graph

Package: x2goclient; Maintainer for x2goclient is X2Go Developers <x2go-dev@lists.x2go.org>; Source for x2goclient is src:x2goclient.

Reported by: Jason Alavaliant <alavaliant@ra09.com>

Date: Thu, 19 Mar 2015 08:00:02 UTC

Severity: normal

Tags: patch, pending

Found in version

Fixed in version

Done: X2Go Release Manager <git-admin@x2go.org>

Bug is archived. No further changes may be made.

Full log

🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#827: hosted application doesn't support %i and %c in application exec param
Reply-To: Jason Alavaliant <alavaliant@ra09.com>, 827@bugs.x2go.org
Resent-From: Jason Alavaliant <alavaliant@ra09.com>
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: X2Go Developers <x2go-dev@lists.x2go.org>
X-Loop: owner@bugs.x2go.org
Resent-Date: Thu, 19 Mar 2015 08:00:02 +0000
Resent-Message-ID: <handler.827.B.142675180917622@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: report 827
X-X2Go-PR-Package: x2goclient
X-X2Go-PR-Keywords: patch
Received: via spool by submit@bugs.x2go.org id=B.142675180917622
          (code B); Thu, 19 Mar 2015 08:00:02 +0000
Received: (at submit) by bugs.x2go.org; 19 Mar 2015 07:56:49 +0000
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=ham
Received: from thetower.ra09.com (ra09.com [])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id DDB2D5DAA3
	for <submit@bugs.x2go.org>; Thu, 19 Mar 2015 08:56:46 +0100 (CET)
Received: from grigorig.ra09.com ([])
	by thetower.ra09.com with esmtp (Exim 4.80)
	(envelope-from <alavaliant@ra09.com>)
	id 1YYVJq-0002Hc-I2
	for submit@bugs.x2go.org; Thu, 19 Mar 2015 20:56:42 +1300
Message-ID: <550A8157.9050203@ra09.com>
Date: Thu, 19 Mar 2015 20:57:11 +1300
From: Jason Alavaliant <alavaliant@ra09.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.5.0
MIME-Version: 1.0
To: submit@bugs.x2go.org
Content-Type: multipart/mixed;
[Message part 1 (text/plain, inline)]
Package: x2goclient
Tags: patch

kde based apps on my machines have Exec lines in their desktop files 
along the line of

Exec=okular %U %i -caption %c

when launched via the hosted applications mode applications menu of 
x2goclient the "%i -caption %c" get passed as arguments to the command 
directly.     That results in the program trying to load the file '%i' 
(and naturally failing) and setting the window caption to '%c'

The attached patch updates the x2go client to removes the %i param and 
replaces %c with the application name so the program is titled correctly.

[onmainwin-icon-and-caption-exec.patch (text/x-patch, attachment)]

Send a report that this bug log contains spam.

X2Go Developers <owner@bugs.x2go.org>. Last modified: Fri Jul 19 18:01:39 2024; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.