Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

How does gnome know which applications support GIO and GVFS?

Example: I open a text file in gedit, gvfs is used transparently, but if I open it in kate (KDE equivalent), it will automatically map to ~/.gvfs/<path_to_file>

share|improve this question

1 Answer 1

up vote 3 down vote accepted

The Exec= line from the application defines what it can handle.

Example: /usr/share/applications/gedit.desktop uses %U which means it can handle URLs so gvfs will be used

See http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s06.html for details

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.