You are not logged in.


I'm running XFCE4 version 4.20 on my Debian 13 system.
Is there a way from a shell script that I can temporarily make xfce-panel disappear? ... and also via a shell script to make it re-appear in its full, previously configured state?
When running a certain XWindows application, I sometimes want the panel to not be present until I decide to turn it on again.
I do not want to manually do this. I want to be able to do this totally programmatically from a shell script.
Is this possible?
Added later 04 min 23 s:
PS: or if not from a shell script, doing it from a C program by making some sort of XWindows calls would also be acceptable to me.
Last edited by HippopotamusMan (2026-01-18 15:22:47)
Offline


This has been discussed here:
https://forum.xfce.org/viewtopic.php?id=18564
I AM CANADIAN!
Siduction
Debian Sid
Xfce 4.20 with Wayland/Labwc
Offline


This has been discussed here:
https://forum.xfce.org/viewtopic.php?id=18564
Thank you very much. I already saw this and tried the two things that were described, but neither works on my system:
% xfconf-query -c xfce4-panel -p /panels/panel-1/autohide-behavior -s 0
Property "/panels/panel-1/autohide-behavior" does not exist on channel "xfce4-panel". If a new property should be created, use the --create option.... and ...
% xfconf-query -c xfce4-panel -p /panels/panel-1/autohide -T
Property "/panels/panel-1/autohide" does not exist on channel "xfce4-panel".I also tried getting the C program described there to build and run on my system, but so far, no luck. But I'll keep trying with that. Maybe I'll eventually get it running.
Are there any other possibilities?
Last edited by HippopotamusMan (2026-01-18 18:48:46)
Offline


Are there any other possibilities?
Not that I'm aware of but I'm not a programmer. You could look into the panel source code itself. Maybe some clues.
I AM CANADIAN!
Siduction
Debian Sid
Xfce 4.20 with Wayland/Labwc
Offline


HippopotamusMan wrote:Are there any other possibilities?
Not that I'm aware of but I'm not a programmer. You could look into the panel source code itself. Maybe some clues.
Thank you. I have already been looking into all of the xfce4-panel source code. The C program mentioned above needs that source code to compiie, but I can't even get the standard xfce4-panel code to build on my Debian 13 system due to package incompatibilities between it and this C code. Debian 13 is the newest Debian, and I don't want to regress my system back to an older Debian version or perhaps change to LinuxMint or Ubuntu or some other linux version, just to get this one piece of functionality to work.
But I'll keep digging for more info.
Added later 38 min 53 s:
OMG! I just discovered a very easy way to accomplish this:
To make the xfce4-panel disappear: /usr/bin/xfce4-panel --quit
To make the xfce4-panel re-appear: /usr/bin/xfce4-panel &
Offline


I thought you wanted something like xfconf or similar.
I AM CANADIAN!
Siduction
Debian Sid
Xfce 4.20 with Wayland/Labwc
Offline


I thought you wanted something like xfconf or similar.
Yes, that's what I was originally thinking that I needed, but I didn't realize that these xfce4-panel commands existed.
They are good enough for my use.
Offline


For the future, most of the xfce4 "parts" have a similar stop/start/restart feature.
I AM CANADIAN!
Siduction
Debian Sid
Xfce 4.20 with Wayland/Labwc
Offline


For the future, most of the xfce4 "parts" have a similar stop/start/restart feature.
Oh ... do you mean that future versions of xfce4-panel are planned to have more stop/start/restart features than the current version offers?
I certainly would be happy if this indeed will be coming in the future.
Offline


No, I meant if your doing something in the future with another part of xfce4.
I AM CANADIAN!
Siduction
Debian Sid
Xfce 4.20 with Wayland/Labwc
Offline


No, I meant if your doing something in the future with another part of xfce4.
Oh, I see. Yes, I agree.
And also, over time, I might work with the xfce4-panel source code to perhaps add some of those new features.
Offline


I'm sure the developers would consider any or all submissions.
I AM CANADIAN!
Siduction
Debian Sid
Xfce 4.20 with Wayland/Labwc
Offline
[ Generated in 0.029 seconds, 11 queries executed - Memory usage: 556.55 KiB (Peak: 573.52 KiB) ]