Am 11/30/20 um 6:48 PM schrieb Andrei Borzenkov:
30.11.2020 18:42, Daniel Spannbauer пишет:
Hello,
we have a filetype with ending "fsp" ,which should be opened with a special application.
I created a xml-file and registered the type "application/x-fsp" with "xdg-mime install"
I also created a Desktop-file /usr/share/applications/mmview.desktop , which has an entry "MimeType=application/x-fsp"
You did not tell Leap version, you did not tell desktop environment you are using, you did not show xml file, xdm-mime invocation or mmview.desktop file. Basically, zero data to make any guess about what could go wrong.
Ok?...did this Cahnge between the Leap versions? Or why is the Leap version important? We use EVERY Leap version, from 42.3 -> 15.2 atm. xml: <?xml version="1.0"?> <mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'> <mime-type type="application/x-fsp"> <comment>marco functional specification</comment> <glob pattern="*.fsp"/> </mime-type> </mime-info> mmview.desktop: [Desktop Entry] Comment=marco functional specification Hidden=false Icon= MimeType=application/x-fsp Patterns=*.fsp Type=MimeType Name=mmview Exec=/usr/uti/mmview %F Icon=/usr/share/icons/marco/marco.png Type=Application Terminal=false Categories=Utility; X-KDE-StartupNotify=false Path as root: /usr/uti/sys:/usr/uti:/usr/arch/bin:/usr/stl:/usr/cad:/usr/tools:/usr/mae:/bin:/usr/bin:/usr/X11/bin:/opt/kde3/bin:/usr/uti/pm2:/etc:/usr/etc:/sbin:/usr/sbin Path as User: /mnt/home/ds/uti::/usr/uti/sys:/usr/uti:/usr/arch/bin:/usr/stl:/usr/cad:/usr/tools:/usr/mae:/bin:/usr/bin:/usr/X11/bin:/opt/kde3/bin:/usr/uti/pm2:/mnt/home/ds/Zeit: xml is installed via: "xdg-mime install --mode system ~ds/x-fsp.xml" Desktop-ENv shouldn't matter here, cause this all these path as indipendent from the desktop-env, but we use mainly KDE3 and XFCE, some also mate. Regards Daniel -- Daniel Spannbauer Systemadministration marco Systemanalyse und Entwicklung GmbH Tel +49 8333 9233-27 Fax -11 Rechbergstr. 4-6, D 87727 Babenhausen Mobil +49 171 4033220 http://www.marco.de/ Email ds@marco.de Geschäftsführer Martin Reuter HRB 171775 Amtsgericht München