From 3c656badac2f6ed20849efff047e7a15cbd3288a Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 17 Jan 2020 21:42:19 -0500 Subject: lxpanel: Update --- .config/lxpanel/default/panels/panel | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/.config/lxpanel/default/panels/panel b/.config/lxpanel/default/panels/panel index d7e0ee7..92f8ee7 100644 --- a/.config/lxpanel/default/panels/panel +++ b/.config/lxpanel/default/panels/panel @@ -1,5 +1,11 @@ Global { - monitor=-1 + # The rectangle containing all monitors. Not good in + # non-rectangular scenarios where not all of the top edge is + # actually on a monitor + #monitor=-1 + # The --primary monitor + monitor=0 + edge=top setdocktype=1 setpartialstrut=1 @@ -44,4 +50,24 @@ Plugin { Plugin { type=volumealsa + Config { + # 1. LXPanel only supports selecting an ALSA device by + # card number, not by name. Nevermind that it + # litterally does an snprintf "hw:%d" to turn that + # numeric card number in to a name. Letting the + # user set the name themself would be too + # user-friendly. However, if CardNumber < 0, then + # it uses the name "default" instead. + # 2. The graphical config tool is confused about how + # CardNumbers work. If you select "default" in the + # GUI, it stores this as CardNumber 0, which is + # quite likely different than the default ALSA + # device. (ALSA devices are numbered starting at + # 0.) To instead get it to obey the ALSA defaults, + # you need to set CardNumber=-1 (or anything <0). + # There is no way to do this from the GUI. + # 3. Not all ALSA devices have a card number; some + # ALSA devices can only be referred to by a name. + CardNumber=-1 + } } -- cgit v1.1-4-g5e80