Global { # 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 widthtype=percent width=100 height=16 iconsize=16 transparent=1 tintcolor=#0d1000 alpha=255 loglevel=2 } Plugin { type=menu Config { # If we don't explicitly give the menu a list of # things to contain, it will default to # system{}/separator{}/item{command=run}/separator{}/item{command=logout} system { } } } Plugin { type=space expand=1 Config { # The default ("natural") size is 1, but the min size # is 2, so we have to set that here. Size=2 } } Plugin { type=tray } 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 } }