Project

General

Profile

remote control not working when switching tty

Added by Johan B about 3 years ago

Hi community

Posting here, I am just looking for clues about an issue I am facing even if I don't think it's Audacious fault really.
Since my last system update 5 days ago (arch+KDE), I am unable to use audacious command line options or audtool to remote control the UI when working on another tty.

It seems like, switching to another tty is like freezing the session where audacious is running, thus freezing the audacious window, thus command lines request are not honored.
When switching back to the main tty running Audacious UI, all the non-honored remote commands are released and executed at once.
When running headless with -H option, works as expected like before.

Last system update includes Plasma 5.21 and I guess it's coming from this one, however I cannot see anything clearly related to that behaviour in the Plasma changes log, neither which called functionality or subprocess is involved.
If anyone of you guys have any idea that would be greatly appreciated.
Thanks in advance.
Johan


Replies (4)

RE: remote control not working when switching tty - Added by Thomas Lange about 3 years ago

You may try the Arch Linux Archive (https://wiki.archlinux.org/index.php/Arch_Linux_Archive)
to downgrade Plasma again and then checking step by step which package update broke this.

If you are then sure that Plasma 5.21 is the culprit, file a bug report for KDE.

RE: remote control not working when switching tty - Added by Johan B about 3 years ago

Hi Thomas, thank you for getting back.
I proceed with your advice, except I used the pacman cache instead of arch archive.

Guess what, seems I was wrong blaming KDE/Plasma and the problem is Audacious itself.
After downgrading Audacious back to 4.0.5 everything is fine now so the change came with the last february release.

I'd be glad to know if anyone manages to encounter the same behaviour. Here is how to test it:
- Config Arch+KDE, Audacious 4.1-2 using ALSA output so playback doesn't stop when switching users
- Start Audacious playback, lock session and leave the current tty, log into another tty with same user
- Issue some commands like audacious -s and check if playback stops. On my side, commands are released only when switching back to the main tty.

I'll open a bug if I don't get any other option.
Meanwhile I just disabled future Audacious updates with pacman.conf statement IgnorePkg.

RE: remote control not working when switching tty - Added by John Lindgren about 3 years ago

See if other Qt applications act the same. I seem to recall seeing behavior like this with Qt in the past (not recently though).

RE: remote control not working when switching tty - Added by Johan B about 3 years ago

Hi John, just tried with VLC and it does work...
Not sure VLC is a good example though. I miss any other media player with remote control capabilities.
For now I'm sticking to 4.0.5.

    (1-4/4)