feat(identity): rename user-visible identity to voculinux with one-time legacy import
The fork takes its own name everywhere a user can see it: binaries (voculinux, voculinux-gui), desktop entry, autostart, tray, D-Bus namespace (com.voculinux.Voculinux, no alias for the old name), config/data/cache dirs, single-instance lock, IBus engine identity, tray icons, resource prefixes, VOCULINUX_* environment names, and the update-checker user agent. The internal Python module stays vocalinux and the distribution metadata keeps the upstream URLs as provenance. On first run a previous Vocalinux install's config.json, custom dictionary, and portal restore token are copied once into the new locations (new config always wins, no merge, no write-back); models re-resolve through the pinned-checksum download path. An offline naming-sweep test proves no old-name strings remain on user-visible surfaces outside the allowlist. Refs #18
This commit is contained in:
@@ -56,7 +56,7 @@ class TestDesktopEnvironmentDetect:
|
||||
is set — pynput over XWayland is not truly global.
|
||||
"""
|
||||
env = {
|
||||
"FLATPAK_ID": "com.vocalinux.Vocalinux",
|
||||
"FLATPAK_ID": "com.voculinux.Voculinux",
|
||||
"XDG_SESSION_TYPE": "wayland",
|
||||
"DISPLAY": ":0",
|
||||
}
|
||||
@@ -66,7 +66,7 @@ class TestDesktopEnvironmentDetect:
|
||||
def test_detect_flatpak_wayland_with_socket_stays_wayland(self):
|
||||
"""With a Wayland socket exposed, detection still reports Wayland."""
|
||||
env = {
|
||||
"FLATPAK_ID": "com.vocalinux.Vocalinux",
|
||||
"FLATPAK_ID": "com.voculinux.Voculinux",
|
||||
"XDG_SESSION_TYPE": "wayland",
|
||||
"WAYLAND_DISPLAY": "wayland-0",
|
||||
}
|
||||
@@ -81,7 +81,7 @@ class TestDesktopEnvironmentDetect:
|
||||
fake.is_available.return_value = True
|
||||
|
||||
env = {
|
||||
"FLATPAK_ID": "com.vocalinux.Vocalinux",
|
||||
"FLATPAK_ID": "com.voculinux.Voculinux",
|
||||
"XDG_SESSION_TYPE": "wayland",
|
||||
"DISPLAY": ":0",
|
||||
}
|
||||
@@ -119,7 +119,7 @@ class TestDesktopEnvironmentDetect:
|
||||
def test_create_backend_flatpak_native_x11_prefers_pynput(self) -> None:
|
||||
"""Flatpak on native X11 uses pynput outside GNOME."""
|
||||
env = {
|
||||
"FLATPAK_ID": "com.vocalinux.Vocalinux",
|
||||
"FLATPAK_ID": "com.voculinux.Voculinux",
|
||||
"XDG_SESSION_TYPE": "x11",
|
||||
"XDG_CURRENT_DESKTOP": "X-Cinnamon",
|
||||
"DISPLAY": ":0",
|
||||
@@ -140,7 +140,7 @@ class TestDesktopEnvironmentDetect:
|
||||
def test_create_backend_flatpak_gnome_native_x11_prefers_evdev(self) -> None:
|
||||
"""Flatpak on GNOME X11 prefers evdev."""
|
||||
env = {
|
||||
"FLATPAK_ID": "com.vocalinux.Vocalinux",
|
||||
"FLATPAK_ID": "com.voculinux.Voculinux",
|
||||
"XDG_SESSION_TYPE": "x11",
|
||||
"XDG_CURRENT_DESKTOP": "GNOME",
|
||||
"DISPLAY": ":0",
|
||||
@@ -162,7 +162,7 @@ class TestDesktopEnvironmentDetect:
|
||||
def test_create_backend_flatpak_gnome_native_x11_falls_back_to_pynput(self) -> None:
|
||||
"""Flatpak on GNOME X11 falls back when evdev cannot read /dev/input."""
|
||||
env = {
|
||||
"FLATPAK_ID": "com.vocalinux.Vocalinux",
|
||||
"FLATPAK_ID": "com.voculinux.Voculinux",
|
||||
"XDG_SESSION_TYPE": "x11",
|
||||
"XDG_CURRENT_DESKTOP": "GNOME",
|
||||
"DISPLAY": ":0",
|
||||
@@ -187,7 +187,7 @@ class TestDesktopEnvironmentDetect:
|
||||
def test_create_backend_flatpak_x11_with_wayland_display_prefers_evdev(self) -> None:
|
||||
"""A Wayland socket keeps Flatpak on the evdev path."""
|
||||
env = {
|
||||
"FLATPAK_ID": "com.vocalinux.Vocalinux",
|
||||
"FLATPAK_ID": "com.voculinux.Voculinux",
|
||||
"XDG_SESSION_TYPE": "x11",
|
||||
"WAYLAND_DISPLAY": "wayland-0",
|
||||
"DISPLAY": ":0",
|
||||
@@ -209,7 +209,7 @@ class TestDesktopEnvironmentDetect:
|
||||
def test_create_backend_flatpak_xwayland_without_evdev_returns_none(self) -> None:
|
||||
"""A Flatpak on a Wayland session without input access needs evdev."""
|
||||
env = {
|
||||
"FLATPAK_ID": "com.vocalinux.Vocalinux",
|
||||
"FLATPAK_ID": "com.voculinux.Voculinux",
|
||||
"XDG_SESSION_TYPE": "wayland",
|
||||
"DISPLAY": ":0",
|
||||
}
|
||||
@@ -231,7 +231,7 @@ class TestDesktopEnvironmentDetect:
|
||||
def test_create_backend_flatpak_unknown_session_prefers_evdev(self) -> None:
|
||||
"""Unknown Flatpak sessions conservatively prefer evdev."""
|
||||
env = {
|
||||
"FLATPAK_ID": "com.vocalinux.Vocalinux",
|
||||
"FLATPAK_ID": "com.voculinux.Voculinux",
|
||||
"DISPLAY": ":0",
|
||||
}
|
||||
fake = MagicMock()
|
||||
|
||||
Reference in New Issue
Block a user