For changing between different monitor setups it would be neat to be able to completely hide one of the panels with xfconf-query commandline tool. Right now there is an option to enable auto-hide only, which is not perfect in this case. Also complete control of panel settings using xfconf-query (like swapping two complete different configs etc.) would be even better, but I guess too hard to implement. Thanks!
(In reply to skontar from comment #0) > For changing between different monitor setups it would be neat to be able to > completely hide one of the panels with xfconf-query commandline tool. Right > now there is an option to enable auto-hide only, which is not perfect in > this case. > See if you can produce a "cloak" with: $ xfconf-query -c xfce4-panel -p /panels/panel-1/autohide-behavior -s 2 $ xfconf-query -c xfce4-panel -p /panels/panel-1/enter-opacity -s 0 $ xfconf-query -c xfce4-panel -p /panels/panel-1/leave-opacity -s 0 Of course, $ xfconf-query -c xfwm4 -p /general/use_compositing -t bool -s true is mandatory. All Good Things...(TNG)
Unfortunately, that does not work as proposed. If I accidentally move mouse cursor too low on the visible panel, the invisible panel is pulled up and blocks the panel underneath. Being invisible makes the matter even.
Don't pop-up if the pointer hovers over --- panel/panel-window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panel/panel-window.c b/panel/panel-window.c index c21aac3..73da669 100644 --- a/panel/panel-window.c +++ b/panel/panel-window.c @@ -2442,7 +2442,7 @@ panel_window_set_autohide_behavior (PanelWindow *window, gtk_drag_dest_set_track_motion (GTK_WIDGET (window), TRUE); /* signals for pointer enter/leave events */ - g_signal_connect (G_OBJECT (popup), "enter-notify-event", +/* g_signal_connect (G_OBJECT (popup), "enter-notify-event", G_CALLBACK (panel_window_autohide_event), window); g_signal_connect (G_OBJECT (popup), "leave-notify-event", G_CALLBACK (panel_window_autohide_event), window); -- Ref. https://developer.gnome.org/gtk3/stable/GtkWidget.html#GtkWidget-enter-notify-event https://developer.gnome.org/gtk3/stable/GtkWidget.html#GtkWidget-leave-notify-event
Swapping configs is possible with xfpanel-switch (a python-based helper). The rest is okay from my point of view (even if not all corner cases are caught). Feel free to reopen if you disagree.