mate-desktop: Provide default applications.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
Willy Sudiarto Raharjo 2017-03-13 08:03:15 +07:00
parent 663acf19d1
commit 309fa9885b
No known key found for this signature in database
GPG key ID: 887B8374D7333381
2 changed files with 104 additions and 0 deletions

View file

@ -91,6 +91,9 @@ make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/share/applications
cp $CWD/mate-mimeapps.list $PKG/usr/share/applications
# Compress and link manpages # Compress and link manpages
if [ -d $PKG/usr/man ]; then if [ -d $PKG/usr/man ]; then
( cd $PKG/usr/man ( cd $PKG/usr/man

View file

@ -0,0 +1,101 @@
[Default Applications]
image/bmp=eom.desktop
image/gif=eom.desktop
image/jpeg=eom.desktop
image/jpg=eom.desktop
image/pjpeg=eom.desktop
image/png=eom.desktop
image/tiff=eom.desktop
image/x-bmp=eom.desktop
image/x-gray=eom.desktop
image/x-icb=eom.desktop
image/x-ico=eom.desktop
image/x-pcx=eom.desktop
image/x-png=eom.desktop
image/x-portable-anymap=eom.desktop
image/x-portable-bitmap=eom.desktop
image/x-portable-graymap=eom.desktop
image/x-portable-pixmap=eom.desktop
image/x-xbitmap=eom.desktop
image/x-xpixmap=eom.desktop
image/svg+xml=eom.desktop
image/svg+xml-compressed=eom.desktop
image/vnd.wap.wbmp=eom.desktop
application/pdf=atril.desktop
application/x-bzpdf=atril.desktop
application/x-gzpdf=atril.desktop
application/postscript=atril.desktop
application/x-bzpostscript=atril.desktop
application/x-gzpostscript=atril.desktop
image/x-eps=atril.desktop
image/x-bzeps=atril.desktop
image/x-gzeps=atril.desktop
application/x-dvi=atril.desktop
application/x-bzdvi=atril.desktop
application/x-gzdvi=atril.desktop
image/vnd.djvu=atril.desktop
image/tiff=atril.desktop
application/x-cbr=atril.desktop
application/x-cbz=atril.desktop
application/x-cb7=atril.desktop
application/x-cbt=atril.desktop
application/oxps=atril.desktop
application/vnd.ms-xpsdocument=atril.desktop
application/x-dvi=atril.desktop
application/x-7z-compressed=engrampa.desktop
application/x-7z-compressed-tar=engrampa.desktop
application/x-ace=engrampa.desktop
application/x-alz=engrampa.desktop
application/x-ar=engrampa.desktop
application/x-arj=engrampa.desktop
application/x-bzip=engrampa.desktop
application/x-bzip-compressed-tar=engrampa.desktop
application/x-bzip1=engrampa.desktop
application/x-bzip1-compressed-tar=engrampa.desktop
application/x-cabinet=engrampa.desktop
application/x-cbr=engrampa.desktop
application/x-cbz=engrampa.desktop
application/x-cd-image=engrampa.desktop
application/x-compress=engrampa.desktop
application/x-compressed-tar=engrampa.desktop
application/x-cpio=engrampa.desktop
application/x-deb=engrampa.desktop
application/x-ear=engrampa.desktop
application/x-ms-dos-executable=engrampa.desktop
application/x-gtar=engrampa.desktop
application/x-gzip=engrampa.desktop
application/x-gzpostscript=engrampa.desktop
application/x-java-archive=engrampa.desktop
application/x-lha=engrampa.desktop
application/x-lhz=engrampa.desktop
application/x-lrzip=engrampa.desktop
application/x-lrzip-compressed-tar=engrampa.desktop
application/x-lzip=engrampa.desktop
application/x-lzip-compressed-tar=engrampa.desktop
application/x-lzma=engrampa.desktop
application/x-lzma-compressed-tar=engrampa.desktop
application/x-lzop=engrampa.desktop
application/x-lzop-compressed-tar=engrampa.desktop
application/x-ms-wim=engrampa.desktop
application/x-rar=engrampa.desktop
application/x-rar-compressed=engrampa.desktop
application/x-rpm=engrampa.desktop
application/x-rzip=engrampa.desktop
application/x-tar=engrampa.desktop
application/x-tarz=engrampa.desktop
application/x-stuffit=engrampa.desktop
application/x-war=engrampa.desktop
application/x-xz=engrampa.desktop
application/x-xz-compressed-tar=engrampa.desktop
application/x-zip=engrampa.desktop
application/x-zip-compressed=engrampa.desktop
application/x-zoo=engrampa.desktop
application/zip=engrampa.desktop
application/x-archive=engrampa.desktop
application/vnd.ms-cab-compressed=engrampa.desktop
text/plain=pluma.desktop
inode/directory=caja-folder-handler.desktop
application/x-directory=caja-folder-handler.desktop
# URI scheme handlers
x-scheme-handler/computer=caja-folder-handler.desktop
x-scheme-handler/network=caja-folder-handler.desktop