[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
PSPP-BUG: [bug #61046] sps files do not open automatically by PSPP
From: |
elias tsolis |
Subject: |
PSPP-BUG: [bug #61046] sps files do not open automatically by PSPP |
Date: |
Mon, 16 Aug 2021 07:14:55 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36 |
Follow-up Comment #1, bug #61046 (project pspp):
I finally made pspp to open automatically sps files. I do not know why pspp
did not open them automatically. Maybe it was a problem in ubuntu (?)
Ubuntu V20.04
Pspp v.1.5.2
stackoverflow
<https://askubuntu.com/questions/359582/problem-associating-file-type-to-application>
Copy / Paste from stackoverflow:
"For system wide
1) Add the new MimeType to the gpxviewer.desktop.
sudo nano /usr/share/applications/gpxviewer.desktop
Add the following line:
MimeType=application/gpx;
enter image description here
Save the changes in nano with Ctrl+O, Enter then Ctrl+X.
2) Create the new MimeType.
sudo nano /usr/share/mime/application/gpx.xml
Add the following to the gpx.xml file:
<?xml version="1.0"?>
<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
<mime-type type="application/gpx">
<comment>GPX Files</comment>
<generic-icon name="text-html"/>
<glob pattern="*.gpx"/>
</mime-type>
</mime-info>
Save the changes in nano with Ctrl+O, Enter then Ctrl+X.
NOTE: Please change the content of the file according to your needs.
3) Register the Mimetype.
sudo xdg-mime install --novendor --mode system
/usr/share/mime/application/gpx.xml
4) Make the gpxviewer application as default to open gpx files.
sudo xdg-mime default gpxviewer.desktop application/gpx
5) To see the changes you can Logout & Login or run the following:
sudo update-mime-database /usr/share/mime"
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?61046>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/