Skip to content

Instantly share code, notes, and snippets.

@sdalichampt
Last active August 29, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sdalichampt/8951995 to your computer and use it in GitHub Desktop.
Save sdalichampt/8951995 to your computer and use it in GitHub Desktop.
Ouverture de fichier Word/Excel en lecture seule avec LibreOffice - Linux Mint 16
[Desktop Entry]
Exec=/usr/bin/libreoffice --calc --view %f
Name=Ouvrir avec LibreOffice Calc (en lecture seule)
MimeType=application/vnd.ms-excel;application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;
Type=Application
NoDisplay=true
Icon=libreoffice-calc
Name[fr_FR]=Ouvrir avec LibreOffice Calc (en lecture seule)
[Desktop Entry]
Exec=/usr/bin/libreoffice --writer --view %f
Name=Ouvrir avec LibreOffice Writer (en lecture seule)
MimeType=application/msword;application/vnd.openxmlformats-officedocument.wordprocessingml.document;
Type=Application
NoDisplay=true
Icon=libreoffice-writer
Name[fr_FR]=Ouvrir avec LibreOffice Writer (en lecture seule)
application/msword=libreoffice-writer-read-only.desktop;
application/vnd.ms-excel=libreoffice-calc-read-only.desktop;
application/vnd.openxmlformats-officedocument.wordprocessingml.document=libreoffice-writer-read-only.desktop;
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet=libreoffice-calc-read-only.desktop;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment