Pavucontrol and dk

Hello!

Is it possible that Pavucontrol opens inside a tile/terminal and not on top of the desktop taking almost the whole screen ?

Maybe it is possible and I don’t know how to do it.

Thanks as always!

What screen layout is F^F?

Normally, I have pavucontrol set up to float:

# list of applications that float by default
dkcmd rule class="^(pavucontrol|transmission-gtk|steam|lxappearance|XCalc|Galculator)$" float=true

or if you want to make separate rules:

dkcmd rule class=pavucontrol float=true

Sometimes it doesn’t work too well in monocle mode, so you can try setting a width and height for the floating window.

	# open window(s) with a specific geometry and coordinates (floating only!)
	dkcmd rule class="^pavucontrol$" float=true w=640 h=480
3 Likes

Alt + U

Forgive my ignorance… or lack of reading about it…
In which file do I add it ?

Thank you.

1 Like

~/.config/dk/dkrc

2 Likes

@chroot

Thank you very much!

1 Like

Anytime, man. You could also toggle the window’s floating layout,

  1. foucs on the window
  2. alt + shift + space (default config)
2 Likes

Booted up ArchLabs. Here is my current rule for pavucontrol. Floats, grabs focus, and has the dimesnions set.

dkcmd rule class="^pavucontrol" float=true focus=true w=800 h=600

It works in tiled or monocle layouts:

aldkwm

Tiled, monocle, and floating are all I use so I don’t know if this works with spiral or dwindle.

3 Likes

Yes, I think 800x600 is more appropriate.

Very kind and thank you for your time!

3 Likes

Nice.

Do us all a favor and cycle through all the layouts (alt+u, alt+f …) and see if that rule for pavucontrol works for every layout.

First thing I do is drop in my own configs so I can’t test them all.

Thanks

2 Likes

It works on all designs, at least the ones I know how to do.

5 Likes

640x480 → is even better !

:+1:

1 Like

Indeed.
The original post was for xfce4-teminal to float. Changed the command but didn’t pay attention to the geometry. Changed to a more reasonable geometry.

3 Likes