Skip to content
This repository was archived by the owner on Mar 10, 2026. It is now read-only.
This repository was archived by the owner on Mar 10, 2026. It is now read-only.

cups.desktop file doesn't follow freedesktop spec #2924

Closed

Description

@michaelrsweet

Version: 1.3.8
CUPS.org User: pacho

desktop-file-validate reports the following problems:
cups.desktop: warning: value "Application;System;X-Red-Hat-Base;" for key "Categories" in group "Desktop Entry" contains a deprecated value "Application"
cups.desktop: warning: key "Encoding" in group "Desktop Entry" is deprecated
cups.desktop: warning: value "" for key "Path" in group "Desktop Entry" does not look like an absolute path
cups.desktop: warning: key "TerminalOptions" in group "Desktop Entry" is deprecated

Path set to "" is an important issue as it prevent launch desktop entry from Desktop (with nautilus-2.22)

The attached patch fixes all this

Activity

  1. michaelrsweet commented on Sep 4, 2008

    @michaelrsweet
    ContributorAuthor

    CUPS.org User: mike

    Considering...

  2. michaelrsweet commented on Sep 5, 2008

    @michaelrsweet
    ContributorAuthor

    CUPS.org User: mike

    Fixed in Subversion repository.

    I also fixed several other issues (locale encoding wasn't specified, adding printing categories, dropped KDE-specific keywords)

  3. michaelrsweet commented on Sep 5, 2008

    @michaelrsweet
    ContributorAuthor

    "cups-desktop.patch":

    --- desktop/cups.desktop~ 2008-09-04 17:03:51.000000000 +0200
    +++ desktop/cups.desktop 2008-09-04 17:03:51.000000000 +0200
    @@ -1,14 +1,11 @@
    [Desktop Entry]
    -Categories=Application;System;X-Red-Hat-Base;
    -Encoding=UTF-8
    +Categories=System;X-Red-Hat-Base;
    Exec=htmlview http://localhost:631/
    GenericName=
    Icon=cups
    MimeType=
    -Path=
    StartupNotify=false
    Terminal=false
    -TerminalOptions=
    Type=Application
    X-DCOP-ServiceType=
    X-KDE-SubstituteUID=false

  4. michaelrsweet commented on Sep 5, 2008

    @michaelrsweet
    ContributorAuthor

    "str2924.patch":

    Index: desktop/cups.desktop.in

    --- desktop/cups.desktop.in (revision 7908)
    +++ desktop/cups.desktop.in (working copy)
    @@ -1,41 +1,33 @@
    [Desktop Entry]
    -Categories=Application;System;X-Red-Hat-Base;
    -Encoding=UTF-8
    +Categories=System;Printing;HardwareSettings;X-Red-Hat-Base;
    Exec=@CUPS_HTMLVIEW@ http://localhost:631/
    -GenericName=
    Icon=cups
    -MimeType=
    -Path=
    StartupNotify=false
    Terminal=false
    -TerminalOptions=
    Type=Application
    -X-DCOP-ServiceType=
    -X-KDE-SubstituteUID=false
    -X-KDE-Username=
    Name=Manage Printing
    Comment=CUPS Web Interface
    -Name[de]=Druckerverwaltung
    -Comment[de]=CUPS Webinterface
    -Name[en_US]=Manage Printing
    -Comment[en_US]=CUPS Web Interface
    -Name[es]=Administrar impresión
    -Comment[es]=Interfaz Web de CUPS
    -Name[et]=Trükkimise haldur
    -Comment[et]=CUPS-i veebiliides
    -Name[fr]=Gestionnaire d'impression
    -Comment[fr]=Interface Web de CUPS
    -Name[he]=נ�� ��פס�ת
    -Comment[he]=��שק �פ�פ� ש� CUPS
    -Name[id]=Manajemen Pencetakan
    -Comment[id]=Antarmuka Web CUPS
    -Name[it]=Gestione stampa
    -Comment[it]=Interfaccia web di CUPS
    -Name[ja]=���管�
    -Comment[ja]=CUPS Web �������
    -Name[pl]=Zarz�dzanie drukowaniem
    -Comment[pl]=Interfejs WWW CUPS
    -Name[zh]=���管�
    -Comment[zh]=CUPS�页��
    -Name[zh_TW]=�表管�
    -Comment[zh_TW]=CUPS 網���
    +Name[de.UTF-8]=Druckerverwaltung
    +Comment[de.UTF-8]=CUPS Webinterface
    +Name[en_US.UTF-8]=Manage Printing
    +Comment[en_US.UTF-8]=CUPS Web Interface
    +Name[es.UTF-8]=Administrar impresión
    +Comment[es.UTF-8]=Interfaz Web de CUPS
    +Name[et.UTF-8]=Trükkimise haldur
    +Comment[et.UTF-8]=CUPS-i veebiliides
    +Name[fr.UTF-8]=Gestionnaire d'impression
    +Comment[fr.UTF-8]=Interface Web de CUPS
    +Name[he.UTF-8]=נ�� ��פס�ת
    +Comment[he.UTF-8]=��שק �פ�פ� ש� CUPS
    +Name[id.UTF-8]=Manajemen Pencetakan
    +Comment[id.UTF-8]=Antarmuka Web CUPS
    +Name[it.UTF-8]=Gestione stampa
    +Comment[it.UTF-8]=Interfaccia web di CUPS
    +Name[ja.UTF-8]=���管�
    +Comment[ja.UTF-8]=CUPS Web �������
    +Name[pl.UTF-8]=Zarz�dzanie drukowaniem
    +Comment[pl.UTF-8]=Interfejs WWW CUPS
    +Name[zh.UTF-8]=���管�
    +Comment[zh.UTF-8]=CUPS�页��
    +Name[zh_TW.UTF-8]=�表管�
    +Comment[zh_TW.UTF-8]=CUPS 網���

  5. added this to the Stable milestone on Mar 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions