Xfce Forum

Sub domains
 

You are not logged in.

#1 2020-04-25 13:12:02

zoloshot
Member
Registered: 2020-04-25
Posts: 9

change oppacity in xfce4-panel

i know there is the GUI way of doing this: (panel preferences > appearance > set leave to 0)

but i want that always i make my terminal in fullscreen (F11) it makes the xfce panel disappear (because my terminal has opacity and i like it)

someone knows if there is a command to set this opacity to 0 ? i've searched for it and i couldn't find

Last edited by zoloshot (2020-04-25 13:17:07)

Offline

#2 2020-04-25 14:09:45

alcornoqui
Member
Registered: 2014-07-28
Posts: 832

Re: change oppacity in xfce4-panel

I think this thread, and also this one, specially the  linked comment might be useful.

Please follow up with your impressions, good luck!

Offline

#3 2020-04-25 15:32:49

zoloshot
Member
Registered: 2020-04-25
Posts: 9

Re: change oppacity in xfce4-panel

THANKS <3 i was reading the threads and i discover the autohide feature :

xfconf-query -c xfce4-panel -p /panels/panel-0/autohide-behavior -s 0

and

xfconf-query -c xfce4-panel -p /panels/panel-0/autohide-behavior -s 2

i make it an keyboard shortcut for now , later gonna work to make a script to make it only with my terminal , thx

edit:

here is a simple script that makes it toggle mode to a keyboard shortcut
(i read that xfconf have toggle mode on the autohide behavior but it didnt work for me)

#!/bin/bash

cur=$(xfconf-query -c xfce4-panel -p /panels/panel-0/autohide-behavior)
if [[ cur -eq 0 ]]; then
  nxt=1
else
  nxt=0
fi
xfconf-query -c xfce4-panel -p /panels/panel-0/autohide-behavior -s $nxt

Last edited by zoloshot (2020-04-25 16:31:55)

Offline

#4 2020-04-25 18:35:58

alcornoqui
Member
Registered: 2014-07-28
Posts: 832

Re: change oppacity in xfce4-panel

Great!

I found a similar script by ToZ here: https://forum.xfce.org/viewtopic.php?id=13015

Great minds think alike wink

Offline

Board footer

Powered by FluxBB