Fix GNOME dock icon matching for Sovran Hub on Wayland
- Change StartupWMClass from 'sovran-hub' to 'brave-localhost__-Default' in the .desktop file so GNOME Shell matches the window to the correct launcher - Remove --gtk-application-id and --wayland-app-id flags from hub-brave-wrapper since Brave ignores them in --app= mode on Wayland Agent-Logs-Url: https://github.com/naturallaw777/staging_alpha/sessions/daa85aaf-5b87-448d-8336-d94dc2dfe727 Co-authored-by: naturallaw777 <99053422+naturallaw777@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
211a32db45
commit
340c1cd0f5
@@ -223,13 +223,11 @@ let
|
||||
export GIO_LAUNCHED_DESKTOP_FILE="/run/current-system/sw/share/applications/sovran-hub.desktop"
|
||||
brave --app=http://localhost:8937 \
|
||||
--class=sovran-hub \
|
||||
--gtk-application-id=sovran-hub \
|
||||
--user-data-dir="$HUB_DATA" \
|
||||
--password-store=basic \
|
||||
--disable-gpu \
|
||||
--disable-features=WebRtcPipeWireCapturer \
|
||||
--ozone-platform=wayland \
|
||||
--wayland-app-id=sovran-hub
|
||||
--ozone-platform=wayland
|
||||
'';
|
||||
|
||||
# ── Hub auto-launch wrapper script ────────────────────────────────
|
||||
@@ -304,7 +302,7 @@ Icon=sovran-hub
|
||||
Terminal=false
|
||||
Categories=System;
|
||||
StartupNotify=true
|
||||
StartupWMClass=sovran-hub
|
||||
StartupWMClass=brave-localhost__-Default
|
||||
X-GNOME-SingleWindow=true
|
||||
DESKTOP
|
||||
|
||||
|
||||
Reference in New Issue
Block a user