Opened 10 years ago

Last modified 4 years ago

#10989 needs_info enhancement

Include a .desktop file along with sage.

Reported by: gostrc Owned by: tbd
Priority: trivial Milestone: sage-8.0
Component: distribution Keywords: desktop file freedesktop
Cc: Merged in:
Authors: André Apitzsch Reviewers:
Report Upstream: N/A Work issues:
Branch: u/aapitzsch/ticket/10989 (Commits, GitHub, GitLab) Commit: 37b83b77d44c456f0727e42f8c71041928560343
Dependencies: Stopgaps:

Status badges

Description

A common .desktop file shared among many distros might prove to be useful since right now, you are either forced to create your own, or use someone else's.

A desktop file we are currently using at archlinux is: http://projects.archlinux.org/svntogit/community.git/plain/sage-mathematics/trunk/SAGE-notebook.desktop

Which could be the one used, or it doesn't have to be. Please let me know if you have any questions.

Attachments (1)

sage_logo.svg (2.1 KB) - added by chapoton 4 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 7 years ago by aapitzsch

  • Milestone set to sage-duplicate/invalid/wontfix
  • Status changed from new to needs_review

The .desktop file should be part of sagenb.

comment:2 Changed 7 years ago by aapitzsch

  • Authors set to André Apitzsch
  • Branch set to u/aapitzsch/ticket/10989
  • Commit set to 37b83b77d44c456f0727e42f8c71041928560343
  • Milestone changed from sage-duplicate/invalid/wontfix to sage-6.3

This commit only provides a .desktop file. Copying it to the right location should be done by the distributions for now, till make install leaves experimental state.

It also fixes #16400.


New commits:

37b83b7provide a .desktop file

comment:3 Changed 7 years ago by vbraun_spam

  • Milestone changed from sage-6.3 to sage-6.4

comment:4 follow-up: Changed 5 years ago by saraedum

  • Status changed from needs_review to needs_info

I do not really know much about these desktop files (I do not have a desktop…) but I just stumbled upon this and wondered:

  • Is data/ the default place where something like this should live? (Just asking if it is worth creating a new top-level directory for something like this.)
  • Should we also ship an icon since it is mentioned in the desktop file?

comment:5 in reply to: ↑ 4 Changed 5 years ago by aapitzsch

Replying to saraedum:

Is data/ the default place where something like this should live? (Just asking if it is worth creating a new top-level directory for something like this.)

Coming from the gnome universe I put it into data/, but it shouldn't really matter.

Should we also ship an icon since it is mentioned in the desktop file?

We should do that.

If we provide these files it will be easier for the user recognize sagemath across various distributions.

P.S. A desktop file is required if we want to ship an appdata file https://people.freedesktop.org/~hughsient/appdata/

comment:6 Changed 5 years ago by saraedum

  • Status changed from needs_info to needs_work
  • Work issues set to include icon

Changed 4 years ago by chapoton

comment:7 Changed 4 years ago by chapoton

  • Milestone changed from sage-6.4 to sage-8.0
  • Status changed from needs_work to needs_info
  • Work issues include icon deleted
Note: See TracTickets for help on using tickets.