Created attachment 2374 Mockup (with french locale, sorry :p) Hello, I'm filling this bug report after a discussion with Jannis at UDS. I think the "current" mixer track should be stored in xfce4-mixer, and retrieved by the mixer plugin via xfconf, because : - It is an useful step for a future CLI for xfce4-mixer (giving the possibility to manage the volume of this current track without naming it when using the CLI), and it allows linking the XF86Audio buttons to the mixer's (future) CLI amongst default keyboard shortcuts (and without having to use aumix/amixer). This report is mostly for recording the progress made on this matter. Cordially, SD.
Created attachment 2785 A patch doing the first part of the job The patch I'm attaching does the following thing: - it changes sound-card into active-card in the XfceMixerPreferences - it adds active-track to the XfceMixerPreferences - it adds an XfceMixerTrackCombo to the XfceMixerWindow and connects it to the active-track preference This makes the mixer's GUI work fine with xfce4-volumed. However, another step is needed for the panel plugin, which still has it's own GUI. I'm not doing anything yet because I would like to know what you'd prefer to have for it, Jannis. Should I just remove the card/track combos from the plugin dialog and connect it to the xfconf channel? It's possible to leave the combo boxes in the dialog, but it duplicates the places where to set the main channel, which may not be so great. That would leave the plugin dialog with only an entry for the command to type on left-click (which I have never changed but may be useful for some PA users who prefer using the PA mixer). Let me know if this is a viable solution and I will finish the patch ASAP.
Created attachment 2805 A complete patch This patch now makes the panel plugin use Xfconf for the card and track name (but it leaves the rc file for the command setting). This includes a hard dependency on xfconf for the panel plugin. It won't run if it can't get the channel (just as the mixer would not run either). I don't know if this is acceptable (ie., is it ok for a panel plugin to depend on xfconf), but without the xfconf parameters, the panel plugin would more or less be useless anyway. Let me know if something is missing to the patch, or if something looks wrong.
-- GitLab Migration Automatic Message -- This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/apps/xfce4-mixer/-/issues/1. Please create an account or use an existing account on one of our supported OAuth providers. If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev