X2Go Bug report logs - #812
x2gogetapps should ignore NoDisplay=true desktop application entries

version graph

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

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

Date: Tue, 10 Mar 2015 08:35:01 UTC

Severity: normal

Tags: patch, pending

Found in version

Fixed in versions,

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

Bug is archived. No further changes may be made.

Full log

Message #5 received at submit@bugs.x2go.org (full text, mbox, reply):

Received: (at submit) by bugs.x2go.org; 10 Mar 2015 08:30:27 +0000
From alavaliant@ra09.com  Tue Mar 10 09:30:25 2015
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 99FBB5E15C
	for <submit@bugs.x2go.org>; Tue, 10 Mar 2015 09:30:24 +0100 (CET)
Received: from grigorig.ra09.com ([])
	by thetower.ra09.com with esmtp (Exim 4.80)
	(envelope-from <alavaliant@ra09.com>)
	id 1YVFYS-0005Ju-PK
	for submit@bugs.x2go.org; Tue, 10 Mar 2015 21:30:21 +1300
Message-ID: <54FEABB7.5090705@ra09.com>
Date: Tue, 10 Mar 2015 21:30:47 +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
Subject: x2gogetapps should ignore NoDisplay=true desktop application entries
Content-Type: multipart/mixed;
[Message part 1 (text/plain, inline)]
Package: x2goserver
Tags: patch

Currently the x2gogetapps command prints out all .desktop application 
files irrespective of if they have the value NoDisplay=true set in the 
file or not.

This results in the hosted applications list becoming filled with 
entries that weren't intended to be listed in an application menu 
normally.    For example on my system I have;


All of them except okular.desktop  have NoDisplay=true  set in the 
file,     a normal desktop environment menu has one entry for okular 
shown since it doesn't list all of those other entries.    The x2go 
application list currently has 13 entries for okular since it displays 
every single one of the entries.

The attached patch updates the x2gogetapps command to check the file to 
see if NoDisplay=true is set and if so doesn't print out the contents of 
that file removing all the duplicates and other entries not intended to 
be listed in a normal application launch menu.

[x2gogetapps-hide-NoDisplay-applications.patch (text/x-patch, attachment)]

Send a report that this bug log contains spam.

X2Go Developers <owner@bugs.x2go.org>. Last modified: Sun Sep 27 08:33:28 2020; 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.