D12896: Add Telegram plugin
Aleix Pol Gonzalez
noreply at phabricator.kde.org
Tue May 22 22:12:04 UTC 2018
apol added a comment.
In D12896#266351 <https://phabricator.kde.org/D12896#266351>, @nicolasfella wrote:
> 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?
Then just read the Exec field and we'll add the sendpath by hand. This is ad-hoc for telegram anyway.
REPOSITORY
R495 Purpose Library
REVISION DETAIL
https://phabricator.kde.org/D12896
To: nicolasfella, apol
Cc: ngraham, kde-frameworks-devel, apol, michaelh, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180522/59fc8dac/attachment.html>
More information about the Kde-frameworks-devel
mailing list