From 0213ab8c1bdac56fc729d6e1f2fd3b19d5340707 Mon Sep 17 00:00:00 2001 From: Ninad Sachania Date: Mon, 11 Nov 2024 13:39:51 +0000 Subject: [PATCH] Terminal: Unveil /dev/beep to make the "Audible bell" mode work --- Userland/Applications/Terminal/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Userland/Applications/Terminal/main.cpp b/Userland/Applications/Terminal/main.cpp index b4f57cde947aca..e58e4919496c87 100644 --- a/Userland/Applications/Terminal/main.cpp +++ b/Userland/Applications/Terminal/main.cpp @@ -452,6 +452,7 @@ ErrorOr serenity_main(Main::Arguments arguments) TRY(Core::System::unveil("/bin/utmpupdate", "x")); TRY(Core::System::unveil("/etc/FileIconProvider.ini", "r")); TRY(Core::System::unveil("/tmp/session/%sid/portal/launch", "rw")); + TRY(Core::System::unveil("/dev/beep", "rw")); TRY(Core::System::unveil(nullptr, nullptr)); auto modified_state_check_timer = Core::Timer::create_repeating(500, [&] {