You are not logged in.
Pages: 1
Hi
I have Arch Linux with XFCE4.
I want to keep my second panel behind all windows. I googled and I did these :
wmctrl -l
wmctrl -i -r 0x01600034 -b add,below
my second panel after these code became at below of all windows . ok, and then I did this :
xfconf-query -c xfce4-panel -p /panels/panel-2/disable-struts -t bool -n -s true
everything seems OK now , but when I reboot or shutdown my system and then come back again and log in, my
second panel is at the top of all windows and I have to do all steps again to keep it below.
How can I fix this ?
Thanks a lot.
Offline
There is a startup script in this thread that would do that. However, that script is for setups with just one panel.
There is also a similar startup script in this thread for making all panels (if you have more than one) behind windows.
You're probably going to need to create a new script similar to those that picks out the appropriate panel to lower, and then lower it. If you have 2 panels, and only want the first one to lower, then something like:
#!/bin/bash
# Wait for all panels to load
while [ "$(wmctrl -l | grep -c xfce4-panel)" -lt "2" ];
do
sleep 0.05s
done
# Determine identifier
ID=$(wmctrl -l | grep xfce4-panel | sed 3p | awk '{ print $1 }' | head -1)
# Place panel at desktop-level
wmctrl -i -r $ID -b add,below
...if its the first one, or change the "head -1" to "tail -1" if you want the second one.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
thank you for your answer .
can you tell me how I can do this ? sorry I'm new in arch linux and I try to create an startup script but my system crashed and I had to reinstall it !
sorry for my question.
Offline
Ugh, how did you try to create the startup script?
Simply create a file with that content, mark the file as executable, and add it to "Settings Manager >> Session and Startup >> Application Autostart". Let me know if you need more detailed instructions.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Yes, It works !
thanks a lot for your help ToZ !
I didn't execute it before .
Offline
Pages: 1
[ Generated in 0.010 seconds, 7 queries executed - Memory usage: 533.62 KiB (Peak: 534.46 KiB) ]