bugPSPP - Bugs: bug #61046, sps files do not open...


bug #61046: sps files do not open automatically by PSPP

Submitter:  elias tsolis <estatistics>
Submitted:  Mon 16 Aug 2021 10:52:38 AM UTC
Category:  Syntax Parser Severity:  5 - Average
Status:  Cannot Reproduce Assigned to:  None
Open/Closed:  Open Release:  None
Effort:  0.00
* Mandatory Fields

Add a New Comment Rich Markup

Sun 17 Apr 2022 06:47:32 PM UTC, comment #3: 

all pspp, i installing them manually... so i must make extra steps when manually installed?

you may include such steps in installation guide?

elias tsolis <estatistics>
Fri 07 Jan 2022 01:15:15 AM UTC, comment #2: 

I just installed pspp 1.4.1 on debian 11 via apt and it works. If you install via the packet manager, then the mime database and the desktop files are automagically updated. So if I install via apt, then I can do

root@debian:/usr/share/applications# xdg-mime query filetype /usr/share/pspp/examples/grid.sps
root@debian:/usr/share/applications# xdg-mime query filetype /usr/share/pspp/examples/hotel.sav

The sps and spv file mime types for pspp are defined here


while for sav and por they are already defined in the freedesktop xdg mime type database.


The desktop file which is the link between the mime type and the application should be here:


I guess if you install via "make install", then you need to update the mime database manually. You also cannot use a different prefix during configure, because then the xml and desktop files are not installed in the correct locations.

Friedrich Beckmann <beckmanf>
Group Member
Mon 16 Aug 2021 11:14:54 AM UTC, comment #1: 

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


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:


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"/>
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"

elias tsolis <estatistics>
Mon 16 Aug 2021 10:52:38 AM UTC, original submission:  

sps files do not open automatically by PSPP

I have Ubuntu 20.04
and PSPP v1.5.2

I dont know if this is PSPP thing or Ubuntu thing.

elias tsolis <estatistics>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #51787:  vokoscreenNG-2021-08-16_13-48-30.mp4 added by estatistics (664KiB - video/mp4 - video of not associating sps file with pspp opening)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by beckmanf (Posted a comment)
  • -email is unavailable- added by estatistics (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.


    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-01-07 beckmanf StatusNone Cannot Reproduce
    2021-08-16 estatistics Attached File- Added vokoscreenNG-2021-08-16_13-48-30.mp4, #51787

    Back to the top

    Powered by Savane 3.12