Skip to content

No ability to adjust sound properties #1348

@cqexbesd

Description

@cqexbesd

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:

futex(0x7fff90f29080, FUTEX_WAIT_PRIVATE, 0, NULL) = 0
write(30, "\1\0\0\0\0\0\0\0", 8)        = 8
write(29, "\1\0\0\0\0\0\0\0", 8)        = 8
write(28, "\1\0\0\0\0\0\0\0", 8)        = 8
futex(0x7f5f3e7f9f88, FUTEX_WAKE_PRIVATE, 1) = 0
write(30, "\1\0\0\0\0\0\0\0", 8)        = 8
write(29, "\1\0\0\0\0\0\0\0", 8)        = 8
write(28, "\1\0\0\0\0\0\0\0", 8)        = 8
write(28, "\1\0\0\0\0\0\0\0", 8)        = 8
futex(0x7fff90f29080, FUTEX_WAIT_PRIVATE, 0, NULL) = 0
write(30, "\1\0\0\0\0\0\0\0", 8)        = 8
write(29, "\1\0\0\0\0\0\0\0", 8)        = 8
write(28, "\1\0\0\0\0\0\0\0", 8)        = 8
futex(0x7f5f3e7f9f88, FUTEX_WAKE_PRIVATE, 1) = 0
write(30, "\1\0\0\0\0\0\0\0", 8)        = 8
write(29, "\1\0\0\0\0\0\0\0", 8)        = 8
write(28, "\1\0\0\0\0\0\0\0", 8)        = 8
write(28, "\1\0\0\0\0\0\0\0", 8)        = 8
contour 153550 andrew   20u      REG               0,34     11968     1981 /tmp/#1981 (deleted)
contour 153550 andrew   21r      REG               0,34     11968     1981 /tmp/contour.UCZfbe.wav
contour 153550 andrew   22u  a_inode               0,15         0     1111 [eventfd:342]
contour 153550 andrew   24u  a_inode               0,15         0     1111 [eventpoll:25]
contour 153550 andrew   25u  a_inode               0,15         0     1111 [eventfd:326]
contour 153550 andrew   26u  a_inode               0,15         0     1111 [eventfd:327]
contour 153550 andrew   28u  a_inode               0,15         0     1111 [eventfd:367]
contour 153550 andrew   29u  a_inode               0,15         0     1111 [eventfd:368]
contour 153550 andrew   30u  a_inode               0,15         0     1111 [eventfd:370]
contour 153550 andrew   31r     FIFO               0,14       0t0   720583 pipe
contour 153550 andrew   32w     FIFO               0,14       0t0   720583 pipe
contour 153550 andrew   33u      REG                0,1  67108864      349 /memfd:pulseaudio (deleted)
contour 153550 andrew   34u     unix 0x0000000062465035       0t0   720584 type=STREAM (CONNECTED)

No actual beeps unless strace was attached. After 5 minutes I guess it caught up because it just exited.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfrontendContour Terminal Emulator (GUI frontend)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions