You are not logged in.
Hello there!
I've got a problem with changing my audio output with pulseaudio plugin. There is only a volume bar and no dropdown or whatever to pick output from. I've got headphones and speakers connected at the same time and I've configured pulseaudio to make them independent. Previously I was using Gnome DE with Audio Output Switcher extension and it worked just like I wanted.
I can change my output through pavucontrol -> output devices -> port but it's not that comfortable to do. I have also tried pasystray I've read about on my search journey about that problem but it doesn't show my output devices only default audio sink.
Is there any way to make pulseaudio plugin to show my output devices or with some other plugin?
Without making another post there is another problem. My mouse has 3 buttons that work as media keys on keyboard like play/pause, next song, previous song. It's working very well with my music player (Audacious) but I want those keys to work with music player only. If I have opened another media program like SMPlayer media keys work with both SMPlayer and Audacious which is what I don't want to happen. On gnome there was kinda application capturing like if I opened Audacious media keys worked only with it even if I would open SMPlayer and same goes the other way around. Here on XFCE it works fully globally. Can I make it work like on gnome or just assing media keys to Audacious?
Offline
Hello and welcome. I'll try to answer the first question.
I've got a problem with changing my audio output with pulseaudio plugin. There is only a volume bar and no dropdown or whatever to pick output from.
Which version of the plugin are you running? As of version 0.3.1, a device selection dropdown was added to the plugin.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Thanks for a quick reply.
It's 0.4.2.
Offline
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Without making another post there is another problem. My mouse has 3 buttons that work as media keys on keyboard like play/pause, next song, previous song. It's working very well with my music player (Audacious) but I want those keys to work with music player only. If I have opened another media program like SMPlayer media keys work with both SMPlayer and Audacious which is what I don't want to happen. On gnome there was kinda application capturing like if I opened Audacious media keys worked only with it even if I would open SMPlayer and same goes the other way around. Here on XFCE it works fully globally. Can I make it work like on gnome or just assing media keys to Audacious?
The pulseaudio plugin has an option to manage multimedia keys (Properties > Media Players > Enable multimedia keys for playback control). Does flipping that option make a difference?
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
And you don't have a dropdown like this one?
No, I don't, only volume bar and media applications.
77as40um4bnr wrote:Without making another post there is another problem. My mouse has 3 buttons that work as media keys on keyboard like play/pause, next song, previous song. It's working very well with my music player (Audacious) but I want those keys to work with music player only. If I have opened another media program like SMPlayer media keys work with both SMPlayer and Audacious which is what I don't want to happen. On gnome there was kinda application capturing like if I opened Audacious media keys worked only with it even if I would open SMPlayer and same goes the other way around. Here on XFCE it works fully globally. Can I make it work like on gnome or just assing media keys to Audacious?
The pulseaudio plugin has an option to manage multimedia keys (Properties > Media Players > Enable multimedia keys for playback control). Does flipping that option make a difference?
Yes, i tinkered with it. If it's enabled every media app is controlled with media keys, if disabled not a single one works.
Offline
i don't have much of a dropdown, either. but i haven't pursued it since i use pavucontrol and keep an instance ready and running all the time.
Offline
ToZ wrote:And you don't have a dropdown like this one?
No, I don't, only volume bar and media applications.
What sinks does pulseaudio show?
pacmd list-sinks | grep -A1 index
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
* index: 0
name: <alsa_output.pci-0000_00_1b.0.analog-stereo>
Offline
* index: 0 name: <alsa_output.pci-0000_00_1b.0.analog-stereo>
That's why you don't have a drop-down showing available devices in the plugin, pulseaudio only shows one available sink (the dropdown is hidden if only one sink is available).
Earlier you mentioned that you configured pulseaudio to make the headphones and speakers independent. I guess this doesn't make them show up as separate sinks?
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
That's why you don't have a drop-down showing available devices in the plugin, pulseaudio only shows one available sink (the dropdown is hidden if only one sink is available).
Ok then, is there any way to unhide it? It's the same audio setup I had on Gnome and it didn't bother with me having only one audio sink.
Earlier you mentioned that you configured pulseaudio to make the headphones and speakers independent. I guess this doesn't make them show up as separate sinks?
No, but they are listed under output devices in pavucontrol as different ports. I see no reason why wouldn't they be under pulseaudio plugin dropdown if I can change them in pavucontrol.
Offline
ToZ wrote:That's why you don't have a drop-down showing available devices in the plugin, pulseaudio only shows one available sink (the dropdown is hidden if only one sink is available).
Ok then, is there any way to unhide it? It's the same audio setup I had on Gnome and it didn't bother with me having only one audio sink.
Not that I am aware of. It will unhide if more than one sink is available.
ToZ wrote:Earlier you mentioned that you configured pulseaudio to make the headphones and speakers independent. I guess this doesn't make them show up as separate sinks?
No, but they are listed under output devices in pavucontrol as different ports. I see no reason why wouldn't they be under pulseaudio plugin dropdown if I can change them in pavucontrol.
It looks like a bug report / enhancement request already exists for this added functionality.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Not that I am aware of. It will unhide if more than one sink is available.
Ok. Pardon my ignorance but can I 'make' a new sink, so i can use pulseaudio plugin's functionality to switch my output devices easily?
It looks like a bug report / enhancement request already exists for this added functionality.
Indeed there is and it's over 2 years old now. I'm not sure whether I bump that old thread or make a new one.
What about media keys? Do you know of a way to 'attach' them to certain application only?
Offline
Ok. Pardon my ignorance but can I 'make' a new sink, so i can use pulseaudio plugin's functionality to switch my output devices easily?
I'm not that familiar with pulseaudio configuration. Here is a thread post on doing something similar. Perhaps this is helpful.
Indeed there is and it's over 2 years old now. I'm not sure whether I bump that old thread or make a new one.
Add your comment to the bug report to bump the developer.
What about media keys? Do you know of a way to 'attach' them to certain application only?
Not sure if this is possible through Xfce, but what if you just cleared the media key shortcuts in SMPlayer?
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
I don't know if this is a workable solution for you, but you could use something like the following to change the ports which could then be tied to keyboard shortcuts:
pacmd set-sink-port alsa_output.pci-0000_00_1b.0.analog-stereo analog-output-headphones
and:
pacmd set-sink-port alsa_output.pci-0000_00_1b.0.analog-stereo analog-output-lineout
Offline
Ok, I will bump that thread.
No, clearing keys in SMPlayer seem to have literally no effect. I've both cleared keyboard shortcuts and disabled global media keys tickbox and they still work.
Thank you, MrEen, for that, I will surely settle with that solution.
Offline
[ Generated in 0.018 seconds, 7 queries executed - Memory usage: 609.89 KiB (Peak: 626.73 KiB) ]