Ok, sort of a noob-type question for someone who has used Mint for a long time, but I’m having trouble correctly pinning this app Krokiet, the successor to Czkawka, to my panel. I’ve added the application using the menu editor, right clicking on the icon and choosing “add to panel.”

And it does add it to the panel! But when I click the icon on the panel another generic square gear app appears on the panel next to the icon (see the attached cropped screenshot, I used the old Czkawka icon in place of the sheep). I’ve edited the .desktop files in .local/applications, but no luck. I periodically have this problem with apps that aren’t in the repos or in a PPA, but I can usually get it work—but not this one! The github page has more than ten different Linux versions, maybe one might work better than another? Much obliged for any suggestions.

  • Alas Poor Erinaceus@lemmy.mlOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    8 days ago

    To answer my own question, I just learned about the xprop WM_CLASS command. Run in the terminal and then click on the window you’re having trouble pinning.

    On the, I guess, “readout” next to WM_CLASS, it should tell you the correct name of the window for the purpose of naming the .desktop file in ~/.local/share/applications. In the case of Krokiet the correct name is “linux_krokiet_x86_64.desktop,” not something I would have ever guessed. Then the app will appear on the menu with the name “linux_krokiet_x86_64.desktop,” however, you can then use the menu editor to rename it to your liking, it pins, and then everything is peachy and the world is forever filled with rainbows and light.