-
-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No ability to adjust sound properties #1348
Comments
hm, good point, never thought about this. So we could keep it up registered for as long as contour is alive. However, I think there's no way around the fact, that you'd see an entry in the sound system for every contour instance (window). 🤔 |
If it went back to the X bell then I could just use xset - but of course then you can’t have a custom sound file per window ;-) And of course it didn’t work reliably. I don’t know any good solutions. Possibilities, all with drawbacks, could be having contour allow you to configure these things or a key combo to make it attach to sound till you ^C the command, or finding the VT sequences to play music and see if that keeps the sound connection open long enough. |
The answer is yes, that works but you, and everyone else, really notice in windows using the laptop speak and a high volume. |
Seems like ensuring to be registered and shown in the operating system's audio app list is more hard than worth it. Also, the string "QtPulseAudio:%d" is hard coded into QtMultimedia (lol WHAT?). We can however just make the volume configurable on our end. Probably a config entry next to the |
@cqexbesd with the new PR, you should be able to adjust the bell volume via configuration: profiles:
your_profile:
bell:
volume: 0.25 # set bell volume to 25% system volume |
Contour Terminal version
0.4.0-master-9c3073db
Installer source
Github: source code cloned
Operating System
Arch Linux as of approx a week ago
Architecture
x86-64
Other Software
pavucontrol
Steps to reproduce
Since #985 Contour now beeps by playing sound. The problem is that it connects to the sound system very briefly to play it's beep sound and then disconnects. If you use a GUI client (e.g.
pavuclient
) to configure sound (e.g. volume, sink) then the entry for contour is too temporally brief to catch it and configure it.Also the name shown is Qtm-PulseStream-something-something so you can't identify an entry as contour, and certainly not which window.
To reproduce open
pavucontrol
and make contour beep (e.g. by typing ^G).Expected Behavior
Contour to show up for long enough to change things. Maybe I should use an alternative configuration mechanism?
Actual Behavior
contour shows up for less than a second
Additional notes
For some reason, probably not contours fault, some windows I have beep via the laptop speaker and some via my headphones. Some are loud and some are not. I can't change them easily.
echoing ^G in a tight loop doesn't work because contour still shows up very briefly, just repeatedly. It also causes contour to become unresponsive so even ^C doesn't seem to be processed. After killing the shell from elsewhere contour still takes up more than 100% CPU with the repeating strace output:
No actual beeps unless
strace
was attached. After 5 minutes I guess it caught up because it just exited.The text was updated successfully, but these errors were encountered: