Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python.desktop #42578

Open
sonderblade mannequin opened this issue Nov 10, 2005 · 22 comments
Open

python.desktop #42578

sonderblade mannequin opened this issue Nov 10, 2005 · 22 comments
Labels
topic-installation type-feature A feature request or enhancement

Comments

@sonderblade
Copy link
Mannequin

sonderblade mannequin commented Nov 10, 2005

BPO 1353344
Nosy @loewis, @birkenfeld, @terryjreedy, @ncoghlan, @pitrou, @merwok, @davidmalcolm, @FFY00
Files
  • python.desktop: A freedesktop .desktop file for Python
  • pycon.png: A desktop icon for python
  • python.desktop: With German translation
  • python.desktop: With French translation
  • pycon.png: A PNG icon created from PC/pycon.ico
  • python.desktop: With Italian translation
  • python.desktop: With spanish translation
  • python.desktop
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = None
    created_at = <Date 2005-11-10.18:22:43.000>
    labels = ['easy', 'type-feature', 'expert-installation', '3.11']
    title = 'python.desktop'
    updated_at = <Date 2021-10-23.16:54:39.827>
    user = 'https://bugs.python.org/sonderblade'

    bugs.python.org fields:

    activity = <Date 2021-10-23.16:54:39.827>
    actor = 'FFY00'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Installation']
    creation = <Date 2005-11-10.18:22:43.000>
    creator = 'sonderblade'
    dependencies = []
    files = ['8262', '8263', '8264', '9206', '9208', '13689', '14833', '40768']
    hgrepos = []
    issue_num = 1353344
    keywords = ['easy']
    message_count = 20.0
    messages = ['54679', '54680', '54681', '54682', '54683', '54684', '60119', '85984', '92266', '113207', '115229', '115230', '115238', '121422', '121429', '121431', '123670', '154115', '209685', '287444']
    nosy_count = 11.0
    nosy_names = ['loewis', 'georg.brandl', 'terry.reedy', 'ncoghlan', 'sonderblade', 'pitrou', 'mribecky', 'eric.araujo', 'agb', 'dmalcolm', 'FFY00']
    pr_nums = []
    priority = 'low'
    resolution = None
    stage = 'needs patch'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue1353344'
    versions = ['Python 3.11']

    @sonderblade
    Copy link
    Mannequin Author

    sonderblade mannequin commented Nov 10, 2005

    I would very much like a
    /usr/share/applications/python.desktop file so that
    Python can be started from the Program-menu in Linux,
    just like you can from the Start-menu in Windows. I
    think it would be very neat and good for beginners.

    @sonderblade sonderblade mannequin added topic-installation type-feature A feature request or enhancement labels Nov 10, 2005
    @loewis
    Copy link
    Mannequin

    loewis mannequin commented Nov 13, 2005

    Logged In: YES
    user_id=21627

    Would you be willing to provide one?

    @sonderblade
    Copy link
    Mannequin Author

    sonderblade mannequin commented Nov 16, 2005

    Logged In: YES
    user_id=51702

    I have attached a .desktop file and an icon. python.desktop
    goes into /usr/share/applications and pycon.png into
    /usr/share/pixmaps. It's only translated to Swedish because
    I don't know other languages to well.

    @birkenfeld
    Copy link
    Member

    Logged In: YES
    user_id=1188172

    I added German translation. Regarding the icon: I do not
    like that very much. Isn't there another Python icon
    available in the standard sizes?

    @sonderblade
    Copy link
    Mannequin Author

    sonderblade mannequin commented Jan 9, 2006

    Logged In: YES
    user_id=51702

    In trunk there are PC/py.ico, PC/pyc.ico, PC/pycon.ico. I
    guess they would all work as icons, but I choose pycon.ico
    because that is the icon used on windows. I also wonder if
    the desktop file can be applied soon? It seems pretty
    trivial and uncontroversial to me.

    @birkenfeld
    Copy link
    Member

    Logged In: YES
    user_id=1188172

    It seems that the new Python website will feature a new
    icon. Perhaps that could be added to the distribution as the
    default Python icon.

    @pitrou
    Copy link
    Member

    pitrou commented Jan 18, 2008

    I'm adding a French translation, and removing the "Application" category
    (which doesn't exist as per the freedesktop specification).
    Also, I think the Name is too long right now. "The Python programming
    language" or "Le langage de programmation Python" looks longish for a
    menu entry. So I suggest just setting the Name to "Python". The only
    people for which the menu entry may be useful know what Python is anyway.

    PS :
    the desktop entry specification
    http://www.freedesktop.org/wiki/Specifications/desktop-entry-spec
    the menu spec (listing possible categories)
    http://www.freedesktop.org/wiki/Specifications/menu-spec

    @agb
    Copy link
    Mannequin

    agb mannequin commented Apr 15, 2009

    I have added the Italian translation.

    @mribecky
    Copy link
    Mannequin

    mribecky mannequin commented Sep 4, 2009

    Added the spanish translation.

    @terryjreedy
    Copy link
    Member

    I see lots of interest and several translations. Was there an intention to add this to the distribution (or has it been)? Or is it out-of-date?

    @BreamoreBoy
    Copy link
    Mannequin

    BreamoreBoy mannequin commented Aug 30, 2010

    3 weeks since msg113207 and no response. Seriously, what is a reasonable time before closing as out of date?

    @birkenfeld
    Copy link
    Member

    That depends. Especially feature requests need not be closed prematurely.

    @terryjreedy
    Copy link
    Member

    I asked because there was no such thing in the Unix I once used and I have never used Linux (yet). I take Georg's answer to mean that this is not obviously obsolete and should be left open.

    @merwok
    Copy link
    Member

    merwok commented Nov 18, 2010

    Don’t we expect beginners to start IDLE from their menu, and middle to advanced users to type “python” in their terminal? +0.

    IDLE does have a .desktop file in my Debian, so +1 on integrating that in our source tree.

    @terryjreedy
    Copy link
    Member

    terryjreedy commented Nov 18, 2010

    I am past beginner stage and I still open with the Start menu ;-)
    If/when I install Ubuntu or other Linux, I would like to still be able to do whatever is the equivalent, as with other stuff, rather than have to open a command window and type a command.

    @merwok
    Copy link
    Member

    merwok commented Nov 18, 2010

    Let me change my +0 to a +1 then :)

    For reference, the file used in Debuntu for Pythonx.y.desktop: http://bazaar.launchpad.net/~doko/python/pkg3.1-debian/annotate/head%3A/PVER.desktop.in
    idle.desktop: http://bazaar.launchpad.net/~doko/python/pkg3.1-debian/annotate/head%3A/idle.desktop.in

    License unclear, author apparently doko, so I guess we’re good.

    @merwok
    Copy link
    Member

    merwok commented Dec 9, 2010

    Apart from the desktop file itself, which should be a merged version of the last attachment to this report and the files in Debuntu/Fedora/whatever, there is the issue of installation. Someone has to track the desktop file spec or menu spec and edit one of the files involved in the Python build process.

    I don’t know if having missed beta1 means that this will be deferred to 3.3.

    @merwok
    Copy link
    Member

    merwok commented Feb 24, 2012

    Here’s a patch by Georg for the unix install machinery: http://mail.python.org/pipermail/python-dev/2006-July/067261.html

    @terryjreedy
    Copy link
    Member

    terryjreedy commented Jan 29, 2014

    I just closed bpo-15869 as a duplicate of this. It has another patch and possibly useful discussion.

    To move forward, a concrete repository patch is needed. I only see here pieces of such a patch. I do not know how much of the Windows installation files are in the repository and how much in separate files. I know even less about Linux, what 'installation' means on that system, and how multiple languages would be handled.

    I should think that an addition could be made to all open branches. While anything outside of idlelib is not covered by PEP-434, I think the same principles apply.

    @ncoghlan
    Copy link
    Contributor

    ncoghlan commented Feb 9, 2017

    From a downstream redistributor point of view, the key pieces it would be handy to consolidate upstream are the desktop file itself (with all the translations) and the preferred icon. It wouldn't really help much to have it integrated into "make install" since most redistributors split out tkinter and IDLE packages from the base installation anyway.

    However, as Terry says, before the change can be accepted, those files need to be combined into an actual patch that:

    • adds the desktop file and the icon to the Misc directory
    • updates Misc/README to describe the new files

    @terryjreedy terryjreedy added 3.11 only security fixes labels Oct 21, 2021
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    @arhadthedev
    Copy link
    Member

    Should we leave this to Linux distributions and close the issue?

    @merwok
    Copy link
    Member

    merwok commented May 11, 2023

    I still agree with Nick’s latest comment.

    @terryjreedy terryjreedy removed 3.11 only security fixes easy labels Feb 26, 2024
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    topic-installation type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    7 participants