From 2b41b84c331fd7c73b041bf907e621bf10850c23 Mon Sep 17 00:00:00 2001 From: Jon Trulson Date: Wed, 18 Jul 2018 22:53:01 -0600 Subject: [PATCH] Add actions and types from Antonis Tsolomitis' desktop_approots contribution --- cde/databases/CDE-RUN.udb | 1416 +++++++++++++---- cde/programs/localized/C/types/Education.dt | 29 + cde/programs/localized/C/types/Games.dt | 29 + cde/programs/localized/C/types/Graphics.dt | 29 + cde/programs/localized/C/types/IconBrowse.dt | 137 ++ cde/programs/localized/C/types/Internet.dt | 29 + cde/programs/localized/C/types/Media_Tools.dt | 29 + cde/programs/localized/C/types/Office.dt | 29 + cde/programs/localized/C/types/System.dt | 29 + cde/programs/localized/C/types/TeX.dt | 29 + cde/programs/localized/C/types/acroread.dt | 35 + cde/programs/localized/C/types/amarok.dt | 35 + cde/programs/localized/C/types/autoStart.dt | 53 + cde/programs/localized/C/types/brasero.dt | 78 + cde/programs/localized/C/types/caja.dt | 33 + cde/programs/localized/C/types/chromium.dt | 34 + cde/programs/localized/C/types/datatypes.dt | 861 ++++++++++ cde/programs/localized/C/types/develop.dt | 429 +++++ cde/programs/localized/C/types/dreamchess.dt | 9 + cde/programs/localized/C/types/dt.dt | 677 ++++++++ cde/programs/localized/C/types/dtappman.dt | 378 +++++ cde/programs/localized/C/types/dtbuilder.dt | 196 +++ cde/programs/localized/C/types/dtcm.dt | 143 ++ cde/programs/localized/C/types/dtfile.dt | 715 +++++++++ cde/programs/localized/C/types/dthelp.dt | 218 +++ cde/programs/localized/C/types/dthelpprint.dt | 56 + cde/programs/localized/C/types/dthelptag.dt | 214 +++ cde/programs/localized/C/types/dtims.dt | 72 + cde/programs/localized/C/types/dtinfo.dt | 172 ++ cde/programs/localized/C/types/dtmail.dt | 182 +++ cde/programs/localized/C/types/dtpad.dt | 116 ++ cde/programs/localized/C/types/dtscreen.dt | 121 ++ cde/programs/localized/C/types/eboard.dt | 9 + cde/programs/localized/C/types/emacs.dt | 35 + cde/programs/localized/C/types/engrampa.dt | 78 + cde/programs/localized/C/types/file-roller.dt | 78 + cde/programs/localized/C/types/firefox.dt | 143 ++ cde/programs/localized/C/types/firestarter.dt | 35 + cde/programs/localized/C/types/fontforge.dt | 169 ++ cde/programs/localized/C/types/gcompris.dt | 34 + cde/programs/localized/C/types/geogebra.dt | 33 + cde/programs/localized/C/types/gimp.dt | 72 + cde/programs/localized/C/types/gv.dt | 72 + cde/programs/localized/C/types/inkscape.dt | 71 + cde/programs/localized/C/types/k3b.dt | 78 + cde/programs/localized/C/types/k9copy.dt | 78 + cde/programs/localized/C/types/kile.dt | 98 ++ cde/programs/localized/C/types/ktuberling.dt | 9 + cde/programs/localized/C/types/lbreakout2.dt | 9 + .../localized/C/types/libreoffice-base.dt | 34 + .../localized/C/types/libreoffice-calc.dt | 146 ++ .../localized/C/types/libreoffice-draw.dt | 110 ++ .../localized/C/types/libreoffice-impress.dt | 260 +++ .../localized/C/types/libreoffice-main.dt | 37 + .../localized/C/types/libreoffice-math.dt | 72 + .../localized/C/types/libreoffice-writer.dt | 146 ++ cde/programs/localized/C/types/mgv.dt | 71 + cde/programs/localized/C/types/miscActions.dt | 318 ++++ cde/programs/localized/C/types/miscImages.dt | 1097 +++++++++++++ cde/programs/localized/C/types/nedit.dt | 35 + cde/programs/localized/C/types/nxclient.dt | 56 + cde/programs/localized/C/types/okular.dt | 71 + cde/programs/localized/C/types/pavucontrol.dt | 35 + cde/programs/localized/C/types/pgadmin.dt | 33 + cde/programs/localized/C/types/powermanga.dt | 9 + cde/programs/localized/C/types/print.dt | 219 +++ cde/programs/localized/C/types/pychess.dt | 9 + cde/programs/localized/C/types/rhythmbox.dt | 78 + cde/programs/localized/C/types/rosegarden.dt | 78 + cde/programs/localized/C/types/skype.dt | 33 + .../localized/C/types/sound-juicer.dt | 78 + cde/programs/localized/C/types/stellarium.dt | 33 + cde/programs/localized/C/types/supertux.dt | 9 + cde/programs/localized/C/types/synaptic.dt | 33 + cde/programs/localized/C/types/thunderbird.dt | 58 + cde/programs/localized/C/types/tuxpaint.dt | 33 + cde/programs/localized/C/types/user-prefs.dt | 84 + cde/programs/localized/C/types/uxstd.dt | 770 +++++++++ cde/programs/localized/C/types/virtualbox.dt | 78 + cde/programs/localized/C/types/vlc.dt | 123 ++ cde/programs/localized/C/types/wicd.dt | 33 + cde/programs/localized/C/types/xboard.dt | 9 + cde/programs/localized/C/types/xclients.dt | 392 +++++ cde/programs/localized/C/types/xdvi.dt | 72 + cde/programs/localized/C/types/xine.dt | 78 + cde/programs/localized/C/types/xournal.dt | 78 + cde/programs/localized/C/types/xpdf.dt | 72 + cde/programs/localized/C/types/xv.dt | 114 ++ 88 files changed, 12515 insertions(+), 292 deletions(-) create mode 100644 cde/programs/localized/C/types/Education.dt create mode 100644 cde/programs/localized/C/types/Games.dt create mode 100644 cde/programs/localized/C/types/Graphics.dt create mode 100644 cde/programs/localized/C/types/IconBrowse.dt create mode 100644 cde/programs/localized/C/types/Internet.dt create mode 100644 cde/programs/localized/C/types/Media_Tools.dt create mode 100644 cde/programs/localized/C/types/Office.dt create mode 100644 cde/programs/localized/C/types/System.dt create mode 100644 cde/programs/localized/C/types/TeX.dt create mode 100644 cde/programs/localized/C/types/acroread.dt create mode 100644 cde/programs/localized/C/types/amarok.dt create mode 100644 cde/programs/localized/C/types/autoStart.dt create mode 100644 cde/programs/localized/C/types/brasero.dt create mode 100644 cde/programs/localized/C/types/caja.dt create mode 100644 cde/programs/localized/C/types/chromium.dt create mode 100644 cde/programs/localized/C/types/datatypes.dt create mode 100644 cde/programs/localized/C/types/develop.dt create mode 100644 cde/programs/localized/C/types/dreamchess.dt create mode 100644 cde/programs/localized/C/types/dt.dt create mode 100644 cde/programs/localized/C/types/dtappman.dt create mode 100644 cde/programs/localized/C/types/dtbuilder.dt create mode 100644 cde/programs/localized/C/types/dtcm.dt create mode 100644 cde/programs/localized/C/types/dtfile.dt create mode 100644 cde/programs/localized/C/types/dthelp.dt create mode 100644 cde/programs/localized/C/types/dthelpprint.dt create mode 100644 cde/programs/localized/C/types/dthelptag.dt create mode 100644 cde/programs/localized/C/types/dtims.dt create mode 100644 cde/programs/localized/C/types/dtinfo.dt create mode 100644 cde/programs/localized/C/types/dtmail.dt create mode 100644 cde/programs/localized/C/types/dtpad.dt create mode 100644 cde/programs/localized/C/types/dtscreen.dt create mode 100644 cde/programs/localized/C/types/eboard.dt create mode 100644 cde/programs/localized/C/types/emacs.dt create mode 100644 cde/programs/localized/C/types/engrampa.dt create mode 100644 cde/programs/localized/C/types/file-roller.dt create mode 100644 cde/programs/localized/C/types/firefox.dt create mode 100644 cde/programs/localized/C/types/firestarter.dt create mode 100644 cde/programs/localized/C/types/fontforge.dt create mode 100644 cde/programs/localized/C/types/gcompris.dt create mode 100644 cde/programs/localized/C/types/geogebra.dt create mode 100644 cde/programs/localized/C/types/gimp.dt create mode 100644 cde/programs/localized/C/types/gv.dt create mode 100644 cde/programs/localized/C/types/inkscape.dt create mode 100644 cde/programs/localized/C/types/k3b.dt create mode 100644 cde/programs/localized/C/types/k9copy.dt create mode 100644 cde/programs/localized/C/types/kile.dt create mode 100644 cde/programs/localized/C/types/ktuberling.dt create mode 100644 cde/programs/localized/C/types/lbreakout2.dt create mode 100644 cde/programs/localized/C/types/libreoffice-base.dt create mode 100644 cde/programs/localized/C/types/libreoffice-calc.dt create mode 100644 cde/programs/localized/C/types/libreoffice-draw.dt create mode 100644 cde/programs/localized/C/types/libreoffice-impress.dt create mode 100644 cde/programs/localized/C/types/libreoffice-main.dt create mode 100644 cde/programs/localized/C/types/libreoffice-math.dt create mode 100644 cde/programs/localized/C/types/libreoffice-writer.dt create mode 100644 cde/programs/localized/C/types/mgv.dt create mode 100644 cde/programs/localized/C/types/miscActions.dt create mode 100644 cde/programs/localized/C/types/miscImages.dt create mode 100644 cde/programs/localized/C/types/nedit.dt create mode 100644 cde/programs/localized/C/types/nxclient.dt create mode 100644 cde/programs/localized/C/types/okular.dt create mode 100644 cde/programs/localized/C/types/pavucontrol.dt create mode 100644 cde/programs/localized/C/types/pgadmin.dt create mode 100644 cde/programs/localized/C/types/powermanga.dt create mode 100644 cde/programs/localized/C/types/print.dt create mode 100644 cde/programs/localized/C/types/pychess.dt create mode 100644 cde/programs/localized/C/types/rhythmbox.dt create mode 100644 cde/programs/localized/C/types/rosegarden.dt create mode 100644 cde/programs/localized/C/types/skype.dt create mode 100644 cde/programs/localized/C/types/sound-juicer.dt create mode 100644 cde/programs/localized/C/types/stellarium.dt create mode 100644 cde/programs/localized/C/types/supertux.dt create mode 100644 cde/programs/localized/C/types/synaptic.dt create mode 100644 cde/programs/localized/C/types/thunderbird.dt create mode 100644 cde/programs/localized/C/types/tuxpaint.dt create mode 100644 cde/programs/localized/C/types/user-prefs.dt create mode 100644 cde/programs/localized/C/types/uxstd.dt create mode 100644 cde/programs/localized/C/types/virtualbox.dt create mode 100644 cde/programs/localized/C/types/vlc.dt create mode 100644 cde/programs/localized/C/types/wicd.dt create mode 100644 cde/programs/localized/C/types/xboard.dt create mode 100644 cde/programs/localized/C/types/xclients.dt create mode 100644 cde/programs/localized/C/types/xdvi.dt create mode 100644 cde/programs/localized/C/types/xine.dt create mode 100644 cde/programs/localized/C/types/xournal.dt create mode 100644 cde/programs/localized/C/types/xpdf.dt create mode 100644 cde/programs/localized/C/types/xv.dt diff --git a/cde/databases/CDE-RUN.udb b/cde/databases/CDE-RUN.udb index 73aae620..454b83fb 100644 --- a/cde/databases/CDE-RUN.udb +++ b/cde/databases/CDE-RUN.udb @@ -888,255 +888,686 @@ programs/localized/C/types/action install_target = /usr/dt/appconfig/appmanager/C/Desktop_Tools/Dttypes mode = 0555 } -programs/dtprintegrate/dtlp + +# Additional actions from Antonis Tsolomitis desktop_approots package +programs/localized/C/types/action { default - install_target = /usr/dt/bin/dtlp + install_target = /usr/dt/appconfig/appmanager/C/Education/gcompris mode = 0555 } + # -# -#>>----------------------------- -# backdrop files -#<<----------------------------- -# -programs/localized/C/palettes/desc.C +programs/localized/C/types/action { default - install_target = /usr/dt/share/palettes/desc.C + install_target = /usr/dt/appconfig/appmanager/C/Education/geogebra + mode = 0555 } + # -programs/localized/C/backdrops/desc.C +programs/localized/C/types/action { default - install_target = /usr/dt/share/backdrops/desc.C + install_target = /usr/dt/appconfig/appmanager/C/Education/stellarium + mode = 0555 } + # -programs/backdrops/Foreground.bm +programs/localized/C/types/action { default - install_target = /usr/dt/share/backdrops/Foreground.bm + install_target = /usr/dt/appconfig/appmanager/C/Education/tuxpaint + mode = 0555 } + # -programs/backdrops/Background.bm +programs/localized/C/types/action { default - install_target = /usr/dt/share/backdrops/Background.bm + install_target = /usr/dt/appconfig/appmanager/C/Games/dreamchess + mode = 0555 } + # -programs/backdrops/NoBackdrop.pm +programs/localized/C/types/action { default - install_target = /usr/dt/share/backdrops/NoBackdrop.pm + install_target = /usr/dt/appconfig/appmanager/C/Games/eboard + mode = 0555 } + # -programs/backdrops/Ankh.bm +programs/localized/C/types/action { default - install_target = /usr/dt/share/backdrops/Ankh.bm + install_target = /usr/dt/appconfig/appmanager/C/Games/gcompris + mode = 0555 } + # -programs/backdrops/BrickWall.bm +programs/localized/C/types/action { default - install_target = /usr/dt/share/backdrops/BrickWall.bm + install_target = /usr/dt/appconfig/appmanager/C/Games/ktuberling + mode = 0555 } + # -programs/backdrops/Concave.pm +programs/localized/C/types/action { default - install_target = /usr/dt/share/backdrops/Concave.pm + install_target = /usr/dt/appconfig/appmanager/C/Games/lbreakout2 + mode = 0555 } + # -programs/backdrops/Convex.pm +programs/localized/C/types/action { default - install_target = /usr/dt/share/backdrops/Convex.pm + install_target = /usr/dt/appconfig/appmanager/C/Games/powermanga + mode = 0555 } + # -programs/backdrops/Corduroy.pm +programs/localized/C/types/action { default - install_target = /usr/dt/share/backdrops/Corduroy.pm + install_target = /usr/dt/appconfig/appmanager/C/Games/pychess + mode = 0555 } + # -programs/backdrops/Crochet.pm +programs/localized/C/types/action { default - install_target = /usr/dt/share/backdrops/Crochet.pm + install_target = /usr/dt/appconfig/appmanager/C/Games/supertux + mode = 0555 } + # -programs/backdrops/InlayColor.pm +programs/localized/C/types/action { default - install_target = /usr/dt/share/backdrops/InlayColor.pm + install_target = /usr/dt/appconfig/appmanager/C/Games/xboard + mode = 0555 } + # -programs/backdrops/InlayPlain.pm +programs/localized/C/types/action { default - install_target = /usr/dt/share/backdrops/InlayPlain.pm + install_target = /usr/dt/appconfig/appmanager/C/Graphics/fontforge + mode = 0555 } + # -programs/backdrops/KnitLight.pm +programs/localized/C/types/action { default - install_target = /usr/dt/share/backdrops/KnitLight.pm + install_target = /usr/dt/appconfig/appmanager/C/Graphics/gimp + mode = 0555 } + # -programs/backdrops/Lattice.pm +programs/localized/C/types/action { default - install_target = /usr/dt/share/backdrops/Lattice.pm + install_target = /usr/dt/appconfig/appmanager/C/Graphics/inkscape + mode = 0555 } + # -programs/backdrops/LatticeBig.pm +programs/localized/C/types/action { default - install_target = /usr/dt/share/backdrops/LatticeBig.pm + install_target = /usr/dt/appconfig/appmanager/C/Graphics/okular + mode = 0555 } + # -programs/backdrops/Leaves.pm +programs/localized/C/types/action { default - install_target = /usr/dt/share/backdrops/Leaves.pm + install_target = /usr/dt/appconfig/appmanager/C/Graphics/xv + mode = 0555 } + # -programs/backdrops/OldChars.pm +programs/localized/C/types/action { default - install_target = /usr/dt/share/backdrops/OldChars.pm + install_target = /usr/dt/appconfig/appmanager/C/Internet/chromium + mode = 0555 } + # -programs/backdrops/Paver.pm +programs/localized/C/types/action { default - install_target = /usr/dt/share/backdrops/Paver.pm + install_target = /usr/dt/appconfig/appmanager/C/Internet/firefox + mode = 0555 } + # -programs/backdrops/Pebbles.pm +programs/localized/C/types/action { default - install_target = /usr/dt/share/backdrops/Pebbles.pm + install_target = /usr/dt/appconfig/appmanager/C/Internet/nxclient + mode = 0555 } + # -programs/backdrops/PinStripe.pm +programs/localized/C/types/action { default - install_target = /usr/dt/share/backdrops/PinStripe.pm + install_target = /usr/dt/appconfig/appmanager/C/Internet/skype + mode = 0555 } + # -programs/backdrops/RakedSand.bm +programs/localized/C/types/action { default - install_target = /usr/dt/share/backdrops/RakedSand.bm + install_target = /usr/dt/appconfig/appmanager/C/Internet/thunderbird + mode = 0555 } + # -programs/backdrops/RicePaper.pm +programs/localized/C/types/action { default - install_target = /usr/dt/share/backdrops/RicePaper.pm + install_target = /usr/dt/appconfig/appmanager/C/Media_Tools/amarok + mode = 0555 } + # -programs/backdrops/SkyDark.pm +programs/localized/C/types/action { default - install_target = /usr/dt/share/backdrops/SkyDark.pm + install_target = /usr/dt/appconfig/appmanager/C/Media_Tools/brasero + mode = 0555 } + # -programs/backdrops/SkyLight.pm +programs/localized/C/types/action { default - install_target = /usr/dt/share/backdrops/SkyLight.pm + install_target = /usr/dt/appconfig/appmanager/C/Media_Tools/k3b + mode = 0555 } + # -programs/backdrops/Sprinkles.pm +programs/localized/C/types/action { default - install_target = /usr/dt/share/backdrops/Sprinkles.pm + install_target = /usr/dt/appconfig/appmanager/C/Media_Tools/k9copy + mode = 0555 } + # +programs/localized/C/types/action +{ default + install_target = /usr/dt/appconfig/appmanager/C/Media_Tools/pavucontrol + mode = 0555 +} + # -programs/backdrops/SunLogo.pm -{ sun - install_target = /usr/dt/share/backdrops/SunLogo.pm +programs/localized/C/types/action +{ default + install_target = /usr/dt/appconfig/appmanager/C/Media_Tools/rhythmbox + mode = 0555 } + # -programs/backdrops/Toronto.bm +programs/localized/C/types/action { default - install_target = /usr/dt/share/backdrops/Toronto.bm + install_target = /usr/dt/appconfig/appmanager/C/Media_Tools/rosegarden + mode = 0555 } + # -programs/backdrops/WaterDrops.pm +programs/localized/C/types/action { default - install_target = /usr/dt/share/backdrops/WaterDrops.pm + install_target = /usr/dt/appconfig/appmanager/C/Media_Tools/sound-juicer + mode = 0555 } + # -programs/backdrops/Wooly.pm +programs/localized/C/types/action { default - install_target = /usr/dt/share/backdrops/Wooly.pm + install_target = /usr/dt/appconfig/appmanager/C/Media_Tools/vlc + mode = 0555 } + # -./share/backdrops +programs/localized/C/types/action { default - install_target = /usr/dt/backdrops - type = sym_link + install_target = /usr/dt/appconfig/appmanager/C/Media_Tools/xine + mode = 0555 } + # -# shell script +programs/localized/C/types/action +{ default + install_target = /usr/dt/appconfig/appmanager/C/Office/acroread + mode = 0555 +} + # -programs/dtfile/dtfile_error +programs/localized/C/types/action { default - install_target = /usr/dt/bin/dtfile_error + install_target = /usr/dt/appconfig/appmanager/C/Office/libreoffice-base mode = 0555 } + # -#<<-------------------------------------------- -# The DT binaries follow -#>>-------------------------------------------- -# -programs/dtappbuilder/src/ab/dtbuilder +programs/localized/C/types/action { default - install_target = /usr/dt/bin/dtbuilder - mode = 0555 + install_target = /usr/dt/appconfig/appmanager/C/Office/libreoffice-calc + mode = 0555 } + # -programs/dtappbuilder/src/abmf/dtcodegen +programs/localized/C/types/action { default - install_target = /usr/dt/bin/dtcodegen - mode = 0555 + install_target = /usr/dt/appconfig/appmanager/C/Office/libreoffice-draw + mode = 0555 } + # -programs/dtfile/dtfile +programs/localized/C/types/action { default - install_target = /usr/dt/bin/dtfile - mode = 0555 + install_target = /usr/dt/appconfig/appmanager/C/Office/libreoffice-impress + mode = 0555 } + # -programs/dtfile/dtcopy/dtfile_copy +programs/localized/C/types/action { default - install_target = /usr/dt/bin/dtfile_copy - mode = 0555 + install_target = /usr/dt/appconfig/appmanager/C/Office/libreoffice-main + mode = 0555 } + # -programs/dtsession/dtsession +programs/localized/C/types/action { default - install_target = /usr/dt/bin/dtsession - owner = root - mode = 04555 + install_target = /usr/dt/appconfig/appmanager/C/Office/libreoffice-math + mode = 0555 } + # -programs/dtsession/dtloadresources +programs/localized/C/types/action { default - install_target = /usr/dt/bin/dtsession_res + install_target = /usr/dt/appconfig/appmanager/C/Office/libreoffice-writer mode = 0555 } + # -programs/dtwm/dtwm +programs/localized/C/types/action { default - install_target = /usr/dt/bin/dtwm + install_target = /usr/dt/appconfig/appmanager/C/Office/nedit mode = 0555 } + # -# Prints the definition hierarchy of the front panel +programs/localized/C/types/action +{ default + install_target = /usr/dt/appconfig/appmanager/C/Office/xournal + mode = 0555 +} + # -programs/dtwm/dtfplist +programs/localized/C/types/action { default - install_target = /usr/dt/bin/dtfplist + install_target = /usr/dt/appconfig/appmanager/C/Office/xpdf mode = 0555 } + # -programs/dtlogin/dtlogin +programs/localized/C/types/action { default - install_target = /usr/dt/bin/dtlogin - mode = 0544 - owner = root + install_target = /usr/dt/appconfig/appmanager/C/System/caja + mode = 0555 } + # -programs/dtlogin/dtchooser +programs/localized/C/types/action { default - install_target = /usr/dt/bin/dtchooser - mode = 0544 - owner = root + install_target = /usr/dt/appconfig/appmanager/C/System/engrampa + mode = 0555 } + # -programs/dtlogin/dtgreet +programs/localized/C/types/action { default - install_target = /usr/dt/bin/dtgreet - mode = 0544 + install_target = /usr/dt/appconfig/appmanager/C/System/file-roller + mode = 0555 +} + +# +programs/localized/C/types/action +{ default + install_target = /usr/dt/appconfig/appmanager/C/System/firestarter + mode = 0555 +} + +# +programs/localized/C/types/action +{ default + install_target = /usr/dt/appconfig/appmanager/C/System/pgadmin + mode = 0555 +} + +# +programs/localized/C/types/action +{ default + install_target = /usr/dt/appconfig/appmanager/C/System/synaptic + mode = 0555 +} + +# +programs/localized/C/types/action +{ default + install_target = /usr/dt/appconfig/appmanager/C/System/virtualbox + mode = 0555 +} + +# +programs/localized/C/types/action +{ default + install_target = /usr/dt/appconfig/appmanager/C/System/wicd + mode = 0555 +} + +# +programs/localized/C/types/action +{ default + install_target = /usr/dt/appconfig/appmanager/C/TeX/acroread + mode = 0555 +} + +# +programs/localized/C/types/action +{ default + install_target = /usr/dt/appconfig/appmanager/C/TeX/emacs + mode = 0555 +} + +# +programs/localized/C/types/action +{ default + install_target = /usr/dt/appconfig/appmanager/C/TeX/gv + mode = 0555 +} + +# +programs/localized/C/types/action +{ default + install_target = /usr/dt/appconfig/appmanager/C/TeX/kile + mode = 0555 +} + +# +programs/localized/C/types/action +{ default + install_target = /usr/dt/appconfig/appmanager/C/TeX/mgv + mode = 0555 +} + +# +programs/localized/C/types/action +{ default + install_target = /usr/dt/appconfig/appmanager/C/TeX/TeX + mode = 0555 +} + +# +programs/localized/C/types/action +{ default + install_target = /usr/dt/appconfig/appmanager/C/TeX/xdvi + mode = 0555 +} + +# +programs/localized/C/types/action +{ default + install_target = /usr/dt/appconfig/appmanager/C/TeX/xournal + mode = 0555 +} + +# +programs/localized/C/types/action +{ default + install_target = /usr/dt/appconfig/appmanager/C/TeX/xpdf + mode = 0555 +} + + + +# dtlp +programs/dtprintegrate/dtlp +{ default + install_target = /usr/dt/bin/dtlp + mode = 0555 +} +# +# +#>>----------------------------- +# backdrop files +#<<----------------------------- +# +programs/localized/C/palettes/desc.C +{ default + install_target = /usr/dt/share/palettes/desc.C +} +# +programs/localized/C/backdrops/desc.C +{ default + install_target = /usr/dt/share/backdrops/desc.C +} +# +programs/backdrops/Foreground.bm +{ default + install_target = /usr/dt/share/backdrops/Foreground.bm +} +# +programs/backdrops/Background.bm +{ default + install_target = /usr/dt/share/backdrops/Background.bm +} +# +programs/backdrops/NoBackdrop.pm +{ default + install_target = /usr/dt/share/backdrops/NoBackdrop.pm +} +# +programs/backdrops/Ankh.bm +{ default + install_target = /usr/dt/share/backdrops/Ankh.bm +} +# +programs/backdrops/BrickWall.bm +{ default + install_target = /usr/dt/share/backdrops/BrickWall.bm +} +# +programs/backdrops/Concave.pm +{ default + install_target = /usr/dt/share/backdrops/Concave.pm +} +# +programs/backdrops/Convex.pm +{ default + install_target = /usr/dt/share/backdrops/Convex.pm +} +# +programs/backdrops/Corduroy.pm +{ default + install_target = /usr/dt/share/backdrops/Corduroy.pm +} +# +programs/backdrops/Crochet.pm +{ default + install_target = /usr/dt/share/backdrops/Crochet.pm +} +# +programs/backdrops/InlayColor.pm +{ default + install_target = /usr/dt/share/backdrops/InlayColor.pm +} +# +programs/backdrops/InlayPlain.pm +{ default + install_target = /usr/dt/share/backdrops/InlayPlain.pm +} +# +programs/backdrops/KnitLight.pm +{ default + install_target = /usr/dt/share/backdrops/KnitLight.pm +} +# +programs/backdrops/Lattice.pm +{ default + install_target = /usr/dt/share/backdrops/Lattice.pm +} +# +programs/backdrops/LatticeBig.pm +{ default + install_target = /usr/dt/share/backdrops/LatticeBig.pm +} +# +programs/backdrops/Leaves.pm +{ default + install_target = /usr/dt/share/backdrops/Leaves.pm +} +# +programs/backdrops/OldChars.pm +{ default + install_target = /usr/dt/share/backdrops/OldChars.pm +} +# +programs/backdrops/Paver.pm +{ default + install_target = /usr/dt/share/backdrops/Paver.pm +} +# +programs/backdrops/Pebbles.pm +{ default + install_target = /usr/dt/share/backdrops/Pebbles.pm +} +# +programs/backdrops/PinStripe.pm +{ default + install_target = /usr/dt/share/backdrops/PinStripe.pm +} +# +programs/backdrops/RakedSand.bm +{ default + install_target = /usr/dt/share/backdrops/RakedSand.bm +} +# +programs/backdrops/RicePaper.pm +{ default + install_target = /usr/dt/share/backdrops/RicePaper.pm +} +# +programs/backdrops/SkyDark.pm +{ default + install_target = /usr/dt/share/backdrops/SkyDark.pm +} +# +programs/backdrops/SkyLight.pm +{ default + install_target = /usr/dt/share/backdrops/SkyLight.pm +} +# +programs/backdrops/Sprinkles.pm +{ default + install_target = /usr/dt/share/backdrops/Sprinkles.pm +} +# +# +programs/backdrops/SunLogo.pm +{ sun + install_target = /usr/dt/share/backdrops/SunLogo.pm +} +# +programs/backdrops/Toronto.bm +{ default + install_target = /usr/dt/share/backdrops/Toronto.bm +} +# +programs/backdrops/WaterDrops.pm +{ default + install_target = /usr/dt/share/backdrops/WaterDrops.pm +} +# +programs/backdrops/Wooly.pm +{ default + install_target = /usr/dt/share/backdrops/Wooly.pm +} +# +./share/backdrops +{ default + install_target = /usr/dt/backdrops + type = sym_link +} +# +# shell script +# +programs/dtfile/dtfile_error +{ default + install_target = /usr/dt/bin/dtfile_error + mode = 0555 +} +# +#<<-------------------------------------------- +# The DT binaries follow +#>>-------------------------------------------- +# +programs/dtappbuilder/src/ab/dtbuilder +{ default + install_target = /usr/dt/bin/dtbuilder + mode = 0555 +} +# +programs/dtappbuilder/src/abmf/dtcodegen +{ default + install_target = /usr/dt/bin/dtcodegen + mode = 0555 +} +# +programs/dtfile/dtfile +{ default + install_target = /usr/dt/bin/dtfile + mode = 0555 +} +# +programs/dtfile/dtcopy/dtfile_copy +{ default + install_target = /usr/dt/bin/dtfile_copy + mode = 0555 +} +# +programs/dtsession/dtsession +{ default + install_target = /usr/dt/bin/dtsession + owner = root + mode = 04555 +} +# +programs/dtsession/dtloadresources +{ default + install_target = /usr/dt/bin/dtsession_res + mode = 0555 +} +# +programs/dtwm/dtwm +{ default + install_target = /usr/dt/bin/dtwm + mode = 0555 +} +# +# Prints the definition hierarchy of the front panel +# +programs/dtwm/dtfplist +{ default + install_target = /usr/dt/bin/dtfplist + mode = 0555 +} +# +programs/dtlogin/dtlogin +{ default + install_target = /usr/dt/bin/dtlogin + mode = 0544 + owner = root +} +# +programs/dtlogin/dtchooser +{ default + install_target = /usr/dt/bin/dtchooser + mode = 0544 + owner = root +} +# +programs/dtlogin/dtgreet +{ default + install_target = /usr/dt/bin/dtgreet + mode = 0544 } # # Create hpterm link on hpux only @@ -1145,343 +1576,743 @@ programs/dtlogin/dtgreet { hpux install_target = /usr/dt/bin/hpterm owner = root - type = sym_link - mode = 04555 + type = sym_link + mode = 04555 +} +# +/usr/bin/X11/hpterm +{ hpV4 + install_target = /usr/dt/bin/hpterm + owner = root + type = sym_link + mode = 04555 +} +# +/usr/bin/X11/aixterm +{ aix + install_target = /usr/dt/bin/aixterm + type = sym_link +} +# +programs/dthello/dthello +{ default + install_target = /usr/dt/bin/dthello + mode = 0555 +} +# +programs/dtaction/dtaction +{ default + install_target = /usr/dt/bin/dtaction + owner = root + group = sys + mode = 06555 +} +# +programs/dtaction/dtaction +{ hpux + install_target = /usr/dt/bin/dtaction + owner = root + group = sys + mode = 06555 +} +# +programs/dtaction/dtaction +{ hpV4 + install_target = /usr/dt/bin/dtaction + owner = root + group = sys + mode = 06555 +} +# +programs/dtaction/dtaction +{ aix + install_target = /usr/dt/bin/dtaction + owner = root + group = sys + mode = 06555 +} +# +programs/dtaction/dtaction +{ sun + install_target = /usr/dt/bin/dtaction + owner = root + group = sys + mode = 06555 +} +# +programs/dtpad/dtpad +{ default + install_target = /usr/dt/bin/dtpad + mode = 0555 +} +# +programs/dtstyle/dtstyle +{ default + install_target = /usr/dt/bin/dtstyle + mode = 0555 +} +# +programs/dtscreen/dtscreen +{ default + install_target = /usr/dt/bin/dtscreen + mode = 0555 +} +# +programs/dticon/dticon +{ default + install_target = /usr/dt/bin/dticon + mode = 0555 +} +# +programs/dtcalc/dtcalc +{ default + install_target = /usr/dt/bin/dtcalc + mode = 0555 +} +# +programs/dtterm/dtterm +{ default + install_target = /usr/dt/bin/dtterm + mode = 04555 + owner = root +} +# +programs/dtterm/dtterm.ti +{ default + install_target = /usr/dt/config/dtterm.ti +} +# +programs/dtsearchpath/dtsp/dtsp +{ default + install_target = /usr/dt/bin/dtsearchpath + mode = 0555 +} +# +programs/dtsearchpath/dtappg/dtappg +{ default + install_target = /usr/dt/bin/dtappgather + mode = 04555 + owner = root } # -/usr/bin/X11/hpterm -{ hpV4 - install_target = /usr/dt/bin/hpterm - owner = root - type = sym_link - mode = 04555 +programs/util/dttypes/dttypes +{ default + install_target = /usr/dt/bin/dttypes + mode = 0555 } # -/usr/bin/X11/aixterm -{ aix - install_target = /usr/dt/bin/aixterm - type = sym_link +programs/dsdm/dsdm +{ default + install_target = /usr/dt/bin/dsdm + mode = 0555 +} +# +programs/dtimsstart/dtimsstart +{ default + install_target = /usr/dt/bin/dtimsstart + mode = 0555 +} +# +programs/dtpdm/dtpdm +{ default + install_target = /usr/dt/bin/dtpdm + mode = 0555 +} +# +programs/dtpdmd/dtpdmd +{ default + install_target = /usr/dt/bin/dtpdmd + mode = 0555 +} +# +# CDE Calendar from SUN ... Brent Ayers +# + +# executable files + +programs/dtcm/server/rpc.cmsd +{ default + install_target = /usr/dt/bin/rpc.cmsd + mode = 0555 +} + +programs/dtcm/dtcm/dtcm +{ default + install_target = /usr/dt/bin/dtcm + mode = 0555 +} + +programs/dtcm/dtcm/dtcm_editor +{ default + install_target = /usr/dt/bin/dtcm_editor + mode = 0555 +} + +programs/dtcm/dtcm/dtcm_delete +{ default + install_target = /usr/dt/bin/dtcm_delete + mode = 0555 +} + +programs/dtcm/dtcm/dtcm_insert +{ default + install_target = /usr/dt/bin/dtcm_insert + mode = 0555 +} + +programs/dtcm/dtcm/dtcm_lookup +{ default + install_target = /usr/dt/bin/dtcm_lookup + mode = 0555 +} + +programs/localized/C/types/dtcm.dt +{ default + install_target = /usr/dt/appconfig/types/C/dtcm.dt +} + +programs/localized/C/app-defaults/Dtcm +{ default + install_target = /usr/dt/app-defaults/C/Dtcm +} + +programs/dtdspmsg/dtdspmsg +{ default + install_target = /usr/dt/bin/dtdspmsg + mode = 0555 +} +# +# CDE mailer from SUN ... Neil Katin +# +# +# -------------------------- +# --- Dtmail files --- +# -------------------------- +# + +# executable files +programs/dtmail/dtmail/dtmail +{ default + install_target = /usr/dt/bin/dtmail + mode = 02555 + group = mail +} + +programs/dtmail/dtmailpr/dtmailpr +{ default + install_target = /usr/dt/bin/dtmailpr + mode = 02555 + group = mail +} + +# data typing +programs/localized/C/types/dtmail.dt +{ default + install_target = /usr/dt/appconfig/types/C/dtmail.dt +} + +# App-defaults +programs/localized/C/app-defaults/Dtmail +{ default + install_target = /usr/dt/app-defaults/C/Dtmail +} + +#>>----------------------------- +# the Front Panel configuration file +# ------------------------------ +# +programs/localized/C/types/dtwm.fp +{ default + install_target = /usr/dt/appconfig/types/C/dtwm.fp +} + +#>>----------------------------- +# Action and filetype databases +# ------------------------------ +# +programs/localized/C/types/autoStart.dt +{ default + install_target = /usr/dt/appconfig/types/C/autoStart.dt +} +programs/localized/C/types/uxstd.dt +{ default + install_target = /usr/dt/appconfig/types/C/uxstd.dt +} +# +programs/localized/C/types/dt.dt +{ default + install_target = /usr/dt/appconfig/types/C/dt.dt +} +# +programs/localized/C/types/develop.dt +{ default + install_target = /usr/dt/appconfig/types/C/develop.dt +} +# +programs/localized/C/types/datatypes.dt +{ default + install_target = /usr/dt/appconfig/types/C/datatypes.dt +} +# +programs/localized/C/types/dtappman.dt +{ default + install_target = /usr/dt/appconfig/types/C/dtappman.dt +} +# +programs/localized/C/types/dtfile.dt +{ default + install_target = /usr/dt/appconfig/types/C/dtfile.dt +} +# +programs/localized/C/types/dtpad.dt +{ default + install_target = /usr/dt/appconfig/types/C/dtpad.dt +} +# +programs/localized/C/types/xclients.dt +{ default + install_target = /usr/dt/appconfig/types/C/xclients.dt +} +# +programs/localized/C/types/print.dt +{ default + install_target = /usr/dt/appconfig/types/C/print.dt +} +# +programs/localized/C/types/user-prefs.dt +{ default + install_target = /usr/dt/appconfig/types/C/user-prefs.dt +} +# +programs/localized/C/types/dthelp.dt +{ default + install_target = /usr/dt/appconfig/types/C/dthelp.dt +} +# +#programs/localized/C/types/hp.dt +#{ hpux +# install_target = /usr/dt/appconfig/types/C/hp.dt +#} +# +#programs/localized/C/types/ibm.dt +#{ aix +# install_target = /usr/dt/appconfig/types/C/ibm.dt +#} +# +programs/localized/C/types/dtscreen.dt +{ default + install_target = /usr/dt/appconfig/types/C/dtscreen.dt +} +# +programs/localized/C/types/dtims.dt +{ default + install_target = /usr/dt/appconfig/types/C/dtims.dt +} +# +programs/localized/C/types/dtbuilder.dt +{ default + install_target = /usr/dt/appconfig/types/C/dtbuilder.dt +} + +# Additional actions from Antonis Tsolomitis desktop_approots package +programs/localized/C/types/Education.dt +{ default + install_target = /usr/dt/appconfig/types/C/Education.dt +} + +# +programs/localized/C/types/gcompris.dt +{ default + install_target = /usr/dt/appconfig/types/C/gcompris.dt +} + +# +programs/localized/C/types/geogebra.dt +{ default + install_target = /usr/dt/appconfig/types/C/geogebra.dt +} + +# +programs/localized/C/types/stellarium.dt +{ default + install_target = /usr/dt/appconfig/types/C/stellarium.dt +} + +# +programs/localized/C/types/tuxpaint.dt +{ default + install_target = /usr/dt/appconfig/types/C/tuxpaint.dt +} + +# +programs/localized/C/types/dreamchess.dt +{ default + install_target = /usr/dt/appconfig/types/C/dreamchess.dt +} + +# +programs/localized/C/types/eboard.dt +{ default + install_target = /usr/dt/appconfig/types/C/eboard.dt +} + +# +programs/localized/C/types/Games.dt +{ default + install_target = /usr/dt/appconfig/types/C/Games.dt } + # -programs/dthello/dthello +programs/localized/C/types/gcompris.dt { default - install_target = /usr/dt/bin/dthello - mode = 0555 + install_target = /usr/dt/appconfig/types/C/gcompris.dt } + # -programs/dtaction/dtaction +programs/localized/C/types/ktuberling.dt { default - install_target = /usr/dt/bin/dtaction - owner = root - group = sys - mode = 06555 + install_target = /usr/dt/appconfig/types/C/ktuberling.dt } + # -programs/dtaction/dtaction -{ hpux - install_target = /usr/dt/bin/dtaction - owner = root - group = sys - mode = 06555 +programs/localized/C/types/lbreakout2.dt +{ default + install_target = /usr/dt/appconfig/types/C/lbreakout2.dt } + # -programs/dtaction/dtaction -{ hpV4 - install_target = /usr/dt/bin/dtaction - owner = root - group = sys - mode = 06555 +programs/localized/C/types/powermanga.dt +{ default + install_target = /usr/dt/appconfig/types/C/powermanga.dt } + # -programs/dtaction/dtaction -{ aix - install_target = /usr/dt/bin/dtaction - owner = root - group = sys - mode = 06555 +programs/localized/C/types/pychess.dt +{ default + install_target = /usr/dt/appconfig/types/C/pychess.dt } + # -programs/dtaction/dtaction -{ sun - install_target = /usr/dt/bin/dtaction - owner = root - group = sys - mode = 06555 +programs/localized/C/types/supertux.dt +{ default + install_target = /usr/dt/appconfig/types/C/supertux.dt } + # -programs/dtpad/dtpad +programs/localized/C/types/xboard.dt { default - install_target = /usr/dt/bin/dtpad - mode = 0555 + install_target = /usr/dt/appconfig/types/C/xboard.dt } + # -programs/dtstyle/dtstyle +programs/localized/C/types/fontforge.dt { default - install_target = /usr/dt/bin/dtstyle - mode = 0555 + install_target = /usr/dt/appconfig/types/C/fontforge.dt } + # -programs/dtscreen/dtscreen +programs/localized/C/types/gimp.dt { default - install_target = /usr/dt/bin/dtscreen - mode = 0555 + install_target = /usr/dt/appconfig/types/C/gimp.dt } + # -programs/dticon/dticon +programs/localized/C/types/Graphics.dt { default - install_target = /usr/dt/bin/dticon - mode = 0555 + install_target = /usr/dt/appconfig/types/C/Graphics.dt } + # -programs/dtcalc/dtcalc +programs/localized/C/types/inkscape.dt { default - install_target = /usr/dt/bin/dtcalc - mode = 0555 + install_target = /usr/dt/appconfig/types/C/inkscape.dt } + # -programs/dtterm/dtterm +programs/localized/C/types/okular.dt { default - install_target = /usr/dt/bin/dtterm - mode = 04555 - owner = root + install_target = /usr/dt/appconfig/types/C/okular.dt } + # -programs/dtterm/dtterm.ti +programs/localized/C/types/xv.dt { default - install_target = /usr/dt/config/dtterm.ti + install_target = /usr/dt/appconfig/types/C/xv.dt } + # -programs/dtsearchpath/dtsp/dtsp +programs/localized/C/types/chromium.dt { default - install_target = /usr/dt/bin/dtsearchpath - mode = 0555 + install_target = /usr/dt/appconfig/types/C/chromium.dt } + # -programs/dtsearchpath/dtappg/dtappg +programs/localized/C/types/firefox.dt { default - install_target = /usr/dt/bin/dtappgather - mode = 04555 - owner = root + install_target = /usr/dt/appconfig/types/C/firefox.dt } + # -programs/util/dttypes/dttypes +programs/localized/C/types/Internet.dt { default - install_target = /usr/dt/bin/dttypes - mode = 0555 + install_target = /usr/dt/appconfig/types/C/Internet.dt } + # -programs/dsdm/dsdm +programs/localized/C/types/nxclient.dt { default - install_target = /usr/dt/bin/dsdm - mode = 0555 + install_target = /usr/dt/appconfig/types/C/nxclient.dt } + # -programs/dtimsstart/dtimsstart +programs/localized/C/types/skype.dt { default - install_target = /usr/dt/bin/dtimsstart - mode = 0555 + install_target = /usr/dt/appconfig/types/C/skype.dt } + # -programs/dtpdm/dtpdm +programs/localized/C/types/thunderbird.dt { default - install_target = /usr/dt/bin/dtpdm - mode = 0555 + install_target = /usr/dt/appconfig/types/C/thunderbird.dt } + # -programs/dtpdmd/dtpdmd +programs/localized/C/types/amarok.dt { default - install_target = /usr/dt/bin/dtpdmd - mode = 0555 + install_target = /usr/dt/appconfig/types/C/amarok.dt } + # -# CDE Calendar from SUN ... Brent Ayers +programs/localized/C/types/brasero.dt +{ default + install_target = /usr/dt/appconfig/types/C/brasero.dt +} + # +programs/localized/C/types/k3b.dt +{ default + install_target = /usr/dt/appconfig/types/C/k3b.dt +} -# executable files +# +programs/localized/C/types/k9copy.dt +{ default + install_target = /usr/dt/appconfig/types/C/k9copy.dt +} -programs/dtcm/server/rpc.cmsd +# +programs/localized/C/types/Media_Tools.dt { default - install_target = /usr/dt/bin/rpc.cmsd - mode = 0555 + install_target = /usr/dt/appconfig/types/C/Media_Tools.dt } -programs/dtcm/dtcm/dtcm +# +programs/localized/C/types/pavucontrol.dt { default - install_target = /usr/dt/bin/dtcm - mode = 0555 + install_target = /usr/dt/appconfig/types/C/pavucontrol.dt } -programs/dtcm/dtcm/dtcm_editor +# +programs/localized/C/types/rhythmbox.dt { default - install_target = /usr/dt/bin/dtcm_editor - mode = 0555 + install_target = /usr/dt/appconfig/types/C/rhythmbox.dt } -programs/dtcm/dtcm/dtcm_delete +# +programs/localized/C/types/rosegarden.dt { default - install_target = /usr/dt/bin/dtcm_delete - mode = 0555 + install_target = /usr/dt/appconfig/types/C/rosegarden.dt } -programs/dtcm/dtcm/dtcm_insert +# +programs/localized/C/types/sound-juicer.dt { default - install_target = /usr/dt/bin/dtcm_insert - mode = 0555 + install_target = /usr/dt/appconfig/types/C/sound-juicer.dt } -programs/dtcm/dtcm/dtcm_lookup +# +programs/localized/C/types/vlc.dt { default - install_target = /usr/dt/bin/dtcm_lookup - mode = 0555 + install_target = /usr/dt/appconfig/types/C/vlc.dt } -programs/localized/C/types/dtcm.dt +# +programs/localized/C/types/xine.dt { default - install_target = /usr/dt/appconfig/types/C/dtcm.dt + install_target = /usr/dt/appconfig/types/C/xine.dt } -programs/localized/C/app-defaults/Dtcm +# +programs/localized/C/types/libreoffice-base.dt { default - install_target = /usr/dt/app-defaults/C/Dtcm + install_target = /usr/dt/appconfig/types/C/libreoffice-base.dt } -programs/dtdspmsg/dtdspmsg +# +programs/localized/C/types/libreoffice-calc.dt { default - install_target = /usr/dt/bin/dtdspmsg - mode = 0555 + install_target = /usr/dt/appconfig/types/C/libreoffice-calc.dt } + # -# CDE mailer from SUN ... Neil Katin +programs/localized/C/types/libreoffice-draw.dt +{ default + install_target = /usr/dt/appconfig/types/C/libreoffice-draw.dt +} + # +programs/localized/C/types/libreoffice-impress.dt +{ default + install_target = /usr/dt/appconfig/types/C/libreoffice-impress.dt +} + # -# -------------------------- -# --- Dtmail files --- -# -------------------------- +programs/localized/C/types/libreoffice-main.dt +{ default + install_target = /usr/dt/appconfig/types/C/libreoffice-main.dt +} + # +programs/localized/C/types/libreoffice-math.dt +{ default + install_target = /usr/dt/appconfig/types/C/libreoffice-math.dt +} -# executable files -programs/dtmail/dtmail/dtmail +# +programs/localized/C/types/libreoffice-writer.dt { default - install_target = /usr/dt/bin/dtmail - mode = 02555 - group = mail + install_target = /usr/dt/appconfig/types/C/libreoffice-writer.dt } -programs/dtmail/dtmailpr/dtmailpr +# +programs/localized/C/types/nedit.dt { default - install_target = /usr/dt/bin/dtmailpr - mode = 02555 - group = mail + install_target = /usr/dt/appconfig/types/C/nedit.dt } -# data typing -programs/localized/C/types/dtmail.dt +# +programs/localized/C/types/Office.dt { default - install_target = /usr/dt/appconfig/types/C/dtmail.dt + install_target = /usr/dt/appconfig/types/C/Office.dt } -# App-defaults -programs/localized/C/app-defaults/Dtmail +# +programs/localized/C/types/xournal.dt { default - install_target = /usr/dt/app-defaults/C/Dtmail + install_target = /usr/dt/appconfig/types/C/xournal.dt } -#>>----------------------------- -# the Front Panel configuration file -# ------------------------------ # -programs/localized/C/types/dtwm.fp +programs/localized/C/types/caja.dt { default - install_target = /usr/dt/appconfig/types/C/dtwm.fp + install_target = /usr/dt/appconfig/types/C/caja.dt } -#>>----------------------------- -# Action and filetype databases -# ------------------------------ # -programs/localized/C/types/autoStart.dt +programs/localized/C/types/engrampa.dt { default - install_target = /usr/dt/appconfig/types/C/autoStart.dt + install_target = /usr/dt/appconfig/types/C/engrampa.dt } -programs/localized/C/types/uxstd.dt + +# +programs/localized/C/types/file-roller.dt { default - install_target = /usr/dt/appconfig/types/C/uxstd.dt + install_target = /usr/dt/appconfig/types/C/file-roller.dt } + # -programs/localized/C/types/dt.dt +programs/localized/C/types/firestarter.dt { default - install_target = /usr/dt/appconfig/types/C/dt.dt + install_target = /usr/dt/appconfig/types/C/firestarter.dt } + # -programs/localized/C/types/develop.dt +programs/localized/C/types/pgadmin.dt { default - install_target = /usr/dt/appconfig/types/C/develop.dt + install_target = /usr/dt/appconfig/types/C/pgadmin.dt } + # -programs/localized/C/types/datatypes.dt +programs/localized/C/types/synaptic.dt { default - install_target = /usr/dt/appconfig/types/C/datatypes.dt + install_target = /usr/dt/appconfig/types/C/synaptic.dt } + # -programs/localized/C/types/dtappman.dt +programs/localized/C/types/System.dt { default - install_target = /usr/dt/appconfig/types/C/dtappman.dt + install_target = /usr/dt/appconfig/types/C/System.dt } + # -programs/localized/C/types/dtfile.dt +programs/localized/C/types/virtualbox.dt { default - install_target = /usr/dt/appconfig/types/C/dtfile.dt + install_target = /usr/dt/appconfig/types/C/virtualbox.dt } + # -programs/localized/C/types/dtpad.dt +programs/localized/C/types/wicd.dt { default - install_target = /usr/dt/appconfig/types/C/dtpad.dt + install_target = /usr/dt/appconfig/types/C/wicd.dt } + # -programs/localized/C/types/xclients.dt +programs/localized/C/types/acroread.dt { default - install_target = /usr/dt/appconfig/types/C/xclients.dt + install_target = /usr/dt/appconfig/types/C/acroread.dt } + # -programs/localized/C/types/print.dt +programs/localized/C/types/emacs.dt { default - install_target = /usr/dt/appconfig/types/C/print.dt + install_target = /usr/dt/appconfig/types/C/emacs.dt } + # -programs/localized/C/types/user-prefs.dt +programs/localized/C/types/gv.dt { default - install_target = /usr/dt/appconfig/types/C/user-prefs.dt + install_target = /usr/dt/appconfig/types/C/gv.dt } + # -programs/localized/C/types/dthelp.dt +programs/localized/C/types/kile.dt { default - install_target = /usr/dt/appconfig/types/C/dthelp.dt + install_target = /usr/dt/appconfig/types/C/kile.dt } + # -#programs/localized/C/types/hp.dt -#{ hpux -# install_target = /usr/dt/appconfig/types/C/hp.dt -#} +programs/localized/C/types/mgv.dt +{ default + install_target = /usr/dt/appconfig/types/C/mgv.dt +} + # -#programs/localized/C/types/ibm.dt -#{ aix -# install_target = /usr/dt/appconfig/types/C/ibm.dt -#} +programs/localized/C/types/TeX.dt +{ default + install_target = /usr/dt/appconfig/types/C/TeX.dt +} + # -programs/localized/C/types/dtscreen.dt +programs/localized/C/types/xdvi.dt { default - install_target = /usr/dt/appconfig/types/C/dtscreen.dt + install_target = /usr/dt/appconfig/types/C/xdvi.dt } + # -programs/localized/C/types/dtims.dt +programs/localized/C/types/xournal.dt { default - install_target = /usr/dt/appconfig/types/C/dtims.dt + install_target = /usr/dt/appconfig/types/C/xournal.dt } -# -programs/localized/C/types/dtbuilder.dt + +# +programs/localized/C/types/xpdf.dt { default - install_target = /usr/dt/appconfig/types/C/dtbuilder.dt + install_target = /usr/dt/appconfig/types/C/xpdf.dt } + + + + # programs/localized/C/types/IconBrowse.dt { default @@ -1497,6 +2328,7 @@ programs/localized/C/types/miscImages.dt { default install_target = /usr/dt/share/examples/types/C/miscImages.dt } + # programs/types/error.ds { default diff --git a/cde/programs/localized/C/types/Education.dt b/cde/programs/localized/C/types/Education.dt new file mode 100644 index 00000000..1da772b2 --- /dev/null +++ b/cde/programs/localized/C/types/Education.dt @@ -0,0 +1,29 @@ +DATA_ATTRIBUTES EducationAppgroup +{ + ACTIONS OpenInPlace,OpenNewView + LABEL Education + ICON DtEducation + DESCRIPTION Education Applications. +} + +DATA_CRITERIA EducationAppgroupCriteria1 +{ + DATA_ATTRIBUTES_NAME EducationAppgroup + LABEL Education + MODE d + PATH_PATTERN */appmanager/*/Education +} + +ACTION Open +{ + ARG_TYPE EducationAppgroup + TYPE MAP + MAP_ACTION OpenAppGroup +} + +ACTION Print +{ + ARG_TYPE EducationAppgroup + TYPE MAP + MAP_ACTION PrintAppGroup +} diff --git a/cde/programs/localized/C/types/Games.dt b/cde/programs/localized/C/types/Games.dt new file mode 100644 index 00000000..5312bea3 --- /dev/null +++ b/cde/programs/localized/C/types/Games.dt @@ -0,0 +1,29 @@ +DATA_ATTRIBUTES GamesAppgroup +{ + ACTIONS OpenInPlace,OpenNewView + LABEL Games + ICON DtGamesCards + DESCRIPTION Collection of Games. +} + +DATA_CRITERIA GamesAppgroupCriteria1 +{ + DATA_ATTRIBUTES_NAME GamesAppgroup + LABEL Games + MODE d + PATH_PATTERN */appmanager/*/Games +} + +ACTION Open +{ + ARG_TYPE GamesAppgroup + TYPE MAP + MAP_ACTION OpenAppGroup +} + +ACTION Print +{ + ARG_TYPE GamesAppgroup + TYPE MAP + MAP_ACTION PrintAppGroup +} diff --git a/cde/programs/localized/C/types/Graphics.dt b/cde/programs/localized/C/types/Graphics.dt new file mode 100644 index 00000000..65da1798 --- /dev/null +++ b/cde/programs/localized/C/types/Graphics.dt @@ -0,0 +1,29 @@ +DATA_ATTRIBUTES GraphicsAppgroup +{ + ACTIONS OpenInPlace,OpenNewView + LABEL Graphics + ICON DtGraphics + DESCRIPTION Applications for Graphics. +} + +DATA_CRITERIA GraphicsAppgroupCriteria1 +{ + DATA_ATTRIBUTES_NAME GraphicsAppgroup + LABEL Graphics + MODE d + PATH_PATTERN */appmanager/*/Graphics +} + +ACTION Open +{ + ARG_TYPE GraphicsAppgroup + TYPE MAP + MAP_ACTION OpenAppGroup +} + +ACTION Print +{ + ARG_TYPE GraphicsAppgroup + TYPE MAP + MAP_ACTION PrintAppGroup +} diff --git a/cde/programs/localized/C/types/IconBrowse.dt b/cde/programs/localized/C/types/IconBrowse.dt new file mode 100644 index 00000000..c40f2a00 --- /dev/null +++ b/cde/programs/localized/C/types/IconBrowse.dt @@ -0,0 +1,137 @@ +# ########################################################################## +# +# IconBrowse.dt +# +# DataType definitions for instance-based icons. +# +# (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company +# (c) Copyright 1993, 1994, 1995 International Business Machines Corp. +# (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc. +# (c) Copyright 1993, 1994, 1995 Novell, Inc. +# +# $XConsortium: IconBrowse.dt.src /main/4 1996/04/23 20:23:49 drk $ +# +# ########################################################################## + +set DtDbVersion=1.0 + +# ########################################################################## +# +# WARNING: This file may be overwritten in subsequent installations of +# the Common Desktop Environment (CDE). Consequently, any system wide +# changes should be made to an equivalent database file in +# /etc/dt/types and not in this file. +# +# ########################################################################## + +# ########################################################################## +# +# The two data types in this file (BM and PM) enable "instance-based" icons +# for bitmap and pixmap files. That means that each icon file (.bm and .pm +# extensions) refer to themselves as their own icons. This is useful for +# browsing a folder of icons, because you don't have to open each file to +# see what it looks like -- the icon displays itself. +# +# To enable instance-based icons, copy this file into the .dt/types/ +# subfolder in your home folder, then reload the action and data type +# database. (You can reload the action and data type database by logging out +# and back in, or by executing the ReloadApps action in the DtTools +# folder of the Application Manager) +# +# NOTE: Because of the additional work required to read and display custom +# icons, File Manager may run slower with these data types enabled. +# +# To return to the default icons for these data types, remove this file from +# your personal .dt/types/ subfolder, then reload the action and data type +# database. +# +# ########################################################################## + +# ################################################################## +# +# Data Attributes +# +# ################################################################## +DATA_ATTRIBUTES BM +{ + ACTIONS Open,Print + ICON Dtbitmp + NAME_TEMPLATE %s.bm + MIME_TYPE text/plain + SUNV3_TYPE xbm-file + INSTANCE_ICON %dir%/%name% + DESCRIPTION This is a file containing data in the X11 bitmap \ + format. Its data type is named BM. BM files have \ + names ending with '.bm' or '.xbm'. + TYPE_LABEL BM +} +DATA_CRITERIA BM1 +{ + DATA_ATTRIBUTES_NAME BM + MODE f + NAME_PATTERN *.bm +} +DATA_CRITERIA BM2 +{ + DATA_ATTRIBUTES_NAME BM + MODE f + NAME_PATTERN *.xbm +} +ACTION Open +{ + LABEL Open + ARG_TYPE BM + TYPE MAP + MAP_ACTION Dticon +} +ACTION Print +{ + LABEL Print + ARG_TYPE BM + TYPE MAP + MAP_ACTION NoPrint +} + +# ################################################################## + +DATA_ATTRIBUTES PM +{ + ACTIONS Open,Print + ICON Dtpixmp + NAME_TEMPLATE %s.pm + MIME_TYPE text/plain + SUNV3_TYPE xpm-file + INSTANCE_ICON %dir%/%name% + DESCRIPTION This is a pixmap file containing a multicolor image. \ + Its data type is named PM. PM files have names \ + ending with '.pm' or '.xpm', or have the characters \ + "! XPM2" in their contents. + TYPE_LABEL PM +} +DATA_CRITERIA PM1 +{ + DATA_ATTRIBUTES_NAME PM + MODE f + NAME_PATTERN *.pm +} +DATA_CRITERIA PM2 +{ + DATA_ATTRIBUTES_NAME PM + MODE f + NAME_PATTERN *.xpm +} +ACTION Open +{ + LABEL Open + ARG_TYPE PM + TYPE MAP + MAP_ACTION Dticon +} +ACTION Print +{ + LABEL Print + ARG_TYPE PM + TYPE MAP + MAP_ACTION NoPrint +} +# ######################## EOF ############################################ diff --git a/cde/programs/localized/C/types/Internet.dt b/cde/programs/localized/C/types/Internet.dt new file mode 100644 index 00000000..3ba68943 --- /dev/null +++ b/cde/programs/localized/C/types/Internet.dt @@ -0,0 +1,29 @@ +DATA_ATTRIBUTES InternetAppgroup +{ + ACTIONS OpenInPlace,OpenNewView + LABEL Internet + ICON SDtwebbr + DESCRIPTION Applications for Internet: Browsers, Mailers etc. +} + +DATA_CRITERIA InternetAppgroupCriteria1 +{ + DATA_ATTRIBUTES_NAME InternetAppgroup + LABEL Internet + MODE d + PATH_PATTERN */appmanager/*/Internet +} + +ACTION Open +{ + ARG_TYPE InternetAppgroup + TYPE MAP + MAP_ACTION OpenAppGroup +} + +ACTION Print +{ + ARG_TYPE InternetAppgroup + TYPE MAP + MAP_ACTION PrintAppGroup +} diff --git a/cde/programs/localized/C/types/Media_Tools.dt b/cde/programs/localized/C/types/Media_Tools.dt new file mode 100644 index 00000000..287bf937 --- /dev/null +++ b/cde/programs/localized/C/types/Media_Tools.dt @@ -0,0 +1,29 @@ +DATA_ATTRIBUTES Media_ToolsAppgroup +{ + ACTIONS OpenInPlace,OpenNewView + LABEL Sound_and_Video + ICON Dtapplications-multimedia + DESCRIPTION Test DOC +} + +DATA_CRITERIA Media_ToolsAppgroupCriteria1 +{ + DATA_ATTRIBUTES_NAME Media_ToolsAppgroup + LABEL Sound_and_Video + MODE d + PATH_PATTERN */appmanager/*/Media_Tools +} + +ACTION Open +{ + ARG_TYPE Media_ToolsAppgroup + TYPE MAP + MAP_ACTION OpenAppGroup +} + +ACTION Print +{ + ARG_TYPE Media_ToolsAppgroup + TYPE MAP + MAP_ACTION PrintAppGroup +} diff --git a/cde/programs/localized/C/types/Office.dt b/cde/programs/localized/C/types/Office.dt new file mode 100644 index 00000000..b93b99c9 --- /dev/null +++ b/cde/programs/localized/C/types/Office.dt @@ -0,0 +1,29 @@ +DATA_ATTRIBUTES OfficeAppgroup +{ + ACTIONS OpenInPlace,OpenNewView + LABEL Office + ICON DtOffice + DESCRIPTION Office Tools. +} + +DATA_CRITERIA OfficeAppgroupCriteria1 +{ + DATA_ATTRIBUTES_NAME OfficeAppgroup + LABEL Office + MODE d + PATH_PATTERN */appmanager/*/Office +} + +ACTION Open +{ + ARG_TYPE OfficeAppgroup + TYPE MAP + MAP_ACTION OpenAppGroup +} + +ACTION Print +{ + ARG_TYPE OfficeAppgroup + TYPE MAP + MAP_ACTION PrintAppGroup +} diff --git a/cde/programs/localized/C/types/System.dt b/cde/programs/localized/C/types/System.dt new file mode 100644 index 00000000..5fa7a86a --- /dev/null +++ b/cde/programs/localized/C/types/System.dt @@ -0,0 +1,29 @@ +DATA_ATTRIBUTES SystemAppgroup +{ + ACTIONS OpenInPlace,OpenNewView + LABEL System + ICON DtSystem + DESCRIPTION System Tools. +} + +DATA_CRITERIA SystemAppgroupCriteria1 +{ + DATA_ATTRIBUTES_NAME SystemAppgroup + LABEL System + MODE d + PATH_PATTERN */appmanager/*/System +} + +ACTION Open +{ + ARG_TYPE SystemAppgroup + TYPE MAP + MAP_ACTION OpenAppGroup +} + +ACTION Print +{ + ARG_TYPE SystemAppgroup + TYPE MAP + MAP_ACTION PrintAppGroup +} diff --git a/cde/programs/localized/C/types/TeX.dt b/cde/programs/localized/C/types/TeX.dt new file mode 100644 index 00000000..389f92c9 --- /dev/null +++ b/cde/programs/localized/C/types/TeX.dt @@ -0,0 +1,29 @@ +DATA_ATTRIBUTES TeXAppgroup +{ + ACTIONS OpenInPlace,OpenNewView + LABEL TeX + ICON TeXGroup + DESCRIPTION TeX Applications. +} + +DATA_CRITERIA TeXAppgroupCriteria1 +{ + DATA_ATTRIBUTES_NAME TeXAppgroup + LABEL TeX + MODE d + PATH_PATTERN */appmanager/*/TeX +} + +ACTION Open +{ + ARG_TYPE TeXAppgroup + TYPE MAP + MAP_ACTION OpenAppGroup +} + +ACTION Print +{ + ARG_TYPE TeXAppgroup + TYPE MAP + MAP_ACTION PrintAppGroup +} diff --git a/cde/programs/localized/C/types/acroread.dt b/cde/programs/localized/C/types/acroread.dt new file mode 100644 index 00000000..284143d7 --- /dev/null +++ b/cde/programs/localized/C/types/acroread.dt @@ -0,0 +1,35 @@ +###################################################################### +# +# Common Desktop Environment (CDE) +# +# Action and DataType Definition File +# +# Generated by the CreateAction tool +# +# $Revision: 1.0 +# +# $KEY: 4747 +# +###################################################################### +# +# WARNING: +# +# This file was generated by the CDE CreateAction tool. +# If this file is modified by some other tool, such as vi, +# the CreateAction tool will no longer be able to load and +# update this file. For this reason, changes to this file +# should be handled through CreateAction whenever possible. +# +###################################################################### + +ACTION acroread +{ + LABEL Acrobat_Reader + TYPE COMMAND + EXEC_STRING acroread "%Arg_1%" + ICON acroread + WINDOW_TYPE NO_STDIO + DESCRIPTION The standard PDF reader by Adobe. +} + + diff --git a/cde/programs/localized/C/types/amarok.dt b/cde/programs/localized/C/types/amarok.dt new file mode 100644 index 00000000..03ac416b --- /dev/null +++ b/cde/programs/localized/C/types/amarok.dt @@ -0,0 +1,35 @@ +###################################################################### +# +# Common Desktop Environment (CDE) +# +# Action and DataType Definition File +# +# Generated by the CreateAction tool +# +# $Revision: 1.0 +# +# $KEY: 4747 +# +###################################################################### +# +# WARNING: +# +# This file was generated by the CDE CreateAction tool. +# If this file is modified by some other tool, such as vi, +# the CreateAction tool will no longer be able to load and +# update this file. For this reason, changes to this file +# should be handled through CreateAction whenever possible. +# +###################################################################### + +ACTION amarok +{ + LABEL amarok + TYPE COMMAND + EXEC_STRING amarok "%Arg_1%" + ICON amarok + WINDOW_TYPE NO_STDIO + DESCRIPTION Amarok KDE Media Player. +} + + diff --git a/cde/programs/localized/C/types/autoStart.dt b/cde/programs/localized/C/types/autoStart.dt new file mode 100644 index 00000000..a97ec96a --- /dev/null +++ b/cde/programs/localized/C/types/autoStart.dt @@ -0,0 +1,53 @@ +# ########################################################################## +# +# autoStart.dt +# +# Action definitions for auto-starting the DT clients +# +# (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company +# (c) Copyright 1993, 1994, 1995 International Business Machines Corp. +# (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc. +# (c) Copyright 1993, 1994, 1995 Novell, Inc. +# +# $XConsortium: autoStart.dt.src /main/4 1996/04/23 20:23:54 drk $ +# +# ########################################################################## + +set DtDbVersion=1.0 + +# ########################################################################## +# +# WARNING: This file may be overwritten in subsequent installations of +# the Common Desktop Environment (CDE). Consequently, any system wide +# changes should be made to an equivalent database file in +# /etc/dt/types and not in this file. +# +# ########################################################################## + +ACTION InvokeFILEMGR +{ + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dtfile -noview + DESCRIPTION The InvokeFILEMGR action starts the File \ + Manager (dtfile client). +} + +ACTION InvokeDTPAD +{ + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dtpad -server + DESCRIPTION The InvokeDTPAD action starts the desktop \ + Text Editor (dtpad client). +} + +ACTION InvokeMAILER +{ + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dtmail + DESCRIPTION The InvokeMAILER action starts the desktop \ + Mailer (dtmail client). +} +# ######################## EOF ############################################ diff --git a/cde/programs/localized/C/types/brasero.dt b/cde/programs/localized/C/types/brasero.dt new file mode 100644 index 00000000..fa242981 --- /dev/null +++ b/cde/programs/localized/C/types/brasero.dt @@ -0,0 +1,78 @@ +###################################################################### +# +# Common Desktop Environment (CDE) +# +# Action and DataType Definition File +# +# Generated by the CreateAction tool +# +# $Revision: 1.0 +# +# $KEY: 4747 +# +###################################################################### +# +# WARNING: +# +# This file was generated by the CDE CreateAction tool. +# If this file is modified by some other tool, such as vi, +# the CreateAction tool will no longer be able to load and +# update this file. For this reason, changes to this file +# should be handled through CreateAction whenever possible. +# +###################################################################### + +ACTION brasero +{ + LABEL brasero + TYPE COMMAND + EXEC_STRING brasero %Arg_1% + ICON brasero + WINDOW_TYPE NO_STDIO + DESCRIPTION Brasero: Burn CDs and DVDs. +} + +#DATA_ATTRIBUTES vlc_FILE_1 +#{ +# ACTIONS Open +# ICON mp3 +# DESCRIPTION MP3 files open with VLC Media Player. +#} +# +#DATA_CRITERIA vlc_FILE_1A +#{ +# DATA_ATTRIBUTES_NAME vlc_FILE_1 +# MODE !d +# PATH_PATTERN *.mp3 +#} +# +#ACTION Open +#{ +# ARG_TYPE vlc_FILE_1 +# TYPE MAP +# MAP_ACTION vlc +# LABEL Open +#} +# +#DATA_ATTRIBUTES vlc_FILE_3 +#{ +# ACTIONS Open +# ICON mp3 +# DESCRIPTION OGG files open with VLC Media Player. +#} +# +#DATA_CRITERIA vlc_FILE_3A +#{ +# DATA_ATTRIBUTES_NAME vlc_FILE_3 +# MODE !d +# PATH_PATTERN *.ogg +#} +# +#ACTION Open +#{ +# ARG_TYPE vlc_FILE_3 +# TYPE MAP +# MAP_ACTION vlc +# LABEL Open +#} + diff --git a/cde/programs/localized/C/types/caja.dt b/cde/programs/localized/C/types/caja.dt new file mode 100644 index 00000000..bc9bc096 --- /dev/null +++ b/cde/programs/localized/C/types/caja.dt @@ -0,0 +1,33 @@ +###################################################################### +# +# Common Desktop Environment (CDE) +# +# Action and DataType Definition File +# +# Generated by the CreateAction tool +# +# $Revision: 1.0 +# +# $KEY: 4747 +# +###################################################################### +# +# WARNING: +# +# This file was generated by the CDE CreateAction tool. +# If this file is modified by some other tool, such as vi, +# the CreateAction tool will no longer be able to load and +# update this file. For this reason, changes to this file +# should be handled through CreateAction whenever possible. +# +###################################################################### + +ACTION caja +{ + LABEL caja + TYPE COMMAND + EXEC_STRING caja --no-desktop %Arg_1% + ICON caja + WINDOW_TYPE NO_STDIO + DESCRIPTION caja: MATE desktop file manager. +} diff --git a/cde/programs/localized/C/types/chromium.dt b/cde/programs/localized/C/types/chromium.dt new file mode 100644 index 00000000..01d8b5e8 --- /dev/null +++ b/cde/programs/localized/C/types/chromium.dt @@ -0,0 +1,34 @@ +###################################################################### +# +# Common Desktop Environment (CDE) +# +# Action and DataType Definition File +# +# Generated by the CreateAction tool +# +# $Revision: 1.0 +# +# $KEY: 4747 +# +###################################################################### +# +# WARNING: +# +# This file was generated by the CDE CreateAction tool. +# If this file is modified by some other tool, such as vi, +# the CreateAction tool will no longer be able to load and +# update this file. For this reason, changes to this file +# should be handled through CreateAction whenever possible. +# +###################################################################### + +ACTION chromium +{ + LABEL chromium + TYPE COMMAND + EXEC_STRING chromium-browser %Arg_1% + ICON chrome + WINDOW_TYPE NO_STDIO + DESCRIPTION CHROMIUM Web Browser. +} + diff --git a/cde/programs/localized/C/types/datatypes.dt b/cde/programs/localized/C/types/datatypes.dt new file mode 100644 index 00000000..30f5d59d --- /dev/null +++ b/cde/programs/localized/C/types/datatypes.dt @@ -0,0 +1,861 @@ +# ########################################################################## +# +# datatypes.dt +# +# Action and DataType definitions for the Common Desktop Environment +# (CDE) DT components. +# +# (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company +# (c) Copyright 1993, 1994, 1995 International Business Machines Corp. +# (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc. +# (c) Copyright 1993, 1994, 1995 Novell, Inc. +# +# $TOG: datatypes.dt.src /main/6 1997/05/28 11:43:48 mgreess $ +# +# ########################################################################## + +set DtDbVersion=1.0 + +# ########################################################################## +# +# WARNING: This file may be overwritten in subsequent installations of +# the Common Desktop Environment (CDE). Consequently, any system wide +# changes should be made to an equivalent database file in +# /etc/dt/types and not in this file. +# +# ########################################################################## + +# ################################################################## +# +# Data Attributes +# +# ################################################################## +DATA_ATTRIBUTES BM +{ + ACTIONS Open,Print + ICON Dtbitmp + NAME_TEMPLATE %s.bm + MIME_TYPE text/plain + SUNV3_TYPE xbm-file + DESCRIPTION This is a file containing data in the X11 bitmap \ + format. Its data type is named BM. BM files have \ + names ending with '.bm' or '.xbm'. + TYPE_LABEL BM +} +DATA_CRITERIA BM1 +{ + DATA_ATTRIBUTES_NAME BM + MODE f + NAME_PATTERN *.bm +} +DATA_CRITERIA BM2 +{ + DATA_ATTRIBUTES_NAME BM + MODE f + NAME_PATTERN *.xbm +} +ACTION Open +{ + LABEL Open + ARG_TYPE BM + TYPE MAP + MAP_ACTION Dticon +} +ACTION Print +{ + LABEL Print + ARG_TYPE BM + TYPE MAP + MAP_ACTION NoPrint +} + +# ####################################################### + +DATA_ATTRIBUTES PM +{ + ACTIONS Open,Print + ICON Dtpixmp + NAME_TEMPLATE %s.pm + MIME_TYPE text/plain + SUNV3_TYPE xpm-file + DESCRIPTION This is a pixmap file containing a multicolor image. \ + Its data type is named PM. PM files have names \ + ending with '.pm' or '.xpm', or have the characters \ + "! XPM2" in their contents. + TYPE_LABEL PM +} +DATA_CRITERIA PM1 +{ + DATA_ATTRIBUTES_NAME PM + MODE f + NAME_PATTERN *.pm +} +DATA_CRITERIA PM2 +{ + DATA_ATTRIBUTES_NAME PM + MODE f + NAME_PATTERN *.xpm +} +DATA_CRITERIA PM3 +{ + DATA_ATTRIBUTES_NAME PM + MODE f + CONTENT 0 string ! XPM2 +} +ACTION Open +{ + LABEL Open + ARG_TYPE PM + TYPE MAP + MAP_ACTION Dticon +} +ACTION Print +{ + LABEL Print + ARG_TYPE PM + TYPE MAP + MAP_ACTION NoPrint +} + +# ####################################################### + +DATA_ATTRIBUTES PCL +{ + ACTIONS Open,Print + ICON Dtpcl + NAME_TEMPLATE %s.pcl + MIME_TYPE application/octet-stream + DESCRIPTION This is a file containing data in the format of the \ + Printer Control Language (PCL). Its data type is \ + named PCL. PCL files have names ending with '.pcl'. + TYPE_LABEL PCL +} +DATA_CRITERIA PCL1 +{ + DATA_ATTRIBUTES_NAME PCL + CONTENT 0 byte 033 0105 + MODE f +} +DATA_CRITERIA PCL2 +{ + DATA_ATTRIBUTES_NAME PCL + NAME_PATTERN *.pcl + MODE f +} +ACTION Open +{ + LABEL Open + ARG_TYPE PCL + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dterror.ds "Cannot open - No PCL viewer available." "Information" "OK" + + + + DESCRIPTION Your system does not provide a viewer for PCL files. \ + Attempting to open this file displays an error \ + dialog box. +} +ACTION Print +{ + LABEL Print + ARG_TYPE PCL + TYPE MAP + MAP_ACTION PrintRaw +} + +# ####################################################### + +DATA_ATTRIBUTES POSTSCRIPT +{ + ACTIONS Open,Print + ICON Dtps + NAME_TEMPLATE %s.ps + MIME_TYPE application/postscript + SUNV3_TYPE postscript-file + DESCRIPTION This file contains postscript data. Its data type \ + is named PS. PS file have names ending with '.ps' \ + or '.PS', or contain the characters "%!". + TYPE_LABEL POSTSCRIPT +} +DATA_CRITERIA POSTSCRIPT1 +{ + DATA_ATTRIBUTES_NAME POSTSCRIPT + MODE f + NAME_PATTERN *.ps +} +DATA_CRITERIA POSTSCRIPT2 +{ + DATA_ATTRIBUTES_NAME POSTSCRIPT + MODE f + NAME_PATTERN *.PS +} +DATA_CRITERIA POSTSCRIPT3 +{ + DATA_ATTRIBUTES_NAME POSTSCRIPT + CONTENT 0 string %! + MODE f +} +ACTION Open +{ + LABEL Open + ARG_TYPE POSTSCRIPT + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dterror.ds "Cannot open - No Postscript viewer available." "Information" "OK" + + + + DESCRIPTION Your system does not provide a postscript viewer. \ + Attempting to open this file displays an error \ + dialog box. +} +ACTION Print +{ + LABEL Print + ARG_TYPE POSTSCRIPT + TYPE MAP + MAP_ACTION PrintRaw +} + +# ####################################################### + +DATA_ATTRIBUTES AUDIO_AU +{ + ACTIONS Open,Play + ICON Dtaudio + NAME_TEMPLATE %s.au + MIME_TYPE audio/basic + SUNV3_TYPE audio-file + DESCRIPTION This file contains audio (sound) data. Its data type \ + is named AUDIO. AUDIO file have names ending with \ + '.snd', '.wav', '.au', '.l16', '.lo8', '.al' \ + or '.u', or contain the characters ".snd". + TYPE_LABEL AUDIO +} +DATA_CRITERIA AUDIO_AU1 +{ + DATA_ATTRIBUTES_NAME AUDIO_AU + MODE f + NAME_PATTERN *.au +} +DATA_CRITERIA AUDIO_AU2 +{ + DATA_ATTRIBUTES_NAME AUDIO_AU + CONTENT 0 string \.snd + MODE f +} +ACTION Open +{ + LABEL Open + ARG_TYPE AUDIO_AU + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dterror.ds "Cannot 'open' or 'play' - No Audio player available." "Information" "OK" + + + + DESCRIPTION Your system does not provide a audio player. \ + Attempting to open this file displays an error \ + dialog box. +} +ACTION Play +{ + LABEL Play + ARG_TYPE AUDIO_AU + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dterror.ds "Cannot 'open' or 'play' - No Audio player available." "Information" "OK" + + + + DESCRIPTION Your system does not provide a audio player. \ + Attempting to play this file displays an error \ + dialog box. +} + + +DATA_ATTRIBUTES AUDIO_SND +{ + ACTIONS Open,Play + ICON Dtaudio + NAME_TEMPLATE %s.snd + MIME_TYPE audio/basic + SUNV3_TYPE audio-file + DESCRIPTION This file contains Macintosh audio (sound) data. Its data type \ + is named AUDIO_SND. AUDIO_SND files have names \ + ending with '.snd'. + TYPE_LABEL AUDIO +} +DATA_CRITERIA AUDIO_SND1 +{ + DATA_ATTRIBUTES_NAME AUDIO_SND + MODE f + NAME_PATTERN *.snd +} +ACTION Open +{ + LABEL Open + ARG_TYPE AUDIO_SND + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dterror.ds "Cannot 'open' or 'play' - No Audio player available." "Information" "OK" + + + + DESCRIPTION Your system does not provide a audio player. \ + Attempting to play this file displays an error \ + dialog box. +} +ACTION Play +{ + LABEL Play + ARG_TYPE AUDIO_SND + TYPE MAP + MAP_ACTION Open + DESCRIPTION Your system does not provide a audio player. \ + Attempting to play this file displays an error \ + dialog box. +} + +DATA_ATTRIBUTES AUDIO_WAV +{ + ACTIONS Open,Play + ICON Dtaudio + NAME_TEMPLATE %s.wav + MIME_TYPE audio/basic + SUNV3_TYPE audio-file + DESCRIPTION This file contains Microsoft Windows audio (sound) data. Its data \ + type is named AUDIO_WAV. AUDIO_WAV files have names\ + ending with '.wav'. + TYPE_LABEL AUDIO +} +DATA_CRITERIA AUDIO_WAV1 +{ + DATA_ATTRIBUTES_NAME AUDIO_WAV + MODE f + NAME_PATTERN *.wav +} +ACTION Open +{ + LABEL Open + ARG_TYPE AUDIO_WAV + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dterror.ds "Cannot 'open' or 'play' - No Audio player available." "Information" "OK" + + + + DESCRIPTION Your system does not provide a audio player. \ + Attempting to play this file displays an error \ + dialog box. +} +ACTION Play +{ + LABEL Play + ARG_TYPE AUDIO_WAV + TYPE MAP + MAP_ACTION Open + DESCRIPTION Your system does not provide a audio player. \ + Attempting to play this file displays an error \ + dialog box. +} +ACTION Print +{ + LABEL Print + ARG_TYPE AUDIO_AU,AUDIO_SND,AUDIO_WAV + TYPE MAP + MAP_ACTION NoPrint +} + +# ####################################################### + +DATA_ATTRIBUTES TIFF +{ + ACTIONS Open + ICON Dttif + NAME_TEMPLATE %s.tif + MIME_TYPE image/tiff + SUNV3_TYPE tiff-file + DESCRIPTION This file contains a graphics image in TIFF format. \ + Its data type is named TIFF. TIFF files have \ + names ending with '.TIFF', '.TIF', '.tiff', or '.tif'. + TYPE_LABEL TIFF +} +DATA_CRITERIA TIFF1 +{ + DATA_ATTRIBUTES_NAME TIFF + MODE f + NAME_PATTERN *.TIFF +} +DATA_CRITERIA TIFF2 +{ + DATA_ATTRIBUTES_NAME TIFF + MODE f + NAME_PATTERN *.TIF +} +DATA_CRITERIA TIFF3 +{ + DATA_ATTRIBUTES_NAME TIFF + MODE f + NAME_PATTERN *.tiff +} +DATA_CRITERIA TIFF4 +{ + DATA_ATTRIBUTES_NAME TIFF + MODE f + NAME_PATTERN *.tif +} +DATA_CRITERIA TIFF5 +{ + DATA_ATTRIBUTES_NAME TIFF + CONTENT 0 byte 0115 0115 + MODE f +} +DATA_CRITERIA TIFF6 +{ + DATA_ATTRIBUTES_NAME TIFF + CONTENT 0 byte 0111 0111 + MODE f +} +ACTION Open +{ + LABEL Open + ARG_TYPE TIFF + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dterror.ds "Cannot open - No TIFF file viewer available." "Information" "OK" + + + + DESCRIPTION Your system does not provide a TIFF viewer. \ + Attempting to open this file displays an error \ + dialog box. +} +ACTION Print +{ + LABEL Print + ARG_TYPE TIFF + TYPE MAP + MAP_ACTION NoPrint +} + +# ####################################################### + +DATA_ATTRIBUTES JPEG +{ + ACTIONS Open + ICON Dtjpeg + NAME_TEMPLATE %s.jpg + MIME_TYPE image/jpeg + SUNV3_TYPE jpeg-file + DESCRIPTION This file contains a graphics image in JPEG \ + Interchange File Format. Its data type is named \ + JPEG. JPEG files have names ending with '.JPEG', \ + '.jpg', '.jpeg', or '.JPG'. + TYPE_LABEL JPEG +} +DATA_CRITERIA JPEG1 +{ + DATA_ATTRIBUTES_NAME JPEG + MODE f + NAME_PATTERN *.JPEG +} +DATA_CRITERIA JPEG2 +{ + DATA_ATTRIBUTES_NAME JPEG + MODE f + NAME_PATTERN *.jpg +} +DATA_CRITERIA JPEG3 +{ + DATA_ATTRIBUTES_NAME JPEG + MODE f + NAME_PATTERN *.jpeg +} +DATA_CRITERIA JPEG4 +{ + DATA_ATTRIBUTES_NAME JPEG + MODE f + NAME_PATTERN *.JPG +} +DATA_CRITERIA JPEG5 +{ + DATA_ATTRIBUTES_NAME JPEG + CONTENT 0 byte 0377 0330 0377 + MODE f +} +DATA_CRITERIA JPEG6 +{ + DATA_ATTRIBUTES_NAME JPEG + MODE f + CONTENT 0 short 0xffd8 +} +ACTION Open +{ + LABEL Open + ARG_TYPE JPEG + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dterror.ds "Cannot open - No JPEG file viewer available." "Information" "OK" + + + + DESCRIPTION Your system does not provide a JPEG viewer. \ + Attempting to open this file displays an \ + error dialog box. +} +ACTION Print +{ + LABEL Print + ARG_TYPE JPEG + TYPE MAP + MAP_ACTION NoPrint +} + +# ####################################################### + +DATA_ATTRIBUTES MPEG +{ + ACTIONS Open + ICON Dtmpeg + NAME_TEMPLATE %s.mpg + MIME_TYPE video/mpeg + DESCRIPTION This file contains a graphics image movie in MPEG \ + Interchange File Format. Its data type is \ + named MPEG. MPEG files have names ending with \ + '.MPEG', '.mpg', '.mpeg', or '.MPG'. + TYPE_LABEL MPEG +} +DATA_CRITERIA MPEG1 +{ + DATA_ATTRIBUTES_NAME MPEG + MODE f + NAME_PATTERN *.MPEG +} +DATA_CRITERIA MPEG2 +{ + DATA_ATTRIBUTES_NAME MPEG + MODE f + NAME_PATTERN *.mpg +} +DATA_CRITERIA MPEG3 +{ + DATA_ATTRIBUTES_NAME MPEG + MODE f + NAME_PATTERN *.mpeg +} +DATA_CRITERIA MPEG4 +{ + DATA_ATTRIBUTES_NAME MPEG + MODE f + NAME_PATTERN *.MPG +} +DATA_CRITERIA MPEG5 +{ + DATA_ATTRIBUTES_NAME MPEG + MODE f + CONTENT 0 long 0x000001b3 +} +ACTION Open +{ + LABEL Open + ARG_TYPE MPEG + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dterror.ds "Cannot open - No MPEG player available." "Information" "OK" + + + + DESCRIPTION Your system does not provide a MPEG viewer. \ + Attempting to open this file displays an error \ + dialog box. +} +ACTION Print +{ + LABEL Print + ARG_TYPE MPEG + TYPE MAP + MAP_ACTION NoPrint +} + +# ####################################################### + +DATA_ATTRIBUTES GIF +{ + ACTIONS Open + ICON Dtgif + NAME_TEMPLATE %s.gif + MIME_TYPE image/gif + SUNV3_TYPE gif-file + DESCRIPTION This file contains a graphics image in GIF format. \ + Its data type is named GIF. GIF files have \ + names ending with .gif or .GIF, or contain the \ + characters "GIF87a" or "GIF89a". + TYPE_LABEL GIF +} +DATA_CRITERIA GIF1 +{ + DATA_ATTRIBUTES_NAME GIF + MODE f + NAME_PATTERN *.gif +} +DATA_CRITERIA GIF2 +{ + DATA_ATTRIBUTES_NAME GIF + MODE f + NAME_PATTERN *.GIF +} +DATA_CRITERIA GIF3 +{ + DATA_ATTRIBUTES_NAME GIF + CONTENT 0 string GIF87a + MODE f +} +DATA_CRITERIA GIF4 +{ + DATA_ATTRIBUTES_NAME GIF + CONTENT 0 string GIF89a + MODE f +} +ACTION Open +{ + LABEL Open + ARG_TYPE GIF + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dterror.ds "Cannot open - No GIF file viewer available." "Information" "OK" + + + + DESCRIPTION Your system does not provide a GIF viewer. \ + Attempting to open this file displays an error \ + dialog box. +} +ACTION Print +{ + LABEL Print + ARG_TYPE GIF + TYPE MAP + MAP_ACTION NoPrint +} + +# ####################################################### + +DATA_ATTRIBUTES README +{ + ACTIONS Open,Print + ICON DtRdMe + IS_TEXT true + NAME_TEMPLATE README + MIME_TYPE text/plain + DESCRIPTION This file is a text file containing information \ + about the files in the current folder. Its \ + data type is named README. README files have \ + names beginning with READ and ending with ME, \ + with 0 or more characters in between. Letters \ + can be uppercase or lowercase. + TYPE_LABEL README +} +DATA_CRITERIA README1 +{ + DATA_ATTRIBUTES_NAME README + MODE f + NAME_PATTERN README +} +DATA_CRITERIA README2 +{ + DATA_ATTRIBUTES_NAME README + MODE f + NAME_PATTERN README.* +} +DATA_CRITERIA README3 +{ + DATA_ATTRIBUTES_NAME README + MODE f + NAME_PATTERN Read.*.Me +} +DATA_CRITERIA README4 +{ + DATA_ATTRIBUTES_NAME README + MODE f + NAME_PATTERN read.*.me +} +DATA_CRITERIA README5 +{ + DATA_ATTRIBUTES_NAME README + MODE f + NAME_PATTERN READ.*.ME +} +DATA_CRITERIA README6 +{ + DATA_ATTRIBUTES_NAME README + MODE f + NAME_PATTERN readme +} + +# ####################################################### + +DATA_ATTRIBUTES HTML +{ + ACTIONS Open,Print + ICON Dtdata + IS_TEXT true + NAME_TEMPLATE %s.html + MIME_TYPE text/html + DESCRIPTION This file is a text file containing Hyper-Text \ + Markup Language from the World Wide Web. Its data \ + type is named HTML. HTML files have names ending \ + with '.html' , or contain the characters "" \ + or "". +} +DATA_CRITERIA HTML1 +{ + DATA_ATTRIBUTES_NAME HTML + MODE f + NAME_PATTERN *.html +} +DATA_CRITERIA HTML2 +{ + DATA_ATTRIBUTES_NAME HTML + MODE f + CONTENT 0 string +} +DATA_CRITERIA HTML3 +{ + DATA_ATTRIBUTES_NAME HTML + MODE f + CONTENT 0 string +} + +ACTION Print +{ + LABEL Print + ARG_TYPE HTML + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dtlp "%Arg_1%" +} + +# ####################################################### + +DATA_ATTRIBUTES ENRICHED_TEXT +{ + ACTIONS Open,Print + ICON Dtdata + IS_TEXT true + NAME_TEMPLATE %s.rt + MIME_TYPE text/enriched + DESCRIPTION "Audio" + TYPE_LABEL ENRICHED_TEXT +} +DATA_CRITERIA ENRICHED_TEXT1 +{ + DATA_ATTRIBUTES_NAME ENRICHED_TEXT + MODE f + NAME_PATTERN *.ert +} +ACTION Print +{ + LABEL Print + ARG_TYPE ENRICHED_TEXT + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dtlp "%Arg_1%" +} + +# ####################################################### + +DATA_ATTRIBUTES RICHTEXT +{ + ACTIONS Open,Print + ICON Dtdata + IS_TEXT true + NAME_TEMPLATE %s.rt + MIME_TYPE text/richtext + DESCRIPTION This file is a text file containing multiple \ + font definitions as well as plain text. Its data \ + type is named RICHTEXT. RICHTEXT files have names \ + ending with '.rt'. + TYPE_LABEL RICHTEXT +} +DATA_CRITERIA RICHTEXT1 +{ + DATA_ATTRIBUTES_NAME RICHTEXT + MODE f + NAME_PATTERN *.rt +} +ACTION Print +{ + LABEL Print + ARG_TYPE RICHTEXT + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dtlp "%Arg_1%" +} + +# ####################################################### + +DATA_ATTRIBUTES UIL +{ + ACTIONS Open,Print + ICON Dtuil + NAME_TEMPLATE %s.uil + MIME_TYPE text/plain + DESCRIPTION This is a text file containing source code \ + that can be used by a UIL interpreter to build \ + a Motif user interface. UIL files have names \ + in '.uil' or '.UIL'. + TYPE_LABEL UIL +} +DATA_CRITERIA UIL1 +{ + DATA_ATTRIBUTES_NAME UIL + MODE !d + NAME_PATTERN *.uil +} +DATA_CRITERIA UIL2 +{ + DATA_ATTRIBUTES_NAME UIL + MODE !d + NAME_PATTERN *.UIL +} + + +# ####################################################### + +DATA_ATTRIBUTES MSDOS_EXE +{ + ACTIONS (None) + ICON Dtexec + IS_EXECUTABLE true + NAME_TEMPLATE %s.exe + MIME_TYPE application/octet-stream + SUNV3_TYPE msdos-file + DESCRIPTION This is an an executable file that runs on \ + MSDOS compatible personal computers. Its data \ + type is named MSDOS_EXE. MSDOS_EXE files have \ + names ending with '.exe' or '.EXE'. + TYPE_LABEL MSDOS_EXE +} +DATA_CRITERIA MSDOS_EXE1 +{ + DATA_ATTRIBUTES_NAME MSDOS_EXE + MODE f&x + NAME_PATTERN *.exe +} +DATA_CRITERIA MSDOS_EXE2 +{ + DATA_ATTRIBUTES_NAME MSDOS_EXE + MODE f&x + NAME_PATTERN *.EXE +} +ACTION Print +{ + LABEL Print + ARG_TYPE MSDOS_EXE + TYPE MAP + MAP_ACTION NoPrint +} + +# ######################## EOF ############################################ diff --git a/cde/programs/localized/C/types/develop.dt b/cde/programs/localized/C/types/develop.dt new file mode 100644 index 00000000..74b917cb --- /dev/null +++ b/cde/programs/localized/C/types/develop.dt @@ -0,0 +1,429 @@ +# ########################################################################## +# +# develop.dt +# +# Action and DataType definitions for the Common Desktop Environment +# (CDE) components. This file contains common datatypes for developers. +# +# (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company +# (c) Copyright 1993, 1994, 1995 International Business Machines Corp. +# (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc. +# (c) Copyright 1993, 1994, 1995 Novell, Inc. +# +# $XConsortium: develop.dt.src /main/5 1996/04/23 17:35:01 drk $ +# +# ########################################################################## + +set DtDbVersion=1.0 + +# ########################################################################## +# +# WARNING: This file may be overwritten in subsequent installations of +# the Common Desktop Environment (CDE). Consequently, any system wide +# changes should be made to an equivalent database file in +# /etc/dt/types and not in this file. +# +# ########################################################################## + +# ################################################################## +# +# Data Attributes +# +# ################################################################## +DATA_ATTRIBUTES CORE +{ + ACTIONS (None) + ICON Dtcore + MIME_TYPE application/octet-stream + SUNV3_TYPE corefile + DESCRIPTION This file contains a core image of a process \ + that terminated abnormally. Its data type is \ + named CORE. + TYPE_LABEL CORE +} +DATA_CRITERIA CORE1 +{ + DATA_ATTRIBUTES_NAME CORE + MODE f + NAME_PATTERN core +} +DATA_CRITERIA CORE2 +{ + DATA_ATTRIBUTES_NAME CORE + MODE f + NAME_PATTERN core* +} +ACTION Print +{ + LABEL Print + ARG_TYPE CORE + TYPE MAP + MAP_ACTION NoPrint +} + +# ########################################################### + +DATA_ATTRIBUTES OBJECT +{ + ACTIONS Open,Print + ICON Dtbin + NAME_TEMPLATE %s.o + MIME_TYPE application/octet-stream + SUNV3_TYPE o-file + DESCRIPTION This file contains binary data that a compiler \ + has produced from a source file. Its data type \ + is named OBJECT. OBJECT files have names ending \ + with '.o'. + TYPE_LABEL OBJECT +} +DATA_CRITERIA OBJECT1 +{ + DATA_ATTRIBUTES_NAME OBJECT + MODE f + NAME_PATTERN *.o +} +ACTION Open +{ + LABEL Open + ARG_TYPE OBJECT + TYPE MAP + MAP_ACTION Nm +} +ACTION Print +{ + LABEL Print + ARG_TYPE OBJECT + TYPE MAP + MAP_ACTION PrintNm +} + +# ########################################################### + +DATA_ATTRIBUTES ASSEMBLER +{ + ACTIONS Open,Print + ICON Dtbin + IS_TEXT true + NAME_TEMPLATE %s.s + MIME_TYPE text/plain + SUNV3_TYPE text + DESCRIPTION This file contains assembler code for a given \ + architecture. Its data type is named ASSEMBLER. \ + ASSEMBLER files have names ending with '.s'. + TYPE_LABEL ASSEMBLER +} +DATA_CRITERIA ASSEMBLER1 +{ + DATA_ATTRIBUTES_NAME ASSEMBLER + MODE f + NAME_PATTERN *.s +} + +# ########################################################### + +DATA_ATTRIBUTES ARCH_LIB +{ + ACTIONS Open,Print + ICON Dtbinml + MIME_TYPE application/octet-stream + DESCRIPTION This file contains an archived libarary of \ + object files. Its data type is named ARCH_LIB. \ + ARCH_LIB files have names ending with '.a'. + TYPE_LABEL ARCH_LIB +} +DATA_CRITERIA ARCH_LIB1 +{ + DATA_ATTRIBUTES_NAME ARCH_LIB + MODE f + NAME_PATTERN *.a +} +ACTION Open +{ + LABEL Open + ARG_TYPE ARCH_LIB + TYPE MAP + MAP_ACTION Nm +} +ACTION Print +{ + LABEL Print + ARG_TYPE ARCH_LIB + TYPE MAP + MAP_ACTION PrintNm +} + +# ########################################################### + +DATA_ATTRIBUTES SHARED_LIB +{ + ACTIONS Open,Print + ICON Dtbinml + MIME_TYPE application/octet-stream + DESCRIPTION This files contains a shared library of an \ + object file. Its data type is named SHARED_LIB. \ + SHARD_LIB files have names ending with '.sl' or '.so'. + TYPE_LABEL SHARED_LIB +} +DATA_CRITERIA SHARED_LIB1 +{ + DATA_ATTRIBUTES_NAME SHARED_LIB + MODE f + NAME_PATTERN *.sl +} +DATA_CRITERIA SHARED_LIB2 +{ + DATA_ATTRIBUTES_NAME SHARED_LIB + MODE f + NAME_PATTERN *.so +} +DATA_CRITERIA SHARED_LIB3 +{ + DATA_ATTRIBUTES_NAME SHARED_LIB + MODE f + NAME_PATTERN *.so* +} +ACTION Open +{ + LABEL Open + ARG_TYPE SHARED_LIB + TYPE MAP + MAP_ACTION Nm +} +ACTION Print +{ + LABEL Print + ARG_TYPE SHARED_LIB + TYPE MAP + MAP_ACTION PrintNm +} + +# ########################################################### + +DATA_ATTRIBUTES C_SRC +{ + ACTIONS Open,Make,Print + ICON DtdotC + IS_TEXT true + NAME_TEMPLATE %s.c + MIME_TYPE text/plain + SUNV3_TYPE c-file + DESCRIPTION This file is a source file in the C \ + programming language. Its data type is named \ + C_SRC. C_SRC files have names ending with '.c'. + TYPE_LABEL C_SRC +} +DATA_CRITERIA C_SRC1 +{ + DATA_ATTRIBUTES_NAME C_SRC + MODE f + NAME_PATTERN *.c +} +ACTION Make +{ + LABEL Make + TYPE COMMAND + ARG_TYPE C_SRC + WINDOW_TYPE PERM_TERMINAL + EXEC_STRING sh -c ' make `basename "%(File)Arg_1%" .c`.o 2>&1 | \${PAGER:-more}; echo "\\n*** Select Close or Exit from the window menu to close this window ***"' + + + DESCRIPTION The Make command for C_SRC files uses the Unix \ + 'make' command to make the associated object file. +} + +# ########################################################### + +DATA_ATTRIBUTES CPLUSPLUS_SRC +{ + ACTIONS Open,Make,Print + ICON DtC++ + IS_TEXT true + NAME_TEMPLATE %s.C + MIME_TYPE text/plain + DESCRIPTION This is a a source file in the C++ programming \ + language. Its data type is named CPLUSPLUS_SRC. \ + CPLUSPLUS_SRC files have names ending with '.C' \ + or '.cc'. + TYPE_LABEL CPLUSPLUS_SRC +} +DATA_CRITERIA C_PLUSPLUS1 +{ + DATA_ATTRIBUTES_NAME CPLUSPLUS_SRC + MODE f + NAME_PATTERN *.C +} +DATA_CRITERIA C_PLUSPLUS2 +{ + DATA_ATTRIBUTES_NAME CPLUSPLUS_SRC + MODE f + NAME_PATTERN *.cc +} +ACTION Make +{ + LABEL Make + TYPE COMMAND + ARG_TYPE CPLUSPLUS_SRC + WINDOW_TYPE PERM_TERMINAL + EXEC_STRING sh -c ' if [ -r "%(File)Arg_1%.C" ]; then make `basename "%(File)Arg_1%" .C`.o 2>&1 | \${PAGER:-more}; else make `basename "%(File)Arg_1%" .cc`.o 2>&1 | \${PAGER:-more}; echo "\\n*** Select Close or Exit from the window menu to close this window ***"' + + + + + + DESCRIPTION The Make command for CPLUSPLUS_SRC files uses \ + the Unix 'make' command to make the associated \ + object file. +} + +# ########################################################### + +DATA_ATTRIBUTES H_SRC +{ + ACTIONS Open,Print + ICON DtdotH + IS_TEXT true + NAME_TEMPLATE %s.h + MIME_TYPE text/plain + SUNV3_TYPE h-file + DESCRIPTION This is a C-language program header file. Its \ + data type is named H_SRC. H_SRC files have names \ + ending with *.h. + TYPE_LABEL H_SRC +} +DATA_CRITERIA H_SRC1 +{ + DATA_ATTRIBUTES_NAME H_SRC + MODE f + NAME_PATTERN *.h +} + +# ########################################################### + +DATA_ATTRIBUTES MAKEFILE +{ + ACTIONS Open,Make,Print + ICON DtbigM + IS_TEXT true + NAME_TEMPLATE Makefile + MIME_TYPE text/plain + SUNV3_TYPE Makefile + DESCRIPTION This is a Makefile. A Makefile describes \ + how to generate an executable file from a set of \ + source files. It is used by the make command. \ + Its data type is named MAKEFILE. MAKEFILE files \ + must be named Makefile or makefile, or have names \ + starting with Makefile or makefile, or have names \ + ending with '.mk'. + TYPE_LABEL MAKEFILE +} +DATA_CRITERIA MAKEFILE1 +{ + DATA_ATTRIBUTES_NAME MAKEFILE + MODE f + NAME_PATTERN [Mm]akefile* +} +DATA_CRITERIA MAKEFILE2 +{ + DATA_ATTRIBUTES_NAME MAKEFILE + MODE f + NAME_PATTERN *.mk +} +ACTION Make +{ + LABEL Make + TYPE COMMAND + ARG_TYPE MAKEFILE + WINDOW_TYPE PERM_TERMINAL + EXEC_STRING sh -c ' make -f "%(File)Arg_1%" %"Target to Make:"% 2>&1 | \${PAGER:-more}; echo "\\n*** Select Close or Exit from the window menu to close this window ***"' + + + DESCRIPTION The Make action for Makefiles prompts for the \ + target to make, and then uses the Unix 'make' \ + command to make it. If target is left empty \ + the command makes 'all' in the current folder. +} + + +# ########################################################### + +DATA_ATTRIBUTES IMAKEFILE +{ + ACTIONS Open,Make,Print + ICON Dtimake + IS_TEXT true + NAME_TEMPLATE Imakefile + MIME_TYPE text/plain + DESCRIPTION This is an Imakefile. An Imakefile describes \ + how to generate an executable file from a set of \ + source files. It is used by the make command. \ + Its data type is named IMAKEFILE. IMAKEFILE files \ + are named imakefile or Imakefile, or have names \ + starting with imakefile or Imakefile. + TYPE_LABEL IMAKEFILE +} +DATA_CRITERIA IMAKEFILE1 +{ + DATA_ATTRIBUTES_NAME IMAKEFILE + MODE f + NAME_PATTERN [Ii]makefile* +} +ACTION Make +{ + LABEL Make + TYPE COMMAND + ARG_TYPE IMAKEFILE + WINDOW_TYPE PERM_TERMINAL + EXEC_STRING sh -c ' make Makefile 2>&1 | \${PAGER:-more}; echo "\\n*** Select Close or Exit from the window menu to close this window ***"' + + + DESCRIPTION The Make command for Imakefile files uses the Unix \ + 'make' command to make the associated Makefile. +} + +# ########################################################################## +# ########################################################################## +# +# Actions +# +# ########################################################################## + +ACTION Nm +{ + LABEL Symbols List + TYPE COMMAND + WINDOW_TYPE PERM_TERMINAL + EXEC_STRING sh -c ' nm "%(File)Arg_1"Filename:"%" 2>&1 | \${PAGER:-more}; echo "\\n*** Select Close or Exit from the window menu to close this window ***"' + + + DESCRIPTION The Symbols List (Nm) action lists the symbol \ + table of an object file or library file. It uses \ + the 'nm' command. +} +ACTION PrintNm +{ + LABEL Print Symbol List + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /bin/sh -c ' nm "%(File)Arg_1%" | /usr/dt/bin/dtlp -u "Symbols List"' + + DESCRIPTION The Print Symbol List (PrintNm) action prints \ + the output from the 'nm' command on the default printer. +} + + +ACTION Make +{ + LABEL Make + TYPE COMMAND + ARG_COUNT 0 + WINDOW_TYPE PERM_TERMINAL + EXEC_STRING sh -c ' make -f "%(File)Arg_1"Makefile:"%" %"Target to Make:"% 2>&1 | \${PAGER:-more}; echo "\\n*** Select Close or Exit from the window menu to close this window ***"' + + + + + DESCRIPTION The Make action for no arguments prompts for \ + a Makefile and target, and then uses the Unix \ + 'make' command to make it. +} +# ######################## EOF ############################################ diff --git a/cde/programs/localized/C/types/dreamchess.dt b/cde/programs/localized/C/types/dreamchess.dt new file mode 100644 index 00000000..5790b5d7 --- /dev/null +++ b/cde/programs/localized/C/types/dreamchess.dt @@ -0,0 +1,9 @@ +ACTION dreamchess +{ + LABEL dreamchess + TYPE COMMAND + EXEC_STRING dreamchess + ICON dreamchess + WINDOW_TYPE NO_STDIO +} + diff --git a/cde/programs/localized/C/types/dt.dt b/cde/programs/localized/C/types/dt.dt new file mode 100644 index 00000000..b45ce9ab --- /dev/null +++ b/cde/programs/localized/C/types/dt.dt @@ -0,0 +1,677 @@ +# ########################################################################## +# +# dt.dt +# +# Action and DataType definitions for the Common Desktop Environment +# (CDE) DT components. +# +# (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company +# (c) Copyright 1993, 1994, 1995 International Business Machines Corp. +# (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc. +# (c) Copyright 1993, 1994, 1995 Novell, Inc. +# +# $TOG: dt.dt.src /main/13 1998/12/18 18:16:14 mgreess $ +# +# ########################################################################## + +set DtDbVersion=1.0 + +# ########################################################################## +# +# WARNING: This file may be overwritten in subsequent installations of +# the Common Desktop Environment (CDE). Consequently, any system wide +# changes should be made to an equivalent database file in +# /etc/dt/types and not in this file. +# +# ########################################################################## + +# ################################################################## +# +# Data Attributes +# +# ################################################################## +DATA_ATTRIBUTES DT +{ + ACTIONS Open,ReloadActions,Print + ICON Dtdt + IS_TEXT true + NAME_TEMPLATE %s.dt + MIME_TYPE text/plain + DESCRIPTION This is a desktop database file containing action \ + and datatype definitions. Its data type is \ + named DT. DT files have names ending with '.dt'. + TYPE_LABEL DT +} +DATA_CRITERIA DT1 +{ + DATA_ATTRIBUTES_NAME DT + MODE f + NAME_PATTERN *.dt +} +ACTION ReloadActionsNotice +{ + LABEL Reload Notification + TYPE TT_MSG + TT_CLASS TT_NOTICE + TT_SCOPE TT_SESSION + TT_OPERATION DtTypes_Reloaded + DESCRIPTION The ReloadActionsNotice action notifies applications of a rebuilt cache file database. + +} + +ACTION BuildDataBaseRequest +{ + LABEL Rebuild Request + TYPE TT_MSG + TT_CLASS TT_REQUEST + TT_SCOPE TT_SESSION + TT_OPERATION DtDtsCache + DESCRIPTION The BuildDataBaseRequest action rebuilds the cache file database of action, data type and front panel definitions. + + +} +ACTION ReloadActions +{ + LABEL Reload Actions + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING sh -c 'dtaction BuildDataBaseRequest ; dtaction ReloadActionsNotice' + + DESCRIPTION The Reload Actions action reloads the database \ + of action, data type and front panel definitions. +} + +# ###################################################### + +DATA_ATTRIBUTES FP +{ + ACTIONS Open,Print + ICON Dtfpcfg + IS_TEXT true + NAME_TEMPLATE %s.fp + MIME_TYPE text/plain + DESCRIPTION This is a desktop database file containing definitions \ + for the Front Panel configuration. Its data type \ + is named FP. FP files have names ending with '.fp'. + TYPE_LABEL FP +} +DATA_CRITERIA FP1 +{ + DATA_ATTRIBUTES_NAME FP + MODE f + NAME_PATTERN *.fp +} + +# ###################################################### + +DATA_ATTRIBUTES DTFILE_FILE +{ + PROPERTIES invisible + ACTIONS Open,Print + IS_TEXT true + MIME_TYPE text/plain + DESCRIPTION This is a hidden file used by File Manager to hold \ + certain configuration information. Its data type \ + is named DTFILE_FILE. + TYPE_LABEL DTFILE_FILE +} +DATA_CRITERIA DTFILE_FILE1 +{ + DATA_ATTRIBUTES_NAME DTFILE_FILE + MODE f + NAME_PATTERN .\!* +} + +# ###################################################### + +DATA_ATTRIBUTES DTKSH_SCRIPT +{ + ACTIONS Run,Open,Print + ICON Dtdtksh + IS_EXECUTABLE true + COPY_TO_ACTION Execute + NAME_TEMPLATE %s.ds + MIME_TYPE text/plain + DESCRIPTION This is an executable file containing a 'dtksh' \ + script. Its data type is named DTKSH_SCRIPT. + TYPE_LABEL DTKSH_SCRIPT +} +DATA_CRITERIA DTKSH_SCRIPT1 +{ + DATA_ATTRIBUTES_NAME DTKSH_SCRIPT + MODE f&x + NAME_PATTERN *.ds +} +DATA_CRITERIA DTKSH_SCRIPT2 +{ + DATA_ATTRIBUTES_NAME DTKSH_SCRIPT + MODE f&x + CONTENT 0 string #!/usr/dt/bin/dtksh +} +DATA_CRITERIA DTKSH_SCRIPT3 +{ + DATA_ATTRIBUTES_NAME DTKSH_SCRIPT + MODE f&x + CONTENT 0 string #! /usr/dt/bin/dtksh +} +ACTION Run +{ + LABEL Run + ARG_TYPE DTKSH_SCRIPT + TYPE MAP + MAP_ACTION Execute +} + +# ###################################################### + +DATA_ATTRIBUTES DTKSH_CONV +{ + ACTIONS Open,Print + ICON Dtdtksh + NAME_TEMPLATE %s.dtsh + MIME_TYPE text/plain + DESCRIPTION This file contains convenience functions that \ + can be used by 'dtksh' scripts. Its data type is \ + named DTKSH_CONV. + TYPE_LABEL DTKSH_CONV +} +DATA_CRITERIA DTKSH_CONV1 +{ + DATA_ATTRIBUTES_NAME DTKSH_CONV + MODE f + NAME_PATTERN *.dtsh +} + +# ################################################################## +# ################################################################## +# +# Actions +# +# ################################################################## +ACTION Dtstyle +{ + LABEL Style Manager + ARG_COUNT 0 + ICON Fpstyle + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dtstyle + DESCRIPTION The Style Manager (Dtstyle) action starts \ + the desktop Style Manager. +} + +# ###### + +ACTION OpenDtIntro +{ + LABEL Desktop Introduction + ARG_COUNT 0 + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dthelpview -helpVolume Intromgr + DESCRIPTION The Desktop Introduction action displays the help volume \ + containing introductory and basic skills \ + information about the desktop. +} + +# ###### + +ACTION FPHelp +{ + LABEL FPHelp + ARG_COUNT 0 + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dthelpview -helpVolume FPanel + DESCRIPTION The FPHELP action icon displays the Front \ + Panel help volume. +} + +# ###### + +ACTION LockDisplay +{ + LABEL LockDisplay + TYPE TT_MSG + TT_CLASS TT_REQUEST + TT_SCOPE TT_SESSION + TT_OPERATION Display_Lock + DESCRIPTION The LockDisplay action locks the workstation. \ + You must know the user's or root password to \ + unlock the workstation. +} + +# ###### + +ACTION ExitSession +{ + LABEL ExitSession + ARG_COUNT 0 + TYPE TT_MSG + TT_CLASS TT_REQUEST + TT_SCOPE TT_SESSION + TT_OPERATION XSession_Exit + DESCRIPTION The ExitSession action ends the user's \ + desktop session and displays the Login screen. \ + To begin another session, the user must log in. +} + +# ###### + +# ###### + +ACTION SaveSession +{ + LABEL Save Session + TYPE TT_MSG + TT_CLASS TT_REQUEST + TT_SCOPE TT_SESSION + TT_OPERATION Save_Session + + # + # The legal values for save_type are: Local, Global and Both + # + TT_ARG0_MODE TT_IN + TT_ARG0_VTYPE save_type + TT_ARG0_REP_TYPE TT_REP_STRING + TT_ARG0_VALUE Local + + # + # The legal values for shutdown are: True and False + # + TT_ARG1_MODE TT_IN + TT_ARG1_VTYPE shutdown + TT_ARG1_REP_TYPE TT_REP_STRING + TT_ARG1_VALUE False + + # + # The legal values for interact_style are: None, Errors and Any + # + TT_ARG2_MODE TT_IN + TT_ARG2_VTYPE interact_style + TT_ARG2_REP_TYPE TT_REP_STRING + TT_ARG2_VALUE None + + # + # The legal values for fast are: True and False + # + TT_ARG3_MODE TT_IN + TT_ARG3_VTYPE fast + TT_ARG3_REP_TYPE TT_REP_STRING + TT_ARG3_VALUE True + + # + # The legal values for global are: True and False + # + TT_ARG4_MODE TT_IN + TT_ARG4_VTYPE global + TT_ARG4_REP_TYPE TT_REP_STRING + TT_ARG4_VALUE True + + # + # The num_sessions_backedup field can be any positive + # number. If it is 0, the default number of sessions + # will be backedup. + # + TT_ARG5_MODE TT_IN + TT_ARG5_VTYPE num_sessions_backedup + TT_ARG5_REP_TYPE TT_REP_STRING + TT_ARG5_VALUE 0 + + DESCRIPTION The Save Session action causes the currently \ + running session to be saved. +} + +# ###### + +ACTION ReloadResources +{ + LABEL Reload Resources + ARG_COUNT 0 + TYPE TT_MSG + TT_CLASS TT_REQUEST + TT_SCOPE TT_SESSION + TT_OPERATION Resources_Reload + DESCRIPTION The Reload Resources action reloads your \ + X resources database with the desktop resources \ + files, incorporating any changes that may have \ + occurred to them since you logged in. +} + +# ###### + +ACTION ReloadApps +{ + LABEL Reload Applications + ARG_COUNT 0 + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /bin/sh -c '/usr/dt/bin/dtaction ReloadActions; /usr/dt/bin/dtappgather -r; /usr/dt/bin/dthelpgen -dir $HOME/.dt/help ' + + + DESCRIPTION The Reload Applications action reloads the \ + database of action, data type and front panel \ + definitions. +} + +# ###### + +ACTION Dtcreate +{ + LABEL Create Action + ICON Dtrunpn + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dtcreate "%Arg_1%" + DESCRIPTION The Create Action (Dtcreate) action runs the Create \ + Action application. Use Create Action to create \ + action and data type definitions for applications. +} + +# ###### + +ACTION DtwmrcEdit +{ + LABEL Edit Dtwmrc + ICON Fppenpd + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING sh -c 'if [ ! -f $HOME/.dt/dtwmrc ] ; then if [ ! -f /etc/dt/config/sys.dtwmrc ] ; then cp /usr/dt/config/$LANG/sys.dtwmrc $HOME/.dt/dtwmrc; else cp /etc/dt/config/sys.dtwmrc $HOME/.dt/dtwmrc; fi; chmod u+w $HOME/.dt/dtwmrc; fi; /usr/dt/bin/dtaction Open $HOME/.dt/dtwmrc' + DESCRIPTION The Edit Dtwmrc (DtwmrcEdit) action opens a \ + copy of $HOME/.dt/dtwmrc in your system editor \ + (the editor specified by the EDITOR environment \ + variable). If $HOME/.dt/dtwmrc doesn't exist, the \ + action creates the file by copying \ + /usr/dt/config//sys.dtwmrc. When you \ + save the file and exit the editor, you must \ + restart the Workspace Manager by choosing Restart \ + Workspace Manager from the Workspace Menu. +} + +# ###### + +ACTION RestorePanel +{ + LABEL Restore Front Panel + TYPE TT_MSG + TT_CLASS TT_REQUEST + TT_SCOPE TT_SESSION + TT_OPERATION DtPanel_Restore + DESCRIPTION The Restore Front Panel action restores the \ + front panel to its default state. +} + +# ###### + +ACTION Dtmail +{ + LABEL Mailer + ICON DtMail + TYPE TT_MSG + TT_CLASS TT_REQUEST + TT_SCOPE TT_SESSION + TT_OPERATION Display + TT_ARG0_MODE TT_IN + TT_ARG0_VTYPE RFC_822_MESSAGE + TT_ARG0_VALUE DTMAIL_INBOX + DESCRIPTION The Mailer (Dtmail) action runs the desktop \ + Mailer application. +} + +# ###### + +ACTION Dtcalc +{ + LABEL Calculator + ICON Dtcalc + ARG_COUNT 0 + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dtcalc + DESCRIPTION The Calculator (Dtcalc) action runs the desktop \ + Calculator application. +} + +# ###### + +ACTION Dtterm +{ + LABEL Terminal + ARG_COUNT 0 + ICON Dtterm + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dtterm + DESCRIPTION The Terminal (Dtterm) action runs the desktop Terminal \ + Emulator application. +} + +# +# The following action is used to start a terminal emulator +# via the desktop's messaging system. If a terminal emumaltor +# server is not running when this action is invoked, a server +# will be started. Once the server is started, subsequent +# invocations of this action will not start a new process but +# instead, a message will be sent to the server and a new +# terminal emulator window will be mapped. +# +# Note that all shells started via the server will run on the +# server's host, regardless of the host where the action is +# invoked. +ACTION DttermServer +{ + LABEL Terminal + ARG_COUNT 0 + ICON Dtterm + TYPE TT_MSG + TT_CLASS TT_REQUEST + TT_SCOPE TT_SESSION + TT_OPERATION DtTerminal_New + TT_ARG0_MODE TT_IN + TT_ARG0_VTYPE -display + TT_ARG0_REP_TYPE TT_REP_STRING + TT_ARG0_VALUE $DISPLAY + TT_ARG1_MODE TT_IN + TT_ARG1_VTYPE -display + TT_ARG1_REP_TYPE TT_REP_STRING + TT_ARG1_VALUE $DISPLAY + DESCRIPTION The Terminal (Dtterm) action runs the desktop Terminal \ + Emulator application. +} + +# ###### + +ACTION Dticon +{ + LABEL Icon Editor + ICON Dtpaint + ARG_COUNT 0 + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dticon + DESCRIPTION The Icon Editor (Dticon) action runs the desktop Icon \ + Editor. Use the Icon Editor to create and edit \ + bitmap and pixmap image files. +} +ACTION Dticon +{ + LABEL Icon Editor + ICON Dtpaint + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dticon -file "%(File)Arg_1"Icon File To Edit:"%" + + DESCRIPTION The Icon Editor (Dticon) action runs the desktop Icon \ + Editor. Use the Icon Editor to create and edit \ + bitmap and pixmap image files. +} + +# ###### + +ACTION (None) +{ + LABEL (None) + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dterror.ds "There are no actions available \\n for this type of file." "No Actions" "OK" + + + + DESCRIPTION The (None) action is a special action used to \ + report that no actions are available for a \ + particular data type. +} + +# ###### + +ACTION DttermErrorlog +{ + LABEL Watch Errors + ARG_COUNT 0 + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /bin/sh -c 'if [ ! -f $HOME/.dt/errorlog ] ; then /bin/touch $HOME/.dt/errorlog; fi; /usr/dt/bin/dtterm -map -title "Watch Errors" -e tail -f $HOME/.dt/errorlog' + + + + + + DESCRIPTION The Watch Errors action opens a terminal window \ + that continuously displays the contents of the \ + error log file $HOME/.dt/errorlog file. If the \ + window is minimized, it will automatically \ + normalize when an error is received. +} + +# ###### + +ACTION Dttypes +{ + LABEL Types and Actions + ARG_COUNT 0 + TYPE COMMAND + WINDOW_TYPE PERM_TERMINAL + EXEC_STRING sh -c ' /usr/dt/bin/dttypes | \${PAGER:-more}; echo "\\n*** Select Close or Exit from the window menu to close this window ***"' + + + DESCRIPTION The Types and Actions (Dttypes) action runs the \ + 'dttypes' utility, which provides trouble-shooting \ + information for the actions and data types database. +} +ACTION Dttypes +{ + LABEL Types and Actions + TYPE COMMAND + WINDOW_TYPE PERM_TERMINAL + EXEC_STRING sh -c '/usr/dt/bin/dttypes -type "%(File)Arg_1%"; echo "\\n*** Select Close or Exit from the window menu to close this window ***"' + + DESCRIPTION The Types and Actions (Dttypes) action runs the \ + 'dttypes' utility, which provides trouble-shooting \ + information for the actions and data types database. +} + +# ######################################################################### +# +# This is the Default 'NoPrint' action. +# +# ######################################################################### +ACTION NoPrint +{ + LABEL NoPrint + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dterror.ds "There is no print capability for this datatype." "Unable To Print" "OK" + + + + DESCRIPTION The NoPrint action brings up an Error dialog \ + indicating that the file the user is trying \ + to print is of a datatype that doesn't have a \ + 'Print' action defined for it. +} + +# ######################################################################### +# +# This is the Default 'Open' action. +# +# ######################################################################### +ACTION Open +{ + LABEL Open + TYPE MAP + MAP_ACTION TextEditor +} + +# ######################################################################### +# +# +# ######################################################################### +ACTION DtTTMediaOpen +{ + ARG_COUNT 0 + + ICON Fppenpd + TYPE TT_MSG + TT_CLASS TT_REQUEST + TT_SCOPE TT_SESSION + TT_OPERATION Instantiate + + TT_ARG0_MODE TT_IN + TT_ARG0_VTYPE C_STRING + TT_ARG0_REP_TYPE TT_REP_STRING +} + +ACTION DtTTMediaOpen +{ + ARG_CLASS BUFFER + ARG_MODE w + ARG_COUNT >0 + + ICON Fppenpd + TYPE TT_MSG + TT_CLASS TT_REQUEST + TT_SCOPE TT_SESSION + TT_OPERATION Edit + + TT_ARG0_MODE TT_INOUT + TT_ARG0_VTYPE %Arg_1% + TT_ARG0_VALUE %Arg_1% + TT_ARG0_REP_TYPE TT_REP_BUFFER +} + +ACTION DtTTMediaOpen +{ + ARG_CLASS BUFFER + ARG_MODE !w + ARG_COUNT >0 + + ICON Fppenpd + TYPE TT_MSG + TT_CLASS TT_REQUEST + TT_SCOPE TT_SESSION + TT_OPERATION Display + + TT_ARG0_MODE TT_IN + TT_ARG0_VTYPE %Arg_1% + TT_ARG0_VALUE %Arg_1% + TT_ARG0_REP_TYPE TT_REP_BUFFER +} + +ACTION DtTTMediaOpen +{ + ARG_CLASS FILE + ARG_COUNT >0 + + ICON Fppenpd + TYPE TT_MSG + TT_CLASS TT_REQUEST + TT_SCOPE TT_SESSION + TT_OPERATION Edit + TT_FILE %Arg_1% + + TT_ARG0_MODE TT_INOUT + TT_ARG0_VTYPE %Arg_1% + TT_ARG0_REP_TYPE TT_REP_STRING +} + +# ######################## EOF ############################################ diff --git a/cde/programs/localized/C/types/dtappman.dt b/cde/programs/localized/C/types/dtappman.dt new file mode 100644 index 00000000..adf6be66 --- /dev/null +++ b/cde/programs/localized/C/types/dtappman.dt @@ -0,0 +1,378 @@ +# ########################################################################## +# +# dtappman.dt +# +# DataType Definitions for the Application Manager +# +# Common Desktop Environment 1.0 +# +# (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company +# (c) Copyright 1993, 1994, 1995 International Business Machines Corp. +# (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc. +# (c) Copyright 1993, 1994, 1995 Novell, Inc. +# +# $XConsortium: dtappman.dt.src /main/4 1996/04/23 17:35:11 drk $ +# +# ########################################################################## + +set DtDbVersion=1.0 + +# ########################################################################## +# +# WARNING: This file may be overwritten in subsequent installations of +# the Common Desktop Environment (CDE). Consequently, any system wide +# changes should be made to an equivalent database file in +# /etc/dt/types and not in this file. +# +# ########################################################################## + +# ################################################################## +# +# These data type definitions apply to the objects found under the +# user's /var/dt/appconfig/appmanager/$LOGNAME subfolder. +# +# ################################################################## + +# ################################################################## +# +# Actions +# +# ################################################################## +ACTION OpenAppGroup +{ + LABEL Open + TYPE TT_MSG + TT_CLASS TT_REQUEST + TT_SCOPE TT_SESSION + TT_OPERATION DtTools_Show + TT_FILE %Arg_1% + TT_ARG0_MODE TT_IN + TT_ARG0_VTYPE -title + TT_ARG0_REP_TYPE TT_REP_STRING + TT_ARG0_VALUE Application Manager + TT_ARG1_MODE TT_IN + TT_ARG1_VTYPE -help_volume + TT_ARG1_REP_TYPE TT_REP_STRING + TT_ARG1_VALUE Appmanager + TT_ARG2_MODE TT_IN + TT_ARG2_VTYPE -root + TT_ARG2_REP_TYPE TT_REP_STRING + TT_ARG2_VALUE /var/dt/appconfig/appmanager/$DTUSERSESSION + TT_ARG3_MODE TT_IN + TT_ARG3_VTYPE -common_link_point + TT_ARG3_REP_TYPE TT_REP_STRING + TT_ARG3_VALUE $LANG +} +ACTION OpenParentAppGroup +{ + LABEL OpenParent + TYPE TT_MSG + TT_CLASS TT_REQUEST + TT_SCOPE TT_SESSION + TT_OPERATION DtTools_Show + TT_FILE %Arg_1% + TT_ARG0_MODE TT_IN + TT_ARG0_VTYPE -title + TT_ARG0_REP_TYPE TT_REP_STRING + TT_ARG0_VALUE Application Manager + TT_ARG1_MODE TT_IN + TT_ARG1_VTYPE -help_volume + TT_ARG1_REP_TYPE TT_REP_STRING + TT_ARG1_VALUE Appmanager + TT_ARG2_MODE TT_IN + TT_ARG2_VTYPE -root + TT_ARG2_REP_TYPE TT_REP_STRING + TT_ARG2_VALUE /var/dt/appconfig/appmanager/$DTUSERSESSION + TT_ARG3_MODE TT_IN + TT_ARG3_VTYPE -common_link_point + TT_ARG3_REP_TYPE TT_REP_STRING + TT_ARG3_VALUE $LANG + TT_ARG4_MODE TT_IN + TT_ARG4_VTYPE -user_install_point + TT_ARG4_REP_TYPE TT_REP_STRING + TT_ARG4_VALUE .dt/appmanager +} +ACTION PrintAppGroup +{ + LABEL Print + TYPE MAP + MAP_ACTION PrintFolderList +} + + +# ################################################################## +# +# Data Attributes +# +# ################################################################## +DATA_ATTRIBUTES OPEN_AGROUP +{ + ACTIONS OpenInPlace,OpenNewView,Print + ICON Dtagen + MEDIA FILE_NAME + MOVE_TO_ACTION FILESYSTEM_MOVE + COPY_TO_ACTION FILESYSTEM_COPY + LINK_TO_ACTION FILESYSTEM_LINK +} +DATA_ATTRIBUTES AGROUP +{ + ACTIONS OpenInPlace,OpenNewView,Print + ICON Dtagen + MEDIA FILE_NAME + MOVE_TO_ACTION FILESYSTEM_MOVE + COPY_TO_ACTION FILESYSTEM_COPY + LINK_TO_ACTION FILESYSTEM_LINK + DESCRIPTION Double-click this icon to display the top \ + level of the Application Manager. + TYPE_LABEL AGROUP +} +DATA_CRITERIA AGROUP1 +{ + DATA_ATTRIBUTES_NAME AGROUP + MODE d + PATH_PATTERN */appmanager/* +} +ACTION Open +{ + LABEL Open + ARG_TYPE AGROUP + TYPE MAP + MAP_ACTION OpenAppGroup +} +ACTION Print +{ + LABEL Print + ARG_TYPE AGROUP + TYPE MAP + MAP_ACTION PrintAppGroup +} + +# ############################################################ + +DATA_ATTRIBUTES OPEN_DTAPPS_APPGROUP +{ + ACTIONS OpenInPlace,OpenNewView,Print + ICON Dtadskt + LABEL Desktop_Apps + MEDIA FILE_NAME + MOVE_TO_ACTION FILESYSTEM_MOVE + COPY_TO_ACTION FILESYSTEM_COPY + LINK_TO_ACTION FILESYSTEM_LINK +} +DATA_ATTRIBUTES DTAPPS_APPGROUP +{ + ACTIONS OpenInPlace,OpenNewView,Print + ICON Dtadskt + LABEL Desktop_Apps + MEDIA FILE_NAME + MOVE_TO_ACTION FILESYSTEM_MOVE + COPY_TO_ACTION FILESYSTEM_COPY + LINK_TO_ACTION FILESYSTEM_LINK + DESCRIPTION Double-click this icon to open the \ + Desktop_Apps application group. + TYPE_LABEL DTAPPS_GROUP +} +DATA_CRITERIA DTAPPS_APPGROUP1 +{ + DATA_ATTRIBUTES_NAME DTAPPS_APPGROUP + MODE d + PATH_PATTERN */appmanager/*/Desktop_Apps +} +ACTION Open +{ + LABEL Open + ARG_TYPE DTAPPS_APPGROUP + TYPE MAP + MAP_ACTION OpenAppGroup +} +ACTION Print +{ + LABEL Print + ARG_TYPE DTAPPS_APPGROUP + TYPE MAP + MAP_ACTION PrintAppGroup +} + +# ############################################################ + +DATA_ATTRIBUTES OPEN_INFORMATION_APPGROUP +{ + ACTIONS OpenInPlace,OpenNewView,Print + ICON Dtainfo + LABEL Information + MEDIA FILE_NAME + MOVE_TO_ACTION FILESYSTEM_MOVE + COPY_TO_ACTION FILESYSTEM_COPY + LINK_TO_ACTION FILESYSTEM_LINK +} +DATA_ATTRIBUTES INFORMATION_APPGROUP +{ + ACTIONS OpenInPlace,OpenNewView,Print + ICON Dtainfo + LABEL Information + MEDIA FILE_NAME + MOVE_TO_ACTION FILESYSTEM_MOVE + COPY_TO_ACTION FILESYSTEM_COPY + LINK_TO_ACTION FILESYSTEM_LINK + DESCRIPTION Double-click this icon to open the Information \ + application group. + TYPE_LABEL INFORMATION_APPGROUP +} +DATA_CRITERIA INFORMATION_APPGROUP1 +{ + DATA_ATTRIBUTES_NAME INFORMATION_APPGROUP + MODE d + PATH_PATTERN */appmanager/*/Information +} +ACTION Open +{ + LABEL Open + ARG_TYPE INFORMATION_APPGROUP + TYPE MAP + MAP_ACTION OpenAppGroup +} +ACTION Print +{ + LABEL Print + ARG_TYPE INFORMATION_APPGROUP + TYPE MAP + MAP_ACTION PrintAppGroup +} + +# ############################################################ + +DATA_ATTRIBUTES OPEN_SYSTEM_ADMIN_APPGROUP +{ + ACTIONS OpenInPlace,OpenNewView,Print + ICON Dtasys + LABEL System_Admin + MEDIA FILE_NAME + MOVE_TO_ACTION FILESYSTEM_MOVE + COPY_TO_ACTION FILESYSTEM_COPY + LINK_TO_ACTION FILESYSTEM_LINK +} +DATA_ATTRIBUTES SYSTEM_ADMIN_APPGROUP +{ + ACTIONS OpenInPlace,OpenNewView,Print + ICON Dtasys + LABEL System_Admin + MEDIA FILE_NAME + MOVE_TO_ACTION FILESYSTEM_MOVE + COPY_TO_ACTION FILESYSTEM_COPY + LINK_TO_ACTION FILESYSTEM_LINK + DESCRIPTION Double-click this icon to open the System \ + Administration application group. + TYPE_LABEL SYSTEM_ADMIN_APPGROUP +} +DATA_CRITERIA SYSTEM_ADMIN_APPGROUP1 +{ + DATA_ATTRIBUTES_NAME SYSTEM_ADMIN_APPGROUP + MODE d + PATH_PATTERN */appmanager/*/System_Admin +} +ACTION Open +{ + LABEL Open + ARG_TYPE SYSTEM_ADMIN_APPGROUP + TYPE MAP + MAP_ACTION OpenAppGroup +} +ACTION Print +{ + LABEL Print + ARG_TYPE SYSTEM_ADMIN_APPGROUP + TYPE MAP + MAP_ACTION PrintAppGroup +} + +# ############################################################ + +DATA_ATTRIBUTES OPEN_DTTOOLS_APPGROUP +{ + ACTIONS OpenInPlace,OpenNewView,Print + ICON Dtautil + LABEL Desktop_Tools + MEDIA FILE_NAME + MOVE_TO_ACTION FILESYSTEM_MOVE + COPY_TO_ACTION FILESYSTEM_COPY + LINK_TO_ACTION FILESYSTEM_LINK +} +DATA_ATTRIBUTES DTTOOLS_APPGROUP +{ + ACTIONS OpenInPlace,OpenNewView,Print + ICON Dtautil + LABEL Desktop_Tools + MEDIA FILE_NAME + MOVE_TO_ACTION FILESYSTEM_MOVE + COPY_TO_ACTION FILESYSTEM_COPY + LINK_TO_ACTION FILESYSTEM_LINK + DESCRIPTION Double-click this icon to open the \ + Desktop_Tools application group. + TYPE_LABEL DTTOOLS_APPGROUP +} +DATA_CRITERIA DTTOOLS_APPGROUP1 +{ + DATA_ATTRIBUTES_NAME DTTOOLS_APPGROUP + MODE d + PATH_PATTERN */appmanager/*/Desktop_Tools +} +ACTION Open +{ + LABEL Open + ARG_TYPE DTTOOLS_APPGROUP + TYPE MAP + MAP_ACTION OpenAppGroup +} +ACTION Print +{ + LABEL Print + ARG_TYPE DTTOOLS_APPGROUP + TYPE MAP + MAP_ACTION PrintAppGroup +} + +# ############################################################ + +DATA_ATTRIBUTES OPEN_AGUP +{ + ACTIONS OpenInPlace,OpenNewView,Print + ICON Dtagup + MEDIA FILE_NAME + MOVE_TO_ACTION FILESYSTEM_MOVE + COPY_TO_ACTION FILESYSTEM_COPY + LINK_TO_ACTION FILESYSTEM_LINK +} +DATA_ATTRIBUTES AGUP +{ + ACTIONS OpenInPlace,OpenNewView,Print + ICON Dtagup + MEDIA FILE_NAME + MOVE_TO_ACTION FILESYSTEM_MOVE + COPY_TO_ACTION FILESYSTEM_COPY + LINK_TO_ACTION FILESYSTEM_LINK + DESCRIPTION Double-click this icon to up a level \ + within the Application Manager. + TYPE_LABEL AGUP +} +DATA_CRITERIA AGUP1 +{ + DATA_ATTRIBUTES_NAME AGUP + MODE d + PATH_PATTERN */appmanager/*/.. +} +ACTION Open +{ + LABEL Open + ARG_TYPE AGUP + TYPE MAP + MAP_ACTION OpenAppGroup +} +ACTION Print +{ + LABEL Print + ARG_TYPE AGUP + TYPE MAP + MAP_ACTION PrintAppGroup +} + +# ######################## EOF ############################################ diff --git a/cde/programs/localized/C/types/dtbuilder.dt b/cde/programs/localized/C/types/dtbuilder.dt new file mode 100644 index 00000000..0671d43e --- /dev/null +++ b/cde/programs/localized/C/types/dtbuilder.dt @@ -0,0 +1,196 @@ +############################################################################### +# +# +# @(#)dtbuilder.dt 1.3 23 Mar 1994 +# +# DataType Definitions for the Application Builder +# +# Common Desktop Environment 1.0 +# +# (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company +# (c) Copyright 1993, 1994, 1995 International Business Machines Corp. +# (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc. +# (c) Copyright 1993, 1994, 1995 Novell, Inc. +# +# $TOG: dtbuilder.dt /main/5 1999/02/23 13:26:42 mgreess $ +# +############################################################################### +set DtDbVersion=1.0 + +############################################################################### +# +# WARNING: This file may be overwritten in subsequent installations of +# the Common Desktop Environment (CDE). Consequently, any system wide +# changes should be made to an equivalent database file in +# /etc/dt/types and not in this file. +# +############################################################################### + +################################################################### +# +# Data Attributes +# +################################################################### +DATA_ATTRIBUTES BIP +{ + ACTIONS Open + ICON DtABbip + NAME_TEMPLATE %s.bip + MIME_TYPE text/plain + DESCRIPTION This file contains project data for the \ + desktop Application Builder. Its data type is \ + named BIP. BIP files have named ending with '.bip'. +} +DATA_CRITERIA BIP1 +{ + DATA_ATTRIBUTES_NAME BIP + MODE f + NAME_PATTERN *.bip +} +ACTION Open +{ + LABEL Open + ARG_TYPE BIP + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING dtbuilder "%(File)Arg_1%" + DESCRIPTION This action opens an Application Builder project \ + file (*.bip) by running the Application Builder \ + and loading that file. +} +ACTION Print +{ + LABEL Print + ARG_TYPE BIP + TYPE MAP + MAP_ACTION NoPrint +} + +################################################################### + +DATA_ATTRIBUTES BIL +{ + ACTIONS Open + ICON DtABbil + NAME_TEMPLATE %s.bil + MIME_TYPE text/plain + DESCRIPTION This file contains module data for the desktop \ + Application Builder. Its data type is named BIL. \ + BIL files have names ending with '.bil'. +} +DATA_CRITERIA BIL1 +{ + DATA_ATTRIBUTES_NAME BIL + MODE f + NAME_PATTERN *.bil +} +ACTION Open +{ + LABEL Open + ARG_TYPE BIL + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING dtbuilder "%(File)Arg_1%" + DESCRIPTION This action opens an Application Builder module \ + file (*.bil) by running the Application Builder \ + and loading that file. +} +ACTION Print +{ + LABEL Print + ARG_TYPE BIL + TYPE MAP + MAP_ACTION NoPrint +} + +################################################################### + +DATA_ATTRIBUTES BIX +{ + ACTIONS Open + ICON DtABbix + NAME_TEMPLATE %s.bix + MIME_TYPE text/plain + DESCRIPTION This file contains all the project (BIP) and \ + module (BIL) file data for a desktop Application \ + Builder project. Its data type is named BIX. \ + BIX files have names ending with .'bix'. +} +DATA_CRITERIA BIX1 +{ + DATA_ATTRIBUTES_NAME BIX + MODE f + NAME_PATTERN *.bix +} +ACTION Open +{ + LABEL Open + ARG_TYPE BIX + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING dtbuilder "%(File)Arg_1%" + DESCRIPTION This action opens an Application Builder encapsulated \ + project file (*.bix) by running the Application \ + Builder and loading that file. +} +ACTION Print +{ + LABEL Print + ARG_TYPE BIX + TYPE MAP + MAP_ACTION NoPrint +} + +################################################################### +################################################################### +# +# Actions +# +################################################################### +ACTION Dtappbuild +{ + LABEL Application Builder + TYPE COMMAND + EXEC_STRING dtbuilder + ICON DtBldr + WINDOW_TYPE NO_STDIO + DESCRIPTION The Application Builder (Dtappbuild) action runs \ + the desktop Application Builder. +} + +###### + +ACTION CodeGen +{ + LABEL Code Generator + TYPE COMMAND + ARG_COUNT 0 + EXEC_STRING /bin/sh -c 'dtaction CodeGen \ + %(File)Arg_1"Project file (*.bip):"%' + ICON DtBldr + WINDOW_TYPE NO_STDIO + DESCRIPTION The Code Generator (CodeGen) action runs the code generator \ + for the desktop Application Builder. +} + +ACTION CodeGen +{ + LABEL Code Generator + TYPE COMMAND + ARG_TYPE BIP + ARG_COUNT >0 + EXEC_STRING /bin/sh -c ' \ + DIR_NAME=`dirname %(File)Arg_1"Project file (*.bip):"%` ; \ + if [ ! -d "\$DIR_NAME" ] ; then \ + echo "ERROR: \$DIR_NAME is not a folder."; \ + else \ + BIP_FILE=`basename "%(File)Arg_1%"` ; \ + ( cd \$DIR_NAME; dtcodegen -p \$BIP_FILE 2>&1; ) | \${PAGER:-more}; \ + echo "\\n*** Select Close or Exit from the window menu to close this window ***"; \ + fi ' + ICON DtBldr + WINDOW_TYPE PERM_TERMINAL + DESCRIPTION The Code Generator (CodeGen) action runs the code generator \ + for the desktop Application Builder. +} +########################### EOF ############################################## diff --git a/cde/programs/localized/C/types/dtcm.dt b/cde/programs/localized/C/types/dtcm.dt new file mode 100644 index 00000000..f2d823e8 --- /dev/null +++ b/cde/programs/localized/C/types/dtcm.dt @@ -0,0 +1,143 @@ +############################################################################### +# +# dtcm.dt +# +# Action and DataType definitions for the Common Desktop Environment +# (CDE) Calendar Component. +# +# (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company +# (c) Copyright 1993, 1994, 1995 International Business Machines Corp. +# (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc. +# (c) Copyright 1993, 1994, 1995 Novell, Inc. +# +# +############################################################################### +set DtDbVersion=1.0 + +############################################################################### +# +# WARNING: This file may be overwritten in subsequent installations of +# the Common Desktop Environment (CDE). Consequently, any system wide +# changes should be made to an equivalent database file in +# /etc/dt/types and not in this file. +# +############################################################################### + +################################################################### +# +# Data Attributes +# +################################################################### +DATA_ATTRIBUTES DtcmAppointmentAttrs +{ + ACTIONS Open,Insert,Print + ICON DtCMapt + NAME_TEMPLATE %s.appt + MIME_TYPE text/plain + SUNV3_TYPE ae-file + MEDIA DT_APPOINTMENT + DESCRIPTION This file contains information pertaining to Calendar \ + Manager appointments. Its data type is named \ + CalendarAppointmentAttrs. CalendarAppointmentAttrs \ + files have names ending with '.appt'. + TYPE_LABEL DtcmAppointmentAttrs +} +DATA_CRITERIA DtcmAppointmentAttrs1 +{ + DATA_ATTRIBUTES_NAME DtcmAppointmentAttrs + MODE fr + NAME_PATTERN *.appt +} +DATA_CRITERIA DtcmAppointmentAttrs2 +{ + DATA_ATTRIBUTES_NAME DtcmAppointmentAttrs + MODE fr + CONTENT 3 string ** Calendar Appointment ** +} +DATA_CRITERIA DtcmAppointmentAttrs3 +{ + DATA_ATTRIBUTES_NAME DtcmAppointmentAttrs + MODE fr + CONTENT 3 string ** Calendar To Do Item ** +} +ACTION Open +{ + LABEL Open + ARG_TYPE DtcmAppointmentAttrs + TYPE MAP + MAP_ACTION DtcmEdit +} +ACTION Insert +{ + LABEL Insert + ARG_TYPE DtcmAppointmentAttrs + TYPE MAP + MAP_ACTION DtcmInsert +} +ACTION Print +{ + LABEL Print + ARG_TYPE DtcmAppointmentAttrs + TYPE MAP + MAP_ACTION NoPrint +} + + +################################################################### +################################################################### +# +# Actions +# +################################################################### +ACTION Dtcm +{ + LABEL Calendar + ICON DtCM + TYPE COMMAND + EXEC_STRING /usr/dt/bin/dtcm + WINDOW_TYPE NO_STDIO + DESCRIPTION The Calendar (Dtcm) action starts the desktop Calendar \ + Manager. +} + +###### + +ACTION DtcmInsert +{ + LABEL Calendar Insert + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING sh -c '/usr/dt/bin/dtcm_insert -a "%(File)Arg_1%" ;\ + if [ \$? -ne 0 ] ; then \ + /usr/dt/bin/dterror.ds \ + "The appointment was not scheduled in your \ + calendar\\n\ + due to an error. The appointment may not be \ + formatted\\n\ + correctly or your calendar may not be \ + accessible." \ + "Calendar : Error - Schedule" \ + "OK" ; \ + fi' + DESCRIPTION The Calendar Insert (DtcmInsert) action \ + inserts an appointment into the user's default calendar. +} + +###### + +ACTION DtcmEdit +{ + LABEL Calendar Edit + TYPE TT_MSG + TT_SCOPE TT_SESSION + TT_CLASS TT_REQUEST + TT_OPERATION Edit + TT_ARG0_MODE TT_INOUT + TT_ARG0_VTYPE %Arg_1% + TT_FILE %Arg_1"Appointment File:"% + DESCRIPTION The Calendar Edit (DtcmEdit) action runs \ + the standalone appointment editor on a calendar \ + appointment. +} + +########################### EOF ############################################## diff --git a/cde/programs/localized/C/types/dtfile.dt b/cde/programs/localized/C/types/dtfile.dt new file mode 100644 index 00000000..83b0b408 --- /dev/null +++ b/cde/programs/localized/C/types/dtfile.dt @@ -0,0 +1,715 @@ +# ########################################################################## +# +# dtfile.dt +# +# Actions for interfacing to the Common Desktop Environment +# File Manager. +# +# (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company +# (c) Copyright 1993, 1994, 1995 International Business Machines Corp. +# (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc. +# (c) Copyright 1993, 1994, 1995 Novell, Inc. +# +# $TOG: dtfile.dt.src /main/5 1997/03/28 14:46:11 mgreess $ +# +# ########################################################################## + +set DtDbVersion=1.0 + +# ########################################################################## +# +# WARNING: This file may be overwritten in subsequent installations of +# the Common Desktop Environment (CDE). Consequently, any system wide +# changes should be made to an equivalent database file in +# /etc/dt/types and not in this file. +# +# ########################################################################## + +# ################################################################## +# +# Data Attributes - mainly consumed by the File Manager +# +# ################################################################## +# ########################################################### +# +# Folders +# +# ########################################################### +DATA_ATTRIBUTES TRASH_FOLDER +{ + ACTIONS OpenInPlace,OpenNewView,Print + ICON DtdirR + MEDIA FILE_NAME + MOVE_TO_ACTION FILESYSTEM_MOVE + DESCRIPTION This folder is a temporary location for trash. + TYPE_LABEL TRASH_FOLDER +} +DATA_CRITERIA TRASH_FOLDER1 +{ + DATA_ATTRIBUTES_NAME TRASH_FOLDER + MODE d + PATH_PATTERN */.dt/Trash +} +ACTION Open +{ + LABEL Open + ARG_TYPE TRASH_FOLDER + TYPE MAP + MAP_ACTION OpenFolder +} +ACTION Print +{ + LABEL Print + ARG_TYPE TRASH_FOLDER + TYPE MAP + MAP_ACTION PrintFolderList +} + +# ########################################################### + +DATA_ATTRIBUTES OPEN_PARENT_FOLDER +{ + ACTIONS OpenInPlace,OpenNewView,Print + ICON Dtdirup + MEDIA FILE_NAME + MOVE_TO_ACTION FILESYSTEM_MOVE + COPY_TO_ACTION FILESYSTEM_COPY + LINK_TO_ACTION FILESYSTEM_LINK +} +DATA_ATTRIBUTES PARENT_FOLDER +{ + ACTIONS OpenInPlace,OpenNewView,Print + ICON Dtdirup + MEDIA FILE_NAME + MOVE_TO_ACTION FILESYSTEM_MOVE + COPY_TO_ACTION FILESYSTEM_COPY + LINK_TO_ACTION FILESYSTEM_LINK + DESCRIPTION The '..' icon represents the parent folder \ + of the current folder. Open it to move one \ + level up the folder tree. Its data type is \ + named PARENT_FOLDER. + TYPE_LABEL PARENT_FOLDER +} +DATA_CRITERIA PARENT_FOLDER1 +{ + DATA_ATTRIBUTES_NAME PARENT_FOLDER + MODE d + NAME_PATTERN .. +} +ACTION Open +{ + LABEL Open + ARG_TYPE PARENT_FOLDER + TYPE MAP + MAP_ACTION OpenFolder +} +ACTION Print +{ + LABEL Print + ARG_TYPE PARENT_FOLDER + TYPE MAP + MAP_ACTION PrintFolderList +} + +# ########################################################### + +DATA_ATTRIBUTES OPEN_CURRENT_FOLDER +{ + ACTIONS OpenInPlace,OpenNewView,Print + ICON DtdirB + MEDIA FILE_NAME + MOVE_TO_ACTION FILESYSTEM_MOVE + COPY_TO_ACTION FILESYSTEM_COPY + LINK_TO_ACTION FILESYSTEM_LINK +} +DATA_ATTRIBUTES CURRENT_FOLDER +{ + ACTIONS OpenInPlace,OpenNewView,Print + ICON DtdirB + MEDIA FILE_NAME + MOVE_TO_ACTION FILESYSTEM_MOVE + COPY_TO_ACTION FILESYSTEM_COPY + LINK_TO_ACTION FILESYSTEM_LINK + DESCRIPTION The '.' icon represents the current folder. \ + Its data type is named CURRENT_FOLDER. + TYPE_LABEL CURRENT_FOLDER +} +DATA_CRITERIA CURRENT_FOLDER1 +{ + DATA_ATTRIBUTES_NAME CURRENT_FOLDER + MODE d + NAME_PATTERN . +} +ACTION Open +{ + LABEL Open + ARG_TYPE CURRENT_FOLDER + TYPE MAP + MAP_ACTION OpenFolder +} +ACTION Print +{ + LABEL Print + ARG_TYPE CURRENT_FOLDER + TYPE MAP + MAP_ACTION PrintFolderList +} + +# ########################################################### + +DATA_ATTRIBUTES DOT_FOLDER +{ + ACTIONS OpenInPlace,OpenNewView,Print + ICON DtdirB + MEDIA FILE_NAME + MOVE_TO_ACTION FILESYSTEM_MOVE + COPY_TO_ACTION FILESYSTEM_COPY + LINK_TO_ACTION FILESYSTEM_LINK + DESCRIPTION This folder's data type is named DOT_FOLDER. \ + A DOT_FOLDER folder is a folder whose name \ + begins with a dot (.). A DOT_FOLDER is normally hidden. + TYPE_LABEL DOT_FOLDER +} +DATA_CRITERIA DOT_FOLDER1 +{ + DATA_ATTRIBUTES_NAME DOT_FOLDER + MODE d + NAME_PATTERN .* +} +ACTION Open +{ + LABEL Open + ARG_TYPE DOT_FOLDER + TYPE MAP + MAP_ACTION OpenFolder +} +ACTION Print +{ + LABEL Print + ARG_TYPE DOT_FOLDER + TYPE MAP + MAP_ACTION PrintFolderList +} + +# ########################################################### + +DATA_ATTRIBUTES FOLDER_LOCK +{ + ACTIONS OpenInPlace,OpenNewView,Print + ICON Dtdirlk + MEDIA FILE_NAME + MOVE_TO_ACTION FILESYSTEM_MOVE + COPY_TO_ACTION FILESYSTEM_COPY + LINK_TO_ACTION FILESYSTEM_LINK + DESCRIPTION This is a folder to which you lack write \ + permission. You cannot add or remove files. Its \ + data type is named FOLDER_LOCK. + TYPE_LABEL FOLDER_LOCK +} +DATA_CRITERIA FOLDER_LOCK1 +{ + DATA_ATTRIBUTES_NAME FOLDER_LOCK + MODE d&!r +} +DATA_CRITERIA FOLDER_LOCK2 +{ + DATA_ATTRIBUTES_NAME FOLDER_LOCK + MODE d&!x +} +DATA_ATTRIBUTES OPEN_NON_WRITABLE_FOLDER +{ + ACTIONS OpenInPlace,OpenNewView,Print + ICON DtdirBO + MEDIA FILE_NAME + MOVE_TO_ACTION FILESYSTEM_MOVE + COPY_TO_ACTION FILESYSTEM_COPY + LINK_TO_ACTION FILESYSTEM_LINK +} +DATA_ATTRIBUTES NON_WRITABLE_FOLDER +{ + ACTIONS OpenInPlace,OpenNewView,Print + ICON Dtdirnw + MEDIA FILE_NAME + MOVE_TO_ACTION FILESYSTEM_MOVE + COPY_TO_ACTION FILESYSTEM_COPY + LINK_TO_ACTION FILESYSTEM_LINK + DESCRIPTION This is a folder to which you lack write \ + permission. You cannot add or remove files. Its \ + data type is named FOLDER_LOCK. + TYPE_LABEL NON_WRITABLE_FOLDER +} +DATA_CRITERIA NON_WRITABLE_FOLDER1 +{ + DATA_ATTRIBUTES_NAME NON_WRITABLE_FOLDER + MODE d&!w +} +ACTION Open +{ + LABEL Open + ARG_TYPE FOLDER_LOCK + TYPE MAP + MAP_ACTION OpenFolder +} +ACTION Print +{ + LABEL Print + ARG_TYPE FOLDER_LOCK + TYPE MAP + MAP_ACTION PrintFolderList +} + +# ########################################################### + +DATA_ATTRIBUTES OPEN_FOLDER +{ + ACTIONS OpenInPlace,OpenNewView,Print + ICON DtdirBO + MEDIA FILE_NAME + MOVE_TO_ACTION FILESYSTEM_MOVE + COPY_TO_ACTION FILESYSTEM_COPY + LINK_TO_ACTION FILESYSTEM_LINK +} +DATA_ATTRIBUTES FOLDER +{ + ACTIONS OpenInPlace,OpenNewView,Print + ICON DtdirB + MEDIA FILE_NAME + MOVE_TO_ACTION FILESYSTEM_MOVE + COPY_TO_ACTION FILESYSTEM_COPY + LINK_TO_ACTION FILESYSTEM_LINK + DESCRIPTION This is a folder. A folder is a \ + container that holds files or other folders. \ + Its data type is named FOLDER. + TYPE_LABEL FOLDER +} +DATA_CRITERIA FOLDER1 +{ + DATA_ATTRIBUTES_NAME FOLDER + MODE d +} +ACTION Open +{ + LABEL Open + ARG_TYPE FOLDER + TYPE MAP + MAP_ACTION OpenFolder +} +ACTION Print +{ + LABEL Print + ARG_TYPE FOLDER + TYPE MAP + MAP_ACTION PrintFolderList +} + +# ########################################################### +# ########################################################### +# +# Data Attributes +# +# ########################################################### + +DATA_ATTRIBUTES RECURSIVE_LINK +{ + ICON Dtinf + DESCRIPTION This icon represents a symbolic link that points \ + to itself, either folder or through a series of \ + intermediate symbolic links. Its data type is \ + named RECURSIVE_LINK. + TYPE_LABEL RECURSIVE_LINK +} + +# ########################################################### + +DATA_ATTRIBUTES BROKEN_LINK +{ + ICON Dtblink + DESCRIPTION This icon represents a symbolic link that \ + points to a non-existent file. Its data type is \ + named BROKEN_LINK. + TYPE_LABEL BROKEN_LINK +} + +# ########################################################### + +DATA_ATTRIBUTES DOT_FILE +{ + ACTIONS Open,Print + ICON Dtdata + IS_TEXT true + MIME_TYPE text/plain + MEDIA C_STRING + DESCRIPTION This file's data type is named DOT_FILE. \ + A DOT_FILE is a file whose name begins with a \ + dot (.). A DOT_FILE is normally hidden. + TYPE_LABEL DOT_FILE +} +DATA_CRITERIA DOT_FILE1 +{ + DATA_ATTRIBUTES_NAME DOT_FILE + MODE f + NAME_PATTERN .* +} + +# ########################################################### + +DATA_ATTRIBUTES EXECUTABLE +{ + ACTIONS Run,Open + ICON Dtexec + IS_EXECUTABLE true + COPY_TO_ACTION Execute + MIME_TYPE application/octet-stream + SUNV3_TYPE default-app + MEDIA _DT_DATA + DESCRIPTION This file contains a shell script or a compiled \ + program that can be executed. Its data type is \ + named EXECUTABLE. + TYPE_LABEL EXECUTABLE +} +DATA_CRITERIA EXECUTABLE1 +{ + DATA_ATTRIBUTES_NAME EXECUTABLE + MODE f&x +} +ACTION Run +{ + LABEL Run + ARG_TYPE EXECUTABLE + TYPE MAP + MAP_ACTION Execute +} + +# ########################################################### + +DATA_ATTRIBUTES UNKNOWN +{ + ACTIONS Open,Print + ICON Dtdata + MIME_TYPE application/octet-stream + MEDIA _DT_DATA + DESCRIPTION This file does not match any other data type, \ + so it has been assigned the data type named UNKNOWN. + TYPE_LABEL UNKNOWN +} + +# ########################################################### + +DATA_ATTRIBUTES DATA +{ + ACTIONS Open,Print + ICON Dtdata + MIME_TYPE text/plain + MEDIA _DT_DATA + DESCRIPTION This file does not match any other data type, \ + so it has been assigned the data type named DATA. + TYPE_LABEL DATA +} +DATA_CRITERIA DATA1 +{ + DATA_ATTRIBUTES_NAME DATA + MODE f&!x +} + +# ################################################################### +# ################################################################### +# +# Actions provided by the Common Desktop Environment File Manager. +# +# ################################################################### +ACTION DtfileHome +{ + LABEL File Manager - Home + ARG_COUNT 0 + ICON Fphome + TYPE TT_MSG + TT_CLASS TT_REQUEST + TT_SCOPE TT_SESSION + TT_OPERATION DtHome_Show + DESCRIPTION The File Manager - Home (DtfileHome) action opens a \ + File Manager view of the user's home folder. +} + +# ##### + +ACTION Dtfile +{ + LABEL File Manager + ICON Fphome + TYPE TT_MSG + TT_CLASS TT_REQUEST + TT_SCOPE TT_SESSION + TT_OPERATION Edit + TT_FILE %Arg_1"Folder to open:"% + TT_ARG0_MODE TT_INOUT + TT_ARG0_VTYPE FILE_NAME + DESCRIPTION The File Manager (Dtfile) action opens a File Manager \ + view of the specified folder. +} + +# ##### + +ACTION Dtappmgr +{ + LABEL Application Manager + ICON Fpapps + TYPE TT_MSG + TT_CLASS TT_REQUEST + TT_SCOPE TT_SESSION + TT_OPERATION DtTools_Show + TT_FILE /var/dt/appconfig/appmanager/$DTUSERSESSION + TT_ARG0_MODE TT_IN + TT_ARG0_VTYPE -title + TT_ARG0_REP_TYPE TT_REP_STRING + TT_ARG0_VALUE Application Manager + TT_ARG1_MODE TT_IN + TT_ARG1_VTYPE -help_volume + TT_ARG1_REP_TYPE TT_REP_STRING + TT_ARG1_VALUE Appmanager + DESCRIPTION The Application Manger (Dtappmgr) action opens a \ + File Manager view of the the Application Manager. +} + +# ##### + +ACTION DtEmptyTrash +{ + LABEL Empty Trash Can + ARG_COUNT 0 + ICON Dtshred + TYPE TT_MSG + TT_CLASS TT_REQUEST + TT_SCOPE TT_SESSION + TT_OPERATION DtTrash_Empty + DESCRIPTION The Empty Trash Can (DtEmptyTrash) action empties the desktop Trash \ + Can window when the action icon is double-clicked. +} +ACTION Dttrash +{ + LABEL Trash Can + ARG_COUNT 0 + ICON Dttrsh + TYPE TT_MSG + TT_CLASS TT_REQUEST + TT_SCOPE TT_SESSION + TT_OPERATION DtTrash_Show + DESCRIPTION The Trash Can (Dttrash) action opens the desktop Trash \ + Can window when the action icon is double-clicked. \ + When a file is dropped on the icon, the file is \ + moved to the Trash Can. +} +ACTION Dttrash +{ + LABEL Trash Can + ARG_COUNT >0 + ICON Dttrsh + TYPE TT_MSG + TT_CLASS TT_REQUEST + TT_SCOPE TT_SESSION + TT_OPERATION DtTrash_Remove + TT_ARG0_MODE TT_IN + TT_ARG0_VTYPE string + TT_ARG1_MODE TT_IN + TT_ARG1_VTYPE string + TT_ARG1_REP_TYPE TT_REP_STRING + TT_ARG1_VALUE %Arg_1% + DESCRIPTION The Trash Can (Dttrash) action opens the desktop Trash \ + Can window when the action icon is double-clicked. \ + When a file is dropped on the icon, the file is \ + moved to the Trash Can. +} +ACTION DtUnlink +{ + LABEL Trash Can + ARG_COUNT 2 + ICON Dttrsh + TYPE TT_MSG + TT_CLASS TT_REQUEST + TT_SCOPE TT_SESSION + TT_OPERATION DtTrash_Remove + TT_FILE %Arg_1% + TT_ARG0_MODE TT_IN + TT_ARG0_VTYPE string + TT_ARG1_MODE TT_IN + TT_ARG1_VTYPE string + TT_ARG1_REP_TYPE TT_REP_STRING + TT_ARG1_VALUE %Arg_2% + DESCRIPTION The Trash Can (Dttrash) action opens the desktop Trash \ + Can window when the action icon is double-clicked. \ + When a file is dropped on the icon, the file is \ + moved to the Trash Can. +} +ACTION DtUnlink +{ + LABEL Trash Can + ARG_COUNT >2 + ICON Dttrsh + TYPE TT_MSG + TT_CLASS TT_REQUEST + TT_SCOPE TT_SESSION + TT_OPERATION DtTrash_Remove + TT_FILE %Arg_1% + TT_ARG0_MODE TT_IN + TT_ARG0_VTYPE string + TT_ARG0_REP_TYPE TT_REP_STRING + TT_ARG0_VALUE %Args% + DESCRIPTION The Trash Can (Dttrash) action opens the desktop Trash \ + Can window when the action icon is double-clicked. \ + When a file is dropped on the icon, the file is \ + moved to the Trash Can. +} + +ACTION PutOnWorkspace +{ + LABEL Put On Workspace + ICON Dtpodt + TYPE TT_MSG + TT_CLASS TT_REQUEST + TT_SCOPE TT_SESSION + TT_OPERATION DtFile_PutOnWorkspace + TT_FILE %Arg_3% + TT_ARG0_MODE TT_IN + TT_ARG0_VTYPE -workspace + TT_ARG0_REP_TYPE TT_REP_STRING + TT_ARG0_VALUE %Arg_2% + TT_ARG2_MODE TT_IN + TT_ARG2_VTYPE string + TT_ARG2_REP_TYPE TT_REP_STRING + TT_ARG2_VALUE %Arg_3% + DESCRIPTION This action (DtPutOnWorkspace) will place an object on the workspace +} + +# ##### + +ACTION FILESYSTEM_MOVE +{ + LABEL Move To Directory + TYPE TT_MSG + TT_CLASS TT_REQUEST + TT_SCOPE TT_SESSION + TT_OPERATION DtFile_Move + TT_FILE %Arg_1% + TT_ARG0_MODE TT_IN + TT_ARG0_VTYPE string + TT_ARG0_REP_TYPE TT_REP_STRING + TT_ARG0_VALUE %Arg_1% + TT_ARG1_MODE TT_IN + TT_ARG1_VTYPE string + TT_ARG1_REP_TYPE TT_REP_STRING + TT_ARG1_VALUE %Args% + DESCRIPTION The FILESYSTEM_MOVE action allows an Common Desktop Environment compliant application to run an action to which causes the File Manager to preform a move on the file(s) passed in. The format for this action is: 'FILESYSTEM_MOVE ' where files is a full path name list of files separated by spaces. + + + + + + + +} + +# ##### + +ACTION FILESYSTEM_COPY +{ + LABEL Copy To Directory + TYPE TT_MSG + TT_CLASS TT_REQUEST + TT_SCOPE TT_SESSION + TT_OPERATION DtFile_Copy + TT_FILE %Arg_1% + TT_ARG0_MODE TT_IN + TT_ARG0_VTYPE string + TT_ARG0_REP_TYPE TT_REP_STRING + TT_ARG0_VALUE %Arg_1% + TT_ARG1_MODE TT_IN + TT_ARG1_VTYPE string + TT_ARG1_REP_TYPE TT_REP_STRING + TT_ARG1_VALUE %Args% + DESCRIPTION The FILESYSTEM_COPY action allows an Common Desktop Environment compliant application to run an action to which causes the File Manager to preform a copy on the file(s) passed in. The format for this action is: 'FILESYSTEM_COPY ' where files is a full path name list of files separated by spaces. + + + + + + + +} + +# ##### + +ACTION FILESYSTEM_LINK +{ + LABEL Link To Directory + TYPE TT_MSG + TT_CLASS TT_REQUEST + TT_SCOPE TT_SESSION + TT_OPERATION DtFile_Link + TT_FILE %Arg_1% + TT_ARG0_MODE TT_IN + TT_ARG0_VTYPE string + TT_ARG0_REP_TYPE TT_REP_STRING + TT_ARG0_VALUE %Arg_1% + TT_ARG1_MODE TT_IN + TT_ARG1_VTYPE string + TT_ARG1_REP_TYPE TT_REP_STRING + TT_ARG1_VALUE %Args% + DESCRIPTION The FILESYSTEM_LINK action allows an Common Desktop Environment compliant application to run an action to which causes the File Manager to preform a link on the file(s) passed in. The format for this action is: 'FILESYSTEM_LINK ' where files is a full path name list of files separated by spaces. + + + + + + + +} + +# ##### + +ACTION OpenFolder +{ + LABEL Open + TYPE TT_MSG + TT_CLASS TT_REQUEST + TT_SCOPE TT_SESSION + TT_OPERATION Edit + TT_FILE %Arg_1"Folder to open:"% + TT_ARG0_MODE TT_INOUT + TT_ARG0_VTYPE FILE_NAME + DESCRIPTION The Open New View action displays a File Manager \ + view of the specified folder in a new File \ + Manager window. +} + +# ##### + +ACTION OpenNewView +{ + LABEL Open New View + TYPE MAP + MAP_ACTION Open +} + +# ##### + +ACTION OpenInPlace +{ + LABEL Open In Place + TYPE MAP + MAP_ACTION Open +} + +# ##### + +ACTION PrintFolderList +{ + LABEL PrintFolderList + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING sh -c ' ls -aLlF "%(File)Arg_1%" | /usr/dt/bin/dtlp -u "%(File)Arg_1%"' + + + DESCRIPTION The PrintFolderList action prints the contents \ + of a folder on the default printer. +} + +# ######################## EOF ############################################ diff --git a/cde/programs/localized/C/types/dthelp.dt b/cde/programs/localized/C/types/dthelp.dt new file mode 100644 index 00000000..85c73e31 --- /dev/null +++ b/cde/programs/localized/C/types/dthelp.dt @@ -0,0 +1,218 @@ +# ####################################################################### +# +# dthelp.dt +# +# Actions and filetypes for Help files. +# +# (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company +# (c) Copyright 1993, 1994, 1995 International Business Machines Corp. +# (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc. +# (c) Copyright 1993, 1994, 1995 Novell, Inc. +# +# $XConsortium: dthelp.dt.src /main/4 1996/04/23 17:35:19 drk $ +# +# ##################################################################### + +set DtDbVersion=1.0 + +# ########################################################################## +# +# WARNING: This file may be overwritten in subsequent installations of +# the Common Desktop Environment (CDE). Consequently, any system wide +# changes should be made to an equivalent database file in +# /etc/dt/types and not in this file. +# +# ########################################################################## + +# ################################################################## +# +# Data Attributes +# +# ################################################################## +DATA_ATTRIBUTES DTHELP_VOL +{ + ACTIONS Open,Print + ICON Dthvol + NAME_TEMPLATE %s.sdl + MIME_TYPE application/octet-stream + DESCRIPTION This is a master volume file for a help \ + volume. Its data type is named DTHELP_VOL. \ + DTHELP_VOL files have names ending with '.sdl' or '.hv'. + TYPE_LABEL DTHELP_VOL +} +DATA_CRITERIA DTHELP_VOL1 +{ + DATA_ATTRIBUTES_NAME DTHELP_VOL + MODE f + NAME_PATTERN *.sdl +} +DATA_CRITERIA DTHELP_VOL2 +{ + DATA_ATTRIBUTES_NAME DTHELP_VOL + MODE f + NAME_PATTERN *.hv +} +ACTION Open +{ + LABEL Open + ARG_TYPE DTHELP_VOL + TYPE MAP + MAP_ACTION Dthelpview +} +ACTION Print +{ + LABEL Print + ARG_TYPE DTHELP_VOL + TYPE MAP + MAP_ACTION NoPrint +} + +# ######################################################### + +DATA_ATTRIBUTES DTHELP_HT +{ + ACTIONS (None) + ICON Dthtop + NAME_TEMPLATE %s.ht + MIME_TYPE application/octet-stream + DESCRIPTION This is a help topic file that is part of a help \ + volume. To view the help topic, you must open the \ + master volume file. The data type of this file is \ + named DTHELP_HT. DTHELP_HT files have names \ + ending with '.ht'. + TYPE_LABEL DTHELP_HT +} +DATA_CRITERIA DTHELP_HT1 +{ + DATA_ATTRIBUTES_NAME DTHELP_HT + NAME_PATTERN *.ht + MODE f +} + +# ######################################################### + +DATA_ATTRIBUTES DTHELP_HVK +{ + ACTIONS (None) + ICON Dthtop + NAME_TEMPLATE %s.hvk + MIME_TYPE application/octet-stream + DESCRIPTION This is a file associated with compiled help \ + volume. To view the help volume, you must open \ + the master volume file. The data type of this \ + file is named DTHELP_HVK. DTHELP_HVK files have \ + names ending with '.hvk'. + TYPE_LABEL DTHELP_HVK +} +DATA_CRITERIA DTHELP_HVK1 +{ + DATA_ATTRIBUTES_NAME DTHELP_HVK + NAME_PATTERN *.hvk + MODE f +} + +# ######################################################### + +DATA_ATTRIBUTES DTHELP_XRH +{ + ACTIONS (None) + ICON Dthtop + NAME_TEMPLATE %s.xrh + MIME_TYPE application/octet-stream + DESCRIPTION This is a file associated with compiled help \ + volume. To view the help volume, you must open \ + the master volume file. The data type of this \ + file is named DTHELP_XRH. DTHELP_XRH files have \ + names ending with '.xrh'. + TYPE_LABEL DTHELP_XRH +} +DATA_CRITERIA DTHELP_XRH +{ + DATA_ATTRIBUTES_NAME DTHELP_XRH + NAME_PATTERN *.xrh + MODE f +} + +# ################################################################## +# ################################################################## +# +# Actions +# +# ################################################################## +ACTION Dthelpview +{ + LABEL Help Viewer + ARG_COUNT 0 + ICON Fphelp + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /bin/sh -c '/usr/dt/bin/dthelpgen -dir $HOME/.dt/help/$DTUSERSESSION; /usr/dt/bin/dthelpview -helpVolume browser ' + + DESCRIPTION The Help Viewer (Dthelpview) action displays the Top \ + Level of help when the icon is double-clicked. \ + If you drop a help volume file on the icon, that \ + volume is displayed. +} +ACTION Dthelpview +{ + LABEL Help Viewer + ICON Fphelp + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /bin/sh -c '/usr/dt/bin/dthelpgen -dir $HOME/.dt/help/$DTUSERSESSION; /usr/dt/bin/dthelpview -helpVolume "%(File)Arg_1%" ' + + + DESCRIPTION The Help Viewer (Dthelpview) action displays the Top \ + Level of help when the icon is double-clicked. \ + If you drop a help volume file on the icon, that \ + volume is displayed. +} + +# ####### + +ACTION Dthelpgen +{ + LABEL Help Generator + ICON Fphelp + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /bin/sh -c '/usr/dt/bin/dthelpgen -dir "%(File)Arg_1"Location to put generated help files:"%"' + + DESCRIPTION The Help Generator (Dthelpgen) action runs \ + dthelpgen which generates the online help for \ + a user. It also displays the "Generating browser \ + information. Please wait" dialog while running. \ + This action is executed when a user logs into \ + the Common Desktop Environment for the first time. +} +ACTION Dthelpgen_delay +{ + LABEL Help Generator + ICON Fphelp + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /bin/sh -c 'sleep 15; /usr/dt/bin/dthelpgen -dir $HOME/.dt/help/$DTUSERSESSION' + + DESCRIPTION The Help Generator (Dthelpgen) action runs \ + dthelpgen which generates the online help for \ + a user. It also displays the "Generating browser \ + information. Please wait" dialog while running. \ + This action is executed when a user logs into \ + the Common Desktop Environment for the first time. +} + +# ####### + +ACTION Dtmanpageview +{ + LABEL Man Page Viewer + ICON Dthover + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING sh -c ' /usr/dt/bin/dthelpview -manPage `basename "%(File)Arg_1"Man Page:"%" | sed /[.].*/s///` -xrm "Dthelpview*manBox*columns: 100"' + + + DESCRIPTION The Man Page Viewer (Dtmanpageview) action \ + displays a man page in a Quick Help viewer window. +} +# ######################## EOF ############################################ diff --git a/cde/programs/localized/C/types/dthelpprint.dt b/cde/programs/localized/C/types/dthelpprint.dt new file mode 100644 index 00000000..5d72d088 --- /dev/null +++ b/cde/programs/localized/C/types/dthelpprint.dt @@ -0,0 +1,56 @@ +# ########################################################################## +# +# dthelpprint.dt +# +# Actions and filetypes for dthelpprint files. +# +# (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company +# (c) Copyright 1993, 1994, 1995 International Business Machines Corp. +# (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc. +# (c) Copyright 1993, 1994, 1995 Novell, Inc. +# +# $XConsortium: dthelpprint.dt.src /main/4 1996/04/23 17:35:22 drk $ +# +# ########################################################################## + +set DtDbVersion=1.0 + +# ########################################################################## +# +# WARNING: This file may be overwritten in subsequent installations of +# the Common Desktop Environment (CDE). Consequently, any system wide +# changes should be made to an equivalent database file in +# /etc/dt/types and not in this file. +# +# ########################################################################## + +# ################################################################## +# +# Data Attributes +# +# ################################################################## +DATA_ATTRIBUTES DTHELP_PRINT_FILE +{ + ACTIONS Print + ICON Dthvol + NAME_TEMPLATE _phlp%s + DESCRIPTION This file is generated when you print from \ + the help system. Its data type is named \ + DTHELP_PRINT_FILE. DTHELP_PRINT_FILE files have \ + names beginning with '_phlp'. + TYPE_LABEL DTHELP_PRINT_FILE +} +DATA_CRITERIA DTHELP_PRINT_FILE1 +{ + DATA_ATTRIBUTES_NAME DTHELP_PRINT_FILE + MODE f + NAME_PATTERN _phlp* +} +ACTION Print +{ + ARG_TYPE DTHELP_PRINT_FILE + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dtlp -f "%(File)Arg_1%" ${LPDEST:+-d} ${LPDEST:+$LPDEST} -n "${DTPRINTCOPYCOUNT:-1}" -b "${DTPRINTBANNERTITLE:-CDE Help}" "${DTPRINTCOMMAND:+-m}" "${DTPRINTCOMMAND:+$DTPRINTCOMMAND}" "${DTPRINTFROMCODESET:+-c}" "${DTPRINTFROMCODESET:+$DTPRINTFROMCODESET}" "${DTPRINTCODESET:+-t}" "${DTPRINTCODESET:+$DTPRINTCODESET}" -u "${DTPRINTUSERFILENAME:-Help Information}" -w "${DTPRINTRAW:-$FALSE}" -s "${DTPRINTSILENT:-$TRUE}" -e "${DTPRINTFILEREMOVE:-$TRUE}"; +} +# ######################## EOF ############################################ diff --git a/cde/programs/localized/C/types/dthelptag.dt b/cde/programs/localized/C/types/dthelptag.dt new file mode 100644 index 00000000..b1f55098 --- /dev/null +++ b/cde/programs/localized/C/types/dthelptag.dt @@ -0,0 +1,214 @@ +# ########################################################################## +# +# dthelptag.dt +# +# Actions and DataTypes for authoring Help information. +# +# (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company +# (c) Copyright 1993, 1994, 1995 International Business Machines Corp. +# (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc. +# (c) Copyright 1993, 1994, 1995 Novell, Inc. +# +# $TOG: dthelptag.dt.src /main/6 1998/07/29 17:08:50 mgreess $ +# +# ########################################################################## + +set DtDbVersion=1.0 + +# ########################################################################## +# +# WARNING: This file may be overwritten in subsequent installations of +# the Common Desktop Environment (CDE). Consequently, any system wide +# changes should be made to an equivalent database file in +# /etc/dt/types and not in this file. +# +# ########################################################################## + +# The Help executables are shipped in ../dt/bin, which may not be +# part of all the users' paths. Therefore the following string is +# defined to add this to the path before invoking the client. + +set HELPTAG_PATH=\$PATH:/usr/dt/bin + +# ################################################################## +# +# Data Attributes +# +# ################################################################## +DATA_ATTRIBUTES DTHELP_HTG +{ + ACTIONS Open,Compile,CleanUp + ICON Dthsrc + NAME_TEMPLATE %s.htg + MIME_TYPE text/plain + DESCRIPTION This is a master HelpTag source file for the \ + desktop Help System. Information in this file is \ + formatted using the HelpTag markup language, and \ + must be compiled with the HelpTag software \ + ('dthelptag') before viewing. The data type name \ + is DTHELP_HTG. DTHELP_HTG files have names ending \ + with '.htg'. + TYPE_LABEL DTHELP_HTG +} + +DATA_CRITERIA DTHELP_HTG1 +{ + DATA_ATTRIBUTES_NAME DTHELP_HTG + MODE f + NAME_PATTERN *.htg +} + +# ################################################################## + +DATA_ATTRIBUTES DTHELP_CTG +{ + ACTIONS Open,CompileCanon,CleanUp + ICON Dthsrc + NAME_TEMPLATE %s.ctg + MIME_TYPE text/plain + DESCRIPTION This is a canonical SGML master HelpTag source \ + file for the desktop Help System. Information in \ + this file is formatted using the canonical HelpTag \ + markup language, and must be compiled with the \ + HelpTag software ('dthelptag') using the '-canon' \ + option before viewing. The data type name is \ + DTHELP_CTG. DTHELP_CTG files have names ending \ + with '.ctg'. + TYPE_LABEL DTHELP_CTG +} + +DATA_CRITERIA DTHELP_CTG1 +{ + DATA_ATTRIBUTES_NAME DTHELP_CTG + MODE f + NAME_PATTERN *.ctg +} + +# ################################################################## + +DATA_ATTRIBUTES DTHELP_ERR +{ + ACTIONS Open + ICON Dthtop + NAME_TEMPLATE %s.err + MIME_TYPE text/plain + DESCRIPTION This file contains parser errors associated \ + with a compiled Help volume. This file is \ + generated by the dthelptag parser only when \ + parser errors are detected while compiling the \ + help volume. Its data type name is DTHELP_ERR. \ + DTHELP_ERR files have names ending with '.err'. + TYPE_LABEL DTHELP_ERR +} + +DATA_CRITERIA DTHELP_ERR1 +{ + DATA_ATTRIBUTES_NAME DTHELP_ERR + NAME_PATTERN *.err + MODE f +} + +# ################################################################## +# ################################################################## +# +# Actions +# +# ################################################################## +ACTION Open +{ + LABEL Open + ARG_TYPE DTHELP_HTG,DTHELP_CTG + TYPE MAP + MAP_ACTION OpenHelpTag +} + +# ###### + +ACTION Compile +{ + LABEL Compile + ARG_TYPE DTHELP_HTG + TYPE MAP + MAP_ACTION HelpTag +} + +# ###### + +ACTION CompileCanon +{ + LABEL CompileCanon + ARG_TYPE DTHELP_CTG + TYPE MAP + MAP_ACTION HelpTagCanon +} + +# ###### + +ACTION CleanUp +{ + LABEL Cleanup + ARG_TYPE DTHELP_HTG,DTHELP_CTG + TYPE MAP + MAP_ACTION CleanHelpTag +} + +# ###### + +ACTION OpenHelpTag +{ + LABEL OpenHelpTag + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dtpad "%(File)Arg_1%" + DESCRIPTION The OpenHelpTag action opens a master HelpTag \ + file (a '.sdl' or '.hv' file) in a text editor. +} + +# ###### + +ACTION HelpTag +{ + LABEL HelpTag + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING sh -c 'PATH=$HELPTAG_PATH dthelptag -clean `basename "%(File)Arg_1"HelpTag File:"%"`; PATH=$HELPTAG_PATH dthelptag `basename "%(File)Arg_1%"`' + + + + DESCRIPTION The HelpTag action compiles a master HelpTag \ + file to create run-time help files. The run-time \ + files can be displayed by an application using the \ + Help system, or by using the 'dthelpview' program. +} + +# ###### + +ACTION HelpTagCanon +{ + LABEL HelpTagCanon + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING sh -c 'PATH=$HELPTAG_PATH dthelptag -clean `basename "%(File)Arg_1"HelpTag File:"%"`; PATH=$HELPTAG_PATH dthelptag -formal `basename "%(File)Arg_1%"`' + + + + DESCRIPTION The HelpTagCanon action compiles a canonical SGML \ + master HelpTag file to create run-time help files. \ + The run-time files can be displayed by an \ + application using the Help system, or using the \ + 'dthelpview' program. +} + +# ###### + +ACTION CleanHelpTag +{ + LABEL CleanHelpTag + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING sh -c 'PATH=$HELPTAG_PATH dthelptag -clean `basename "%(File)Arg_1"HelpTag File:"%"`' + + DESCRIPTION The CleanHelpTag action removes all run-time help \ + files created by the HelpTag action. +} +# ######################## EOF ############################################ diff --git a/cde/programs/localized/C/types/dtims.dt b/cde/programs/localized/C/types/dtims.dt new file mode 100644 index 00000000..9d60e9f0 --- /dev/null +++ b/cde/programs/localized/C/types/dtims.dt @@ -0,0 +1,72 @@ +# ########################################################################## +# +# dtims.dt +# +# Action definitions for the Common Desktop Environment +# dtimsstart application. +# +# (c) Copyright 1996 Digital Equipment Corporation. +# (c) Copyright 1996 Hewlett-Packard Company. +# (c) Copyright 1996 International Business Machines Corp. +# (c) Copyright 1996 Sun Microsystems, Inc. +# (c) Copyright 1996 Novell, Inc. +# (c) Copyright 1996 FUJITSU LIMITED. +# (c) Copyright 1996 Hitachi. +# +# $XConsortium: dtims.dt.src /main/2 1996/04/23 17:35:29 drk $ +# +# ########################################################################## + +set DtDbVersion=1.0 + +# ########################################################################## +# +# WARNING: This file may be overwritten in subsequent installations of +# the Common Desktop Environment (CDE). Consequently, any system wide +# changes should be made to an equivalent database file in +# /etc/dt/types and not in this file. +# +# ########################################################################## +# ################################################################## +# +# Actions +# +# ################################################################## + +ACTION DtImsMode +{ + LABEL DtImsMode + TYPE COMMAND + WINDOW_TYPE NO_STDIO + ARG_COUNT * + ARG_CLASS * + ARG_MODE * + EXEC_STRING dtimsstart -mode -window %Args% + DESCRIPTION The DtImsMode action sets the selection mode for Input Method. +} + + +ACTION DtImsGetRemoteConf +{ + TYPE COMMAND + WINDOW_TYPE NO_STDIO + ARG_COUNT * + ARG_CLASS * + ARG_MODE * + EXEC_STRING dtimsstart -remoteconf %(String)Args% + DESCRIPTION This action obtains Input Method configuration data \ +from a remote system. +} + + +ACTION DtImsRunRemoteIms +{ + TYPE COMMAND + WINDOW_TYPE NO_STDIO + ARG_COUNT * + ARG_CLASS * + ARG_MODE * + EXEC_STRING dtimsstart -remoterun %(String)Args% + DESCRIPTION This action starts an Input Method Server on a remote system. +} + diff --git a/cde/programs/localized/C/types/dtinfo.dt b/cde/programs/localized/C/types/dtinfo.dt new file mode 100644 index 00000000..f2e5695e --- /dev/null +++ b/cde/programs/localized/C/types/dtinfo.dt @@ -0,0 +1,172 @@ +# ########################################################################## +# +# dtinfo.dt +# +# Action and DataType definitions for the Common Desktop Environment +# Information Manager. +# +# (c) Copyright 1996 Digital Equipment Corporation. +# (c) Copyright 1996 Hewlett-Packard Company. +# (c) Copyright 1996 International Business Machines Corp. +# (c) Copyright 1996 Sun Microsystems, Inc. +# (c) Copyright 1996 Novell, Inc. +# (c) Copyright 1996 FUJITSU LIMITED. +# (c) Copyright 1996 Hitachi. +# +# $TOG: dtinfo.dt.src /main/10 1998/07/29 17:09:46 mgreess $ +# +# ########################################################################## + + +set DtDbVersion=1.0 + +# ########################################################################## +# +# WARNING: This file may be overwritten in subsequent installations of +# the Common Desktop Environment (CDE). Consequently, any system wide +# changes should be made to an equivalent database file in +# /etc/dt/types and not in this file. +# +# ########################################################################## + +# ################################################################## +# +# Data Attributes +# +# ################################################################## + +DATA_ATTRIBUTES DtInfoLib +{ + ACTIONS Open,Print + TYPE_LABEL Info Lib + ICON Dtinlib + IS_TEXT false + DESCRIPTION On-line documentation for the Information Manager. +} + +DATA_CRITERIA DtInfoLib1 +{ + DATA_ATTRIBUTES_NAME DtInfoLib + NAME_PATTERN *.dti +# CONTENT 0 filename .oli + MODE d|l + LINK_NAME *.dti +} + +# ################################################################## + +ACTION Open +{ + ARG_TYPE DtInfoLib + TYPE MAP + MAP_ACTION DtLoadInfoLib +} + +ACTION Print +{ + LABEL Print + ARG_TYPE DtInfoLib + TYPE MAP + MAP_ACTION NoPrint +} + +DATA_ATTRIBUTES TMPPRINTFILE +{ + ACTIONS Print + NAME_TEMPLATE %s.itp + DESCRIPTION This is a temporary file generated by dtinfo when infolib sections are dropped on the printer icon on the front panel for printing. + + + TYPE_LABEL TMPPRINTFILE +} + +DATA_CRITERIA TMPPRINTFILE1 +{ + DATA_ATTRIBUTES_NAME TMPPRINTFILE + MODE f + CONTENT 0 string mmdb: + PATH_PATTERN $HOME/.dt/tmp/* +} + +ACTION DtLoadInfoLib +{ + LABEL Information Manager + ICON Dtinfo + DESCRIPTION Start an information browser. + # + TYPE TT_MSG + TT_CLASS TT_REQUEST + TT_SCOPE TT_SESSION + TT_OPERATION DtInfo_LoadInfoLib + TT_FILE %Arg_1% + # + # Name of the action to invoke + # + TT_ARG0_MODE TT_IN + TT_ARG0_VTYPE string + TT_ARG0_VALUE DtInfoStart + # + # Name of the host where the InfoLib exists + # + TT_ARG1_MODE TT_IN + TT_ARG1_VTYPE string + TT_ARG1_VALUE %LocalHost% + # + # Name of the locale + # + TT_ARG2_MODE TT_IN + TT_ARG2_VTYPE string + TT_ARG2_VALUE $LANG +} + +ACTION DtShowInfoAtLoc +{ + TYPE TT_MSG + TT_CLASS TT_REQUEST + TT_SCOPE TT_SESSION + TT_OPERATION DtInfo_ShowInfoAtLoc + TT_FILE %Arg_1% + # + # Name of the action to invoke + # + TT_ARG0_MODE TT_IN + TT_ARG0_VTYPE string + TT_ARG0_VALUE DtInfoStartAtLoc + # + # Name of the host where the InfoLib exists + # + TT_ARG1_MODE TT_IN + TT_ARG1_VTYPE string + TT_ARG1_VALUE %LocalHost% + # + # Name of the locale + # + TT_ARG2_MODE TT_IN + TT_ARG2_VTYPE string + TT_ARG2_VALUE $LANG + # + # Name of the section (in generalized locator format) + # + TT_ARG3_MODE TT_IN + TT_ARG3_VTYPE string + TT_ARG3_VALUE %Arg_2% +} + +# ################################################################## + +ACTION DtInfoStart +{ + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dtinfo -l "%(String)Arg_1%" + +} + +ACTION DtInfoStartAtLoc +{ + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dtinfo -l "%(String)Arg_1%" -sect "%(String)Arg_2%" + + +} diff --git a/cde/programs/localized/C/types/dtmail.dt b/cde/programs/localized/C/types/dtmail.dt new file mode 100644 index 00000000..693b0a00 --- /dev/null +++ b/cde/programs/localized/C/types/dtmail.dt @@ -0,0 +1,182 @@ + + ############################################################################### +# +# dtmail.dt +# +# Action and DataType definitions for the Common Desktop Environment +# (CDE) Mailer Component. +# +# (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company +# (c) Copyright 1993, 1994, 1995 International Business Machines Corp. +# (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc. +# (c) Copyright 1993, 1994, 1995 Novell, Inc. +# +# $TOG: dtmail.dt /main/11 1998/11/02 10:53:40 mgreess $ +# @(#)dtmail.dt 1.32 10 Aug 1994 +############################################################################### +set DtDbVersion=1.0 + +############################################################################### +# +# WARNING: This file may be overwritten in subsequent installations of +# the Common Desktop Environment (CDE). Consequently, any system wide +# changes should be made to an equivalent database file in +# /etc/dt/types and not in this file. +# +############################################################################### + +################################################################### +# +# Data Attributes +# +################################################################### +DATA_ATTRIBUTES DTMAIL_FILE +{ + ACTIONS Open,Compose + ICON DtMail + IS_TEXT true + MOVE_TO_ACTION MailAppendRm + COPY_TO_ACTION MailAppend + MEDIA RFC_822_MESSAGE + MIME_TYPE message/rfc822 + SUNV3_TYPE mail-message + DESCRIPTION This is a folder for the desktop mailer. Its \ + data type is named DTMAIL_FILE. DMMAIL_FILE files \ + contain the characters \ + "CDE-Mail-Application-MailBox-File" or "From". + TYPE_LABEL DTMAIL_FILE +} +DATA_CRITERIA DTMAIL_FILE1 +{ + DATA_ATTRIBUTES_NAME DTMAIL_FILE + CONTENT 64 string CDE-Mail-Application-MailBox-File + MODE f&!x +} +DATA_CRITERIA DTMAIL_FILE2 +{ + DATA_ATTRIBUTES_NAME DTMAIL_FILE + CONTENT 0 string From + MODE f&!x +} +ACTION MailAppend +{ + TYPE COMMAND + ARG_COUNT 2 + WINDOW_TYPE NO_STDIO + EXEC_STRING sh -c ' \ + if [ "%(File)Arg_2%" != "%(File)Arg_1%" ];\ + then \ + # check if the source is DTMAIL_FILE ;\ + # we only accept DTMAIL_FILE as drag source ;\ + IS_DTMAIL=`/usr/dt/bin/dttypes -type "%(File)Arg_2%"|grep DTMAIL_FILE`;\ + if [ -n "\$IS_DTMAIL" ]; then \ + ERROR=`cat "%(File)Arg_2%" >> "%(File)Arg_1%" \ + 2>/tmp/dtmail.\$\$ || cat /tmp/dtmail.\$\$`; \ + [ -f /tmp/dtmail.\$\$ ] && /bin/rm -f /tmp/dtmail.\$\$; \ + if [ -n "\$ERROR" ]; then \ + /usr/dt/bin/dterror.ds \ + "\$ERROR" "Information" \ + "OK"; \ + fi; \ + else \ + /usr/dt/bin/dterror.ds \ + "There are no actions available \\n for this type of file." \ + "Information" \ + "OK" ; \ + fi; \ + else \ + /usr/dt/bin/dterror.ds \ + "There are no actions available \\n for this type of file." \ + "Information" \ + "OK"; \ + fi' +} +ACTION MailAppendRm +{ + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING sh -c ' \ + TYPE=`/usr/dt/bin/dttypes -type "%(File)Arg_2%" | \ + grep \" is of type \" | sed /".* is of type "/s///`; \ + if [ \$TYPE = "DTMAIL_FILE" ]; then \ + cat "%(File)Arg_2%" >> "%(File)Arg_1%"; \ + rm "%(File)Arg_2%" ; \ + else \ + /usr/dt/bin/dterror.ds \ + "There are no actions available \\n for this type of file." \ + "Information" \ + "OK" ; \ + fi' +} + + +# +# The following action does not work. When dtmail exits, an error +# dialog is posted. +# +ACTION Compose +{ + LABEL Compose + ARG_TYPE * + ARG_COUNT 0 + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dtmail -c +} +ACTION Compose +{ + LABEL Compose + ARG_TYPE * + ARG_COUNT >0 + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dtmail -a %Args% +} + +ACTION ComposeOrOpen +{ + LABEL Open + ARG_TYPE DTMAIL_FILE + ARG_COUNT >0 + TYPE MAP + MAP_ACTION Open +} +ACTION ComposeOrOpen +{ + LABEL Compose + ARG_TYPE * + ARG_COUNT >0 + TYPE MAP + MAP_ACTION Compose +} + +ACTION Open +{ + LABEL Open + ARG_TYPE DTMAIL_FILE + ARG_COUNT >0 + TYPE TT_MSG + TT_CLASS TT_REQUEST + TT_SCOPE TT_SESSION + TT_OPERATION Display + TT_FILE %Arg_1% + TT_ARG0_MODE TT_IN + TT_ARG0_VTYPE %Arg_1% + TT_ARG0_REP_TYPE TT_REP_STRING +} + +ACTION Print +{ + LABEL Print + ARG_TYPE DTMAIL_FILE + ARG_COUNT >0 + TYPE TT_MSG + TT_CLASS TT_REQUEST + TT_SCOPE TT_SESSION + TT_OPERATION Print + TT_FILE %Arg_1% + TT_ARG0_MODE TT_IN + TT_ARG0_VTYPE %Arg_1% + TT_ARG0_REP_TYPE TT_REP_STRING +} +########################### EOF ############################################## diff --git a/cde/programs/localized/C/types/dtpad.dt b/cde/programs/localized/C/types/dtpad.dt new file mode 100644 index 00000000..433e9357 --- /dev/null +++ b/cde/programs/localized/C/types/dtpad.dt @@ -0,0 +1,116 @@ +# ########################################################################## +# +# dtpad.dt +# +# Actions used with the DT Text Editor (dtpad) +# +# (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company +# (c) Copyright 1993, 1994, 1995 International Business Machines Corp. +# (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc. +# (c) Copyright 1993, 1994, 1995 Novell, Inc. +# +# $XConsortium: dtpad.dt.src /main/4 1996/04/23 17:35:35 drk $ +# +# ########################################################################## + +set DtDbVersion=1.0 + +# ########################################################################## +# +# WARNING: This file may be overwritten in subsequent installations of +# the Common Desktop Environment (CDE). Consequently, any system wide +# changes should be made to an equivalent database file in +# /etc/dt/types and not in this file. +# +# ########################################################################## + +# ################################################################## +# +# Data Attributes +# +# ################################################################## +DATA_ATTRIBUTES TEXTFILE +{ + ACTIONS Open,Print + ICON Dtdata + IS_TEXT true + NAME_TEMPLATE %s.txt + MIME_TYPE text/plain + SUNV3_TYPE text + MEDIA C_STRING + DESCRIPTION This file contains plain text data. Its \ + data type is named TEXTFILE. A TEXTFILE must have \ + a named ending with '.txt'. + TYPE_LABEL TEXTFILE +} +DATA_CRITERIA TEXTFILE1 +{ + DATA_ATTRIBUTES_NAME TEXTFILE + MODE f&!x + NAME_PATTERN *.txt +} +# ################################################################## +# +# WARNING WARNING WARNING +# +# The following DATA_CRITERIA rule is used by dtmail to +# identify the system TEXTFILE DATA_ATTRIBUTE. If you remove +# or modify this rule, dtmail may not properly display text +# messages. +# +# ################################################################## +DATA_CRITERIA TEXTFILE2 +{ + DATA_ATTRIBUTES_NAME TEXTFILE + MODE f&!x + NAME_PATTERN text +} +ACTION Print +{ + LABEL Print + ARG_TYPE TEXTFILE + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dtlp "%Arg_1%" +} + +# ########################################################################## +# ########################################################################## +# +# Actions +# +# ########################################################################## +# #################### +# +# PRINT actions +# +# #################### +# +# The PRINT_DTPAD action mimics the default "Print" action except +# that it removes the temporary file being printed. This action +# is used by the client, 'dtpad'. +# +# #################### +ACTION PRINT_DTPAD_TEMPFILE +{ + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dtlp -u "%(String)Arg_2%" -e "%(File)Arg_1%" +} + +# ##################### +# +# Editing Actions +# +# ##################### +ACTION Dtpad +{ + LABEL Text Editor + ICON Dtpenpd + TYPE MAP + MAP_ACTION DtTTMediaOpen + DESCRIPTION The Text Editor (Dtpad) action opens the specified \ + file in a desktop text editor window. +} + +# ######################## EOF ############################################ diff --git a/cde/programs/localized/C/types/dtscreen.dt b/cde/programs/localized/C/types/dtscreen.dt new file mode 100644 index 00000000..559ab60f --- /dev/null +++ b/cde/programs/localized/C/types/dtscreen.dt @@ -0,0 +1,121 @@ +# ########################################################################## +# +# dtscreen.dt +# +# Actions for defining screen savers to the Common Desktop Environment. +# +# (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company +# (c) Copyright 1993, 1994, 1995 International Business Machines Corp. +# (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc. +# (c) Copyright 1993, 1994, 1995 Novell, Inc. +# +# $XConsortium: dtscreen.dt.src /main/4 1996/04/23 17:35:39 drk $ +# +# ########################################################################## + +set DtDbVersion=1.0 + +# ########################################################################## +# +# WARNING: This file may be overwritten in subsequent installations of +# the Common Desktop Environment (CDE). Consequently, any system wide +# changes should be made to an equivalent database file in +# /etc/dt/types and not in this file. +# +# ########################################################################## + +# ################################################################## +# +# Actions +# +# ################################################################## +ACTION StartDtscreenHop +{ + LABEL StartDtscreenHop + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dtscreen -mode hop + DESCRIPTION Hopalong iterated fractals +} + +ACTION StartDtscreenQix +{ + LABEL StartDtscreenQix + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dtscreen -mode qix + DESCRIPTION Spinning lines +} + +ACTION StartDtscreenImage +{ + LABEL StartDtscreenImage + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dtscreen -mode image + DESCRIPTION Random bouncing image +} + +ACTION StartDtscreenLife +{ + LABEL StartDtscreenLife + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dtscreen -mode life + DESCRIPTION Conway's game of Life +} + +ACTION StartDtscreenSwarm +{ + LABEL StartDtscreenSwarm + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dtscreen -mode swarm + DESCRIPTION Swarm of bees +} + +ACTION StartDtscreenRotor +{ + LABEL StartDtscreenRotor + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dtscreen -mode rotor + DESCRIPTION Rotor +} + +ACTION StartDtscreenPyro +{ + LABEL StartDtscreenPyro + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dtscreen -mode pyro + DESCRIPTION Fireworks +} + +ACTION StartDtscreenFlame +{ + LABEL StartDtscreenFlame + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dtscreen -mode flame + DESCRIPTION Cosmic Flame Fractals +} + +ACTION StartDtscreenWorm +{ + LABEL StartDtscreenWorm + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dtscreen -mode worm + DESCRIPTION Wiggly Worms +} + +ACTION StartDtscreenBlank +{ + LABEL StartDtscreenBlank + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dtscreen -mode blank + DESCRIPTION Blank Screen +} +# ######################## EOF ############################################ diff --git a/cde/programs/localized/C/types/eboard.dt b/cde/programs/localized/C/types/eboard.dt new file mode 100644 index 00000000..11c8012d --- /dev/null +++ b/cde/programs/localized/C/types/eboard.dt @@ -0,0 +1,9 @@ +ACTION eboard +{ + LABEL eboard + TYPE COMMAND + EXEC_STRING eboard + ICON eboard + WINDOW_TYPE NO_STDIO +} + diff --git a/cde/programs/localized/C/types/emacs.dt b/cde/programs/localized/C/types/emacs.dt new file mode 100644 index 00000000..480a04ec --- /dev/null +++ b/cde/programs/localized/C/types/emacs.dt @@ -0,0 +1,35 @@ +###################################################################### +# +# Common Desktop Environment (CDE) +# +# Action and DataType Definition File +# +# Generated by the CreateAction tool +# +# $Revision: 1.0 +# +# $KEY: 108 +# +###################################################################### +# +# WARNING: +# +# This file was generated by the CDE CreateAction tool. +# If this file is modified by some other tool, such as vi, +# the CreateAction tool will no longer be able to load and +# update this file. For this reason, changes to this file +# should be handled through CreateAction whenever possible. +# +###################################################################### + +ACTION emacs +{ + LABEL Emacs + TYPE COMMAND + EXEC_STRING emacs "%Arg_1%" + ICON emacs + WINDOW_TYPE NO_STDIO + DESCRIPTION GNU Editor Emacs. +} + + diff --git a/cde/programs/localized/C/types/engrampa.dt b/cde/programs/localized/C/types/engrampa.dt new file mode 100644 index 00000000..2e4fd475 --- /dev/null +++ b/cde/programs/localized/C/types/engrampa.dt @@ -0,0 +1,78 @@ +###################################################################### +# +# Common Desktop Environment (CDE) +# +# Action and DataType Definition File +# +# Generated by the CreateAction tool +# +# $Revision: 1.0 +# +# $KEY: 4747 +# +###################################################################### +# +# WARNING: +# +# This file was generated by the CDE CreateAction tool. +# If this file is modified by some other tool, such as vi, +# the CreateAction tool will no longer be able to load and +# update this file. For this reason, changes to this file +# should be handled through CreateAction whenever possible. +# +###################################################################### + +ACTION engrampa +{ + LABEL engrampa + TYPE COMMAND + EXEC_STRING engrampa %Arg_1% + ICON engrampa + WINDOW_TYPE NO_STDIO + DESCRIPTION engrampa: archive manager. +} + +DATA_ATTRIBUTES engrampa_FILE_1 +{ + ACTIONS Open + ICON engrampa + DESCRIPTION TGZ files open with engrampa. +} + +DATA_CRITERIA engrampa_FILE_1A +{ + DATA_ATTRIBUTES_NAME engrampa_FILE_1 + MODE !d + PATH_PATTERN *.tgz +} + +ACTION Open +{ + ARG_TYPE engrampa_FILE_1 + TYPE MAP + MAP_ACTION engrampa + LABEL Open +} + +DATA_ATTRIBUTES engrampa_FILE_3 +{ + ACTIONS Open + ICON engrampa + DESCRIPTION ZIP files open with engrampa. +} + +DATA_CRITERIA engrampa_FILE_3A +{ + DATA_ATTRIBUTES_NAME engrampa_FILE_3 + MODE !d + PATH_PATTERN *.zip +} + +ACTION Open +{ + ARG_TYPE engrampa_FILE_3 + TYPE MAP + MAP_ACTION engrampa + LABEL Open +} + diff --git a/cde/programs/localized/C/types/file-roller.dt b/cde/programs/localized/C/types/file-roller.dt new file mode 100644 index 00000000..9c707296 --- /dev/null +++ b/cde/programs/localized/C/types/file-roller.dt @@ -0,0 +1,78 @@ +###################################################################### +# +# Common Desktop Environment (CDE) +# +# Action and DataType Definition File +# +# Generated by the CreateAction tool +# +# $Revision: 1.0 +# +# $KEY: 4747 +# +###################################################################### +# +# WARNING: +# +# This file was generated by the CDE CreateAction tool. +# If this file is modified by some other tool, such as vi, +# the CreateAction tool will no longer be able to load and +# update this file. For this reason, changes to this file +# should be handled through CreateAction whenever possible. +# +###################################################################### + +ACTION file-roller +{ + LABEL file-roller + TYPE COMMAND + EXEC_STRING file-roller %Arg_1% + ICON file-roller + WINDOW_TYPE NO_STDIO + DESCRIPTION file-roller: archive manager. +} + +#DATA_ATTRIBUTES file-roller_FILE_1 +#{ +# ACTIONS Open +## ICON +# DESCRIPTION TGZ files open with file-roller. +#} +# +#DATA_CRITERIA file-roller_FILE_1A +#{ +# DATA_ATTRIBUTES_NAME file-roller_FILE_1 +# MODE !d +# PATH_PATTERN *.tgz +#} +# +#ACTION Open +#{ +# ARG_TYPE file-roller_FILE_1 +# TYPE MAP +# MAP_ACTION file-roller +# LABEL Open +#} +# +#DATA_ATTRIBUTES file-roller_FILE_3 +#{ +# ACTIONS Open +## ICON +# DESCRIPTION ZIP files open with file-roller. +#} +# +#DATA_CRITERIA file-roller_FILE_3A +#{ +# DATA_ATTRIBUTES_NAME file-roller_FILE_3 +# MODE !d +# PATH_PATTERN *.zip +#} +# +#ACTION Open +#{ +# ARG_TYPE file-roller_FILE_3 +# TYPE MAP +# MAP_ACTION file-roller +# LABEL Open +#} + diff --git a/cde/programs/localized/C/types/firefox.dt b/cde/programs/localized/C/types/firefox.dt new file mode 100644 index 00000000..799da40e --- /dev/null +++ b/cde/programs/localized/C/types/firefox.dt @@ -0,0 +1,143 @@ +###################################################################### +# +# Common Desktop Environment (CDE) +# +# Action and DataType Definition File +# +# Generated by the CreateAction tool +# +# $Revision: 1.0 +# +# $KEY: 4747 +# +###################################################################### +# +# WARNING: +# +# This file was generated by the CDE CreateAction tool. +# If this file is modified by some other tool, such as vi, +# the CreateAction tool will no longer be able to load and +# update this file. For this reason, changes to this file +# should be handled through CreateAction whenever possible. +# +###################################################################### + +ACTION firefox +{ + LABEL Firefox + TYPE COMMAND + EXEC_STRING firefox %Arg_1% + ICON firefox + WINDOW_TYPE NO_STDIO + DESCRIPTION The firefox Web Browser. +} + +DATA_ATTRIBUTES firefox_FILE_1 +{ + ACTIONS Open + ICON SDthtml + DESCRIPTION html files open with firefox Web Browser. +} + +DATA_CRITERIA firefox_FILE_1A +{ + DATA_ATTRIBUTES_NAME firefox_FILE_1 + MODE !d + PATH_PATTERN *.html +} + +ACTION Open +{ + ARG_TYPE firefox_FILE_1 + TYPE MAP + MAP_ACTION firefox + LABEL Open +} + +ACTION firefox_FILE_1_PRINT +{ + TYPE COMMAND + EXEC_STRING firefox -print %Arg_1% + WINDOW_TYPE NO_STDIO + DESCRIPTION Printing for firefox by droping and html file on the \ + penel's printer needs an add-on. Search \ + the Internet to find a command-line printing add-on for \ + firefox accordingly the print command in the file firefox.dt +} + +ACTION Print +{ + ARG_TYPE firefox_FILE_1 + TYPE MAP + MAP_ACTION firefox_FILE_1_PRINT + LABEL Print +} + + + +DATA_ATTRIBUTES firefox_FILE_3 +{ + ACTIONS Open + ICON SDthtml + DESCRIPTION htm files open with firefox Web Browser. +} + +DATA_CRITERIA firefox_FILE_3A +{ + DATA_ATTRIBUTES_NAME firefox_FILE_3 + MODE !d + PATH_PATTERN *.htm +} + +ACTION Open +{ + ARG_TYPE firefox_FILE_3 + TYPE MAP + MAP_ACTION firefox + LABEL Open +} + +ACTION firefox_FILE_3_PRINT +{ + TYPE COMMAND + EXEC_STRING firefox -print %Arg_1% + WINDOW_TYPE NO_STDIO + DESCRIPTION Printing for firefox by droping and htm file on the \ + penel's printer needs an add-on. Search \ + the Internet to find a command-line printing add-on for \ + firefox accordingly the print command in the file firefox.dt +} + +ACTION Print +{ + ARG_TYPE firefox_FILE_3 + TYPE MAP + MAP_ACTION firefox_FILE_3_PRINT + LABEL Print +} + + + +DATA_ATTRIBUTES firefox_FILE_5 +{ + ACTIONS Open + ICON SDturlweb + DESCRIPTION url files open with firefox Web Browser. +} + + +DATA_CRITERIA firefox_FILE_5A +{ + DATA_ATTRIBUTES_NAME firefox_FILE_5 + MODE !d + PATH_PATTERN *.url +} + +ACTION Open +{ + ARG_TYPE firefox_FILE_5 + TYPE MAP + MAP_ACTION firefox + LABEL Open +} + diff --git a/cde/programs/localized/C/types/firestarter.dt b/cde/programs/localized/C/types/firestarter.dt new file mode 100644 index 00000000..963689f7 --- /dev/null +++ b/cde/programs/localized/C/types/firestarter.dt @@ -0,0 +1,35 @@ +###################################################################### +# +# Common Desktop Environment (CDE) +# +# Action and DataType Definition File +# +# Generated by the CreateAction tool +# +# $Revision: 1.0 +# +# $KEY: 4747 +# +###################################################################### +# +# WARNING: +# +# This file was generated by the CDE CreateAction tool. +# If this file is modified by some other tool, such as vi, +# the CreateAction tool will no longer be able to load and +# update this file. For this reason, changes to this file +# should be handled through CreateAction whenever possible. +# +###################################################################### + +ACTION firestarter +{ + LABEL firestarter + TYPE COMMAND + EXEC_STRING gksu -w -u root firestarter + ICON firestarter + WINDOW_TYPE NO_STDIO + DESCRIPTION firestarter: manage your firewall. +} + + diff --git a/cde/programs/localized/C/types/fontforge.dt b/cde/programs/localized/C/types/fontforge.dt new file mode 100644 index 00000000..54e4c8bc --- /dev/null +++ b/cde/programs/localized/C/types/fontforge.dt @@ -0,0 +1,169 @@ +###################################################################### +# +# Common Desktop Environment (CDE) +# +# Action and DataType Definition File +# +# Generated by the CreateAction tool +# +# $Revision: 1.0 +# +# $KEY: 108 +# +###################################################################### +# +# WARNING: +# +# This file was generated by the CDE CreateAction tool. +# If this file is modified by some other tool, such as vi, +# the CreateAction tool will no longer be able to load and +# update this file. For this reason, changes to this file +# should be handled through CreateAction whenever possible. +# +###################################################################### + +ACTION fontforge +{ + LABEL fontforge + TYPE COMMAND + EXEC_STRING fontforge "%Arg_1%" + ICON fontforge + WINDOW_TYPE NO_STDIO + DESCRIPTION fontforge font editor. +} + +DATA_ATTRIBUTES fontforge_FILE_1 +{ + ACTIONS Open,Print + ICON fontforge + DESCRIPTION Open font in fontforge. +} + +DATA_CRITERIA fontforge_FILE_1A +{ + DATA_ATTRIBUTES_NAME fontforge_FILE_1 + MODE !d + PATH_PATTERN *.sfd +} + +ACTION Open +{ + ARG_TYPE fontforge_FILE_1 + TYPE MAP + MAP_ACTION fontforge + LABEL Open +} + +ACTION fontforge_FILE_1_PRINT +{ + TYPE COMMAND + EXEC_STRING fontforge "%Arg_1%" + WINDOW_TYPE NO_STDIO +} + +ACTION Print +{ + ARG_TYPE fontforge_FILE_1 + TYPE MAP + MAP_ACTION fontforge_FILE_1_PRINT + LABEL Print +} + + + +#### +DATA_ATTRIBUTES fontforge_FILE_3 +{ + ACTIONS Open + ICON fontforge + DESCRIPTION Open font in fontforge. +} + +DATA_CRITERIA fontforge_FILE_3A +{ + DATA_ATTRIBUTES_NAME fontforge_FILE_3 + MODE !d + PATH_PATTERN *.ttf +} + +ACTION Open +{ + ARG_TYPE fontforge_FILE_3 + TYPE MAP + MAP_ACTION fontforge + LABEL Open +} + + +#### + +DATA_ATTRIBUTES fontforge_FILE_5 +{ + ACTIONS Open + ICON fontforge + DESCRIPTION Open font in fontforge. +} + +DATA_CRITERIA fontforge_FILE_5A +{ + DATA_ATTRIBUTES_NAME fontforge_FILE_5 + MODE !d + PATH_PATTERN *.pfb +} + +ACTION Open +{ + ARG_TYPE fontforge_FILE_5 + TYPE MAP + MAP_ACTION fontforge + LABEL Open +} +#### +DATA_ATTRIBUTES fontforge_FILE_7 +{ + ACTIONS Open + ICON fontforge + DESCRIPTION Open font in fontforge. +} + +DATA_CRITERIA fontforge_FILE_7A +{ + DATA_ATTRIBUTES_NAME fontforge_FILE_7 + MODE !d + PATH_PATTERN *.pfa +} + +ACTION Open +{ + ARG_TYPE fontforge_FILE_7 + TYPE MAP + MAP_ACTION fontforge + LABEL Open +} +#### +DATA_ATTRIBUTES fontforge_FILE_9 +{ + ACTIONS Open + ICON fontforge + DESCRIPTION Open font in fontforge. +} + +DATA_CRITERIA fontforge_FILE_9A +{ + DATA_ATTRIBUTES_NAME fontforge_FILE_9 + MODE !d + PATH_PATTERN *.otf +} + +ACTION Open +{ + ARG_TYPE fontforge_FILE_9 + TYPE MAP + MAP_ACTION fontforge + LABEL Open +} + + + + + diff --git a/cde/programs/localized/C/types/gcompris.dt b/cde/programs/localized/C/types/gcompris.dt new file mode 100644 index 00000000..fa5a7721 --- /dev/null +++ b/cde/programs/localized/C/types/gcompris.dt @@ -0,0 +1,34 @@ +###################################################################### +# +# Common Desktop Environment (CDE) +# +# Action and DataType Definition File +# +# Generated by the CreateAction tool +# +# $Revision: 1.0 +# +# $KEY: 4747 +# +###################################################################### +# +# WARNING: +# +# This file was generated by the CDE CreateAction tool. +# If this file is modified by some other tool, such as vi, +# the CreateAction tool will no longer be able to load and +# update this file. For this reason, changes to this file +# should be handled through CreateAction whenever possible. +# +###################################################################### + +ACTION gcompris +{ + LABEL gcompris + TYPE COMMAND + EXEC_STRING gcompris %Arg_1% + ICON gcompris + WINDOW_TYPE NO_STDIO + DESCRIPTION gcompris is an education suite. +} + diff --git a/cde/programs/localized/C/types/geogebra.dt b/cde/programs/localized/C/types/geogebra.dt new file mode 100644 index 00000000..05271d6c --- /dev/null +++ b/cde/programs/localized/C/types/geogebra.dt @@ -0,0 +1,33 @@ +###################################################################### +# +# Common Desktop Environment (CDE) +# +# Action and DataType Definition File +# +# Generated by the CreateAction tool +# +# $Revision: 1.0 +# +# $KEY: 4747 +# +###################################################################### +# +# WARNING: +# +# This file was generated by the CDE CreateAction tool. +# If this file is modified by some other tool, such as vi, +# the CreateAction tool will no longer be able to load and +# update this file. For this reason, changes to this file +# should be handled through CreateAction whenever possible. +# +###################################################################### + +ACTION geogebra +{ + LABEL geogebra + TYPE COMMAND + EXEC_STRING geogebra %Arg_1% + ICON geogebra + WINDOW_TYPE NO_STDIO + DESCRIPTION geogebra is for interactive geometry and algebra. +} diff --git a/cde/programs/localized/C/types/gimp.dt b/cde/programs/localized/C/types/gimp.dt new file mode 100644 index 00000000..b5fc8d46 --- /dev/null +++ b/cde/programs/localized/C/types/gimp.dt @@ -0,0 +1,72 @@ +###################################################################### +# +# Common Desktop Environment (CDE) +# +# Action and DataType Definition File +# +# Generated by the CreateAction tool +# +# $Revision: 1.0 +# +# $KEY: 4747 +# +###################################################################### +# +# WARNING: +# +# This file was generated by the CDE CreateAction tool. +# If this file is modified by some other tool, such as vi, +# the CreateAction tool will no longer be able to load and +# update this file. For this reason, changes to this file +# should be handled through CreateAction whenever possible. +# +###################################################################### + +ACTION gimp +{ + LABEL Gimp + TYPE COMMAND + EXEC_STRING gimp "%Arg_1%" + ICON gimp + WINDOW_TYPE NO_STDIO + DESCRIPTION The GNU image manipulation program. +} + +DATA_ATTRIBUTES gimp_FILE_1 +{ + ACTIONS Open,Print + ICON gimp + DESCRIPTION Open image in Gimp. +} + +DATA_CRITERIA gimp_FILE_1A +{ + DATA_ATTRIBUTES_NAME gimp_FILE_1 + MODE !d + PATH_PATTERN *.xcf +} + +ACTION Open +{ + ARG_TYPE gimp_FILE_1 + TYPE MAP + MAP_ACTION gimp + LABEL Open +} + +ACTION gimp_FILE_1_PRINT +{ + TYPE COMMAND + EXEC_STRING gimp "%Arg_1%" + WINDOW_TYPE NO_STDIO +} + +ACTION Print +{ + ARG_TYPE gimp_FILE_1 + TYPE MAP + MAP_ACTION gimp_FILE_1_PRINT + LABEL Print +} + + diff --git a/cde/programs/localized/C/types/gv.dt b/cde/programs/localized/C/types/gv.dt new file mode 100644 index 00000000..8dfc30f7 --- /dev/null +++ b/cde/programs/localized/C/types/gv.dt @@ -0,0 +1,72 @@ +###################################################################### +# +# Common Desktop Environment (CDE) +# +# Action and DataType Definition File +# +# Generated by the CreateAction tool +# +# $Revision: 1.0 +# +# $KEY: 108 +# +###################################################################### +# +# WARNING: +# +# This file was generated by the CDE CreateAction tool. +# If this file is modified by some other tool, such as vi, +# the CreateAction tool will no longer be able to load and +# update this file. For this reason, changes to this file +# should be handled through CreateAction whenever possible. +# +###################################################################### + +ACTION gv +{ + LABEL gv + TYPE COMMAND + EXEC_STRING gv "%Arg_1%" + ICON gv + WINDOW_TYPE NO_STDIO + DESCRIPTION gv is a postscript viewer. +} + +DATA_ATTRIBUTES gv_FILE_1 +{ + ACTIONS Open,Print + ICON gv + DESCRIPTION Postscript files open with gv. +} + +DATA_CRITERIA gv_FILE_1A +{ + DATA_ATTRIBUTES_NAME gv_FILE_1 + MODE !d + PATH_PATTERN *.ps +} + +ACTION Open +{ + ARG_TYPE gv_FILE_1 + TYPE MAP + MAP_ACTION gv + LABEL Open +} + +ACTION gv_FILE_1_PRINT +{ + TYPE COMMAND + EXEC_STRING lpr "%Arg_1%" + WINDOW_TYPE NO_STDIO +} + +ACTION Print +{ + ARG_TYPE gv_FILE_1 + TYPE MAP + MAP_ACTION gv_FILE_1_PRINT + LABEL Print +} + + diff --git a/cde/programs/localized/C/types/inkscape.dt b/cde/programs/localized/C/types/inkscape.dt new file mode 100644 index 00000000..5d3ec21b --- /dev/null +++ b/cde/programs/localized/C/types/inkscape.dt @@ -0,0 +1,71 @@ +###################################################################### +# +# Common Desktop Environment (CDE) +# +# Action and DataType Definition File +# +# Generated by the CreateAction tool +# +# $Revision: 1.0 +# +# $KEY: 108 +# +###################################################################### +# +# WARNING: +# +# This file was generated by the CDE CreateAction tool. +# If this file is modified by some other tool, such as vi, +# the CreateAction tool will no longer be able to load and +# update this file. For this reason, changes to this file +# should be handled through CreateAction whenever possible. +# +###################################################################### + +ACTION inkscape +{ + LABEL inkscape + TYPE COMMAND + EXEC_STRING inkscape "%Arg_1%" + ICON inkscape + WINDOW_TYPE NO_STDIO + DESCRIPTION inkscape vector graphics editor +} + +DATA_ATTRIBUTES inkscape_FILE_1 +{ + ACTIONS Open,Print + DESCRIPTION Open image in inkscape. +} + +DATA_CRITERIA inkscape_FILE_1A +{ + DATA_ATTRIBUTES_NAME inkscape_FILE_1 + MODE !d + PATH_PATTERN *.svg +} + +ACTION Open +{ + ARG_TYPE inkscape_FILE_1 + TYPE MAP + MAP_ACTION inkscape + LABEL Open +} + +ACTION inkscape_FILE_1_PRINT +{ + TYPE COMMAND + EXEC_STRING inkscape %Arg_1% + WINDOW_TYPE NO_STDIO +} + +ACTION Print +{ + ARG_TYPE inkscape_FILE_1 + TYPE MAP + MAP_ACTION inkscape_FILE_1_PRINT + LABEL Print +} + + diff --git a/cde/programs/localized/C/types/k3b.dt b/cde/programs/localized/C/types/k3b.dt new file mode 100644 index 00000000..ad9c4af3 --- /dev/null +++ b/cde/programs/localized/C/types/k3b.dt @@ -0,0 +1,78 @@ +###################################################################### +# +# Common Desktop Environment (CDE) +# +# Action and DataType Definition File +# +# Generated by the CreateAction tool +# +# $Revision: 1.0 +# +# $KEY: 4747 +# +###################################################################### +# +# WARNING: +# +# This file was generated by the CDE CreateAction tool. +# If this file is modified by some other tool, such as vi, +# the CreateAction tool will no longer be able to load and +# update this file. For this reason, changes to this file +# should be handled through CreateAction whenever possible. +# +###################################################################### + +ACTION k3b +{ + LABEL k3b + TYPE COMMAND + EXEC_STRING k3b %Arg_1% + ICON k3b + WINDOW_TYPE NO_STDIO + DESCRIPTION k3b Burn CDs and DVDs. +} + +#DATA_ATTRIBUTES vlc_FILE_1 +#{ +# ACTIONS Open +# ICON mp3 +# DESCRIPTION MP3 files open with VLC Media Player. +#} +# +#DATA_CRITERIA vlc_FILE_1A +#{ +# DATA_ATTRIBUTES_NAME vlc_FILE_1 +# MODE !d +# PATH_PATTERN *.mp3 +#} +# +#ACTION Open +#{ +# ARG_TYPE vlc_FILE_1 +# TYPE MAP +# MAP_ACTION vlc +# LABEL Open +#} +# +#DATA_ATTRIBUTES vlc_FILE_3 +#{ +# ACTIONS Open +# ICON mp3 +# DESCRIPTION OGG files open with VLC Media Player. +#} +# +#DATA_CRITERIA vlc_FILE_3A +#{ +# DATA_ATTRIBUTES_NAME vlc_FILE_3 +# MODE !d +# PATH_PATTERN *.ogg +#} +# +#ACTION Open +#{ +# ARG_TYPE vlc_FILE_3 +# TYPE MAP +# MAP_ACTION vlc +# LABEL Open +#} + diff --git a/cde/programs/localized/C/types/k9copy.dt b/cde/programs/localized/C/types/k9copy.dt new file mode 100644 index 00000000..55f14439 --- /dev/null +++ b/cde/programs/localized/C/types/k9copy.dt @@ -0,0 +1,78 @@ +###################################################################### +# +# Common Desktop Environment (CDE) +# +# Action and DataType Definition File +# +# Generated by the CreateAction tool +# +# $Revision: 1.0 +# +# $KEY: 4747 +# +###################################################################### +# +# WARNING: +# +# This file was generated by the CDE CreateAction tool. +# If this file is modified by some other tool, such as vi, +# the CreateAction tool will no longer be able to load and +# update this file. For this reason, changes to this file +# should be handled through CreateAction whenever possible. +# +###################################################################### + +ACTION k9copy +{ + LABEL k9copy + TYPE COMMAND + EXEC_STRING k9copy %Arg_1% + ICON k9copy + WINDOW_TYPE NO_STDIO + DESCRIPTION k9copy: Copy 9Gb DVDs to 4.5Gb DVDs. +} + +#DATA_ATTRIBUTES vlc_FILE_1 +#{ +# ACTIONS Open +# ICON mp3 +# DESCRIPTION MP3 files open with VLC Media Player. +#} +# +#DATA_CRITERIA vlc_FILE_1A +#{ +# DATA_ATTRIBUTES_NAME vlc_FILE_1 +# MODE !d +# PATH_PATTERN *.mp3 +#} +# +#ACTION Open +#{ +# ARG_TYPE vlc_FILE_1 +# TYPE MAP +# MAP_ACTION vlc +# LABEL Open +#} +# +#DATA_ATTRIBUTES vlc_FILE_3 +#{ +# ACTIONS Open +# ICON mp3 +# DESCRIPTION OGG files open with VLC Media Player. +#} +# +#DATA_CRITERIA vlc_FILE_3A +#{ +# DATA_ATTRIBUTES_NAME vlc_FILE_3 +# MODE !d +# PATH_PATTERN *.ogg +#} +# +#ACTION Open +#{ +# ARG_TYPE vlc_FILE_3 +# TYPE MAP +# MAP_ACTION vlc +# LABEL Open +#} + diff --git a/cde/programs/localized/C/types/kile.dt b/cde/programs/localized/C/types/kile.dt new file mode 100644 index 00000000..d4d27bd2 --- /dev/null +++ b/cde/programs/localized/C/types/kile.dt @@ -0,0 +1,98 @@ +###################################################################### +# +# Common Desktop Environment (CDE) +# +# Action and DataType Definition File +# +# Generated by the CreateAction tool +# +# $Revision: 1.0 +# +# $KEY: 108 +# +###################################################################### +# +# WARNING: +# +# This file was generated by the CDE CreateAction tool. +# If this file is modified by some other tool, such as vi, +# the CreateAction tool will no longer be able to load and +# update this file. For this reason, changes to this file +# should be handled through CreateAction whenever possible. +# +###################################################################### + +ACTION kile +{ + LABEL kile + TYPE COMMAND + EXEC_STRING kile "%Arg_1%" + ICON kile + WINDOW_TYPE NO_STDIO + DESCRIPTION LaTeX editor of KDE. +} + +DATA_ATTRIBUTES kile_FILE_1 +{ + ACTIONS Open,Print + ICON kile + DESCRIPTION TeX files open in kile. +} + +DATA_CRITERIA kile_FILE_1A +{ + DATA_ATTRIBUTES_NAME kile_FILE_1 + MODE !d + PATH_PATTERN *.tex +} + +ACTION Open +{ + ARG_TYPE kile_FILE_1 + TYPE MAP + MAP_ACTION kile + LABEL Open +} + +ACTION kile_FILE_1_PRINT +{ + TYPE COMMAND + EXEC_STRING lpr "%Arg_1%" + WINDOW_TYPE NO_STDIO +} + +ACTION Print +{ + ARG_TYPE kile_FILE_1 + TYPE MAP + MAP_ACTION kile_FILE_1_PRINT + LABEL Print +} + +DATA_ATTRIBUTES kile_FILE_3 +{ + ACTIONS Open,Print + ICON kile + DESCRIPTION TeX style files open in kile. +} + +DATA_CRITERIA kile_FILE_3A +{ + DATA_ATTRIBUTES_NAME kile_FILE_3 + MODE !d + PATH_PATTERN *.sty +} + +ACTION Open +{ + ARG_TYPE kile_FILE_3 + TYPE MAP + MAP_ACTION kile + LABEL Open +} + + + + + + diff --git a/cde/programs/localized/C/types/ktuberling.dt b/cde/programs/localized/C/types/ktuberling.dt new file mode 100644 index 00000000..f5a959df --- /dev/null +++ b/cde/programs/localized/C/types/ktuberling.dt @@ -0,0 +1,9 @@ +ACTION ktuberling +{ + LABEL ktuberling + TYPE COMMAND + EXEC_STRING ktuberling + ICON ktuberling + WINDOW_TYPE NO_STDIO +} + diff --git a/cde/programs/localized/C/types/lbreakout2.dt b/cde/programs/localized/C/types/lbreakout2.dt new file mode 100644 index 00000000..e1763718 --- /dev/null +++ b/cde/programs/localized/C/types/lbreakout2.dt @@ -0,0 +1,9 @@ +ACTION lbreakout2 +{ + LABEL lbreakout2 + TYPE COMMAND + EXEC_STRING lbreakout2 + ICON lbreakout2 + WINDOW_TYPE NO_STDIO +} + diff --git a/cde/programs/localized/C/types/libreoffice-base.dt b/cde/programs/localized/C/types/libreoffice-base.dt new file mode 100644 index 00000000..4e790ed7 --- /dev/null +++ b/cde/programs/localized/C/types/libreoffice-base.dt @@ -0,0 +1,34 @@ +###################################################################### +# +# Common Desktop Environment (CDE) +# +# Action and DataType Definition File +# +# Generated by the CreateAction tool +# +# $Revision: 1.0 +# +# $KEY: 108 +# +###################################################################### +# +# WARNING: +# +# This file was generated by the CDE CreateAction tool. +# If this file is modified by some other tool, such as vi, +# the CreateAction tool will no longer be able to load and +# update this file. For this reason, changes to this file +# should be handled through CreateAction whenever possible. +# +###################################################################### + +ACTION libreoffice-base +{ + LABEL Base + TYPE COMMAND + EXEC_STRING libreoffice --base "%Arg_1%" + ICON libreoffice-base + WINDOW_TYPE NO_STDIO + DESCRIPTION Libre Office BASE. +} + diff --git a/cde/programs/localized/C/types/libreoffice-calc.dt b/cde/programs/localized/C/types/libreoffice-calc.dt new file mode 100644 index 00000000..fcbf9e26 --- /dev/null +++ b/cde/programs/localized/C/types/libreoffice-calc.dt @@ -0,0 +1,146 @@ +###################################################################### +# +# Common Desktop Environment (CDE) +# +# Action and DataType Definition File +# +# Generated by the CreateAction tool +# +# $Revision: 1.0 +# +# $KEY: 108 +# +###################################################################### +# +# WARNING: +# +# This file was generated by the CDE CreateAction tool. +# If this file is modified by some other tool, such as vi, +# the CreateAction tool will no longer be able to load and +# update this file. For this reason, changes to this file +# should be handled through CreateAction whenever possible. +# +###################################################################### + +ACTION libreoffice-calc +{ + LABEL Calc + TYPE COMMAND + EXEC_STRING libreoffice --calc "%Arg_1%" + ICON libreoffice-calc + WINDOW_TYPE NO_STDIO + DESCRIPTION Libre Office Spreadsheets. +} + +DATA_ATTRIBUTES libreoffice-calc_FILE_1 +{ + ACTIONS Open,Print + ICON libreoffice-calc + DESCRIPTION Open Document Spreadsheet file. +} + +DATA_CRITERIA libreoffice-calc_FILE_1A +{ + DATA_ATTRIBUTES_NAME libreoffice-calc_FILE_1 + MODE !d + PATH_PATTERN *.ods +} + +ACTION Open +{ + ARG_TYPE libreoffice-calc_FILE_1 + TYPE MAP + MAP_ACTION libreoffice-calc + LABEL Open +} + +ACTION libreoffice-calc_FILE_1_PRINT +{ + TYPE COMMAND + EXEC_STRING libreoffice -p "%Arg_1%" + WINDOW_TYPE NO_STDIO +} + +ACTION Print +{ + ARG_TYPE libreoffice-calc_FILE_1 + TYPE MAP + MAP_ACTION libreoffice-calc_FILE_1_PRINT + LABEL Print +} + + +DATA_ATTRIBUTES libreoffice-calc_FILE_4 +{ + ACTIONS Open,Print + ICON libreoffice-calc +} + +DATA_CRITERIA libreoffice-calc_FILE_4A +{ + DATA_ATTRIBUTES_NAME libreoffice-calc_FILE_4 + MODE !d + PATH_PATTERN *.xls +} + +ACTION Open +{ + ARG_TYPE libreoffice-calc_FILE_4 + TYPE MAP + MAP_ACTION libreoffice-calc + LABEL Open +} + +ACTION libreoffice-calc_FILE_4_PRINT +{ + TYPE COMMAND + EXEC_STRING libreoffice -p "%Arg_1%" + WINDOW_TYPE NO_STDIO +} + +ACTION Print +{ + ARG_TYPE libreoffice-calc_FILE_4 + TYPE MAP + MAP_ACTION libreoffice-calc_FILE_4_PRINT + LABEL Print +} + + +DATA_ATTRIBUTES libreoffice-calc_FILE_6 +{ + ACTIONS Open,Print + ICON libreoffice-calc + DESCRIPTION New Microsoft Spreadsheet Format. +} + +DATA_CRITERIA libreoffice-calc_FILE_6A +{ + DATA_ATTRIBUTES_NAME libreoffice-calc_FILE_6 + MODE !d + PATH_PATTERN *.xlsx +} + +ACTION Open +{ + ARG_TYPE libreoffice-calc_FILE_6 + TYPE MAP + MAP_ACTION libreoffice-calc + LABEL Open +} + +ACTION libreoffice-calc_FILE_6_PRINT +{ + TYPE COMMAND + EXEC_STRING libreoffice -p "%Arg_1%" + WINDOW_TYPE NO_STDIO +} + +ACTION Print +{ + ARG_TYPE libreoffice-calc_FILE_6 + TYPE MAP + MAP_ACTION libreoffice-calc_FILE_6_PRINT + LABEL Print +} + diff --git a/cde/programs/localized/C/types/libreoffice-draw.dt b/cde/programs/localized/C/types/libreoffice-draw.dt new file mode 100644 index 00000000..ee079ab2 --- /dev/null +++ b/cde/programs/localized/C/types/libreoffice-draw.dt @@ -0,0 +1,110 @@ +###################################################################### +# +# Common Desktop Environment (CDE) +# +# Action and DataType Definition File +# +# Generated by the CreateAction tool +# +# $Revision: 1.0 +# +# $KEY: 108 +# +###################################################################### +# +# WARNING: +# +# This file was generated by the CDE CreateAction tool. +# If this file is modified by some other tool, such as vi, +# the CreateAction tool will no longer be able to load and +# update this file. For this reason, changes to this file +# should be handled through CreateAction whenever possible. +# +###################################################################### + +ACTION libreoffice-draw +{ + LABEL Draw + TYPE COMMAND + EXEC_STRING libreoffice --draw "%Arg_1%" + ICON libreoffice-draw + WINDOW_TYPE NO_STDIO + DESCRIPTION Libre Office DRAW. +} + +DATA_ATTRIBUTES libreoffice-draw_FILE_1 +{ + ACTIONS Open,Print + ICON libreoffice-draw + DESCRIPTION Open Document Draw file. +} + +DATA_CRITERIA libreoffice-draw_FILE_1A +{ + DATA_ATTRIBUTES_NAME libreoffice-draw_FILE_1 + MODE !d + PATH_PATTERN *.odg +} + +ACTION Open +{ + ARG_TYPE libreoffice-draw_FILE_1 + TYPE MAP + MAP_ACTION libreoffice-draw + LABEL Open +} + +ACTION libreoffice-draw_FILE_1_PRINT +{ + TYPE COMMAND + EXEC_STRING libreoffice -p "%Arg_1%" + WINDOW_TYPE NO_STDIO +} + +ACTION Print +{ + ARG_TYPE libreoffice-draw_FILE_1 + TYPE MAP + MAP_ACTION libreoffice-draw_FILE_1_PRINT + LABEL Print +} + + +DATA_ATTRIBUTES libreoffice-draw_FILE_4 +{ + ACTIONS Open,Print + ICON libreoffice-draw +} + +DATA_CRITERIA libreoffice-draw_FILE_4A +{ + DATA_ATTRIBUTES_NAME libreoffice-draw_FILE_4 + MODE !d + PATH_PATTERN *.fodg +} + +ACTION Open +{ + ARG_TYPE libreoffice-draw_FILE_4 + TYPE MAP + MAP_ACTION libreoffice-draw + LABEL Open +} + +ACTION libreoffice-writer_FILE_4_PRINT +{ + TYPE COMMAND + EXEC_STRING libreoffice -p "%Arg_1%" + WINDOW_TYPE NO_STDIO +} + +ACTION Print +{ + ARG_TYPE libreoffice-draw_FILE_4 + TYPE MAP + MAP_ACTION libreoffice-draw_FILE_4_PRINT + LABEL Print +} + + + diff --git a/cde/programs/localized/C/types/libreoffice-impress.dt b/cde/programs/localized/C/types/libreoffice-impress.dt new file mode 100644 index 00000000..f006708a --- /dev/null +++ b/cde/programs/localized/C/types/libreoffice-impress.dt @@ -0,0 +1,260 @@ +###################################################################### +# +# Common Desktop Environment (CDE) +# +# Action and DataType Definition File +# +# Generated by the CreateAction tool +# +# $Revision: 1.0 +# +# $KEY: 108 +# +###################################################################### +# +# WARNING: +# +# This file was generated by the CDE CreateAction tool. +# If this file is modified by some other tool, such as vi, +# the CreateAction tool will no longer be able to load and +# update this file. For this reason, changes to this file +# should be handled through CreateAction whenever possible. +# +###################################################################### + +ACTION libreoffice-impress +{ + LABEL Impress + TYPE COMMAND + EXEC_STRING libreoffice --impress "%Arg_1%" + ICON libreoffice-impress + WINDOW_TYPE NO_STDIO + DESCRIPTION Libre Office Impress. +} + +DATA_ATTRIBUTES libreoffice-impress_FILE_1 +{ + ACTIONS Open,Print + ICON libreoffice-impress + DESCRIPTION Open Document Presentation file. +} + +DATA_CRITERIA libreoffice-impress_FILE_1A +{ + DATA_ATTRIBUTES_NAME libreoffice-impress_FILE_1 + MODE !d + PATH_PATTERN *.odp +} + +ACTION Open +{ + ARG_TYPE libreoffice-impress_FILE_1 + TYPE MAP + MAP_ACTION libreoffice-impress + LABEL Open +} + +ACTION libreoffice-impress_FILE_1_PRINT +{ + TYPE COMMAND + EXEC_STRING libreoffice -p "%Arg_1%" + WINDOW_TYPE NO_STDIO +} + +ACTION Print +{ + ARG_TYPE libreoffice-impress_FILE_1 + TYPE MAP + MAP_ACTION libreoffice-impress_FILE_1_PRINT + LABEL Print +} + + +DATA_ATTRIBUTES libreoffice-impress_FILE_4 +{ + ACTIONS Open,Print + ICON libreoffice-impress +} + +DATA_CRITERIA libreoffice-impress_FILE_4A +{ + DATA_ATTRIBUTES_NAME libreoffice-impress_FILE_4 + MODE !d + PATH_PATTERN *.fodp +} + +ACTION Open +{ + ARG_TYPE libreoffice-impress_FILE_4 + TYPE MAP + MAP_ACTION libreoffice-impress + LABEL Open +} + +ACTION libreoffice-impress_FILE_4_PRINT +{ + TYPE COMMAND + EXEC_STRING libreoffice -p "%Arg_1%" + WINDOW_TYPE NO_STDIO +} + +ACTION Print +{ + ARG_TYPE libreoffice-impress_FILE_4 + TYPE MAP + MAP_ACTION libreoffice-impress_FILE_4_PRINT + LABEL Print +} + + +DATA_ATTRIBUTES libreoffice-impress_FILE_6 +{ + ACTIONS Open,Print + ICON libreoffice-impress + DESCRIPTION New Microsoft Format. +} + +DATA_CRITERIA libreoffice-impress_FILE_6A +{ + DATA_ATTRIBUTES_NAME libreoffice-impress_FILE_6 + MODE !d + PATH_PATTERN *.pptx +} + +ACTION Open +{ + ARG_TYPE libreoffice-impress_FILE_6 + TYPE MAP + MAP_ACTION libreoffice-impress + LABEL Open +} + +ACTION libreoffice-impress_FILE_6_PRINT +{ + TYPE COMMAND + EXEC_STRING libreoffice -p "%Arg_1%" + WINDOW_TYPE NO_STDIO +} + +ACTION Print +{ + ARG_TYPE libreoffice-impress_FILE_6 + TYPE MAP + MAP_ACTION libreoffice-impress_FILE_6_PRINT + LABEL Print +} + +DATA_ATTRIBUTES libreoffice-impress_FILE_8 +{ + ACTIONS Open,Print + ICON libreoffice-impress + DESCRIPTION New Microsoft Format. +} + +DATA_CRITERIA libreoffice-impress_FILE_8A +{ + DATA_ATTRIBUTES_NAME libreoffice-impress_FILE_8 + MODE !d + PATH_PATTERN *.ppsx +} + +ACTION Open +{ + ARG_TYPE libreoffice-impress_FILE_8 + TYPE MAP + MAP_ACTION libreoffice-impress + LABEL Open +} + +ACTION libreoffice-impress_FILE_8_PRINT +{ + TYPE COMMAND + EXEC_STRING libreoffice -p "%Arg_1%" + WINDOW_TYPE NO_STDIO +} + +ACTION Print +{ + ARG_TYPE libreoffice-impress_FILE_8 + TYPE MAP + MAP_ACTION libreoffice-impress_FILE_8_PRINT + LABEL Print +} + + + +DATA_ATTRIBUTES libreoffice-impress_FILE_10 +{ + ACTIONS Open,Print + ICON libreoffice-impress + DESCRIPTION Microsoft Presentation Format. +} + +DATA_CRITERIA libreoffice-impress_FILE_10A +{ + DATA_ATTRIBUTES_NAME libreoffice-impress_FILE_10 + MODE !d + PATH_PATTERN *.ppt +} + +ACTION Open +{ + ARG_TYPE libreoffice-impress_FILE_10 + TYPE MAP + MAP_ACTION libreoffice-impress + LABEL Open +} + +ACTION libreoffice-impress_FILE_10_PRINT +{ + TYPE COMMAND + EXEC_STRING libreoffice -p "%Arg_1%" + WINDOW_TYPE NO_STDIO +} + +ACTION Print +{ + ARG_TYPE libreoffice-impress_FILE_10 + TYPE MAP + MAP_ACTION libreoffice-impress_FILE_10_PRINT + LABEL Print +} + + +DATA_ATTRIBUTES libreoffice-impress_FILE_12 +{ + ACTIONS Open,Print + ICON libreoffice-impress + DESCRIPTION Microsoft Presentation Format. +} + +DATA_CRITERIA libreoffice-impress_FILE_12A +{ + DATA_ATTRIBUTES_NAME libreoffice-impress_FILE_12 + MODE !d + PATH_PATTERN *.pps +} + +ACTION Open +{ + ARG_TYPE libreoffice-impress_FILE_12 + TYPE MAP + MAP_ACTION libreoffice-impress + LABEL Open +} + +ACTION libreoffice-impress_FILE_12_PRINT +{ + TYPE COMMAND + EXEC_STRING libreoffice -p "%Arg_1%" + WINDOW_TYPE NO_STDIO +} + +ACTION Print +{ + ARG_TYPE libreoffice-impress_FILE_12 + TYPE MAP + MAP_ACTION libreoffice-impress_FILE_12_PRINT + LABEL Print +} + diff --git a/cde/programs/localized/C/types/libreoffice-main.dt b/cde/programs/localized/C/types/libreoffice-main.dt new file mode 100644 index 00000000..59f35fb6 --- /dev/null +++ b/cde/programs/localized/C/types/libreoffice-main.dt @@ -0,0 +1,37 @@ +###################################################################### +# +# Common Desktop Environment (CDE) +# +# Action and DataType Definition File +# +# Generated by the CreateAction tool +# +# $Revision: 1.0 +# +# $KEY: 108 +# +###################################################################### +# +# WARNING: +# +# This file was generated by the CDE CreateAction tool. +# If this file is modified by some other tool, such as vi, +# the CreateAction tool will no longer be able to load and +# update this file. For this reason, changes to this file +# should be handled through CreateAction whenever possible. +# +###################################################################### + +ACTION libreoffice-main +{ + LABEL LibreOffice + TYPE COMMAND + EXEC_STRING libreoffice "%Arg_1%" + ICON libreoffice-main + WINDOW_TYPE NO_STDIO + DESCRIPTION Libre Office. +} + + + + diff --git a/cde/programs/localized/C/types/libreoffice-math.dt b/cde/programs/localized/C/types/libreoffice-math.dt new file mode 100644 index 00000000..c8eacdc8 --- /dev/null +++ b/cde/programs/localized/C/types/libreoffice-math.dt @@ -0,0 +1,72 @@ +###################################################################### +# +# Common Desktop Environment (CDE) +# +# Action and DataType Definition File +# +# Generated by the CreateAction tool +# +# $Revision: 1.0 +# +# $KEY: 108 +# +###################################################################### +# +# WARNING: +# +# This file was generated by the CDE CreateAction tool. +# If this file is modified by some other tool, such as vi, +# the CreateAction tool will no longer be able to load and +# update this file. For this reason, changes to this file +# should be handled through CreateAction whenever possible. +# +###################################################################### + +ACTION libreoffice-math +{ + LABEL Math + TYPE COMMAND + EXEC_STRING libreoffice --math "%Arg_1%" + ICON libreoffice-math + WINDOW_TYPE NO_STDIO + DESCRIPTION Libre Office MATH. +} + +DATA_ATTRIBUTES libreoffice-math_FILE_1 +{ + ACTIONS Open,Print + ICON libreoffice-math + DESCRIPTION Open Document Math file. +} + +DATA_CRITERIA libreoffice-math_FILE_1A +{ + DATA_ATTRIBUTES_NAME libreoffice-math_FILE_1 + MODE !d + PATH_PATTERN *.odf +} + +ACTION Open +{ + ARG_TYPE libreoffice-math_FILE_1 + TYPE MAP + MAP_ACTION libreoffice-math + LABEL Open +} + +ACTION libreoffice-math_FILE_1_PRINT +{ + TYPE COMMAND + EXEC_STRING libreoffice -p "%Arg_1%" + WINDOW_TYPE NO_STDIO +} + +ACTION Print +{ + ARG_TYPE libreoffice-math_FILE_1 + TYPE MAP + MAP_ACTION libreoffice-math_FILE_1_PRINT + LABEL Print +} + + diff --git a/cde/programs/localized/C/types/libreoffice-writer.dt b/cde/programs/localized/C/types/libreoffice-writer.dt new file mode 100644 index 00000000..53918474 --- /dev/null +++ b/cde/programs/localized/C/types/libreoffice-writer.dt @@ -0,0 +1,146 @@ +###################################################################### +# +# Common Desktop Environment (CDE) +# +# Action and DataType Definition File +# +# Generated by the CreateAction tool +# +# $Revision: 1.0 +# +# $KEY: 108 +# +###################################################################### +# +# WARNING: +# +# This file was generated by the CDE CreateAction tool. +# If this file is modified by some other tool, such as vi, +# the CreateAction tool will no longer be able to load and +# update this file. For this reason, changes to this file +# should be handled through CreateAction whenever possible. +# +###################################################################### + +ACTION libreoffice-writer +{ + LABEL Writer + TYPE COMMAND + EXEC_STRING libreoffice --writer "%Arg_1%" + ICON libreoffice-writer + WINDOW_TYPE NO_STDIO + DESCRIPTION Libre Office Writer +} + +DATA_ATTRIBUTES libreoffice-writer_FILE_1 +{ + ACTIONS Open,Print + ICON libreoffice-writer + DESCRIPTION Open Document Text file. +} + +DATA_CRITERIA libreoffice-writer_FILE_1A +{ + DATA_ATTRIBUTES_NAME libreoffice-writer_FILE_1 + MODE !d + PATH_PATTERN *.odt +} + +ACTION Open +{ + ARG_TYPE libreoffice-writer_FILE_1 + TYPE MAP + MAP_ACTION libreoffice-writer + LABEL Open +} + +ACTION libreoffice-writer_FILE_1_PRINT +{ + TYPE COMMAND + EXEC_STRING libreoffice -p "%Arg_1%" + WINDOW_TYPE NO_STDIO +} + +ACTION Print +{ + ARG_TYPE libreoffice-writer_FILE_1 + TYPE MAP + MAP_ACTION libreoffice-writer_FILE_1_PRINT + LABEL Print +} + + +DATA_ATTRIBUTES libreoffice-writer_FILE_4 +{ + ACTIONS Open,Print + ICON libreoffice-writer +} + +DATA_CRITERIA libreoffice-writer_FILE_4A +{ + DATA_ATTRIBUTES_NAME libreoffice-writer_FILE_4 + MODE !d + PATH_PATTERN *.doc +} + +ACTION Open +{ + ARG_TYPE libreoffice-writer_FILE_4 + TYPE MAP + MAP_ACTION libreoffice-writer + LABEL Open +} + +ACTION libreoffice-writer_FILE_4_PRINT +{ + TYPE COMMAND + EXEC_STRING libreoffice -p "%Arg_1%" + WINDOW_TYPE NO_STDIO +} + +ACTION Print +{ + ARG_TYPE libreoffice-writer_FILE_4 + TYPE MAP + MAP_ACTION libreoffice-writer_FILE_4_PRINT + LABEL Print +} + + +DATA_ATTRIBUTES libreoffice-writer_FILE_6 +{ + ACTIONS Open,Print + ICON libreoffice-writer + DESCRIPTION New Microsoft Format. +} + +DATA_CRITERIA libreoffice-writer_FILE_6A +{ + DATA_ATTRIBUTES_NAME libreoffice-writer_FILE_6 + MODE !d + PATH_PATTERN *.docx +} + +ACTION Open +{ + ARG_TYPE libreoffice-writer_FILE_6 + TYPE MAP + MAP_ACTION libreoffice-writer + LABEL Open +} + +ACTION libreoffice-writer_FILE_6_PRINT +{ + TYPE COMMAND + EXEC_STRING libreoffice -p "%Arg_1%" + WINDOW_TYPE NO_STDIO +} + +ACTION Print +{ + ARG_TYPE libreoffice-writer_FILE_6 + TYPE MAP + MAP_ACTION libreoffice-writer_FILE_6_PRINT + LABEL Print +} + diff --git a/cde/programs/localized/C/types/mgv.dt b/cde/programs/localized/C/types/mgv.dt new file mode 100644 index 00000000..98518038 --- /dev/null +++ b/cde/programs/localized/C/types/mgv.dt @@ -0,0 +1,71 @@ +###################################################################### +# +# Common Desktop Environment (CDE) +# +# Action and DataType Definition File +# +# Generated by the CreateAction tool +# +# $Revision: 1.0 +# +# $KEY: 108 +# +###################################################################### +# +# WARNING: +# +# This file was generated by the CDE CreateAction tool. +# If this file is modified by some other tool, such as vi, +# the CreateAction tool will no longer be able to load and +# update this file. For this reason, changes to this file +# should be handled through CreateAction whenever possible. +# +###################################################################### + +ACTION mgv +{ + LABEL mgv + TYPE COMMAND + EXEC_STRING mgv "%Arg_1%" + ICON mgv + WINDOW_TYPE NO_STDIO + DESCRIPTION mgv, the Motif version of gv, is the default ps viewer. +} + +#DATA_ATTRIBUTES mgv_FILE_1 +#{ +# ACTIONS Open,Print +# DESCRIPTION Postscript files open with mgv. +#} +# +#DATA_CRITERIA mgv_FILE_1A +#{ +# DATA_ATTRIBUTES_NAME mgv_FILE_1 +# MODE !d +# PATH_PATTERN *.ps +#} +# +#ACTION Open +#{ +# ARG_TYPE mgv_FILE_1 +# TYPE MAP +# MAP_ACTION mgv +# LABEL Open +#} +# +#ACTION mgv_FILE_1_PRINT +#{ +# TYPE COMMAND +# EXEC_STRING lpr "%Arg_1%" +# WINDOW_TYPE NO_STDIO +#} +# +#ACTION Print +#{ +# ARG_TYPE mgv_FILE_1 +# TYPE MAP +# MAP_ACTION mgv_FILE_1_PRINT +# LABEL Print +#} + + diff --git a/cde/programs/localized/C/types/miscActions.dt b/cde/programs/localized/C/types/miscActions.dt new file mode 100644 index 00000000..7d041d3e --- /dev/null +++ b/cde/programs/localized/C/types/miscActions.dt @@ -0,0 +1,318 @@ +# ########################################################################## +# +# miscActions.dt +# +# Examples of miscellaneous Actions (mostly for X clients). +# +# (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company +# (c) Copyright 1993, 1994, 1995 International Business Machines Corp. +# (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc. +# (c) Copyright 1993, 1994, 1995 Novell, Inc. +# +# $XConsortium: miscActions.dt.src /main/4 1996/04/23 17:36:05 drk $ +# +# ########################################################################## + +set DtDbVersion=1.0 + +# ########################################################################## +# +# WARNING: This file may be overwritten in subsequent installations of +# the Common Desktop Environment (CDE). Consequently, any system wide +# changes should be made to an equivalent database file in +# /etc/dt/types and not in this file. +# +# ########################################################################## +# ################################################################## +# +# Actions +# +# ################################################################## +ACTION Xcalc +{ + LABEL X Calculator + ARG_COUNT 0 + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING xcalc + DESCRIPTION The Xcalc action invokes the xcalc X client. \ + The xcalc client is a scientific calculator \ + desktop accessory that can emulate a TI-30 or an HP-10C. +} + +# ##### + +ACTION Oclock +{ + LABEL Oval Clock + ARG_COUNT 0 + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING oclock + DESCRIPTION The Oval Clock (Oclock) action invokes the oclock \ + X client. The oclock client simply displays the \ + current time in an analog display. +} + +# ##### + +ACTION Xlsatoms +{ + LABEL List Atoms + ARG_COUNT 0 + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING xlsatoms + DESCRIPTION The List Atoms (Xlsatoms) action invokes \ + the xlsatoms X client. Xlsatoms lists the interned atoms. +} + +# ##### + +ACTION Xbiff +{ + LABEL Xbiff + ARG_COUNT 0 + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING xbiff + DESCRIPTION The Xbiff action invokes the xbiff X client. \ + The xbiff program displays a little image of \ + a mailbox. When there is no mail, the flag \ + on the mailbox is down. When mail arrives, \ + the flag goes up and the mailbox beeps. +} + +# ##### + +ACTION Xcolor +{ + LABEL Xcolor + ARG_COUNT 0 + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING xcolor + DESCRIPTION The Xcolor action invokes the xcolor X client. \ + xcolor displays all 256 colors in a window. \ + When you move the pointer into the window, \ + installs a colormap containing a hue ramp \ + with constant saturation and constant \ + brightness, while preserving black and white. +} + +# ##### + +ACTION Xcutsel +{ + LABEL Cut and Select + ARG_COUNT 0 + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING xcutsel + DESCRIPTION The Cut and Select (Xcutsel) action invokes \ + the xcutsel X client. The xcutsel client is used \ + to copy the current selection into a cut buffer \ + and to make a selection that contains the current \ + contents of the cut buffer. It acts as a bridge \ + between applications that don't support selections \ + and those that do. +} + +# ##### + +ACTION Xditview +{ + LABEL Xditview + ARG_COUNT 0 + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING xditview + DESCRIPTION The Xditview action invokes the xditview X client. \ + The xditview program displays ditroff output \ + on an X display. +} + +# ##### + +ACTION Xedit +{ + LABEL Xedit + ARG_COUNT 0 + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING xedit + DESCRIPTION The Xedit action invokes the xedit X client. \ + The xedit client provides a window consisting of \ + four areas: 1. Commands Section: A set of commands \ + that allow you to exit xedit, save the file, \ + or load a new file into the edit window \ + 2. Message Window: Displays xedit messages. \ + In addition, this window can be used as a \ + scratch pad. 3. Filename Display: Displays \ + the name of the file currently being edited, \ + and whether this file is Read-Write or Read \ + Only. 4. Edit Window: Displays the text of \ + the file that you are editing or creating. +} + +# ##### + +ACTION Xlock +{ + LABEL Xlock + ARG_COUNT 0 + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING xlock + DESCRIPTION The Xlock action invokes the xlock X client. \ + The xlock client Locks the local X display until a \ + password is entered. +} + +# ##### + +ACTION Xlogo +{ + LABEL Xlogo + ARG_COUNT 0 + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING xlogo + DESCRIPTION The Xlogo action invokes the xlogo X client. \ + The xlogo client displays the X Window \ + System logo. +} + +# ##### + +ACTION Xmag +{ + LABEL Magnify + ARG_COUNT 0 + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING xmag + DESCRIPTION The Magnify (Xmag) action invokes the xmag X client. \ + The xmag client allows you to magnify \ + portions of an X screen. If no explicit \ + region is specified, a square with the \ + pointer in the upper left corner is \ + displayed indicating the area to be enlarged. \ + The area can be dragged out to the desired \ + size by pressing Button 2. Once a region \ + has been selected, a window is popped up \ + showing a blown up version of the region in \ + which each pixel in the source image is \ + represented by a small square of the same color. +} + +# ##### + +ACTION Xman +{ + LABEL Xman + ARG_COUNT 0 + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING xman + DESCRIPTION The Xman action invokes the xman X client. \ + The xman client is a manual page browser. +} + +# ##### + +ACTION Xmh +{ + LABEL X Mail Handler + ARG_COUNT 0 + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING xmh + DESCRIPTION The X Mail Handler (Xmh) action invokes the xmh \ + X client. The xmh client provides a graphical user \ + interface to the MH Message Handling System. \ + To actually do things with your mail, it \ + makes calls to the MH package. Electronic \ + mail messages may be composed, sent, \ + received, replied to, forwarded, sorted, and \ + stored in folders. xmh provides extensive \ + mechanism for customization of the user interface. +} + +# ##### + +ACTION Xeyes +{ + LABEL Eyes + ARG_COUNT 0 + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING xeyes + DESCRIPTION The Eyes (Xeyes) action invokes the xeyes X client. \ + The xeyes client displays a pair of eyes which \ + follow your pointer as it is moved around the display. +} + +# ##### + +ACTION Xauth +{ + LABEL X Authority + ARG_COUNT 0 + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING xauth + DESCRIPTION The X Authority (Xauth) action invokes the xauth \ + X client. The xauth client is used to edit and \ + display the authorization information used in \ + connecting to the X server. +} + +# ##### + +ACTION Xlsclients +{ + LABEL List Clients + ARG_COUNT 0 + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING xlsclients + DESCRIPTION The List Clients (Xlsclients) action invokes the \ + xlsclients X client. The xlsclients client is a \ + utility for listing information about the client \ + applications running on a display. It may be used \ + to generate scripts representing a snapshot of the \ + user's current session. +} + +# ##### + +ACTION Xpuzzle +{ + LABEL X Puzzle + ARG_COUNT 0 + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING xpuzzle + DESCRIPTION The X Puzzle (Xpuzzle) action invokes the \ + xpuzzle X client. The xpuzzle client is a \ + is a 4x4 15 piece puzzle. +} + +# ##### + +ACTION Passwd +{ + LABEL Change Password + ARG_COUNT 0 + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING dtterm -geometry 60x8 -xrm "*menuBar: False" -e sh -c ' echo "Changing password"; echo "-----------------"; passwd' + + + + DESCRIPTION The Change Password (Passwd) action uses the 'passwd' \ + command to change the user's password. +} + +# ######################## EOF ############################################ diff --git a/cde/programs/localized/C/types/miscImages.dt b/cde/programs/localized/C/types/miscImages.dt new file mode 100644 index 00000000..4d7ef090 --- /dev/null +++ b/cde/programs/localized/C/types/miscImages.dt @@ -0,0 +1,1097 @@ +# ########################################################################## +# +# miscImages.dt +# +# Examples of miscellaneous datatypes for Images. +# +# (c) Copyright 1993, 1994 Hewlett-Packard Company +# (c) Copyright 1993, 1994 International Business Machines Corp. +# (c) Copyright 1993, 1994 Sun Microsystems, Inc. +# (c) Copyright 1993, 1994 Novell, Inc. +# +# $XConsortium: miscImages.dt.src /main/5 1996/04/23 17:36:09 drk $ +# +# ########################################################################## + +set DtDbVersion=1.0 + +# ########################################################################## +# +# WARNING: This file may be overwritten in subsequent installations of +# the Common Desktop Environment (CDE). Consequently, any system wide +# changes should be made to an equivalent database file in +# /etc/dt/types and not in this file. +# +# ########################################################################## + +# ################################################################## +# +# Data Attributes +# +# ################################################################## +DATA_ATTRIBUTES pict-file +{ + ACTIONS Open,Print + ICON Dtimage + NAME_TEMPLATE image%s.pict + MIME_TYPE application/octet-stream + SUNV3_TYPE pict-file + DESCRIPTION This file contains a graphics image in Macintosh \ + PICT format. Its data type is named pict-file. \ + pict-file files have names ending with '.PICT' \ + or '.pict'. + TYPE_LABEL pict-file +} +DATA_CRITERIA pict-file1 +{ + DATA_ATTRIBUTES_NAME pict-file + NAME_PATTERN *.PICT + MODE fr +} +DATA_CRITERIA pict-file2 +{ + DATA_ATTRIBUTES_NAME pict-file + NAME_PATTERN *.pict + MODE fr +} +ACTION Open +{ + LABEL Open + ARG_TYPE pict-file + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dterror.ds "Cannot open - No pict-file file viewer available." "Information" "OK" + + + +} + +# ####################################################### + +DATA_ATTRIBUTES ppm-file +{ + ACTIONS Open,Print + ICON Dtimage + NAME_TEMPLATE image%s.ppm + MIME_TYPE application/octet-stream + SUNV3_TYPE ppm-file + DESCRIPTION This file contains a graphics image in Poskanser \ + Portable Pixmap format. Its data type is named \ + ppm-file. ppm-file files contain characters "P6" \ + or "P3". + TYPE_LABEL ppm-file +} +DATA_CRITERIA ppm-file1 +{ + DATA_ATTRIBUTES_NAME ppm-file + CONTENT 0 string P6 + MODE fr +} +DATA_CRITERIA ppm-file2 +{ + DATA_ATTRIBUTES_NAME ppm-file + CONTENT 0 string P3 + MODE fr +} +ACTION Open +{ + LABEL Open + ARG_TYPE ppm-file + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dterror.ds "Cannot open - No ppm-file file viewer available." "Information" "OK" + + + +} + +# ####################################################### + +DATA_ATTRIBUTES pj-file +{ + ACTIONS Open,Print + ICON Dtimage + NAME_TEMPLATE image%s.pj + MIME_TYPE application/octet-stream + SUNV3_TYPE pj-file + DESCRIPTION This file contains a graphics image in HP PaintJet \ + format. Its data type is named pj-file. pj-file \ + files have names ending with '.pj'. + TYPE_LABEL pj-file +} +DATA_CRITERIA pj-file1 +{ + DATA_ATTRIBUTES_NAME pj-file + NAME_PATTERN *.pj + MODE fr +} +ACTION Open +{ + LABEL Open + ARG_TYPE pj-file + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dterror.ds "Cannot open - No pj-file file viewer available." "Information" "OK" + + + +} + +# ####################################################### + +DATA_ATTRIBUTES pgm-file +{ + ACTIONS Open,Print + ICON Dtimage + NAME_TEMPLATE image%s.pgm + MIME_TYPE application/octet-stream + SUNV3_TYPE pgm-file + DESCRIPTION This file contains a graphics image in Portable \ + Graymap format. Its data type is named pgm-file. \ + pgm-file files contain characters "P5" or "P2". + TYPE_LABEL pgm-file +} +DATA_CRITERIA pgm-file1 +{ + DATA_ATTRIBUTES_NAME pgm-file + CONTENT 0 string P5 + MODE fr +} +DATA_CRITERIA pgm-file2 +{ + DATA_ATTRIBUTES_NAME pgm-file + CONTENT 0 string P2 + MODE fr +} +ACTION Open +{ + LABEL Open + ARG_TYPE pgm-file + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dterror.ds "Cannot open - No pgm-file file viewer available." "Information" "OK" + + + +} + +# ####################################################### + +DATA_ATTRIBUTES pbm-file +{ + ACTIONS Open,Print + ICON Dtimage + NAME_TEMPLATE image%s.pbm + MIME_TYPE application/octet-stream + SUNV3_TYPE pbm-file + DESCRIPTION This file contains a graphics image in Poskanser \ + Portable Bitmap format. Its data type is named \ + pbm-file. pbm-file files contain characters "P4" \ + or "P1". + TYPE_LABEL pbm-file +} +DATA_CRITERIA pbm-file1 +{ + DATA_ATTRIBUTES_NAME pbm-file + CONTENT 0 string P4 + MODE fr +} +DATA_CRITERIA pbm-file2 +{ + DATA_ATTRIBUTES_NAME pbm-file + CONTENT 0 string P1 + MODE fr +} +ACTION Open +{ + LABEL Open + ARG_TYPE pbm-file + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dterror.ds "Cannot open - No pbm-file file viewer available." "Information" "OK" + + + +} + +# ####################################################### + +DATA_ATTRIBUTES ilbm-file +{ + ACTIONS Open,Print + ICON Dtimage + NAME_TEMPLATE image%s.ilbm + MIME_TYPE application/octet-stream + SUNV3_TYPE ilbm-file + DESCRIPTION This file contains a graphics image in Amiga's IFF \ + ILBM format. Its data type is named ilbm-file. \ + ilbm-file files have names ending with '.ilbm', or \ + contain characters "ILBM". + TYPE_LABEL ilbm-file +} +DATA_CRITERIA ilbm-file1 +{ + DATA_ATTRIBUTES_NAME ilbm-file + CONTENT 0 string ILBM + MODE fr +} +DATA_CRITERIA ilbm-file2 +{ + DATA_ATTRIBUTES_NAME ilbm-file + NAME_PATTERN *.ilbm + MODE fr +} +ACTION Open +{ + LABEL Open + ARG_TYPE ilbm-file + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dterror.ds "Cannot open - No ilbm-file file viewer available." "Information" "OK" + + + +} + +# ####################################################### + +DATA_ATTRIBUTES pi1-file +{ + ACTIONS Open,Print + ICON Dtimage + NAME_TEMPLATE image%s.pi1 + MIME_TYPE application/octet-stream + SUNV3_TYPE pi1-file + DESCRIPTION This file contains a graphics image in Atari Degas \ + pi1 format. Its data type is named pi1-file. \ + pi1-file files have names ending with '.pi1'. + TYPE_LABEL pi1-file +} +DATA_CRITERIA pi1-file1 +{ + DATA_ATTRIBUTES_NAME pi1-file + NAME_PATTERN *.pi1 + MODE fr +} +ACTION Open +{ + LABEL Open + ARG_TYPE pi1-file + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dterror.ds "Cannot open - No pi1-file file viewer available." "Information" "OK" + + + +} + +# ####################################################### + +DATA_ATTRIBUTES pcx-file +{ + ACTIONS Open,Print + ICON Dtimage + NAME_TEMPLATE image%s.pcx + MIME_TYPE application/octet-stream + SUNV3_TYPE pcx-file + DESCRIPTION This file contains a graphics image in PC Paintbrush \ + PCX format. Its data type is named pcx-file. \ + pcx-file files have names ending with '.pcx'. + TYPE_LABEL pcx-file +} +DATA_CRITERIA pcx-file1 +{ + DATA_ATTRIBUTES_NAME pcx-file + NAME_PATTERN *.pcx + MODE fr +} +ACTION Open +{ + LABEL Open + ARG_TYPE pcx-file + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dterror.ds "Cannot open - No pcx-file file viewer available." "Information" "OK" + + + +} + +# ####################################################### + +DATA_ATTRIBUTES tga-file +{ + ACTIONS Open,Print + ICON Dtimage + NAME_TEMPLATE image%s.tga + MIME_TYPE application/octet-stream + SUNV3_TYPE tga-file + DESCRIPTION This file contains a graphics image in TrueVision \ + Targa format. Its data type is named tga-file. \ + tga-file files have names ending with '.tga'. + TYPE_LABEL tga-file +} +DATA_CRITERIA tga-file1 +{ + DATA_ATTRIBUTES_NAME tga-file + NAME_PATTERN *.tga + MODE fr +} +ACTION Open +{ + LABEL Open + ARG_TYPE tga-file + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dterror.ds "Cannot open - No tga-file file viewer available." "Information" "OK" + + + +} + +# ####################################################### + +DATA_ATTRIBUTES xim-file +{ + ACTIONS Open,Print + ICON Dtimage + NAME_TEMPLATE image%s.xim + MIME_TYPE application/octet-stream + SUNV3_TYPE xim-file + DESCRIPTION This file contains a graphics image in xim format. \ + Its data type is named xim-file. xim-file \ + files have names ending with '.xim'. + TYPE_LABEL xim-file +} +DATA_CRITERIA xim-file1 +{ + DATA_ATTRIBUTES_NAME xim-file + NAME_PATTERN *.xim + MODE fr +} +ACTION Open +{ + LABEL Open + ARG_TYPE xim-file + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dterror.ds "Cannot open - No xim-file file viewer available." "Information" "OK" + + + +} + +# ####################################################### + +DATA_ATTRIBUTES mtv-file +{ + ACTIONS Open,Print + ICON Dtimage + NAME_TEMPLATE image%s.mtv + MIME_TYPE application/octet-stream + SUNV3_TYPE mtv-file + DESCRIPTION This file contains a graphics image in MTV/PRT \ + ray-tracer output format. Its data type is named \ + mtv-file. mtv-file files have names ending \ + with '.mtv'. + TYPE_LABEL mtv-file +} +DATA_CRITERIA mtv-file1 +{ + DATA_ATTRIBUTES_NAME mtv-file + NAME_PATTERN *.mtv + MODE fr +} +ACTION Open +{ + LABEL Open + ARG_TYPE mtv-file + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dterror.ds "Cannot open - No mtv-file file viewer available." "Information" "OK" + + + +} + +# ####################################################### + +DATA_ATTRIBUTES qrt-file +{ + ACTIONS Open,Print + ICON Dtimage + NAME_TEMPLATE image%s.qrt + MIME_TYPE application/octet-stream + SUNV3_TYPE qrt-file + DESCRIPTION This file contains a graphics image in QRT \ + ray-tracer output format. Its data type is named \ + qrt-file. qrt-file files have names ending with '.qrt'. + TYPE_LABEL qrt-file +} +DATA_CRITERIA qrt-file1 +{ + DATA_ATTRIBUTES_NAME qrt-file + NAME_PATTERN *.qrt + MODE fr +} +ACTION Open +{ + LABEL Open + ARG_TYPE qrt-file + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dterror.ds "Cannot open - No qrt-file file viewer available." "Information" "OK" + + + +} + +# ####################################################### + +DATA_ATTRIBUTES imgw-file +{ + ACTIONS Open,Print + ICON Dtimage + NAME_TEMPLATE image%s.imgw + MIME_TYPE application/octet-stream + SUNV3_TYPE imgw-file + DESCRIPTION This file contains a graphics image in Img-whatnot \ + format. Its data type is named imgw-file. \ + imgw-file files have names ending with '.imgw'. + TYPE_LABEL imgw-file +} +DATA_CRITERIA imgw-file1 +{ + DATA_ATTRIBUTES_NAME imgw-file + NAME_PATTERN *.imgw + MODE fr +} +ACTION Open +{ + LABEL Open + ARG_TYPE imgw-file + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dterror.ds "Cannot open - No imgw-file file viewer available." "Information" "OK" + + + +} + +# ####################################################### + +DATA_ATTRIBUTES sld-file +{ + ACTIONS Open,Print + ICON Dtimage + NAME_TEMPLATE image%s.sld + MIME_TYPE application/octet-stream + SUNV3_TYPE sld-file + DESCRIPTION This file contains a graphics image in AutoCAD \ + slide format. Its data type is named sld-file. \ + sld-file files have names ending with '.sld'. + TYPE_LABEL sld-file +} +DATA_CRITERIA sld-file1 +{ + DATA_ATTRIBUTES_NAME sld-file + NAME_PATTERN *.sld + MODE fr +} +ACTION Open +{ + LABEL Open + ARG_TYPE sld-file + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dterror.ds "Cannot open - No sld-file file viewer available." "Information" "OK" + + + +} + +# ####################################################### + +DATA_ATTRIBUTES spc-file +{ + ACTIONS Open,Print + ICON Dtimage + NAME_TEMPLATE image%s.spc + MIME_TYPE application/octet-stream + SUNV3_TYPE spc-file + DESCRIPTION This file contains a graphics image in Atari \ + compressed Spectrum format. Its data type is \ + named spc-file. spc-file files have names ending \ + with '.spc'. + TYPE_LABEL spc-file +} +DATA_CRITERIA spc-file1 +{ + DATA_ATTRIBUTES_NAME spc-file + NAME_PATTERN *.spc + MODE fr +} +ACTION Open +{ + LABEL Open + ARG_TYPE spc-file + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dterror.ds "Cannot open - No spc-file file viewer available." "Information" "OK" + + + +} + +# ####################################################### + +DATA_ATTRIBUTES spu-file +{ + ACTIONS Open,Print + ICON Dtimage + NAME_TEMPLATE image%s.spu + MIME_TYPE application/octet-stream + SUNV3_TYPE spu-file + DESCRIPTION This file contains a graphics image in Atari \ + uncompress Stectrum format. Its data type is \ + named spu-file. spu-file files have names \ + ending with '.spu'. + TYPE_LABEL spu-file +} +DATA_CRITERIA spu-file1 +{ + DATA_ATTRIBUTES_NAME spu-file + NAME_PATTERN *.spu + MODE fr +} +ACTION Open +{ + LABEL Open + ARG_TYPE spu-file + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dterror.ds "Cannot open - No spu-file file viewer available." "Information" "OK" + + + +} + +# ####################################################### + +DATA_ATTRIBUTES gould-file +{ + ACTIONS Open,Print + ICON Dtimage + NAME_TEMPLATE image%s.gould + MIME_TYPE application/octet-stream + SUNV3_TYPE gould-file + DESCRIPTION This file contains a graphics image in Gould \ + scanner format. Its data type is named gould-file. \ + gould-file files have names ending with '.gould'. + TYPE_LABEL gould-file +} +DATA_CRITERIA gould-file1 +{ + DATA_ATTRIBUTES_NAME gould-file + NAME_PATTERN *.gould + MODE fr +} +ACTION Open +{ + LABEL Open + ARG_TYPE gould-file + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dterror.ds "Cannot open - No gould-file file viewer available." "Information" "OK" + + + +} + +# ####################################################### + +DATA_ATTRIBUTES fs-file +{ + ACTIONS Open,Print + ICON Dtimage + NAME_TEMPLATE image%s.fs + MIME_TYPE application/octet-stream + SUNV3_TYPE fs-file + DESCRIPTION This file contains a graphics image in Usenix \ + FaceSaver format. Its data type is named fs-file. \ + fs-file files have names ending with '.fs'. + TYPE_LABEL fs-file +} +DATA_CRITERIA fs-file1 +{ + DATA_ATTRIBUTES_NAME fs-file + NAME_PATTERN *.fs + MODE fr +} +ACTION Open +{ + LABEL Open + ARG_TYPE fs-file + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dterror.ds "Cannot open - No fs-file file viewer available." "Information" "OK" + + + +} + +# ####################################################### + +DATA_ATTRIBUTES fits-file +{ + ACTIONS Open,Print + ICON Dtimage + NAME_TEMPLATE image%s.fits + MIME_TYPE application/octet-stream + SUNV3_TYPE fits-file + DESCRIPTION This file contains a graphics image in FITS format. \ + Its data type is named fits-file. fits-file \ + files have names ending with '.fits'. + TYPE_LABEL fits-file +} +DATA_CRITERIA fits-file1 +{ + DATA_ATTRIBUTES_NAME fits-file + NAME_PATTERN *.fits + MODE fr +} +ACTION Open +{ + LABEL Open + ARG_TYPE fits-file + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dterror.ds "Cannot open - No fits-file file viewer available." "Information" "OK" + + + +} + +# ####################################################### + +DATA_ATTRIBUTES lispm-file +{ + ACTIONS Open,Print + ICON Dtimage + NAME_TEMPLATE image%s.lispm + MIME_TYPE application/octet-stream + SUNV3_TYPE lispm-file + DESCRIPTION This file contains a graphics image in Lisp \ + Machine bit-array-file format. Its data type \ + is named lispm-file. lispm-file files have \ + names ending with '.lispm', or contain \ + characters "This is a BitMap file". + TYPE_LABEL lispm-file +} +DATA_CRITERIA lispm-file1 +{ + DATA_ATTRIBUTES_NAME lispm-file + NAME_PATTERN *.lispm + MODE fr +} +DATA_CRITERIA lispm-file2 +{ + DATA_ATTRIBUTES_NAME lispm-file + CONTENT 0 string This is a BitMap file + MODE fr +} +ACTION Open +{ + LABEL Open + ARG_TYPE lispm-file + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dterror.ds "Cannot open - No lispm-file file viewer available." "Information" "OK" + + + +} + +# ####################################################### + +DATA_ATTRIBUTES hips-file +{ + ACTIONS Open,Print + ICON Dtimage + NAME_TEMPLATE image%s.hips + MIME_TYPE application/octet-stream + SUNV3_TYPE hips-file + DESCRIPTION This file contains a graphics image in HIPS format. \ + Its data type is named hips-file. hips-file \ + files have names ending with '.hips'. + TYPE_LABEL hips-file +} +DATA_CRITERIA hips-file1 +{ + DATA_ATTRIBUTES_NAME hips-file + NAME_PATTERN *.hips + MODE fr +} +ACTION Open +{ + LABEL Open + ARG_TYPE hips-file + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dterror.ds "Cannot open - No hips-file file viewer available." "Information" "OK" + + + +} + +# ####################################################### + +DATA_ATTRIBUTES mac-file +{ + ACTIONS Open,Print + ICON Dtimage + NAME_TEMPLATE image%s.mac + MIME_TYPE application/octet-stream + SUNV3_TYPE mac-file + DESCRIPTION This file contains a graphics image in MacPaint \ + format. Its data type is named mac-file. \ + mac-file files have names ending with '.mac'. + TYPE_LABEL mac-file +} +DATA_CRITERIA mac-file1 +{ + DATA_ATTRIBUTES_NAME mac-file + NAME_PATTERN *.mac + MODE fr +} +ACTION Open +{ + LABEL Open + ARG_TYPE mac-file + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dterror.ds "Cannot open - No mac-file file viewer available." "Information" "OK" + + + +} + +# ####################################################### + +DATA_ATTRIBUTES atk-file +{ + ACTIONS Open,Print + ICON Dtimage + NAME_TEMPLATE image%s.atk + MIME_TYPE application/octet-stream + SUNV3_TYPE atk-file + DESCRIPTION This file contains a graphics image in Andrew \ + Toolkit raster format. Its data type is named \ + atk-file. atk-file files have names ending with '.atk'. + TYPE_LABEL atk-file +} +DATA_CRITERIA atk-file1 +{ + DATA_ATTRIBUTES_NAME atk-file + NAME_PATTERN *.atk + MODE fr +} +ACTION Open +{ + LABEL Open + ARG_TYPE atk-file + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dterror.ds "Cannot open - No atk-file file viewer available." "Information" "OK" + + + +} + +# ####################################################### + +DATA_ATTRIBUTES brush-file +{ + ACTIONS Open,Print + ICON Dtimage + NAME_TEMPLATE image%s.brush + MIME_TYPE application/octet-stream + SUNV3_TYPE brush-file + DESCRIPTION This file contains a graphics image in doodle brush \ + format. Its data type is named brush-file. \ + brush-file files have names ending with '.brush'. + TYPE_LABEL brush-file +} +DATA_CRITERIA brush-file1 +{ + DATA_ATTRIBUTES_NAME brush-file + NAME_PATTERN *.brush + MODE fr +} +ACTION Open +{ + LABEL Open + ARG_TYPE brush-file + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dterror.ds "Cannot open - No brush-file file viewer available." "Information" "OK" + + + +} + +# ####################################################### + +DATA_ATTRIBUTES cmu-file +{ + ACTIONS Open,Print + ICON Dtimage + NAME_TEMPLATE image%s.cmu + MIME_TYPE application/octet-stream + SUNV3_TYPE cmu-file + DESCRIPTION This file contains a graphics image in CMU window \ + manager bitmap format. Its data type is named \ + cmu-file. cmu-file files have names ending with \ + '.cmu', or contain characters "\361\0\100\273". + TYPE_LABEL cmu-file +} +DATA_CRITERIA cmu-file1 +{ + DATA_ATTRIBUTES_NAME cmu-file + NAME_PATTERN *.cmu + MODE fr +} +DATA_CRITERIA cmu-file2 +{ + DATA_ATTRIBUTES_NAME cmu-file + CONTENT 0 string \361\0\100\273 + MODE fr +} +ACTION Open +{ + LABEL Open + ARG_TYPE cmu-file + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dterror.ds "Cannot open - No cmu-file file viewer available." "Information" "OK" + + + +} + +# ####################################################### + +DATA_ATTRIBUTES mgr-file +{ + ACTIONS Open,Print + ICON Dtimage + NAME_TEMPLATE image%s.mgr + MIME_TYPE application/octet-stream + SUNV3_TYPE mgr-file + DESCRIPTION This file contains a graphics image in MGR bitmap \ + format. Its data type is named mgr-file. \ + mgr-file files have names ending with '.mgr', or \ + contain characters "yz". + TYPE_LABEL mgr-file +} +DATA_CRITERIA mgr-file1 +{ + DATA_ATTRIBUTES_NAME mgr-file + NAME_PATTERN *.mgr + MODE fr +} +DATA_CRITERIA mgr-file2 +{ + DATA_ATTRIBUTES_NAME mgr-file + CONTENT 0 string yz + MODE fr +} +ACTION Open +{ + LABEL Open + ARG_TYPE mgr-file + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dterror.ds "Cannot open - No mgr-file file viewer available." "Information" "OK" + + + +} + +# ####################################################### + +DATA_ATTRIBUTES g3-file +{ + ACTIONS Open,Print + ICON Dtimage + NAME_TEMPLATE image%s.g3 + MIME_TYPE application/octet-stream + SUNV3_TYPE g3-file + DESCRIPTION This file contains a graphics image in Group 3 fax \ + format. Its data type is named g3-file. g3-file \ + files have names ending with '.g3'. + TYPE_LABEL g3-file +} +DATA_CRITERIA g3-file1 +{ + DATA_ATTRIBUTES_NAME g3-file + NAME_PATTERN *.g3 + MODE fr +} +ACTION Open +{ + LABEL Open + ARG_TYPE g3-file + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dterror.ds "Cannot open - No g3-file file viewer available." "Information" "OK" + + + +} + +# ####################################################### + +DATA_ATTRIBUTES img-file +{ + ACTIONS Open,Print + ICON Dtimage + NAME_TEMPLATE image%s.img + MIME_TYPE application/octet-stream + SUNV3_TYPE img-file + DESCRIPTION This file contains a graphics image in GEM IMG format. \ + Its data type is named img-file. img-file \ + files have names ending with '.img'. + TYPE_LABEL img-file +} +DATA_CRITERIA img-file1 +{ + DATA_ATTRIBUTES_NAME img-file + NAME_PATTERN *.img + MODE fr +} +ACTION Open +{ + LABEL Open + ARG_TYPE img-file + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dterror.ds "Cannot open - No img-file file viewer available." "Information" "OK" + + + +} + +# ####################################################### + +DATA_ATTRIBUTES pi3-file +{ + ACTIONS Open,Print + ICON Dtimage + NAME_TEMPLATE image%s.pi3 + MIME_TYPE application/octet-stream + SUNV3_TYPE pi3-file + DESCRIPTION This file contains a graphics image in Atari Degas \ + pi3 format. Its data type is named pi3-file. \ + pi3-file files have names ending with '.pi3'. +} +DATA_CRITERIA pi3-file1 +{ + DATA_ATTRIBUTES_NAME pi3-file + NAME_PATTERN *.pi3 + MODE fr +} +ACTION Open +{ + LABEL Open + ARG_TYPE pi3-file + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dterror.ds "Cannot open - No pi3-file file viewer available." "Information" "OK" + + + +} + +# ####################################################### + +DATA_ATTRIBUTES ybm-file +{ + ACTIONS Open,Print + ICON Dtimage + NAME_TEMPLATE image%s.ybm + MIME_TYPE application/octet-stream + SUNV3_TYPE ybm-file + DESCRIPTION This file contains a graphics image in Benet Yee's \ + face format. Its data type is named ybm-file. \ + ybm-file files have names ending with '.ybm', or \ + contain characters "!!". + TYPE_LABEL ybm-file +} +DATA_CRITERIA ybm-file1 +{ + DATA_ATTRIBUTES_NAME ybm-file + NAME_PATTERN *.ybm + MODE fr +} +DATA_CRITERIA ybm-file2 +{ + DATA_ATTRIBUTES_NAME ybm-file + CONTENT 0 string !! + MODE fr +} +ACTION Open +{ + LABEL Open + ARG_TYPE ybm-file + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dterror.ds "Cannot open - No ybm-file file viewer available." "Information" "OK" + + + +} + +# ####################################################### +DATA_ATTRIBUTES photocd-file +{ + ACTIONS Open,Print + ICON Dtimage + NAME_TEMPLATE image%s.pcd + MIME_TYPE application/octet-stream + SUNV3_TYPE photocd-file + DESCRIPTION This file contains a graphics image in photocd format. \ + Its data type is named photocd-file. \ + photocd-file files have names ending with \ + '.pcd' or '.PCD'. +} +DATA_CRITERIA photocd-file1 +{ + DATA_ATTRIBUTES_NAME photocd-file + MODE fr + NAME_PATTERN *.PCD +} +DATA_CRITERIA photocd-file2 +{ + DATA_ATTRIBUTES_NAME photocd-file + MODE fr + NAME_PATTERN *.pcd +} +ACTION Open +{ + LABEL Open + ARG_TYPE photocd-file + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dterror.ds "Cannot open - No photocd-file file viewer available." "Information" "OK" + + + +} +ACTION Print +{ + LABEL Print + ARG_TYPE photocd-file,pict-file,ppm-file,pj-file,pgm-file,pbm-file,ilbm-file,pi1-file,pcx-file,tga-file,xim-file,mtv-file,qrt-file,imgw-file,sld-file,spc-file,spu-file,gould-file,fs-file,fits-file,lispm-file,hips-file,mac-file,atk-file,brush-file,cmu-file,mgr-file,g3-file,img-file,pi3-file,ybm-file + TYPE MAP + MAP_ACTION NoPrint +} diff --git a/cde/programs/localized/C/types/nedit.dt b/cde/programs/localized/C/types/nedit.dt new file mode 100644 index 00000000..fff1cc48 --- /dev/null +++ b/cde/programs/localized/C/types/nedit.dt @@ -0,0 +1,35 @@ +###################################################################### +# +# Common Desktop Environment (CDE) +# +# Action and DataType Definition File +# +# Generated by the CreateAction tool +# +# $Revision: 1.0 +# +# $KEY: 108 +# +###################################################################### +# +# WARNING: +# +# This file was generated by the CDE CreateAction tool. +# If this file is modified by some other tool, such as vi, +# the CreateAction tool will no longer be able to load and +# update this file. For this reason, changes to this file +# should be handled through CreateAction whenever possible. +# +###################################################################### + +ACTION nedit +{ + LABEL Nedit + TYPE COMMAND + EXEC_STRING nedit "%Arg_1%" + ICON nedit + WINDOW_TYPE NO_STDIO + DESCRIPTION Nedit is a Motif Editor. +} + + diff --git a/cde/programs/localized/C/types/nxclient.dt b/cde/programs/localized/C/types/nxclient.dt new file mode 100644 index 00000000..7d119997 --- /dev/null +++ b/cde/programs/localized/C/types/nxclient.dt @@ -0,0 +1,56 @@ +###################################################################### +# +# Common Desktop Environment (CDE) +# +# Action and DataType Definition File +# +# Generated by the CreateAction tool +# +# $Revision: 1.0 +# +# $KEY: 4747 +# +###################################################################### +# +# WARNING: +# +# This file was generated by the CDE CreateAction tool. +# If this file is modified by some other tool, such as vi, +# the CreateAction tool will no longer be able to load and +# update this file. For this reason, changes to this file +# should be handled through CreateAction whenever possible. +# +###################################################################### + +ACTION nxclient +{ + LABEL nxclient + TYPE COMMAND + EXEC_STRING nxclient %Arg_1% + ICON nxclient-icon + WINDOW_TYPE NO_STDIO + DESCRIPTION Remote desktop access via NXCLIENT. +} + +DATA_ATTRIBUTES nxclient_FILE_1 +{ + ACTIONS Open + ICON nxclient-desktop + DESCRIPTION nxs files open with NXCLIENT. +} + +DATA_CRITERIA nxclient_FILE_1A +{ + DATA_ATTRIBUTES_NAME nxclient_FILE_1 + MODE !d + PATH_PATTERN *.nxs +} + +ACTION Open +{ + ARG_TYPE nxclient_FILE_1 + TYPE MAP + MAP_ACTION nxclient + LABEL Open +} + diff --git a/cde/programs/localized/C/types/okular.dt b/cde/programs/localized/C/types/okular.dt new file mode 100644 index 00000000..220ec61a --- /dev/null +++ b/cde/programs/localized/C/types/okular.dt @@ -0,0 +1,71 @@ +###################################################################### +# +# Common Desktop Environment (CDE) +# +# Action and DataType Definition File +# +# Generated by the CreateAction tool +# +# $Revision: 1.0 +# +# $KEY: 108 +# +###################################################################### +# +# WARNING: +# +# This file was generated by the CDE CreateAction tool. +# If this file is modified by some other tool, such as vi, +# the CreateAction tool will no longer be able to load and +# update this file. For this reason, changes to this file +# should be handled through CreateAction whenever possible. +# +###################################################################### + +ACTION okular +{ + LABEL okular + TYPE COMMAND + EXEC_STRING okular "%Arg_1%" + ICON okular + WINDOW_TYPE NO_STDIO + DESCRIPTION okular pdf viewer. +} + +DATA_ATTRIBUTES okular_FILE_1 +{ + ACTIONS Open,Print + DESCRIPTION Open image in okular. +} + +DATA_CRITERIA okular_FILE_1A +{ + DATA_ATTRIBUTES_NAME okular_FILE_1 + MODE !d + PATH_PATTERN *.pdf +} + +ACTION Open +{ + ARG_TYPE okular_FILE_1 + TYPE MAP + MAP_ACTION okular + LABEL Open +} + +ACTION okular_FILE_1_PRINT +{ + TYPE COMMAND + EXEC_STRING okular %Arg_1% + WINDOW_TYPE NO_STDIO +} + +ACTION Print +{ + ARG_TYPE okular_FILE_1 + TYPE MAP + MAP_ACTION okular_FILE_1_PRINT + LABEL Print +} + + diff --git a/cde/programs/localized/C/types/pavucontrol.dt b/cde/programs/localized/C/types/pavucontrol.dt new file mode 100644 index 00000000..a92eba86 --- /dev/null +++ b/cde/programs/localized/C/types/pavucontrol.dt @@ -0,0 +1,35 @@ +###################################################################### +# +# Common Desktop Environment (CDE) +# +# Action and DataType Definition File +# +# Generated by the CreateAction tool +# +# $Revision: 1.0 +# +# $KEY: 4747 +# +###################################################################### +# +# WARNING: +# +# This file was generated by the CDE CreateAction tool. +# If this file is modified by some other tool, such as vi, +# the CreateAction tool will no longer be able to load and +# update this file. For this reason, changes to this file +# should be handled through CreateAction whenever possible. +# +###################################################################### + +ACTION pavucontrol +{ + LABEL PulseAudioCtrl + TYPE COMMAND + EXEC_STRING pavucontrol + ICON Dtaudio + WINDOW_TYPE NO_STDIO + DESCRIPTION Control Pulse Audio. +} + + diff --git a/cde/programs/localized/C/types/pgadmin.dt b/cde/programs/localized/C/types/pgadmin.dt new file mode 100644 index 00000000..ba37a38d --- /dev/null +++ b/cde/programs/localized/C/types/pgadmin.dt @@ -0,0 +1,33 @@ +###################################################################### +# +# Common Desktop Environment (CDE) +# +# Action and DataType Definition File +# +# Generated by the CreateAction tool +# +# $Revision: 1.0 +# +# $KEY: 4747 +# +###################################################################### +# +# WARNING: +# +# This file was generated by the CDE CreateAction tool. +# If this file is modified by some other tool, such as vi, +# the CreateAction tool will no longer be able to load and +# update this file. For this reason, changes to this file +# should be handled through CreateAction whenever possible. +# +###################################################################### + +ACTION pgadmin +{ + LABEL pgadmin + TYPE COMMAND + EXEC_STRING pgadmin %Arg_1% + ICON pgadmin + WINDOW_TYPE NO_STDIO +} + diff --git a/cde/programs/localized/C/types/powermanga.dt b/cde/programs/localized/C/types/powermanga.dt new file mode 100644 index 00000000..7a74f6e6 --- /dev/null +++ b/cde/programs/localized/C/types/powermanga.dt @@ -0,0 +1,9 @@ +ACTION powermanga +{ + LABEL powermanga + TYPE COMMAND + EXEC_STRING powermanga + ICON powermanga + WINDOW_TYPE NO_STDIO +} + diff --git a/cde/programs/localized/C/types/print.dt b/cde/programs/localized/C/types/print.dt new file mode 100644 index 00000000..e9ddaa17 --- /dev/null +++ b/cde/programs/localized/C/types/print.dt @@ -0,0 +1,219 @@ +# ########################################################################## +# +# print.dt +# +# Action and DataType Definitions for the printing +# +# (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company +# (c) Copyright 1993, 1994, 1995 International Business Machines Corp. +# (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc. +# (c) Copyright 1993, 1994, 1995 Novell, Inc. +# +# $XConsortium: print.dt.src /main/4 1996/04/23 17:36:13 drk $ +# + +# The printer model for CDE is centered on the 'Print' action. +# +# You can define multiple 'Print' actions, one per data type. +# If no arguments are supplied to the 'Print' action, then the dtprintinfo +# command is invoked to show the printer and job status. +# +# 'dtprintinfo -populate' is an administration tool used to create default +# printer actions of the form '_Print'. +# +# When a new file type is added to the system, a file-type specific 'Print' +# action may be created that the desktop action engine will automatically +# use instead of the default. This new action may use 'dtlp' or rely on +# its own print facilities to gather application-specific arguments. +# +# ########################################################################## +set DtDbVersion=1.0 + +# ########################################################################## +# +# WARNING: This file may be overwritten in subsequent installations of +# the Common Desktop Environment (CDE). Consequently, any system wide +# changes should be made to an equivalent database file in +# /etc/dt/types and not in this file. +# +# ########################################################################## + +# ################################################################## +# +# Data Attributes +# +# ################################################################## +DATA_ATTRIBUTES PRINTER_UNKNOWN +{ + ACTIONS PrinterUnconfigured + ICON DtPrtun + IS_EXECUTABLE true + DESCRIPTION This icon represents a printer that is no longer \ + registered on your desktop. + TYPE_LABEL PRINTER_UNKNOWN +} +DATA_CRITERIA PRINTER_UNKNOWN1 +{ + DATA_ATTRIBUTES_NAME PRINTER_UNKNOWN + MODE f&x + NAME_PATTERN *_Print +} + +# +# The default print action, invoked for generic ARG_TYPEs; that is, +# for files that have no other print action defined. +# +ACTION Print +{ + LABEL Print + ARG_TYPE * + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dtlp "%(File)Arg_1%" + DESCRIPTION This is the default print action. When it is run \ + with a file argument, it gathers printer-specific \ + options and then prints the file. When it is run \ + with no arguments, it displays the 'Printer Jobs'\ + window. +} +ACTION PrintRaw +{ + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dtlp -w "%(File)Arg_1%" +} + +# +# If no file arguments are provided, invoke the Dtprintinfo +# action. +# +ACTION Print +{ + LABEL Print + ARG_COUNT 0 + TYPE MAP + MAP_ACTION Dtprintinfo +} + +# +# The Print Manager (DtPrintManager) action invokes the +# 'dtprintinfo -all' command. +# +ACTION DtPrintManager +{ + LABEL Print Manager + ICON FpPrtmg + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dtprintinfo -all + DESCRIPTION The Print Manager (DtPrintManager) action enables you \ + to determine the status of and view print jobs of \ + multiple printers. It also allows you to drag \ + printers to Install Icon controls on sub-panels. +} + +# +# The Print Jobs (Dtprintinfo) action invokes the 'dtprintinfo' +# command or the 'dtprintinfo -p printer' command. +# +ACTION Dtprintinfo +{ + LABEL Print Jobs + ICON Fpprnt + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dtprintinfo -p "%(String)Arg_1%" + DESCRIPTION The Print Jobs (Dtprintinfo) action enables you to \ + determine the status and view print jobs of a printer. +} + +ACTION Dtprintinfo +{ + LABEL Print Jobs + ARG_COUNT 0 + ICON Fpprnt + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dtprintinfo + DESCRIPTION The Print Jobs (Dtprintinfo) action enables you to \ + determine the status and view print jobs of a printer. +} + +# ############################################################### +# +# Actions for the Default Printer +# +# ############################################################### + +# +# If a file argument is provided, invoke the Print +# action. +# +ACTION DtPrint +{ + LABEL Default Printer + ARG_TYPE * + ICON Fpprnt + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dtaction Print "%(File)Arg_1%" + DESCRIPTION This is the default print action. When it is run \ + with a file argument, it gathers printer-specific \ + options and then prints the file. When it is run \ + with no arguments, it displays the 'Printer Jobs'\ + window. +} + +# +# If no file arguments are provided, invoke the Dtprintinfo +# action. +# +ACTION DtPrint +{ + LABEL Default Printer + ARG_COUNT 0 + ICON Fpprnt + TYPE MAP + MAP_ACTION Dtprintinfo + DESCRIPTION The Print Jobs (Dtprintinfo) action enables you to \ + determine the status and view print jobs of a printer. +} + + +# +# Here are actions and data attributes for unknown and unconfigured +# printer objects. +# +ACTION PrinterUnconfigured +{ + LABEL PrinterUnconfigured + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dterror.ds "This printer control is not configured.\\nTo configure \ + it, press 'Help' and follow\\nthe instructions." "Unconfigured Printer" "OK" "HELP" + + + + + DESCRIPTION The PrinterUnconfigured action displays a \ + dialog which states that the printer has not \ + yet been configured. +} + +ACTION Printer_Trash +{ + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dterror.ds "Putting a printer in the trash does not\\n\ + delete it from the system. Refer to your\\n\ + system administration documentation to\\n\ + delete a printer from the system." "Delete Printer" "OK" + + + + DESCRIPTION The Printer_Trash action displays a \ + dialog which states that putting a printer in the \ + trash can will not delete that printer from your \ + system. +} +# ######################## EOF ############################################ diff --git a/cde/programs/localized/C/types/pychess.dt b/cde/programs/localized/C/types/pychess.dt new file mode 100644 index 00000000..b3489356 --- /dev/null +++ b/cde/programs/localized/C/types/pychess.dt @@ -0,0 +1,9 @@ +ACTION pychess +{ + LABEL pychess + TYPE COMMAND + EXEC_STRING pychess + ICON pychess + WINDOW_TYPE NO_STDIO +} + diff --git a/cde/programs/localized/C/types/rhythmbox.dt b/cde/programs/localized/C/types/rhythmbox.dt new file mode 100644 index 00000000..6dcb07a9 --- /dev/null +++ b/cde/programs/localized/C/types/rhythmbox.dt @@ -0,0 +1,78 @@ +###################################################################### +# +# Common Desktop Environment (CDE) +# +# Action and DataType Definition File +# +# Generated by the CreateAction tool +# +# $Revision: 1.0 +# +# $KEY: 4747 +# +###################################################################### +# +# WARNING: +# +# This file was generated by the CDE CreateAction tool. +# If this file is modified by some other tool, such as vi, +# the CreateAction tool will no longer be able to load and +# update this file. For this reason, changes to this file +# should be handled through CreateAction whenever possible. +# +###################################################################### + +ACTION rhythmbox +{ + LABEL rhythmbox + TYPE COMMAND + EXEC_STRING rhythmbox %Arg_1% + ICON rhythmbox + WINDOW_TYPE NO_STDIO + DESCRIPTION rhythmbox: music player. +} + +#DATA_ATTRIBUTES vlc_FILE_1 +#{ +# ACTIONS Open +# ICON mp3 +# DESCRIPTION MP3 files open with VLC Media Player. +#} +# +#DATA_CRITERIA vlc_FILE_1A +#{ +# DATA_ATTRIBUTES_NAME vlc_FILE_1 +# MODE !d +# PATH_PATTERN *.mp3 +#} +# +#ACTION Open +#{ +# ARG_TYPE vlc_FILE_1 +# TYPE MAP +# MAP_ACTION vlc +# LABEL Open +#} +# +#DATA_ATTRIBUTES vlc_FILE_3 +#{ +# ACTIONS Open +# ICON mp3 +# DESCRIPTION OGG files open with VLC Media Player. +#} +# +#DATA_CRITERIA vlc_FILE_3A +#{ +# DATA_ATTRIBUTES_NAME vlc_FILE_3 +# MODE !d +# PATH_PATTERN *.ogg +#} +# +#ACTION Open +#{ +# ARG_TYPE vlc_FILE_3 +# TYPE MAP +# MAP_ACTION vlc +# LABEL Open +#} + diff --git a/cde/programs/localized/C/types/rosegarden.dt b/cde/programs/localized/C/types/rosegarden.dt new file mode 100644 index 00000000..6d26c092 --- /dev/null +++ b/cde/programs/localized/C/types/rosegarden.dt @@ -0,0 +1,78 @@ +###################################################################### +# +# Common Desktop Environment (CDE) +# +# Action and DataType Definition File +# +# Generated by the CreateAction tool +# +# $Revision: 1.0 +# +# $KEY: 4747 +# +###################################################################### +# +# WARNING: +# +# This file was generated by the CDE CreateAction tool. +# If this file is modified by some other tool, such as vi, +# the CreateAction tool will no longer be able to load and +# update this file. For this reason, changes to this file +# should be handled through CreateAction whenever possible. +# +###################################################################### + +ACTION rosegarden +{ + LABEL rosegarden + TYPE COMMAND + EXEC_STRING rosegarden %Arg_1% + ICON rosegarden + WINDOW_TYPE NO_STDIO + DESCRIPTION rosegarden: Create music. +} + +#DATA_ATTRIBUTES vlc_FILE_1 +#{ +# ACTIONS Open +# ICON mp3 +# DESCRIPTION MP3 files open with VLC Media Player. +#} +# +#DATA_CRITERIA vlc_FILE_1A +#{ +# DATA_ATTRIBUTES_NAME vlc_FILE_1 +# MODE !d +# PATH_PATTERN *.mp3 +#} +# +#ACTION Open +#{ +# ARG_TYPE vlc_FILE_1 +# TYPE MAP +# MAP_ACTION vlc +# LABEL Open +#} +# +#DATA_ATTRIBUTES vlc_FILE_3 +#{ +# ACTIONS Open +# ICON mp3 +# DESCRIPTION OGG files open with VLC Media Player. +#} +# +#DATA_CRITERIA vlc_FILE_3A +#{ +# DATA_ATTRIBUTES_NAME vlc_FILE_3 +# MODE !d +# PATH_PATTERN *.ogg +#} +# +#ACTION Open +#{ +# ARG_TYPE vlc_FILE_3 +# TYPE MAP +# MAP_ACTION vlc +# LABEL Open +#} + diff --git a/cde/programs/localized/C/types/skype.dt b/cde/programs/localized/C/types/skype.dt new file mode 100644 index 00000000..3ef5443c --- /dev/null +++ b/cde/programs/localized/C/types/skype.dt @@ -0,0 +1,33 @@ +###################################################################### +# +# Common Desktop Environment (CDE) +# +# Action and DataType Definition File +# +# Generated by the CreateAction tool +# +# $Revision: 1.0 +# +# $KEY: 4747 +# +###################################################################### +# +# WARNING: +# +# This file was generated by the CDE CreateAction tool. +# If this file is modified by some other tool, such as vi, +# the CreateAction tool will no longer be able to load and +# update this file. For this reason, changes to this file +# should be handled through CreateAction whenever possible. +# +###################################################################### + +ACTION skype +{ + LABEL skype + TYPE COMMAND + EXEC_STRING skype %Arg_1% + ICON skype + WINDOW_TYPE NO_STDIO + DESCRIPTION Talk through SKYPE. +} diff --git a/cde/programs/localized/C/types/sound-juicer.dt b/cde/programs/localized/C/types/sound-juicer.dt new file mode 100644 index 00000000..e9d60a6a --- /dev/null +++ b/cde/programs/localized/C/types/sound-juicer.dt @@ -0,0 +1,78 @@ +###################################################################### +# +# Common Desktop Environment (CDE) +# +# Action and DataType Definition File +# +# Generated by the CreateAction tool +# +# $Revision: 1.0 +# +# $KEY: 4747 +# +###################################################################### +# +# WARNING: +# +# This file was generated by the CDE CreateAction tool. +# If this file is modified by some other tool, such as vi, +# the CreateAction tool will no longer be able to load and +# update this file. For this reason, changes to this file +# should be handled through CreateAction whenever possible. +# +###################################################################### + +ACTION sound-juicer +{ + LABEL sound-juicer + TYPE COMMAND + EXEC_STRING sound-juicer "%Arg_1%" + ICON sound-juicer + WINDOW_TYPE NO_STDIO + DESCRIPTION sound-juicer: Rip audio CDs. +} + +#DATA_ATTRIBUTES vlc_FILE_1 +#{ +# ACTIONS Open +# ICON mp3 +# DESCRIPTION MP3 files open with VLC Media Player. +#} +# +#DATA_CRITERIA vlc_FILE_1A +#{ +# DATA_ATTRIBUTES_NAME vlc_FILE_1 +# MODE !d +# PATH_PATTERN *.mp3 +#} +# +#ACTION Open +#{ +# ARG_TYPE vlc_FILE_1 +# TYPE MAP +# MAP_ACTION vlc +# LABEL Open +#} +# +#DATA_ATTRIBUTES vlc_FILE_3 +#{ +# ACTIONS Open +# ICON mp3 +# DESCRIPTION OGG files open with VLC Media Player. +#} +# +#DATA_CRITERIA vlc_FILE_3A +#{ +# DATA_ATTRIBUTES_NAME vlc_FILE_3 +# MODE !d +# PATH_PATTERN *.ogg +#} +# +#ACTION Open +#{ +# ARG_TYPE vlc_FILE_3 +# TYPE MAP +# MAP_ACTION vlc +# LABEL Open +#} + diff --git a/cde/programs/localized/C/types/stellarium.dt b/cde/programs/localized/C/types/stellarium.dt new file mode 100644 index 00000000..38aa11e1 --- /dev/null +++ b/cde/programs/localized/C/types/stellarium.dt @@ -0,0 +1,33 @@ +###################################################################### +# +# Common Desktop Environment (CDE) +# +# Action and DataType Definition File +# +# Generated by the CreateAction tool +# +# $Revision: 1.0 +# +# $KEY: 4747 +# +###################################################################### +# +# WARNING: +# +# This file was generated by the CDE CreateAction tool. +# If this file is modified by some other tool, such as vi, +# the CreateAction tool will no longer be able to load and +# update this file. For this reason, changes to this file +# should be handled through CreateAction whenever possible. +# +###################################################################### + +ACTION stellarium +{ + LABEL stellarium + TYPE COMMAND + EXEC_STRING stellarium %Arg_1% + ICON stellarium + WINDOW_TYPE NO_STDIO + DESCRIPTION stellarium is an astronomy program. +} diff --git a/cde/programs/localized/C/types/supertux.dt b/cde/programs/localized/C/types/supertux.dt new file mode 100644 index 00000000..3458a551 --- /dev/null +++ b/cde/programs/localized/C/types/supertux.dt @@ -0,0 +1,9 @@ +ACTION supertux +{ + LABEL supertux + TYPE COMMAND + EXEC_STRING supertux + ICON supertux + WINDOW_TYPE NO_STDIO +} + diff --git a/cde/programs/localized/C/types/synaptic.dt b/cde/programs/localized/C/types/synaptic.dt new file mode 100644 index 00000000..f525fb25 --- /dev/null +++ b/cde/programs/localized/C/types/synaptic.dt @@ -0,0 +1,33 @@ +###################################################################### +# +# Common Desktop Environment (CDE) +# +# Action and DataType Definition File +# +# Generated by the CreateAction tool +# +# $Revision: 1.0 +# +# $KEY: 4747 +# +###################################################################### +# +# WARNING: +# +# This file was generated by the CDE CreateAction tool. +# If this file is modified by some other tool, such as vi, +# the CreateAction tool will no longer be able to load and +# update this file. For this reason, changes to this file +# should be handled through CreateAction whenever possible. +# +###################################################################### + +ACTION synaptic +{ + LABEL synaptic + TYPE COMMAND + EXEC_STRING synaptic %Arg_1% + ICON synaptic + WINDOW_TYPE NO_STDIO + DESCRIPTION synaptic: package manager. +} diff --git a/cde/programs/localized/C/types/thunderbird.dt b/cde/programs/localized/C/types/thunderbird.dt new file mode 100644 index 00000000..ca432200 --- /dev/null +++ b/cde/programs/localized/C/types/thunderbird.dt @@ -0,0 +1,58 @@ +###################################################################### +# +# Common Desktop Environment (CDE) +# +# Action and DataType Definition File +# +# Generated by the CreateAction tool +# +# $Revision: 1.0 +# +# $KEY: 4747 +# +###################################################################### +# +# WARNING: +# +# This file was generated by the CDE CreateAction tool. +# If this file is modified by some other tool, such as vi, +# the CreateAction tool will no longer be able to load and +# update this file. For this reason, changes to this file +# should be handled through CreateAction whenever possible. +# +###################################################################### + +ACTION thunderbird +{ + LABEL thunderbird + TYPE COMMAND + EXEC_STRING thunderbird %Arg_1% + ICON thunderbird + WINDOW_TYPE NO_STDIO + DESCRIPTION The THUNDERBIRD Mailer. +} + +DATA_ATTRIBUTES thunderbird_FILE_1 +{ + ACTIONS Open + ICON Dtmail + DESCRIPTION EML files open with THUNDERBIRD Mailer. +} + +DATA_CRITERIA thunderbird_FILE_1A +{ + DATA_ATTRIBUTES_NAME thunderbird_FILE_1 + MODE !d + PATH_PATTERN *.eml +} + +ACTION Open +{ + ARG_TYPE thunderbird_FILE_1 + TYPE MAP + MAP_ACTION thunderbird + LABEL Open +} + + + diff --git a/cde/programs/localized/C/types/tuxpaint.dt b/cde/programs/localized/C/types/tuxpaint.dt new file mode 100644 index 00000000..3ae6ba56 --- /dev/null +++ b/cde/programs/localized/C/types/tuxpaint.dt @@ -0,0 +1,33 @@ +###################################################################### +# +# Common Desktop Environment (CDE) +# +# Action and DataType Definition File +# +# Generated by the CreateAction tool +# +# $Revision: 1.0 +# +# $KEY: 4747 +# +###################################################################### +# +# WARNING: +# +# This file was generated by the CDE CreateAction tool. +# If this file is modified by some other tool, such as vi, +# the CreateAction tool will no longer be able to load and +# update this file. For this reason, changes to this file +# should be handled through CreateAction whenever possible. +# +###################################################################### + +ACTION tuxpaint +{ + LABEL tuxpaint + TYPE COMMAND + EXEC_STRING tuxpaint %Arg_1% + ICON tuxpaint + WINDOW_TYPE NO_STDIO + DESCRIPTION tuxpaint is a paint program. +} diff --git a/cde/programs/localized/C/types/user-prefs.dt b/cde/programs/localized/C/types/user-prefs.dt new file mode 100644 index 00000000..8ecc9cee --- /dev/null +++ b/cde/programs/localized/C/types/user-prefs.dt @@ -0,0 +1,84 @@ +# ########################################################################## +# +# user-prefs.dt +# +# Actions which define user preferences. +# +# (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company +# (c) Copyright 1993, 1994, 1995 International Business Machines Corp. +# (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc. +# (c) Copyright 1993, 1994, 1995 Novell, Inc. +# +# $XConsortium: user-prefs.dt.src /main/4 1996/04/23 17:36:30 drk $ +# +# ########################################################################## + +set DtDbVersion=1.0 + +# ########################################################################## +# +# WARNING: This file may be overwritten in subsequent installations of +# the Common Desktop Environment (CDE). Consequently, any system wide +# changes should be made to an equivalent database file in +# /etc/dt/types and not in this file. +# +# ########################################################################## + +# ########################################################################## +# +# Common Desktop Environment (CDE) Action Database Definitions +# +# The actions defined in this file map requests for general actions such +# as "TextEditor" to specific applications such as "Vi". To make personal +# customizations to these mappings, copy this file to +# $HOME/.dt/types/user-prefs.dt and change any of the MAP_ACTION to the +# action you wish to be run. +# +# To determine the actions that are available on your system, open the +# Application Manager from the front panel and browse. +# +# ########################################################################## + + +# To use 'vi' as your text editor, replace 'Dtpad' (the CDE +# Motif-based text editor) with 'Vi'. + +ACTION TextEditor +{ + LABEL Text Editor + ICON Dtpenpd + TYPE MAP + MAP_ACTION Dtpad + DESCRIPTION The Text Editor action runs the user preferred \ + text editor. +} + +# ##### + +# The default term for Common Desktop Environment (CDE) is Dtterm. + +ACTION Terminal +{ + LABEL Terminal + ICON Dtterm + TYPE MAP + MAP_ACTION Dtterm + DESCRIPTION The Terminal action runs the user preferred \ + terminal emulator. +} + +# ##### + +# The default trash can for Common Desktop Environment (CDE) is Dttrash. + +ACTION Trash +{ + LABEL Trash + ICON Dttrsh + TYPE MAP + MAP_ACTION Dttrash + DESCRIPTION The Trash action runs the user preferred \ + Trash client. +} + +# ###################### EOF ############################################ diff --git a/cde/programs/localized/C/types/uxstd.dt b/cde/programs/localized/C/types/uxstd.dt new file mode 100644 index 00000000..938d2e84 --- /dev/null +++ b/cde/programs/localized/C/types/uxstd.dt @@ -0,0 +1,770 @@ +# ########################################################################## +# +# uxstd.dt +# +# Action and DataType definitions for standard operating system commands. +# +# (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company +# (c) Copyright 1993, 1994, 1995 International Business Machines Corp. +# (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc. +# (c) Copyright 1993, 1994, 1995 Novell, Inc. +# +# $TOG: uxstd.dt.src /main/7 1998/07/29 17:09:27 mgreess $ +# +# ########################################################################## + + +set DtDbVersion=1.0 + +# ########################################################################## +# +# WARNING: This file may be overwritten in subsequent installations of +# the Common Desktop Environment (CDE). Consequently, any system wide +# changes should be made to an equivalent database file in +# /etc/dt/types and not in this file. +# +# ########################################################################## + +# ########################################################################## +# +# Data Attributes +# +# ########################################################################## +DATA_ATTRIBUTES MAN_PAGE +{ + ACTIONS Open,Print + ICON Dtmanpg + IS_TEXT true + ACTIONS Open,Print + MIME_TYPE text/plain + DESCRIPTION This file contains a man page. Its data \ + type is named MAN_PAGE. + TYPE_LABEL MAN_PAGE +} +DATA_CRITERIA MAN_PAGE1 +{ + DATA_ATTRIBUTES_NAME MAN_PAGE + MODE f + PATH_PATTERN */man/man*/*.[1-9]* +} +DATA_CRITERIA MAN_PAGE2 +{ + DATA_ATTRIBUTES_NAME MAN_PAGE + MODE f + PATH_PATTERN */man/cat*/*.[1-9]* +} +ACTION Open +{ + LABEL Open + ARG_TYPE MAN_PAGE + TYPE MAP + MAP_ACTION Dtmanpageview +} +ACTION Print +{ + LABEL Print + ARG_TYPE MAN_PAGE + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dtlp -a "%Arg_1%" +} + +# ########################################################## + +DATA_ATTRIBUTES TAR +{ + ACTIONS Open,TarUnpack,Print + ICON Dtmagtp + NAME_TEMPLATE %s.tar + MIME_TYPE application/octet-stream + DESCRIPTION This file is an archive file that contains \ + a number of individual files. Its data type is \ + named TAR. TAR files have names ending with '.tar'. + TYPE_LABEL TAR +} +DATA_CRITERIA TAR1 +{ + DATA_ATTRIBUTES_NAME TAR + MODE f + NAME_PATTERN *.tar +} +ACTION Open +{ + LABEL Open + ARG_TYPE TAR + TYPE MAP + MAP_ACTION TarList +} +ACTION Print +{ + LABEL Print + ARG_TYPE TAR + TYPE MAP + MAP_ACTION PrintTarList +} +ACTION TarList +{ + LABEL Archive List Contents + ICON Dtmagtp + TYPE COMMAND + WINDOW_TYPE PERM_TERMINAL + EXEC_STRING sh -c ' tar -tvf "%(File)Arg_1%" 2>&1 | \${PAGER:-more}; echo "\\n*** Select Close or Exit from the window menu to close this window ***"' + + + DESCRIPTION The Archive List Contents (TarList) action lists \ + the files contained in a TAR archive file. +} +ACTION PrintTarList +{ + LABEL PrintTarList + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING sh -c ' tar -tvf "%(File)Arg_1%" | /usr/dt/bin/dtlp -u "Archive List Contents"' + + + DESCRIPTION The PrintTarList action prints out a list of the \ + files contained in a TAR archive file on the \ + default printer. +} +ACTION TarUnpack +{ + LABEL Archive Unpack + ICON Dtmagtp + TYPE COMMAND + WINDOW_TYPE PERM_TERMINAL + EXEC_STRING sh -c ' tar -xvf "%(File)Arg_1"Filename:"%" 2>&1 | \${PAGER:-more}; echo "\\n*** Select Close or Exit from the window menu to close this window ***"' + + + + DESCRIPTION The Archive Unpack (TarUnpack) action accepts \ + a TAR file as argument and separates out the \ + archived files into separate files. +} + +# ########################################################## + +DATA_ATTRIBUTES COMPRESSED +{ + ACTIONS Uncompress + ICON Dtcmprs + NAME_TEMPLATE %s.Z + MIME_TYPE application/octet-stream + SUNV3_TYPE compress + DESCRIPTION This is a file that has been compressed by \ + the compress command to take up less space. Its \ + data type is named COMPRESSED. COMPRESSED files \ + have names ending with '.Z'. + TYPE_LABEL COMPRESSED +} +DATA_CRITERIA COMPRESSED1 +{ + DATA_ATTRIBUTES_NAME COMPRESSED + MODE f + NAME_PATTERN *.Z +} +ACTION Print +{ + LABEL Print + ARG_TYPE COMPRESSED + TYPE MAP + MAP_ACTION NoPrint +} +ACTION Uncompress +{ + LABEL Uncompress File + TYPE COMMAND + WINDOW_TYPE PERM_TERMINAL + EXEC_STRING sh -c ' uncompress -vf "%(File)Arg_1%" %(File)Args% 2>&1 | \${PAGER:-more}; echo "\\n*** Select Close or Exit from the window menu to close this window ***"' + + + + DESCRIPTION The Uncompress File action accepts one or more \ + files that have been compressed using the \ + 'compress' command and uncompresses them. It uses \ + the 'uncompress' command. +} + +# ########################################################## + +DATA_ATTRIBUTES SHELL +{ + ACTIONS Run,Open,Print + ICON Dtbshll + IS_EXECUTABLE true + COPY_TO_ACTION Execute + NAME_TEMPLATE %s.sh + MIME_TYPE text/plain + SUNV3_TYPE shell-script + DESCRIPTION This file contains an executable script written \ + using the BOURNE shell scripting language. Its \ + data type is named SHELL. SHELL file have names \ + ending with '.sh', or contain the characters \ + "#!/bin/sh" or "#! /bin/sh". + TYPE_LABEL SHELL +} +DATA_CRITERIA SHELL1 +{ + DATA_ATTRIBUTES_NAME SHELL + MODE f&x + NAME_PATTERN *.sh +} +DATA_CRITERIA SHELL2 +{ + DATA_ATTRIBUTES_NAME SHELL + CONTENT 0 string #!/bin/sh + MODE f&x +} +DATA_CRITERIA SHELL3 +{ + DATA_ATTRIBUTES_NAME SHELL + CONTENT 0 string #! /bin/sh + MODE f&x +} +ACTION Run +{ + LABEL Run + ARG_TYPE SHELL + TYPE MAP + MAP_ACTION Execute +} + +# ########################################################## + +DATA_ATTRIBUTES CSHELL +{ + ACTIONS Run,Open,Print + ICON Dtcshll + IS_EXECUTABLE true + COPY_TO_ACTION Execute + NAME_TEMPLATE %s.csh + MIME_TYPE text/plain + SUNV3_TYPE cshell-script + DESCRIPTION This file contains an executable script \ + written using the C-SHELL scripting language. \ + Its data type is named CSHELL. CSHELL file have \ + names ending with '.csh', or contain the \ + characters "#!/bin/csh" or "#! /bin/csh". + TYPE_LABEL CSHELL +} +DATA_CRITERIA CSHELL1 +{ + DATA_ATTRIBUTES_NAME CSHELL + MODE f&x + NAME_PATTERN *.csh +} +DATA_CRITERIA CSHELL2 +{ + DATA_ATTRIBUTES_NAME CSHELL + CONTENT 0 string #!/bin/csh + MODE f&x +} +DATA_CRITERIA CSHELL3 +{ + DATA_ATTRIBUTES_NAME CSHELL + CONTENT 0 string #! /bin/csh + MODE f&x +} +ACTION Run +{ + LABEL Run + ARG_TYPE CSHELL + TYPE MAP + MAP_ACTION Execute +} + +# ########################################################## + +DATA_ATTRIBUTES KSHELL +{ + ACTIONS Run,Open,Print + ICON Dtkshll + IS_EXECUTABLE true + COPY_TO_ACTION Execute + NAME_TEMPLATE %s.ksh + MIME_TYPE text/plain + DESCRIPTION This file contains an executable script \ + written using the K-SHELL scripting language. \ + Its data type is named KSHELL. KSHELL file have \ + names ending with '.ksh', or contain the \ + characters "#!/bin/ksh" or "#! /bin/ksh". + TYPE_LABEL KSHELL +} +DATA_CRITERIA KSHELL1 +{ + DATA_ATTRIBUTES_NAME KSHELL + MODE f&x + NAME_PATTERN *.ksh +} +DATA_CRITERIA KSHELL2 +{ + DATA_ATTRIBUTES_NAME KSHELL + CONTENT 0 string #!/bin/ksh + MODE f&x +} +DATA_CRITERIA KSHELL3 +{ + DATA_ATTRIBUTES_NAME KSHELL + CONTENT 0 string #! /bin/ksh + MODE f&x +} +DATA_CRITERIA KSHELL4 +{ + DATA_ATTRIBUTES_NAME KSHELL + CONTENT 0 string #!/bin/ksh + MODE f&x +} +DATA_CRITERIA KSHELL5 +{ + DATA_ATTRIBUTES_NAME KSHELL + CONTENT 0 string #! /bin/ksh + MODE f&x +} +ACTION Run +{ + LABEL Run + ARG_TYPE KSHELL + TYPE MAP + MAP_ACTION Execute +} + +# ########################################################## + +DATA_ATTRIBUTES SHAR +{ + ACTIONS Unshar + ICON Dtshar + NAME_TEMPLATE %s.shar + MIME_TYPE text/plain + DESCRIPTION This file is a shell archive package. \ + Shell archive packages are commonly used for \ + mailing files. Its data type is named SHAR. \ + SHAR files have names ending with '.shar'. + TYPE_LABEL SHAR +} +DATA_CRITERIA SHAR1 +{ + DATA_ATTRIBUTES_NAME SHAR + MODE f + NAME_PATTERN *.shar +} +ACTION Print +{ + LABEL Print + ARG_TYPE SHAR + TYPE MAP + MAP_ACTION NoPrint +} +ACTION Unshar +{ + LABEL Unshar + TYPE COMMAND + WINDOW_TYPE PERM_TERMINAL + EXEC_STRING sh -c ' sh "%(File)Arg_1%" 2>&1 | \${PAGER:-more}; echo "\\n*** Select Close or Exit from the window menu to close this window ***"' + + + DESCRIPTION The Unshar action accepts a file \ + that has been shar'ed using the shar \ + command and unshar's it. +} + +# ########################################################## + +DATA_ATTRIBUTES UUENCODE +{ + ACTIONS Uudecode + ICON Dtuuncd + NAME_TEMPLATE %s.uu + MIME_TYPE text/plain + DESCRIPTION This is a a binary file used for \ + transmission via a mailer. Its data type is \ + named UUENCODE. UUENCODE files have names ending \ + with '.uu'. + TYPE_LABEL UUENCODE +} +DATA_CRITERIA UUENCODE1 +{ + DATA_ATTRIBUTES_NAME UUENCODE + MODE f + NAME_PATTERN *.uu +} +ACTION Print +{ + LABEL Print + ARG_TYPE UUENCODE + TYPE MAP + MAP_ACTION NoPrint +} +ACTION Uudecode +{ + LABEL Uudecode + TYPE COMMAND + WINDOW_TYPE PERM_TERMINAL + EXEC_STRING sh -c ' uudecode "%(File)Arg_1%" 2>&1 | \${PAGER:-more}; echo "\\n*** Select Close or Exit from the window menu to close this window ***"' + + + DESCRIPTION The Uudecode action accepts a file \ + that has been uuencoded using the uuencode command \ + and uudecode's it. +} + +# ########################################################## + +DATA_ATTRIBUTES MESSAGE_CAT +{ + ACTIONS (None) + ICON Dtcat + NAME_TEMPLATE %s.cat + MIME_TYPE application/octet-stream + DESCRIPTION This file contains localized message \ + for an executable. Its data type is named \ + MESSAGE_CAT. MESSAGE_CAT files have names ending \ + with '.cat'. + TYPE_LABEL MESSAGE_CAT +} +DATA_CRITERIA MESSAGE_CAT1 +{ + DATA_ATTRIBUTES_NAME MESSAGE_CAT + MODE f + NAME_PATTERN *.cat +} +ACTION Print +{ + LABEL Print + ARG_TYPE MESSAGE_CAT + TYPE MAP + MAP_ACTION NoPrint +} + +# ########################################################################## +# ########################################################################## +# +# Actions +# +# ########################################################################## +# ##################### +# +# Unix Editors +# +# ##################### +ACTION Vi +{ + LABEL Text Editor (Vi) + ARG_COUNT 0 + TYPE COMMAND + WINDOW_TYPE TERMINAL + EXEC_STRING vi + DESCRIPTION The Text Editor (Vi) action runs the 'vi' \ + command in a terminal window and loads a data file \ + if you supply one. +} +ACTION Vi +{ + LABEL Text Editor (Vi) + TYPE COMMAND + WINDOW_TYPE TERMINAL + EXEC_STRING vi "%(File)Arg_1"File To Edit:"%" + DESCRIPTION The Text Editor (Vi) action runs the 'vi' \ + command in a terminal window and loads a data file \ + if you supply one. +} + +# ###### + +ACTION Vedit +{ + LABEL Vedit + ARG_COUNT 0 + TYPE COMMAND + WINDOW_TYPE TERMINAL + EXEC_STRING vedit + DESCRIPTION The Vedit action runs the 'vi' command in \ + 'vedit' mode in a terminal window. It loads a data file if you supply one. +} +ACTION Vedit +{ + LABEL Vedit + TYPE COMMAND + WINDOW_TYPE TERMINAL + EXEC_STRING vedit "%(File)Arg_1"File To Edit:"%" + DESCRIPTION The Vedit action runs the 'vi' command in \ + 'vedit' mode in a terminal window. It loads a data file if you supply one. +} + +# ##################### +# +# Unix Commands +# +# ##################### +# The following action uses 'true %(File)Args%' in the EXEC_STRING. +# This statement's only effect is to cause all of the aguments to +# be 'used' on a single invocation of the action. +ACTION Tar +{ + LABEL Archive + ICON Dtmagtp + ARG_COUNT >1 + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING sh -c ' if [ "%(File)Args%" = "" ] ; then /usr/dt/bin/dterror.ds "The Archive action only accepts a single\\n \ +argument which must be a folder." "Invalid Arguments" "OK" ; else true %(File)Args%; /usr/dt/bin/dterror.ds "The Archive action only accepts a single\\n \ +argument which must be a folder." "Invalid Arguments" "OK" fi; ' + DESCRIPTION The Archive (Tar) action accepts a folder \ + argument and archives all of the files it contains \ + together into a single "tar" file. It uses the \ + 'tar' command. +} +ACTION Tar +{ + LABEL Archive + ICON Dtmagtp + TYPE COMMAND + WINDOW_TYPE PERM_TERMINAL + EXEC_STRING sh -c ' if [ "%(File)Args%" = "" ] ; then echo "ERROR: \"%(File)Arg_1%\" is not a folder."; else if [ ! -d "%(File)Arg_1"Folder To Archive:"%" ] ; then echo "ERROR: \"%(File)Arg_1%\" is not a folder."; else FOLDER="%(File)Arg_1%.tar"; TAR_FILE=`basename "%(File)Arg_1%.tar"`; echo "Creating \$FOLDER."; echo "[Please wait ...]\\n"; tar -cvf \$TAR_FILE `basename "%(File)Arg_1%"` 2>&1 | \${PAGER:-more}; echo "\\nThe Archive file has been created and is stored in \$FOLDER."; fi; fi; echo "\\n*** Select Close or Exit from the window menu to close this window ***"' + DESCRIPTION The Archive (Tar) action accepts a folder \ + argument and archives all of the files it contains \ + together into a single "tar" file. It uses the \ + 'tar' command. +} + +# ###### + +ACTION TarList +{ + LABEL Archive List Contents + ICON Dtmagtp + ARG_COUNT 0 + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dtaction TarList "%(File)Arg_1"Archive to List:"%" + + DESCRIPTION The Archive List Contents (TarList) action lists \ + the files contained in a TAR archive file. +} + +# ###### + +ACTION TarUnpack +{ + LABEL Archive Unpack + ICON Dtmagtp + ARG_COUNT 0 + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dtaction TarUnpack "%(File)Arg_1"Archive to Unpack:"%" + + DESCRIPTION The Archive Unpack (TarUnpack) action accepts \ + a TAR file as argument and separates out the \ + archived files into separate files. +} + +# ###### + +ACTION Compress +{ + LABEL Compress File + ICON Dtcmprs + TYPE COMMAND + WINDOW_TYPE PERM_TERMINAL + EXEC_STRING sh -c ' compress -vf "%(File)Arg_1"File to Compress:"%" %(File)Args% 2>&1 | \${PAGER:-more}; echo "\\n*** Select Close or Exit from the window menu to close this window ***"' + + + + DESCRIPTION The Compress File (Compress) action accepts \ + one or more files and compresses them using the \ + 'compress' command. +} + +# ###### + +ACTION Uncompress +{ + LABEL Uncompress File + ICON Dtcmprs + ARG_COUNT 0 + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dtaction Uncompress "%(File)Arg_1"File to Uncompress:"%" + + DESCRIPTION The Uncompress File action accepts one or more \ + files that have been compressed using the \ + 'compress' command and uncompresses them. It uses \ + the 'uncompress' command. +} + +# ###### + +ACTION Env +{ + LABEL Environment Variables + ARG_COUNT 0 + TYPE COMMAND + WINDOW_TYPE PERM_TERMINAL + EXEC_STRING sh -c ' env 2>&1 | \${PAGER:-more}; echo "\\n*** Select Close or Exit from the window menu to close this window ***"' + + + DESCRIPTION The Environment Variables (Env) action \ + displays the user's environment variables using \ + the 'env' command. +} + +# ###### + +ACTION Diff +{ + LABEL Compare Files + TYPE COMMAND + WINDOW_TYPE PERM_TERMINAL + EXEC_STRING sh -c ' file1="%(File)Arg_1"First File (<):"%" ; file2="%(File)Arg_2"Second File (>):"%" ; cmp -s \$file1 \$file2 ; if [ \$? -eq 0 ] ; then echo "The files \$file1 and \$file2 are the same." ; else diff \$file1 \$file2 | \${PAGER:-more} ; fi ; echo "\\n*** Select Close or Exit from the window menu to close this window ***"' + DESCRIPTION The Compare Files (Diff) action compares two files \ + using the 'diff' command. +} + +# ###### + +ACTION Rm +{ + LABEL Shred File + TYPE COMMAND + WINDOW_TYPE PERM_TERMINAL + EXEC_STRING sh -c ' echo "[Enter y to delete a file, n to leave it ...]\\n"; rm -i "%(File)Arg_1"File To Shred:"%" %(File)Args%; echo "\\n*** Select Close or Exit from the window menu to close this window ***"' + + + + + DESCRIPTION The Shred File (Rm) action uses the 'rm -i' command \ + to remove files without placing them in the \ + trash can. It prompts you with the name of \ + each file and allows you to indicate whether \ + or not the file should be removed. FILES THAT \ + HAVE BEEN SHREDDED CANNOT BE RECOVERED. +} + +# ###### + +ACTION Wc +{ + LABEL Count Words + TYPE COMMAND + WINDOW_TYPE PERM_TERMINAL + EXEC_STRING sh -c ' (echo " lines words chars filename"; echo " ============================"; wc "%(File)Arg_1"File To Count:"%" %(File)Args%) 2>&1 | \${PAGER:-more}; echo "\\n*** Select Close or Exit from the window menu to close this window ***"' + + + + + + DESCRIPTION The Count Words (Wc) action counts the lines, words, \ + and characters in files. It uses the 'wc' command. +} + +# ###### + +ACTION Spell +{ + LABEL Check Spelling + TYPE COMMAND + WINDOW_TYPE PERM_TERMINAL + EXEC_STRING sh -c ' (echo "Misspelled words\\n================\\n"; spell "%(File)Arg_1"File To Spell Check:"%" %(File)Args%) 2>&1 | \${PAGER:-more}; echo "\\n*** Select Close or Exit from the window menu to close this window ***"' + + + + + + DESCRIPTION The Check Spelling (Spell) action checks the \ + spelling of all the words in a file. It uses the \ + 'spell' command. +} + +# ###### + +ACTION Df +{ + LABEL Disk Usage + ARG_COUNT 0 + TYPE COMMAND + WINDOW_TYPE PERM_TERMINAL + EXEC_STRING sh -c ' df 2>&1 | \${PAGER:-more}; echo "\\n*** Select Close or Exit from the window menu to close this window ***"' + + + + DESCRIPTION The Disk Usage (Df) action displays the \ + amount of free space available on all mounted \ + disks. It uses the 'df' command. +} + + +# ###### + +ACTION DuSort +{ + LABEL Folder Size + TYPE COMMAND + WINDOW_TYPE PERM_TERMINAL + EXEC_STRING sh -c ' if [ ! -d "%(File)Arg_1"Folder To Size:"%" ] ; then echo "ERROR: \"%(File)Arg_1%\" is not a folder."; else echo "[Please wait ...]\\n"; (echo "Blocks File/Dir - (Blocks are 512-bytes)"; echo "=========================================="; du -s "%(File)Arg_1"Folder To Size:"%" | sort -n) 2>&1 | \${PAGER:-more}; fi; echo "\\n*** Select Close or Exit from the window menu to close this window ***"' + DESCRIPTION The Folder Size (DuSort) action displays \ + the size of each file and subfolder within a \ + folder. It uses a combination of the 'du' \ + and 'sort' commands. +} + +# ###### + +ACTION Grep +{ + LABEL Search Text + TYPE COMMAND + WINDOW_TYPE PERM_TERMINAL + EXEC_STRING sh -c ' SEARCH_FILE="%(File)Arg_1"File To Search:"%"; if [ -d \$SEARCH_FILE ] ; then echo "ERROR: \$SEARCH_FILE is a folder and the action\\nSearch Text does not search for strings within folders."; else grep %"Search String:"% \$SEARCH_FILE %(File)Args% >/tmp/dtstrsearch 2>&1; if [ \$? -eq 1 ] ; then echo "No matches were found."; else cat /tmp/dtstrsearch | \${PAGER:-more}; fi; rm /tmp/dtstrsearch; fi; echo "\\n*** Select Close or Exit from the window menu to close this window ***"' + DESCRIPTION The Search Text (Grep) action searches for \ + all occurrences of a string within a set of files \ + using the 'grep' command. +} + +# ###### + +ACTION File +{ + LABEL Type File + TYPE COMMAND + WINDOW_TYPE PERM_TERMINAL + EXEC_STRING sh -c ' file "%(File)Arg_1"File To Type:"%" %(File)Args% 2>&1 | \${PAGER:-more}; echo "\\n*** Select Close or Exit from the window menu to close this window ***"' + + + + DESCRIPTION The Type File (File) action determines the \ + type of a file using the file command. This is \ + not the same as the desktop data type for the \ + file. To determine the desktop data type of a \ + file, select the file and choose the menu command \ + Selected->Change Permissions... from a File Manager view. +} + +# ###### + +ACTION Execute +{ + LABEL Execute + TYPE COMMAND + WINDOW_TYPE PERM_TERMINAL + EXEC_STRING "%(File)Arg_1"File To Execute:"%" %"Options:"% %"Arguments:"% %(File)Args% + + DESCRIPTION The Execute action runs a shell script or \ + binary executable. It prompts for options and \ + arguments, and then executes the script or \ + executable in a terminal window. +} + +# ###### + +ACTION ExecuteCmd +{ + LABEL Execute Command + TYPE COMMAND + WINDOW_TYPE PERM_TERMINAL + EXEC_STRING sh -c ' %"Command:"% %(File)Args%; echo "\\n*** Select Close or Exit from the window menu to close this window ***"' + + + DESCRIPTION The Execute Command (ExecuteCmd) action \ + prompts for a command and then executes it on any \ + files that are supplied as arguments. +} +# ######################## EOF ############################################ diff --git a/cde/programs/localized/C/types/virtualbox.dt b/cde/programs/localized/C/types/virtualbox.dt new file mode 100644 index 00000000..6bbe0237 --- /dev/null +++ b/cde/programs/localized/C/types/virtualbox.dt @@ -0,0 +1,78 @@ +###################################################################### +# +# Common Desktop Environment (CDE) +# +# Action and DataType Definition File +# +# Generated by the CreateAction tool +# +# $Revision: 1.0 +# +# $KEY: 4747 +# +###################################################################### +# +# WARNING: +# +# This file was generated by the CDE CreateAction tool. +# If this file is modified by some other tool, such as vi, +# the CreateAction tool will no longer be able to load and +# update this file. For this reason, changes to this file +# should be handled through CreateAction whenever possible. +# +###################################################################### + +ACTION virtualbox +{ + LABEL virtualbox + TYPE COMMAND + EXEC_STRING virtualbox %Arg_1% + ICON virtualbox + WINDOW_TYPE NO_STDIO + DESCRIPTION virtualbox: run OSes in a desktop window. +} + +#DATA_ATTRIBUTES vlc_FILE_1 +#{ +# ACTIONS Open +# ICON mp3 +# DESCRIPTION MP3 files open with VLC Media Player. +#} +# +#DATA_CRITERIA vlc_FILE_1A +#{ +# DATA_ATTRIBUTES_NAME vlc_FILE_1 +# MODE !d +# PATH_PATTERN *.mp3 +#} +# +#ACTION Open +#{ +# ARG_TYPE vlc_FILE_1 +# TYPE MAP +# MAP_ACTION vlc +# LABEL Open +#} +# +#DATA_ATTRIBUTES vlc_FILE_3 +#{ +# ACTIONS Open +# ICON mp3 +# DESCRIPTION OGG files open with VLC Media Player. +#} +# +#DATA_CRITERIA vlc_FILE_3A +#{ +# DATA_ATTRIBUTES_NAME vlc_FILE_3 +# MODE !d +# PATH_PATTERN *.ogg +#} +# +#ACTION Open +#{ +# ARG_TYPE vlc_FILE_3 +# TYPE MAP +# MAP_ACTION vlc +# LABEL Open +#} + diff --git a/cde/programs/localized/C/types/vlc.dt b/cde/programs/localized/C/types/vlc.dt new file mode 100644 index 00000000..ff35da67 --- /dev/null +++ b/cde/programs/localized/C/types/vlc.dt @@ -0,0 +1,123 @@ +###################################################################### +# +# Common Desktop Environment (CDE) +# +# Action and DataType Definition File +# +# Generated by the CreateAction tool +# +# $Revision: 1.0 +# +# $KEY: 4747 +# +###################################################################### +# +# WARNING: +# +# This file was generated by the CDE CreateAction tool. +# If this file is modified by some other tool, such as vi, +# the CreateAction tool will no longer be able to load and +# update this file. For this reason, changes to this file +# should be handled through CreateAction whenever possible. +# +###################################################################### + +ACTION vlc +{ + LABEL vlc + TYPE COMMAND + EXEC_STRING vlc "%Arg_1%" + ICON vlc + WINDOW_TYPE NO_STDIO + DESCRIPTION VLC Media Player +} + +DATA_ATTRIBUTES vlc_FILE_1 +{ + ACTIONS Open + ICON mp3 + DESCRIPTION MP3 files open with VLC Media Player. +} + +DATA_CRITERIA vlc_FILE_1A +{ + DATA_ATTRIBUTES_NAME vlc_FILE_1 + MODE !d + PATH_PATTERN *.mp3 +} + +ACTION Open +{ + ARG_TYPE vlc_FILE_1 + TYPE MAP + MAP_ACTION vlc + LABEL Open +} + +DATA_ATTRIBUTES vlc_FILE_3 +{ + ACTIONS Open + ICON mp3 + DESCRIPTION OGG files open with VLC Media Player. +} + +DATA_CRITERIA vlc_FILE_3A +{ + DATA_ATTRIBUTES_NAME vlc_FILE_3 + MODE !d + PATH_PATTERN *.ogg +} + +ACTION Open +{ + ARG_TYPE vlc_FILE_3 + TYPE MAP + MAP_ACTION vlc + LABEL Open +} + + +DATA_ATTRIBUTES vlc_FILE_5 +{ + ACTIONS Open + ICON video + DESCRIPTION mp4 files open with VLC Media Player. +} + +DATA_CRITERIA vlc_FILE_5A +{ + DATA_ATTRIBUTES_NAME vlc_FILE_5 + MODE !d + PATH_PATTERN *.mp4 +} + +ACTION Open +{ + ARG_TYPE vlc_FILE_5 + TYPE MAP + MAP_ACTION vlc + LABEL Open +} + +DATA_ATTRIBUTES vlc_FILE_7 +{ + ACTIONS Open + ICON video + DESCRIPTION avi files open with VLC Media Player. +} + +DATA_CRITERIA vlc_FILE_7A +{ + DATA_ATTRIBUTES_NAME vlc_FILE_7 + MODE !d + PATH_PATTERN *.avi +} + +ACTION Open +{ + ARG_TYPE vlc_FILE_7 + TYPE MAP + MAP_ACTION vlc + LABEL Open +} + diff --git a/cde/programs/localized/C/types/wicd.dt b/cde/programs/localized/C/types/wicd.dt new file mode 100644 index 00000000..561473c5 --- /dev/null +++ b/cde/programs/localized/C/types/wicd.dt @@ -0,0 +1,33 @@ +###################################################################### +# +# Common Desktop Environment (CDE) +# +# Action and DataType Definition File +# +# Generated by the CreateAction tool +# +# $Revision: 1.0 +# +# $KEY: 4747 +# +###################################################################### +# +# WARNING: +# +# This file was generated by the CDE CreateAction tool. +# If this file is modified by some other tool, such as vi, +# the CreateAction tool will no longer be able to load and +# update this file. For this reason, changes to this file +# should be handled through CreateAction whenever possible. +# +###################################################################### + +ACTION wicd +{ + LABEL wicd + TYPE COMMAND + EXEC_STRING wicd-gtk %Arg_1% + ICON wicd + WINDOW_TYPE NO_STDIO + DESCRIPTION wicd: configure your ethernet and wifi connections. +} diff --git a/cde/programs/localized/C/types/xboard.dt b/cde/programs/localized/C/types/xboard.dt new file mode 100644 index 00000000..eb924f94 --- /dev/null +++ b/cde/programs/localized/C/types/xboard.dt @@ -0,0 +1,9 @@ +ACTION xboard +{ + LABEL xboard + TYPE COMMAND + EXEC_STRING xboard + ICON xboard + WINDOW_TYPE NO_STDIO +} + diff --git a/cde/programs/localized/C/types/xclients.dt b/cde/programs/localized/C/types/xclients.dt new file mode 100644 index 00000000..c8d54f4e --- /dev/null +++ b/cde/programs/localized/C/types/xclients.dt @@ -0,0 +1,392 @@ +# ########################################################################## +# +# xclients.dt +# +# Actions and DataTypes for integrating X clients into the Common +# Desktop Environment (CDE). +# +# (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company +# (c) Copyright 1993, 1994, 1995 International Business Machines Corp. +# (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc. +# (c) Copyright 1993, 1994, 1995 Novell, Inc. +# +# $XConsortium: xclients.dt.src /main/5 1996/04/23 20:26:44 drk $ +# +# ########################################################################## + +set DtDbVersion=1.0 + +# ########################################################################## +# +# WARNING: This file may be overwritten in subsequent installations of +# the Common Desktop Environment (CDE). Consequently, any system wide +# changes should be made to an equivalent database file in +# /etc/dt/types and not in this file. +# +# ########################################################################## +# ################################################################## +# +# Data Attributes +# +# ################################################################## +DATA_ATTRIBUTES XWD +{ + ACTIONS Open,Print + ICON Dtxwd + NAME_TEMPLATE %s.xwd + MIME_TYPE application/octet-stream + SUNV3_TYPE xwd-file + DESCRIPTION This file contains a graphics image in the XWD \ + format. These files are typically created by \ + taking snapshots of windows using the Xwd Capture \ + action. Its data type is named XWD. XWD files \ + have names ending with '.xwd' or '.wd'. + TYPE_LABEL XWD +} +DATA_CRITERIA XWD1 +{ + DATA_ATTRIBUTES_NAME XWD + MODE f + NAME_PATTERN *.xwd +} +DATA_CRITERIA XWD2 +{ + DATA_ATTRIBUTES_NAME XWD + MODE f + NAME_PATTERN *.wd +} +ACTION Open +{ + LABEL Open + ARG_TYPE XWD + TYPE MAP + MAP_ACTION Xwud +} +ACTION Print +{ + LABEL Print + ARG_TYPE XWD + TYPE MAP + MAP_ACTION NoPrint +} +ACTION Xwud +{ + LABEL Xwd Display + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING xwud -noclick -in "%(File)Arg_1"Xwd File To Display:"%" + + DESCRIPTION The Xwd Display (Xwud) action displays\ + an xwd file that was created using the \ + Xwd Capture (Xwd) action. It uses \ + the 'xwud' command. +} + +# ########################################################################## +# +# Actions +# +# ########################################################################## +ACTION Xrefresh +{ + LABEL Refresh Display + ARG_COUNT 0 + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING xrefresh + DESCRIPTION The Refresh Display (Xrefresh) action causes \ + the entire screen to be refreshed using the \ + 'xrefresh' command. +} + +# ###### + +ACTION Bitmap +{ + LABEL Edit Bitmap + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING bitmap "%(File)Arg_1"File To Open:"%" + + DESCRIPTION The Edit Bitmap (Bitmap) action runs the \ + 'bitmap' client. You can supply a file argument, \ + or it will prompts for the width and height for \ + the new bitmap file. +} +ACTION Bitmap +{ + LABEL Edit Bitmap + ARG_COUNT 0 + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING bitmap -size %"Width:"%x%"Height:"% "%(File)Arg_1"File To Open:"%" + + + DESCRIPTION The Edit Bitmap (Bitmap) action runs the \ + 'bitmap' client. You can supply a file argument, \ + or it will prompts for the width and height for \ + the new bitmap file. +} + +# ###### + +ACTION DttermConsole +{ + LABEL Terminal Console + ICON Dtterm + ARG_COUNT 0 + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /usr/dt/bin/dtterm -C -ls -name Console -title Console + DESCRIPTION The Terminal Console action starts \ + an 'dtterm' terminal emulator as the user's console. +} + +# ###### + +ACTION Xterm +{ + LABEL Xterm + ICON Dtterm + ARG_COUNT 0 + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING xterm + DESCRIPTION The Xterm action starts an \ + 'xterm' terminal emulator. +} + +# ###### + +ACTION DttermDtspcd +{ + LABEL Terminal Remote + ICON Dtterm + ARG_COUNT 0 + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_HOST %"Hostname:"% + EXEC_STRING /usr/dt/bin/dtterm + DESCRIPTION The Terminal Remote action prompts the user for \ + the name of a system and starts an 'dtterm' \ + terminal emulator on that system. The system must \ + be properly configured for remote execution. +} + +# ###### + +ACTION XtermDtspcd +{ + LABEL Xterm Remote + ICON Dtterm + ARG_COUNT 0 + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_HOST %"Hostname:"% + EXEC_STRING xterm + DESCRIPTION The Xterm Remote action prompts the \ + user for the name of a system and starts an \ + 'xterm' terminal emulator on that system. The \ + system must be properly configured for remote execution. +} + +# ###### + +ACTION DttermRlogin +{ + LABEL Terminal Rlogin + ICON Dtterm + ARG_COUNT 0 + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /bin/ksh -c 'export _title="%"Hostname:"%"; /usr/dt/bin/dtterm -title "\$_title : Dtterm" -e KORNSHELL -c "echo Trying to establish connection to \$_title... Please wait.; rlogin \$_title; sleep 5;";' + + + + DESCRIPTION The Terminal Rlogin action prompts the user for \ + the name of a system, opens a 'dtterm' terminal \ + emulator window, and then performs an 'rlogin' to \ + that system. +} + +# ###### + +ACTION XtermRlogin +{ + LABEL Xterm Rlogin + ICON Dtterm + ARG_COUNT 0 + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING /bin/ksh -c 'export _title="%"Hostname:"%"; xterm -title "\$_title : Xterm" -e KORNSHELL -c "echo Trying to establish connection to \$_title... Please wait.; rlogin \$_title; sleep 5;";' + + + + DESCRIPTION The Xterm Rlogin action prompts the \ + user for the name of a system, opens an 'xterm' \ + terminal emulator window, and then performs an \ + 'rlogin' to that system. +} + +# ###### + +ACTION XclockDig +{ + LABEL Digital Clock + ARG_COUNT 0 + ICON Dtdgclk + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING xclock -name "Digital Clock" -digital -update 1 + + DESCRIPTION The Digital Clock (Xclock) action displays \ + a digital clock. It uses the 'xclock -digital' command. +} + + +# ###### + +ACTION Xload +{ + LABEL System Load + ARG_COUNT 0 + ICON Dtload + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING xload -name "System Load" -geometry 250x150 -xrm '*primaryColorSetId: 5' + + DESCRIPTION The System Load (Xload) action displays a \ + graphical view of the system load. It uses the \ + xload command. +} + +# ###### + +ACTION Xwd +{ + LABEL Xwd Capture + ARG_COUNT 0 + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING xwd -out %(File)"Output File (.xwd):"% + + DESCRIPTION The Xwd Capture (Xwd) action takes \ + a snapshot of a window and stores it in an xwd \ + graphics file. When you run the action the \ + cursor changes to a cross, and you must then \ + click on the window you want to capture. The \ + action uses the xwd command. Xwd stands for \ + 'X Window Dump'. +} + +# ###### + +ACTION Xclipboard +{ + LABEL Clipboard Contents + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING xclipboard + DESCRIPTION The Clipboard Contents (Xclipboard) action \ + displays your clipboard. It uses the 'xclipboard' \ + command. +} + +# ###### + +ACTION Xfd +{ + LABEL Font Preview + TYPE COMMAND + WINDOW_TYPE NO_STDIO + EXEC_STRING sh -c 'xfd -fn "%(String)Arg_1"Font To Preview:"%"; if [ \$? -eq 1 ] ; then /usr/dt/bin/dterror.ds "The font you specified cannot be found.\\n\ + Run the Font List action to display a\\n\ + list of valid font names." "Font Name Not Found" "OK" ; fi' + + + + + + + + DESCRIPTION The Font Preview (Xfd) action prompts for a font \ + name and then display all the characters in the \ + font. It uses the 'xfd' command. +} + +# ###### + +# The Window Information (Xwininfo) action can't use the +# '| ${PAGER:-more}' definition because it prevents the +# 'click on a window' message from being displayed. +ACTION Xwininfo +{ + LABEL Window Information + ARG_COUNT 0 + TYPE COMMAND + WINDOW_TYPE PERM_TERMINAL + EXEC_STRING sh -c 'xwininfo; echo "\\n*** Select Close or Exit from the window menu to close this window ***"' + + DESCRIPTION The Window Information (Xwininfo) action \ + displays information about a window. When you run \ + List Window Information, the cursor changes to a \ + cross, and you then click the window for which you \ + want the information. This action uses the \ + 'xwininfo' command. +} + +# ###### + +ACTION Xprop +{ + LABEL Window Properties + ARG_COUNT 0 + TYPE COMMAND + WINDOW_TYPE PERM_TERMINAL + EXEC_STRING sh -c ' echo "[When the cursor changes to a cross, click on a window ...]\\n"; xprop | \${PAGER:-more}; echo "\\n*** Select Close or Exit from the window menu to close this window ***"' + + + + DESCRIPTION The Window Properties (Xprop) action \ + displays the properties stored on a window. When \ + you run Window Properties, the cursor changes \ + to a cross, and you then click the window for \ + which you want the information. This action uses \ + the 'xprop' command. +} + +# ###### + +ACTION Xdpyinfo +{ + LABEL X Server Information + ARG_COUNT 0 + TYPE COMMAND + WINDOW_TYPE PERM_TERMINAL + EXEC_STRING sh -c ' xdpyinfo | \${PAGER:-more}; echo "\\n*** Select Close or Exit from the window menu to close this window ***"' + + + + DESCRIPTION The X Server Information (Xdpyinfo) action \ + displays information about your X server and \ + display system. It uses the 'xdpyinfo' command. +} + +# ###### + +ACTION Xlsfonts +{ + LABEL Font List + ARG_COUNT 0 + TYPE COMMAND + WINDOW_TYPE PERM_TERMINAL + EXEC_STRING sh -c ' echo "Looking for fonts, Please Wait......\\n NOTE: may lock up your Display server for a few moments."; xlsfonts | \${PAGER:-more}; echo "\\n*** Select Close or Exit from the window menu to close this window ***"' + + + + DESCRIPTION The Font List (Xlsfonts) action lists all \ + the fonts that can be displayed on your system. \ + It uses the 'xlsfonts' command. +} + +# ######################## EOF ############################################ diff --git a/cde/programs/localized/C/types/xdvi.dt b/cde/programs/localized/C/types/xdvi.dt new file mode 100644 index 00000000..b3335a5b --- /dev/null +++ b/cde/programs/localized/C/types/xdvi.dt @@ -0,0 +1,72 @@ +###################################################################### +# +# Common Desktop Environment (CDE) +# +# Action and DataType Definition File +# +# Generated by the CreateAction tool +# +# $Revision: 1.0 +# +# $KEY: 108 +# +###################################################################### +# +# WARNING: +# +# This file was generated by the CDE CreateAction tool. +# If this file is modified by some other tool, such as vi, +# the CreateAction tool will no longer be able to load and +# update this file. For this reason, changes to this file +# should be handled through CreateAction whenever possible. +# +###################################################################### + +ACTION xdvi +{ + LABEL xdvi + TYPE COMMAND + EXEC_STRING xdvi "%Arg_1%" + ICON dvi + WINDOW_TYPE NO_STDIO + DESCRIPTION xdvi is the default dvi viewer. +} + +DATA_ATTRIBUTES xdvi_FILE_1 +{ + ACTIONS Open,Print + ICON dvi + DESCRIPTION DVI files open with xdvi. +} + +DATA_CRITERIA xdvi_FILE_1A +{ + DATA_ATTRIBUTES_NAME xdvi_FILE_1 + MODE !d + PATH_PATTERN *.dvi +} + +ACTION Open +{ + ARG_TYPE xdvi_FILE_1 + TYPE MAP + MAP_ACTION xdvi + LABEL Open +} + +ACTION xdvi_FILE_1_PRINT +{ + TYPE COMMAND + EXEC_STRING dvips "%Arg_1%" -o - | lpr + WINDOW_TYPE NO_STDIO +} + +ACTION Print +{ + ARG_TYPE xdvi_FILE_1 + TYPE MAP + MAP_ACTION xdvi_FILE_1_PRINT + LABEL Print +} + + diff --git a/cde/programs/localized/C/types/xine.dt b/cde/programs/localized/C/types/xine.dt new file mode 100644 index 00000000..79443214 --- /dev/null +++ b/cde/programs/localized/C/types/xine.dt @@ -0,0 +1,78 @@ +###################################################################### +# +# Common Desktop Environment (CDE) +# +# Action and DataType Definition File +# +# Generated by the CreateAction tool +# +# $Revision: 1.0 +# +# $KEY: 4747 +# +###################################################################### +# +# WARNING: +# +# This file was generated by the CDE CreateAction tool. +# If this file is modified by some other tool, such as vi, +# the CreateAction tool will no longer be able to load and +# update this file. For this reason, changes to this file +# should be handled through CreateAction whenever possible. +# +###################################################################### + +ACTION xine +{ + LABEL xine + TYPE COMMAND + EXEC_STRING xine "%Arg_1%" + ICON xine + WINDOW_TYPE NO_STDIO + DESCRIPTION xine: movie player. +} + +#DATA_ATTRIBUTES vlc_FILE_1 +#{ +# ACTIONS Open +# ICON mp3 +# DESCRIPTION MP3 files open with VLC Media Player. +#} +# +#DATA_CRITERIA vlc_FILE_1A +#{ +# DATA_ATTRIBUTES_NAME vlc_FILE_1 +# MODE !d +# PATH_PATTERN *.mp3 +#} +# +#ACTION Open +#{ +# ARG_TYPE vlc_FILE_1 +# TYPE MAP +# MAP_ACTION vlc +# LABEL Open +#} +# +#DATA_ATTRIBUTES vlc_FILE_3 +#{ +# ACTIONS Open +# ICON mp3 +# DESCRIPTION OGG files open with VLC Media Player. +#} +# +#DATA_CRITERIA vlc_FILE_3A +#{ +# DATA_ATTRIBUTES_NAME vlc_FILE_3 +# MODE !d +# PATH_PATTERN *.ogg +#} +# +#ACTION Open +#{ +# ARG_TYPE vlc_FILE_3 +# TYPE MAP +# MAP_ACTION vlc +# LABEL Open +#} + diff --git a/cde/programs/localized/C/types/xournal.dt b/cde/programs/localized/C/types/xournal.dt new file mode 100644 index 00000000..7636f505 --- /dev/null +++ b/cde/programs/localized/C/types/xournal.dt @@ -0,0 +1,78 @@ +###################################################################### +# +# Common Desktop Environment (CDE) +# +# Action and DataType Definition File +# +# Generated by the CreateAction tool +# +# $Revision: 1.0 +# +# $KEY: 4747 +# +###################################################################### +# +# WARNING: +# +# This file was generated by the CDE CreateAction tool. +# If this file is modified by some other tool, such as vi, +# the CreateAction tool will no longer be able to load and +# update this file. For this reason, changes to this file +# should be handled through CreateAction whenever possible. +# +###################################################################### + +ACTION xournal +{ + LABEL xournal + TYPE COMMAND + EXEC_STRING xournal "%Arg_1%" + ICON xournal + WINDOW_TYPE NO_STDIO + DESCRIPTION xournal: pdf presentations with on screen writing support. +} + +#DATA_ATTRIBUTES vlc_FILE_1 +#{ +# ACTIONS Open +# ICON mp3 +# DESCRIPTION MP3 files open with VLC Media Player. +#} +# +#DATA_CRITERIA vlc_FILE_1A +#{ +# DATA_ATTRIBUTES_NAME vlc_FILE_1 +# MODE !d +# PATH_PATTERN *.mp3 +#} +# +#ACTION Open +#{ +# ARG_TYPE vlc_FILE_1 +# TYPE MAP +# MAP_ACTION vlc +# LABEL Open +#} +# +#DATA_ATTRIBUTES vlc_FILE_3 +#{ +# ACTIONS Open +# ICON mp3 +# DESCRIPTION OGG files open with VLC Media Player. +#} +# +#DATA_CRITERIA vlc_FILE_3A +#{ +# DATA_ATTRIBUTES_NAME vlc_FILE_3 +# MODE !d +# PATH_PATTERN *.ogg +#} +# +#ACTION Open +#{ +# ARG_TYPE vlc_FILE_3 +# TYPE MAP +# MAP_ACTION vlc +# LABEL Open +#} + diff --git a/cde/programs/localized/C/types/xpdf.dt b/cde/programs/localized/C/types/xpdf.dt new file mode 100644 index 00000000..92b721c4 --- /dev/null +++ b/cde/programs/localized/C/types/xpdf.dt @@ -0,0 +1,72 @@ +###################################################################### +# +# Common Desktop Environment (CDE) +# +# Action and DataType Definition File +# +# Generated by the CreateAction tool +# +# $Revision: 1.0 +# +# $KEY: 108 +# +###################################################################### +# +# WARNING: +# +# This file was generated by the CDE CreateAction tool. +# If this file is modified by some other tool, such as vi, +# the CreateAction tool will no longer be able to load and +# update this file. For this reason, changes to this file +# should be handled through CreateAction whenever possible. +# +###################################################################### + +ACTION xpdf +{ + LABEL xpdf + TYPE COMMAND + EXEC_STRING xpdf "%Arg_1%" + ICON xpdf + WINDOW_TYPE NO_STDIO + DESCRIPTION Xpdf is the default pdf viewer. +} + +DATA_ATTRIBUTES xpdf_FILE_1 +{ + ACTIONS Open,Print + ICON acroread + DESCRIPTION PDF files open with xpdf. +} + +DATA_CRITERIA xpdf_FILE_1A +{ + DATA_ATTRIBUTES_NAME xpdf_FILE_1 + MODE !d + PATH_PATTERN *.pdf +} + +ACTION Open +{ + ARG_TYPE xpdf_FILE_1 + TYPE MAP + MAP_ACTION xpdf + LABEL Open +} + +ACTION xpdf_FILE_1_PRINT +{ + TYPE COMMAND + EXEC_STRING lpr "%Arg_1%" + WINDOW_TYPE NO_STDIO +} + +ACTION Print +{ + ARG_TYPE xpdf_FILE_1 + TYPE MAP + MAP_ACTION xpdf_FILE_1_PRINT + LABEL Print +} + + diff --git a/cde/programs/localized/C/types/xv.dt b/cde/programs/localized/C/types/xv.dt new file mode 100644 index 00000000..8ae22ac5 --- /dev/null +++ b/cde/programs/localized/C/types/xv.dt @@ -0,0 +1,114 @@ +###################################################################### +# +# Common Desktop Environment (CDE) +# +# Action and DataType Definition File +# +# Generated by the CreateAction tool +# +# $Revision: 1.0 +# +# $KEY: 108 +# +###################################################################### +# +# WARNING: +# +# This file was generated by the CDE CreateAction tool. +# If this file is modified by some other tool, such as vi, +# the CreateAction tool will no longer be able to load and +# update this file. For this reason, changes to this file +# should be handled through CreateAction whenever possible. +# +###################################################################### + +ACTION xv +{ + LABEL xv + TYPE COMMAND + EXEC_STRING xv "%Arg_1%" + ICON xv + WINDOW_TYPE NO_STDIO + DESCRIPTION xv image viewer. +} + +DATA_ATTRIBUTES xv_FILE_1 +{ + ACTIONS Open,Print + ICON xv + DESCRIPTION Open image in xv. +} + +DATA_CRITERIA xv_FILE_1A +{ + DATA_ATTRIBUTES_NAME xv_FILE_1 + MODE !d + PATH_PATTERN *.jpg +} + +ACTION Open +{ + ARG_TYPE xv_FILE_1 + TYPE MAP + MAP_ACTION xv + LABEL Open +} + +ACTION xv_FILE_1_PRINT +{ + TYPE COMMAND + EXEC_STRING xv "%Arg_1%" + WINDOW_TYPE NO_STDIO +} + +ACTION Print +{ + ARG_TYPE xv_FILE_1 + TYPE MAP + MAP_ACTION xv_FILE_1_PRINT + LABEL Print +} + + + +#### +DATA_ATTRIBUTES xv_FILE_3 +{ + ACTIONS Open,Print + ICON xv + DESCRIPTION Open image in xv. +} + +DATA_CRITERIA xv_FILE_3A +{ + DATA_ATTRIBUTES_NAME xv_FILE_3 + MODE !d + PATH_PATTERN *.png +} + +ACTION Open +{ + ARG_TYPE xv_FILE_3 + TYPE MAP + MAP_ACTION xv + LABEL Open +} + +ACTION xv_FILE_3_PRINT +{ + TYPE COMMAND + EXEC_STRING xv "%Arg_1%" + WINDOW_TYPE NO_STDIO +} + +ACTION Print +{ + ARG_TYPE xv_FILE_3 + TYPE MAP + MAP_ACTION xv_FILE_3_PRINT + LABEL Print +} + + + + -- 2.25.1