2011-03-23
Slitaz -- zoho viewer / convert
tux@slitaz:~$ cat /usr/share/applications/zoho-viewer.desktop
[Desktop Entry]
Encoding=UTF-8
Name=Zoho Document Viewer
Name[fr]=Visualiseur de document Zoho
Icon=zoho
Exec=browser http://viewer.zoho.com/
Type=Application
Categories=Office;
tux@slitaz:~$ which browser
/usr/bin/browser
tux@slitaz:~$ ls -l /usr/bin/browser
-rwxr-xr-x 1 root root 196 Mar 17 14:18 /usr/bin/browser
tux@slitaz:~$ cat /usr/bin/browser
#!/bin/sh
# Lauch SliTaz default Web browser.
#
. /etc/slitaz/applications.conf
USER_CONFIG="$HOME/.config/slitaz/applications.conf"
[ -f $USER_CONFIG ] && . $USER_CONFIG
$BROWSER $@ &
exit 0
tux@slitaz:~$ cat $HOME/.config/slitaz/applications.conf
# SliTaz default applications configuration file. These apps can be
# started through wrappers: browser, editor and terminal.
#
# File manager.
FILE_MANAGER="pcmanfm"
# Web browser.
BROWSER="GtkLauncher"
# Text editor.
EDITOR="leafpad"
# X terminal.
TERMINAL="xterm"
# Window manager.
WINDOW_MANAGER="openbox-session"
tux@slitaz:~$ cat /usr/share/applications/gtklauncher.desktop
[Desktop Entry]
Type=Application
Name=Light Web Browser
Name[fr]=Navigateur Web léger
Categories=GTK;Network;
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;
Exec=GtkLauncher %u
Icon=web-browser
Terminal=false
tux@slitaz:~$
.