I have configured a panel 1 used on monitor 1 (laptop), and panel 2 for a second monitor (hdmi). When I disconnect the second monitor, panel 2 is used on my laptop. I need it to be panel 1 (which has the Notifications Area), but I can't see how to switch to panel 1.
xfconf-query -c xfce4-panel -p /panels/panel-1/position -t string -s 'p=12;x=1600;y=900'
Of course you would need to adjust the position values and whether it ispanel-1
orpanel-2
. Run Settings Editor to see your panel positioning for both scenarios.