diff options
Diffstat (limited to '')
-rw-r--r-- | data/applications/meson.build | 16 | ||||
-rw-r--r-- | data/applications/mime-dummy-handler.desktop | 6 | ||||
-rw-r--r-- | data/applications/mimeapps.list | 19 |
3 files changed, 41 insertions, 0 deletions
diff --git a/data/applications/meson.build b/data/applications/meson.build new file mode 100644 index 0000000..48a2f09 --- /dev/null +++ b/data/applications/meson.build @@ -0,0 +1,16 @@ +desktop_conf = { + 'LIBDIR': gdm_prefix / get_option('libdir'), + 'LIBEXECDIR': gdm_prefix / get_option('libexecdir'), + 'LOCALSTATEDIR': gdm_prefix / get_option('localstatedir'), + 'SBINDIR': gdm_prefix / get_option('sbindir'), + 'SYSCONFDIR': gdm_prefix / get_option('sysconfdir'), +} + +foreach desktop_file : [ 'mime-dummy-handler.desktop', 'mimeapps.list' ] + configure_file( + input: desktop_file, + output: desktop_file, + configuration: desktop_conf, + install_dir: get_option('datadir') / 'gdm' / 'greeter' / 'applications', + ) +endforeach diff --git a/data/applications/mime-dummy-handler.desktop b/data/applications/mime-dummy-handler.desktop new file mode 100644 index 0000000..8f6623e --- /dev/null +++ b/data/applications/mime-dummy-handler.desktop @@ -0,0 +1,6 @@ +[Desktop Entry] +Type=Application +Name=Dummy URI Handler +Exec=true %U +Terminal=false +StartupNotify=false diff --git a/data/applications/mimeapps.list b/data/applications/mimeapps.list new file mode 100644 index 0000000..db3a144 --- /dev/null +++ b/data/applications/mimeapps.list @@ -0,0 +1,19 @@ +[Default Applications] +x-scheme-handler/file=mime-dummy-handler.desktop +x-scheme-handler/ftp=mime-dummy-handler.desktop +x-scheme-handler/ghelp=mime-dummy-handler.desktop +x-scheme-handler/help=mime-dummy-handler.desktop +x-scheme-handler/http=mime-dummy-handler.desktop +x-scheme-handler/https=mime-dummy-handler.desktop +x-scheme-handler/info=mime-dummy-handler.desktop +x-scheme-handler/irc=mime-dummy-handler.desktop +x-scheme-handler/itms=mime-dummy-handler.desktop +x-scheme-handler/mailto=mime-dummy-handler.desktop +x-scheme-handler/man=mime-dummy-handler.desktop +x-scheme-handler/mms=mime-dummy-handler.desktop +x-scheme-handler/rtp=mime-dummy-handler.desktop +x-scheme-handler/rtsp=mime-dummy-handler.desktop +x-scheme-handler/sip=mime-dummy-handler.desktop +x-scheme-handler/trash=mime-dummy-handler.desktop +x-scheme-handler/webcal=mime-dummy-handler.desktop +x-scheme-handler/xmpp=mime-dummy-handler.desktop |