From SRS0+LOOl=NM=arcor.de=linuxbox@datenwerkstatt.net Tue Jan 12 14:12:22 2016 Received: (at submit) by bugs.x2go.org; 12 Jan 2016 13:12:24 +0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on ymir.das-netzwerkteam.de X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=ham version=3.3.2 X-Greylist: delayed 572 seconds by postgrey-1.34 at ymir.das-netzwerkteam.de; Tue, 12 Jan 2016 14:12:22 CET Received: from ulmo.datenwerkstatt.net (ulmo.datenwerkstatt.net [91.250.103.52]) by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 553FD3C574 for ; Tue, 12 Jan 2016 14:12:22 +0100 (CET) Received: from ulmo.datenwerkstatt.net (localhost [127.0.0.1]) by ulmo.datenwerkstatt.net (Postfix) with ESMTP id F264A20114 for ; Tue, 12 Jan 2016 14:02:44 +0100 (CET) Received: from jetway.local (ipbcc09e0a.dynamic.kabel-deutschland.de [188.192.158.10]) by ulmo.datenwerkstatt.net (Postfix) with ESMTPSA for ; Tue, 12 Jan 2016 14:02:44 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by jetway.local (Postfix) with ESMTP id EC270641DA3 for ; Tue, 12 Jan 2016 14:02:44 +0100 (CET) Received: from jetway.local ([127.0.0.1]) by localhost (jetway.local [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KixZ3r6lxLDP for ; Tue, 12 Jan 2016 14:02:43 +0100 (CET) Received: from [192.168.179.27] (ork.fritz.box [192.168.179.27]) by jetway.local (Postfix) with ESMTPS id 7CE3B641C2E for ; Tue, 12 Jan 2016 14:02:43 +0100 (CET) From: Klaus Fuerstberger X-Enigmail-Draft-Status: N1110 To: submit@bugs.x2go.org Subject: Replace hardcoded paths to make use of XDG_RUNTIME_DIR Message-ID: <5694F987.9040902@arcor.de> Date: Tue, 12 Jan 2016 14:03:03 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.5.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Package: x2go Version: 4.0.1.19 I'm sharing a Java application over x2go which is started as single application. Now there is a problem to access the shared folder of the client. x2gomountdirs mounts the folder as a link to /tmp/.x2go-{$USER}/... When the java applications file chooser dialog wants to access /media then the selection jumps to /tmp but cannot find the hidden folder /tmp/.x2go-{$USER} directory, because it is a hidden .dot directory. Is ist possible to change the hardcoded directories to another, not hidden path, eg. /tmp/x2go-{$USER}... and additionally move the temporary files to the users home directory? Or even better, replace the hardcoded paths in the scripts to use XDG_RUNTIME_DIR. Regards Klaus