Skip to content

Round the corners of the Linux app icon - #62

Merged
melonamin merged 1 commit into
melonamin:linux-portfrom
valeronm:linux-round-app-icon
Nov 20, 2026
Merged

melonamin merged 1 commit into
melonamin:linux-portfrom
valeronm:linux-round-app-icon

Conversation

@valeronm

@valeronm valeronm commented Nov 19, 2026 •

Copy link
Copy Markdown

Problem

The app icon asset is a full-bleed square because macOS masks its corners at display time. Linux shells draw the PNG as it is, so agterm shows up in the GNOME dock and app grid as a hard-cornered square next to rounded icons.

Solution

stage-linux.sh and install-linux.sh mask each hicolor size with a rounded rectangle at the macOS corner ratio (22.4% of the side). The mask covers the full tile rather than an inset body, since most Linux app icons fill their tile and an inset one looks undersized in the dock. The pixmap is now the rounded 256x256 copy rather than the raw source. Without ImageMagick, staging still installs the unrounded source as the pixmap.

verify-linux-packages.sh checks that every icon size is present at its dimensions. It checks size, not pixels, so a redesigned icon still passes.

Checked in the GNOME dock on CachyOS after a system install.

This is visual polish with nothing to drive, so it adds no control API or CLI coverage.

round-icon-before-after

macOS masks the icon's corners at display time, so the asset is a full-bleed square that Linux shells drew with hard corners. The mask covers the full tile at the macOS corner ratio rather than an inset body, since most Linux app icons fill their tile and an inset one reads as undersized in the dock. Release verification checks each icon's size rather than its pixels, so a redesigned icon still passes.
@valeronm
valeronm requested a review from melonamin as a code owner November 19, 2026 18:49
@melonamin
melonamin merged commit 27d7cdf into melonamin:linux-port Nov 20, 2026
@valeronm
valeronm deleted the linux-round-app-icon branch November 25, 2026 15:34
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.

2 participants