Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 852242 - net-ftp/filezilla-3.58.0 - need add "ftp://" scheme handler into ".desktop" file
Summary: net-ftp/filezilla-3.58.0 - need add "ftp://" scheme handler into ".desktop" file
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bernard Cafarelli
Depends on:
Reported: 2022-06-15 23:19 UTC by Bogdan
Modified: 2022-07-07 21:09 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---

patch for filezilla.desktop file (filezilla.desktop.patch,235 bytes, patch)
2022-06-15 23:24 UTC, Bogdan
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bogdan 2022-06-15 23:19:58 UTC
I click "ftp://" link in chromium.
Chromium send this link to xdg-open.
xdg-open see into ".desktop" files and find mime handler "x-scheme-handler/ftp".
At now, in my system only Falkon browser has this handler.
But I want to open "ftp://" links in Filezilla program.

Need only add this line into filezilla.desktop file:
> MimeType=x-scheme-handler/ftp;

Query current "ftp://" scheme handler in xdg-open:
  $ xdg-mime query default x-scheme-handler/ftp

Set custom handler as default:
  $ xdg-mime default filezilla.desktop x-scheme-handler/ftp

Reproducible: Always

Expected Results:  
"ftp://" links in xdg-open MUST be opened in filezilla program
Comment 1 Bogdan 2022-06-15 23:24:34 UTC
Created attachment 785561 [details, diff]
patch for filezilla.desktop file

This patch allows to use filezilla as mime handler for ftp:// scheme.
Comment 2 Bogdan 2022-06-15 23:30:52 UTC
Command 'xdg-mime default filezilla.desktop x-scheme-handler/ftp' set filezilla program as default handler for "ftp://" links even if filezilla.desktop file does not contain MimeType value.

So, changes in filezilla.desktop - is not important for me now.

But for users, who does not know linux very well, this adding MimeTypes into desktop file - is a good idea, which helps to use linux without a troubles.

Please, add MimeTypes entry into filezilla.desktop file.
Comment 4 Bernard Cafarelli gentoo-dev 2022-07-07 16:25:40 UTC
Thanks for the report, that looks like valid change and thanks for also filling it upstream (hopefully it will be added there)

In the meantime let me add that in tree
Comment 5 Larry the Git Cow gentoo-dev 2022-07-07 21:09:43 UTC
The bug has been closed via the following commit(s):

commit 75796551e61712dd022b7bb9cab3cf9bd702ccb8
Author:     Bernard Cafarelli <>
AuthorDate: 2022-07-07 20:45:15 +0000
Commit:     Bernard Cafarelli <>
CommitDate: 2022-07-07 21:08:15 +0000

    net-ftp/filezilla: add ftp scheme handler to desktop file
    Signed-off-by: Bernard Cafarelli <>

 .../filezilla/files/filezilla-3.60.1-desktop.patch |  7 +++
 net-ftp/filezilla/filezilla-3.60.1-r1.ebuild       | 72 ++++++++++++++++++++++
 2 files changed, 79 insertions(+)