Skip to content

Conversation

@mkurz
Copy link

@mkurz mkurz commented Dec 11, 2025

When installing PDF-Over for linux from the download page, the desktop file that gets installed is placed under ~/.local/share/applications/PDF-Over.desktop. Which is correct.

If that file name would be different, the application icon will not be shown correctly anymore in the title bar when running under Wayland (GDK_BACKEND=wayland) under DEs like KDE Plasma.
Why? Because wayland is looking for information about the application in it's corresponding desktop file. And to look up the desktop file it uses the application's app-id. You can find that app id by running:

# Assuming pdf-over got installed in `/usr/share/java/`
$ WAYLAND_DEBUG=1 GDK_BACKEND=wayland java -cp '/usr/share/java/pdf-over/*' at.asit.pdfover.gui.Main "$@"
...
[ 583800.618] {Default Queue}  -> xdg_toplevel#37.set_app_id("PDF-Over")
...

So it looks up information about the app in PDF-Over.desktop.

I did not test this debian build, but my guess is, that when running that debian nightly install via

GDK_BACKEND=wayland java -cp '/usr/share/java/pdf-over/*' at.asit.pdfover.gui.Main "$@"`

the application icon under KDE will look like this:
image
instead of this
image

I am using the Arch Linux AUR and was facing the same problem, you can read my comment there: https://aur.archlinux.org/packages/pdf-over (I hope the AUR maintainer will fix that soon).

Like said, I did not test this, but I just think that this Debian build currently shows the wrong icon. Maybe you can test that.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant