Gnome2:...ication(3)
π NAME π
Gnome2::VFS::Mime::Application β ok so bestie, this is the Perl-facing glow-up of GNOME's VFS Mime Application thingy, and it lives in the User Contributed Perl Documentation corner of the manual pages. It's giving "I know what app opens your files and I'm not afraid to say it" π
β¨ METHODS β¨
Ok so here's the whole roster, no gatekeeping, every single one of them:
application = Gnome2::VFS::Mime::Application->new_from_desktop_id ($id)β spin up a fresh application object straight from a desktop ID, iconic behaviour honestly.$id(string)- Since: vfs 2.10
application = Gnome2::VFS::Mime::Application->new_from_id ($id)β same energy, but you're building it from an$idinstead. Different door, same slay.$id(string)
string = $app->get_binary_nameβ hands you back the binary name as a string.- Since: vfs 2.10
string = $app->get_desktop_file_pathβ the path to that.desktopfile, as a string.- Since: vfs 2.10
string = $app->get_desktop_idβ the desktop ID, as a string.- Since: vfs 2.10
string = $app->get_execβ the exec line, as a string.- Since: vfs 2.10
string = $app->get_generic_nameβ the generic name, as a string.- Since: vfs 2.10
string = $app->get_iconβ the icon, as a string.- Since: vfs 2.10
boolean = $application->is_user_ownedβ tells you, with a boolean, whether this application is user owned. Yes or no, no in-between.result = $app->launch (...)β actually launches the thing. Main character moment fr....(list) of URI strings- Since: vfs 2.4
result = $app->launch_with_env ($uri_ref, $env_ref)β launches it, but with your own environment handed in. Fancy.$uri_ref(scalar)$env_ref(scalar)- Since: vfs 2.4
string = $app->get_nameβ the name, as a string.- Since: vfs 2.10
boolean = $app->requires_terminalβ boolean check: does this app need a terminal or not?- Since: vfs 2.10
$application->saveβ saves it. No return value listed, it just does the thing.string = $app->get_startup_wm_classβ the startup WM class, as a string.- Since: vfs 2.10
boolean = $app->supports_startup_notificationβ boolean: does it support startup notification?- Since: vfs 2.10
boolean = $app->supports_urisβ boolean: does it support URIs?- Since: vfs 2.10
π ENUMS AND FLAGS π
enum Gnome2::VFS::Result
Here's the entire mood board of results, every single one, zero skips:
'ok'/'GNOME_VFS_OK''error-not-found'/'GNOME_VFS_ERROR_NOT_FOUND''error-generic'/'GNOME_VFS_ERROR_GENERIC''error-internal'/'GNOME_VFS_ERROR_INTERNAL''error-bad-parameters'/'GNOME_VFS_ERROR_BAD_PARAMETERS''error-not-supported'/'GNOME_VFS_ERROR_NOT_SUPPORTED''error-io'/'GNOME_VFS_ERROR_IO''error-corrupted-data'/'GNOME_VFS_ERROR_CORRUPTED_DATA''error-wrong-format'/'GNOME_VFS_ERROR_WRONG_FORMAT''error-bad-file'/'GNOME_VFS_ERROR_BAD_FILE''error-too-big'/'GNOME_VFS_ERROR_TOO_BIG''error-no-space'/'GNOME_VFS_ERROR_NO_SPACE''error-read-only'/'GNOME_VFS_ERROR_READ_ONLY''error-invalid-uri'/'GNOME_VFS_ERROR_INVALID_URI''error-not-open'/'GNOME_VFS_ERROR_NOT_OPEN''error-invalid-open-mode'/'GNOME_VFS_ERROR_INVALID_OPEN_MODE''error-access-denied'/'GNOME_VFS_ERROR_ACCESS_DENIED''error-too-many-open-files'/'GNOME_VFS_ERROR_TOO_MANY_OPEN_FILES''error-eof'/'GNOME_VFS_ERROR_EOF''error-not-a-directory'/'GNOME_VFS_ERROR_NOT_A_DIRECTORY''error-in-progress'/'GNOME_VFS_ERROR_IN_PROGRESS''error-interrupted'/'GNOME_VFS_ERROR_INTERRUPTED''error-file-exists'/'GNOME_VFS_ERROR_FILE_EXISTS''error-loop'/'GNOME_VFS_ERROR_LOOP''error-not-permitted'/'GNOME_VFS_ERROR_NOT_PERMITTED''error-is-directory'/'GNOME_VFS_ERROR_IS_DIRECTORY''error-no-memory'/'GNOME_VFS_ERROR_NO_MEMORY''error-host-not-found'/'GNOME_VFS_ERROR_HOST_NOT_FOUND''error-invalid-host-name'/'GNOME_VFS_ERROR_INVALID_HOST_NAME''error-host-has-no-address'/'GNOME_VFS_ERROR_HOST_HAS_NO_ADDRESS''error-login-failed'/'GNOME_VFS_ERROR_LOGIN_FAILED''error-cancelled'/'GNOME_VFS_ERROR_CANCELLED''error-directory-busy'/'GNOME_VFS_ERROR_DIRECTORY_BUSY''error-directory-not-empty'/'GNOME_VFS_ERROR_DIRECTORY_NOT_EMPTY''error-too-many-links'/'GNOME_VFS_ERROR_TOO_MANY_LINKS''error-read-only-file-system'/'GNOME_VFS_ERROR_READ_ONLY_FILE_SYSTEM''error-not-same-file-system'/'GNOME_VFS_ERROR_NOT_SAME_FILE_SYSTEM''error-name-too-long'/'GNOME_VFS_ERROR_NAME_TOO_LONG''error-service-not-available'/'GNOME_VFS_ERROR_SERVICE_NOT_AVAILABLE''error-service-obsolete'/'GNOME_VFS_ERROR_SERVICE_OBSOLETE''error-protocol-error'/'GNOME_VFS_ERROR_PROTOCOL_ERROR''error-no-master-browser'/'GNOME_VFS_ERROR_NO_MASTER_BROWSER''error-no-default'/'GNOME_VFS_ERROR_NO_DEFAULT''error-no-handler'/'GNOME_VFS_ERROR_NO_HANDLER''error-parse'/'GNOME_VFS_ERROR_PARSE''error-launch'/'GNOME_VFS_ERROR_LAUNCH''error-timeout'/'GNOME_VFS_ERROR_TIMEOUT''error-nameserver'/'GNOME_VFS_ERROR_NAMESERVER''error-locked'/'GNOME_VFS_ERROR_LOCKED''error-deprecated-function'/'GNOME_VFS_ERROR_DEPRECATED_FUNCTION''error-invalid-filename'/'GNOME_VFS_ERROR_INVALID_FILENAME''error-not-a-symbolic-link'/'GNOME_VFS_ERROR_NOT_A_SYMBOLIC_LINK''num-errors'/'GNOME_VFS_NUM_ERRORS'
π SEE ALSO π
Gnome2::VFS
Go read the parent, it's the whole friend group π
π COPYRIGHT π
Copyright (C) 2003-2007, 2013 by the gtk2-perl team.
This software is licensed under the LGPL. See Gnome2::VFS for a full notice.
And that's the whole page bestie π«Ά this one came from the perl v5.42.0 manual pages, dated 2025-07-25 β gnome2 vfs mime application rights, no cap β¨
π¦ where this page comes from
- fedora 43: perl-Gnome2-VFS 1.084-17.fc43 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms