aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/libcanberra/03_onlyshowin_unity.patch
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/libcanberra/03_onlyshowin_unity.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/libcanberra/03_onlyshowin_unity.patch')
-rw-r--r--vcpkg/ports/libcanberra/03_onlyshowin_unity.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/vcpkg/ports/libcanberra/03_onlyshowin_unity.patch b/vcpkg/ports/libcanberra/03_onlyshowin_unity.patch
new file mode 100644
index 0000000..6e33ee1
--- /dev/null
+++ b/vcpkg/ports/libcanberra/03_onlyshowin_unity.patch
@@ -0,0 +1,19 @@
+Description: Play login sound in Unity too
+ if it's enabled (it's disabled by default in Ubuntu)
+Author: Michael Terry <michael.terry@canonical.com>
+Bug-Ubuntu: https://launchpad.net/bugs/803519
+Bug: https://bugs.freedesktop.org/show_bug.cgi?id=38883
+
+Index: libcanberra/src/libcanberra-login-sound.desktop.in
+===================================================================
+--- libcanberra.orig/src/libcanberra-login-sound.desktop.in 2011-07-01 15:02:59.870772598 +0100
++++ libcanberra/src/libcanberra-login-sound.desktop.in 2011-07-01 15:03:03.554772637 +0100
+@@ -3,7 +3,7 @@
+ Name=GNOME Login Sound
+ Comment=Plays a sound whenever you log in
+ Exec=@bindir@/canberra-gtk-play --id="desktop-login" --description="GNOME Login"
+-OnlyShowIn=GNOME;
++OnlyShowIn=GNOME;Unity;
+ AutostartCondition=GSettings org.gnome.desktop.sound event-sounds
+ X-GNOME-Autostart-Phase=Application
+ X-GNOME-Provides=login-sound