[maemo-developers] [maemo-developers] xournal mime-type
From: Jorge Salamero Sanz bencer at cauterized.netDate: Sat Nov 25 09:47:40 EET 2006
- Previous message: [maemo-developers] Re: Re: high speed (52/48Mhz) MMC mode added
- Next message: [maemo-developers] xournal mime-type
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
hi all, i'm trying to define application/xoj so xournal can open *.xoj files from file manager. i've the following /usr/share/applications/hildon/xournal.desktop : [Desktop Entry] Encoding=UTF-8 Version=0.3.1 Type=Application Name=Xournal Comment=Notetaking tool Exec=/usr/bin/xournal Icon=xournal Terminal=false X-Window-Icon=xournal X-Window-Icon-Dimmed=xournal X-Osso-Service=xournal X-HildonDesk-ShowInToolbar=true X-Osso-Type=application/x-executable StartupWMClass=xournal MimeType=application/xoj; and /usr/share/mime/packages/xournal.xml : <?xml version="1.0" encoding="UTF-8"?> <mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info"> <mime-type type="application/xoj"> <glob pattern="*.xoj"/> <comment>Xournal note</comment> </mime-type> </mime-info> then i've done: update-mime-database /usr/share/mime update-desktop-database now when i click on an xoj file, xournal opens but it's shown a new untitled file. do you know what's wrong ? thanks !
- Previous message: [maemo-developers] Re: Re: high speed (52/48Mhz) MMC mode added
- Next message: [maemo-developers] xournal mime-type
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]