dcloud-ca / ca.dcloud.ICAClient

Install Citrix Workspace + HDX RTME as a Flatpak application
MIT License
20 stars 10 forks source link

ICA files do not open correcty (e.g. run from storefront web interface) #10

Open jcul opened 2 years ago

jcul commented 2 years ago

Hi, If I try to launch a desktop / app from the storefront web interface, the open with dialog works and it tries to launch ICAClient.

However, I guess it just launches run.sh, which in turn launches selfservice, and ignores the ICA file argument.

If I save the ICA file and directly run wfica then it runs fine:

flatpak run --command=/app/ICAClient/linuxx64/wfica --filesystem=xdg-download -v ca.dcloud.ICAClient ~/Downloads/file.ica

I guess it should be calling wfica to "run" the ICA file.

Would it make sense for run.sh to detect if it is being called with an ICA file and instead launch wfica? If so, I can take a stab at implementing it and send a pull request.

Or is there a more canonical way of doing this (I'm new to using flatpak).

arhl-gh commented 2 years ago

I have found the same issue, using the command above makes the client work correctly.

cnrhkiyf commented 2 years ago

@arhl-gh @jcul I get (wfica:2): GLib-GIO-ERROR **: 14:45:13.044: Settings schema 'org.gnome.shell.overrides' is not installedwhen I enter the command.

aripollak commented 2 years ago

Thanks for the workaround! Note that running this manually causes a bunch of new Citrix daemons to start every time you run it - you can see them by running flatpak ps, and kill them manually by running flatpak kill INSTANCE.

tepene commented 2 years ago

@arhl-gh @jcul I get (wfica:2): GLib-GIO-ERROR **: 14:45:13.044: Settings schema 'org.gnome.shell.overrides' is not installedwhen I enter the command.

Having the same issue. Does anybody know what's missing here?

zendril commented 1 year ago

Same.. I can download the .ica and start it with the command you gave. Works fine, but for me if I attempt to run directly from firefox and the system handler, it then tries to prompt me to add an account.

Did you attempt a fix at this?