nicolasfella added a comment.

  I've played around with flatpaked Telegram and made it working. However:
  My Telegram.desktop file executes this:
  /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=telegram-desktop 
--file-forwarding org.telegram.desktop -- @@u %u @@
  I can share a file using
  /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=telegram-desktop 
--file-forwarding org.telegram.desktop -sendpath @@ /home/nico/test.py @@
  But that would require changing the command I get from the desktop file. I 
can achieve the same goal just by appending something to the command from the 
desktop file:
  /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=telegram-desktop 
--file-forwarding org.telegram.desktop -- @@u %u @@ -sendpath @@ 
/home/nico/test.py @@
  However, appending this to the command does not work with the regular command.
  I don't see any way to support all without some special-case handling for 
flatpak. I didn't even test snap.
  Any ideas?

REPOSITORY
  R495 Purpose Library

REVISION DETAIL
  https://phabricator.kde.org/D12896

To: nicolasfella, apol
Cc: ngraham, kde-frameworks-devel, apol, michaelh, bruns

Reply via email to