From 093c41435a3dc5cbdb068f448da81c855bdaea3f Mon Sep 17 00:00:00 2001 From: Yuriy Panov Date: Fri, 16 Oct 2026 12:33:02 +0600 Subject: [PATCH] chore: Linux app id it.panov.musyx.desktop Co-Authored-By: Claude Opus 5.5 --- README.md | 2 +- crates/musyx/src/main.rs | 4 ++-- packaging/arch/PKGBUILD | 2 +- ...v.musyx.Musyx.desktop => it.panov.musyx.desktop.desktop} | 4 ++-- ...syx.metainfo.xml => it.panov.musyx.desktop.metainfo.xml} | 6 +++--- tool/bundle-linux.sh | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) rename packaging/linux/{dev.musyx.Musyx.desktop => it.panov.musyx.desktop.desktop} (87%) rename packaging/linux/{dev.musyx.Musyx.metainfo.xml => it.panov.musyx.desktop.metainfo.xml} (86%) diff --git a/README.md b/README.md index 8563ebe..5728a27 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ on Arch, `libasound2-dev` and `libdbus-1-dev` on Debian/Ubuntu). The AppImage al `APPIMAGETOOL`). A binary runs only on a glibc at least as new as the one it was built against, so build release packages on the oldest distro you want to support. -The desktop entry, metainfo and icons are installed as `dev.musyx.Musyx`, which is also the +The desktop entry, metainfo and icons are installed as `it.panov.musyx.desktop`, which is also the window's Wayland app id. The token goes to the Secret Service (GNOME Keyring, KWallet, KeePassXC), and media keys and the desktop's player widget work through MPRIS. The menu bar mini player is macOS-only. diff --git a/crates/musyx/src/main.rs b/crates/musyx/src/main.rs index c05f68b..a7c8628 100644 --- a/crates/musyx/src/main.rs +++ b/crates/musyx/src/main.rs @@ -20,7 +20,7 @@ use ui::theme; /// The Linux application id: the window's Wayland app id / X11 class and the `.desktop` name. #[cfg(target_os = "linux")] -const APP_ID: &str = "dev.musyx.Musyx"; +const APP_ID: &str = "it.panov.musyx.desktop"; fn main() -> iced::Result { let app = iced::application(App::new, App::update, App::view) @@ -32,7 +32,7 @@ fn main() -> iced::Result { size: Size::new(1280.0, 800.0), min_size: Some(Size::new(960.0, 620.0)), icon: window::icon::from_file_data(include_bytes!("../assets/icon/musyx.png"), None).ok(), - // Matches the installed `dev.musyx.Musyx.desktop`, so the shell shows its name and icon. + // Matches the installed `it.panov.musyx.desktop.desktop`, so the shell shows its name and icon. #[cfg(target_os = "linux")] platform_specific: window::settings::PlatformSpecific { application_id: APP_ID.to_owned(), diff --git a/packaging/arch/PKGBUILD b/packaging/arch/PKGBUILD index 486e497..2025689 100644 --- a/packaging/arch/PKGBUILD +++ b/packaging/arch/PKGBUILD @@ -14,7 +14,7 @@ options=('!lto' '!debug') source=("$pkgname::git+file://${startdir%/packaging/arch}") sha256sums=('SKIP') -app_id=dev.musyx.Musyx +app_id=it.panov.musyx.desktop pkgver() { cd "$pkgname" diff --git a/packaging/linux/dev.musyx.Musyx.desktop b/packaging/linux/it.panov.musyx.desktop.desktop similarity index 87% rename from packaging/linux/dev.musyx.Musyx.desktop rename to packaging/linux/it.panov.musyx.desktop.desktop index 3a34f48..b5880c6 100644 --- a/packaging/linux/dev.musyx.Musyx.desktop +++ b/packaging/linux/it.panov.musyx.desktop.desktop @@ -6,10 +6,10 @@ GenericName[ru]=Музыкальный проигрыватель Comment=Desktop player for Yandex Music Comment[ru]=Настольный проигрыватель для Яндекс Музыки Exec=musyx -Icon=dev.musyx.Musyx +Icon=it.panov.musyx.desktop Terminal=false Categories=AudioVideo;Audio;Player; Keywords=music;yandex;player;audio; Keywords[ru]=музыка;яндекс;плеер;аудио; -StartupWMClass=dev.musyx.Musyx +StartupWMClass=it.panov.musyx.desktop SingleMainWindow=true diff --git a/packaging/linux/dev.musyx.Musyx.metainfo.xml b/packaging/linux/it.panov.musyx.desktop.metainfo.xml similarity index 86% rename from packaging/linux/dev.musyx.Musyx.metainfo.xml rename to packaging/linux/it.panov.musyx.desktop.metainfo.xml index a0fe39b..8bb3ba7 100644 --- a/packaging/linux/dev.musyx.Musyx.metainfo.xml +++ b/packaging/linux/it.panov.musyx.desktop.metainfo.xml @@ -1,12 +1,12 @@ - dev.musyx.Musyx + it.panov.musyx.desktop Musyx Desktop player for Yandex Music Настольный проигрыватель для Яндекс Музыки MIT MIT - + Yuriy Panov @@ -15,7 +15,7 @@ lyrics and lossless streaming. Not affiliated with or endorsed by Yandex.

- dev.musyx.Musyx.desktop + it.panov.musyx.desktop.desktop AudioVideo Audio diff --git a/tool/bundle-linux.sh b/tool/bundle-linux.sh index e611536..21d5158 100755 --- a/tool/bundle-linux.sh +++ b/tool/bundle-linux.sh @@ -25,7 +25,7 @@ if [[ ${#formats[@]} -eq 0 && $install -eq 0 ]]; then formats=(tar deb appimage) fi -app_id="dev.musyx.Musyx" +app_id="it.panov.musyx.desktop" version="$(sed -n 's/^version = "\(.*\)"/\1/p' Cargo.toml | head -1)" arch="$(uname -m)" case "$arch" in