How To Associate a Published Application with File Types in Citrix Receiver for Linux

How To Associate a Published Application with File Types in Citrix Receiver for Linux

book

Article ID: CTX224981

calendar_today

Updated On:

Description

This article introduces a way to associate a published application with file types in Linux client. File type association is a two-step process. For example, if you want to associate published Notepad with .txt file extension:

  • Create a document of txt file type.
  • Publish the Notepad application and associate it with the txt file type. When users double click the document from the user device, it opens in the Notepad application published on the server.

Instructions

Here is how to implement this association on an OpenSuse 13.2 VM with the published notepad as example.

Configuration on the published applications

To pass parameters to published applications, configure the “Command line argument”. For published applications that use customized parameters supplied by the user device, the symbols “%**” are appended to the command line to bypass command-line validation.  For more information, refer to Citrix Documentation - Parameters for Published Applications.

User-added image

Configuration on Client

  1. Add a store account and then configure ” Mapped Drives” in “File Access” tab of Citrix Receiver preference setting dialog, e.g. map /home/shutiany/Documents to drive K:.
    User-added image

  2. Write a shell script that associate a file with a published application. Here we have the FTA_notepad.sh to associate the file with the published application - Notepad. Note that, you need to replace [FQDN of your StoreFront server] with your own address.

    #!/bin/sh
    exec 1>/tmp/FTA_notepad.sh.log
    exec 2>&1
    set -x
    export WFICA_OPTS="-icaroot /opt/Citrix/ICAClient -fileparam $1"
    exec env WFICA_OPTS="-icaroot /opt/Citrix/ICAClient -fileparam $1" /opt/Citrix/ICAClient/util/storebrowse -L "Controller.Notepad" "https://[FQDN of your StoreFront server]/Citrix/Store/discovery"

  3. Associate the published App with this type of file.
    Right click a .txt file, choose to open it with the shell script FTA_notepad.sh and then choose “Remember application association for this type of file”.  So that the files with.txt extension could be associated with the published application - Notepad. And if you double click the files with .txt as extension, they will be opened by the published Notepad.
    User-added image
    User-added image

Issue/Introduction

This article introduces a way to associate a published application with file types in Linux client. File type association is a two-step process.