GAPPLICATION(1) GAPPLICATION(1) (NAME) gapplication - GApplication (SYNOPSIS) gapplication help [COMMAND] gapplication version gapplication list-apps gapplication launch gapplication launch [FILE] gapplication list-actions gapplication action [PARAMETER] (DESCRIPTION) gapplication org.freedesktop.Application (Desktop Entry Specification) freedesktop.org . gapplication .desktop DBusActivatable true . Exec .desktop gapplication DBusActivatable . gapplication GLib . (COMMANDS) help [COMMAND] . version GLib gapplication . list-apps D-Bus . .desktop XDG_DATA_DIRS . launch [FILE] . (application ID) <>> ( org.gnome.app) .desktop . (URI) . . list-actions .desktop . . action [PARAMETER] ( .desktop ). ( ) . . GVariant . (Quoting) . (EXAMPLES) : gapplication launch org.example.fooview : gapplication launch org.example.fooview ~/file.foo : gapplication launch org.example.fooview ~/foos/*.foo : gapplication action org.example.fooview create : gapplication action org.example.fooview show-item '"item_id_828739"' Exec .desktop gapplication Exec .desktop . D-Bus . : [Desktop Entry] Version=1.1 Type=Application Name=Foo Viewer DBusActivatable=true MimeType=image/x-foo; Exec=gapplication launch org.example.fooview %F Actions=gallery;create; [Desktop Action gallery] Name=Browse Gallery Exec=gapplication action org.example.fooview gallery [Desktop Action create] Name=Create a new Foo! Exec=gapplication action org.example.fooview create D-Bus /usr/bin . . --help --version . gapplication . /usr/bin/fooview : #!/bin/sh case "$1" in --help) echo "see `man fooview' for more information" ;; --version) echo "fooview 1.2" ;; --gallery) gapplication action org.example.fooview gallery ;; --create) gapplication action org.example.fooview create ;; -*) echo "unrecognized commandline argument" exit 1 ;; *) gapplication launch org.example.fooview "$@" ;; esac (SEE ALSO) Desktop Entry Specification gdbus(1) xdg-open(1) desktop-file-validate(1) glib2 GAPPLICATION(1)