Skip to content

change WM_CLASS from org.jabref.gui.JabRefMain to jabref #7848

@JoKalliauer

Description

@JoKalliauer

Is your suggestion for improvement related to a problem?
If you filename your *.desktop-file (on linux) different than the WM_CLASS then you have two problems

  • first you can't add them to favourites via right-click
  • secondly jabref is twice in the menu, one pinned one, and one for the opened instances

Screenshot from 2021-06-24 18-19-10

Describe the solution you'd like
change the WM_CLASS of the linux-application to jabref

the current WM_CLASS is org.jabref.gui.JabRefMain and can be checked with xprop

so you have to name the *.desktop-file as org.jabref.gui.JabRefMain.desktop which is very unconvetional/inconvenient (and maybe problematic because it contains dots . the typos in the filename could be easily be overseen) .

Additional context
Illustration of the problem: https://askubuntu.com/a/1155956/676490
Infos about WM_CLASS: https://unix.stackexchange.com/a/225409/241592

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: depends-on-externalA bug or issue that depends on an update of an external library

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions