Xfce Forum

Sub domains
 

You are not logged in.

#1 2018-02-27 17:53:45

am4c130d
Member
Registered: 2014-01-07
Posts: 12

[SOLVED] Change the number of steps in various volume controls

Apologies for the ambiguous title, not enough characters available.

On my XFCE 4.12 system I use both a keyboard special keys: XF86VolUp and XF86VolDown, and the mouse wheel hovering over xfce4-pulseaudio-plugin to change the volume on my system.  The problem is that the volume level has to be quite low to be non-intrusive and this exposes that the volume increments are too coarse and its either too loud or too quiet. The steps either from the keyboard or the mouse wheel are consistent, so they are both probably acting on the volume level in the same way.

Using the slider in xfce4-pulseaudio-plugin I can adjust the sound to a level that works, but if I want to turn it up for a quiet song or down, and use the keyboard or mouse wheel the step is to big - and opening the slider and adjusting the slider is too slow.

Is there a way to increase the number of increments/reduce the size of each volume increment in the volume control?

In the settings editor XFCE4-Mixer appears to have the exact parameter "volume-step-size", but it does nothing - probably because I'm not using it.

Any help appreciated, thanks

Alan

Last edited by am4c130d (2018-02-27 22:17:40)

Offline

#2 2018-02-27 20:58:35

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,481

Re: [SOLVED] Change the number of steps in various volume controls

The xfce4-pulseaudio-plugin has a hidden "volume-step" property that can be enabled. To do so, you would run a command like:

xfconf-query -c xfce4-panel -p /plugins/plugin-18/volume-step --create -t int -s 15

...where:

  • "plugin-18" is the actual plugin number for the pulseaudio plugin which you can get via:

    xfconf-query -c xfce4-panel -lv | grep pulseaudio
  • "-s 15" is the step size  - change the 15 to whatever step size you want


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

#3 2018-02-27 22:21:00

am4c130d
Member
Registered: 2014-01-07
Posts: 12

Re: [SOLVED] Change the number of steps in various volume controls

Perfect - thanks. I presume I need to read the source to discover these hidden parameters? Unfortunately I'm no coder, so that may be a challenge.

Offline

#4 2018-02-27 22:39:56

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,481

Re: [SOLVED] Change the number of steps in various volume controls

am4c130d wrote:

Perfect - thanks. I presume I need to read the source to discover these hidden parameters? Unfortunately I'm no coder, so that may be a challenge.

Unfortunately, yes. We are behind in documentation.


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

#5 2018-02-27 22:53:02

Jerry3904
Member
Registered: 2013-11-09
Posts: 863

Re: [SOLVED] Change the number of steps in various volume controls

Added that to my little collection, thanks.


MX-23 (based on Debian Stable) with our flagship Xfce 4.18.

Online

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.010 seconds, 7 queries executed - Memory usage: 535.77 KiB (Peak: 536.62 KiB) ]