summaryrefslogtreecommitdiff
path: root/.config/lxpanel/default/panels
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@datawire.io>2020-01-17 21:42:19 -0500
committerLuke Shumaker <lukeshu@datawire.io>2020-01-17 21:42:19 -0500
commit3c656badac2f6ed20849efff047e7a15cbd3288a (patch)
treed14e7e64a9f074309620a2b4aebd201945a5427a /.config/lxpanel/default/panels
parent1a2c00e1f3c977d075f2f3aa4955362f52470117 (diff)
lxpanel: Update
Diffstat (limited to '.config/lxpanel/default/panels')
-rw-r--r--.config/lxpanel/default/panels/panel28
1 files changed, 27 insertions, 1 deletions
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
+ }
}