Xfce Forum

Sub domains
 

You are not logged in.

#1 2016-12-08 19:14:23

rzi
Member
Registered: 2016-12-08
Posts: 9

Panel hide & show transition

Hello

Is there any way to adjust the way the panel hides and shows when set to "Automatically hide the panel: Alway"? I'm using composition with compiz (mainly for the scale plugin). As it is right now the panel feels very binary when hiding and showing compared to Whisker meny. Whisker menu got a much smoother feeling.

I'm using plank at the bottom of the screen, but xfce panel with a more smooth transition would be the best alternative. Xfce panel is ofc tighter integrated with the the rest of xfce & got lots of plugins etc etc.

Cheers

Offline

#2 2016-12-08 21:21:09

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,493

Re: Panel hide & show transition

Hello and welcome.
The best that you do with xfce4-panel is to adjust the popup and popdown delays. See: https://git.xfce.org/xfce/xfce4-panel/t … .gtkrc-2.0.


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

#3 2016-12-08 22:29:03

rzi
Member
Registered: 2016-12-08
Posts: 9

Re: Panel hide & show transition

Thank you for a quick reply ToZ.

I got a bit excited at first as I though I could use all the standard gtk css in .gtkrc-2.0

Do you know if there are any plans to change so the panel can be styled with gtk3 css in the future?

Offline

#4 2016-12-09 01:34:25

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,493

Re: Panel hide & show transition

Yes, the plan is to migrate all of the Xfce components to GTK3. xfce4-panel supports both gtk2 and gtk3 plugins, but itself has yet to be ported to GTK3.


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

#5 2016-12-10 18:12:07

rzi
Member
Registered: 2016-12-08
Posts: 9

Re: Panel hide & show transition

Ok, thanx for the info. Do you know the time frame until the panel is ported to gtk3?

I did some fiddeling around with the current ways to mod the panel. Managed to do this:  https://youtu.be/MWppJLmAT2U smile

Offline

#6 2016-12-10 22:15:54

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,493

Re: Panel hide & show transition

rzi wrote:

Ok, thanx for the info. Do you know the time frame until the panel is ported to gtk3?

Roadmap is here. No confirmed timelines as of yet.

I did some fiddeling around with the current ways to mod the panel. Managed to do this:  https://youtu.be/MWppJLmAT2U smile

Can you share how you did that?


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

#7 2016-12-11 10:45:58

rzi
Member
Registered: 2016-12-08
Posts: 9

Re: Panel hide & show transition

Here are the dirty scripts. smile

I got most of my info from the ppl in this thread http://forum.xfce.org/viewtopic.php?id=8619

xfconf-query is not made for these tricks so the screen sometimes glitches for me
- it affects the icon layout on the desktop.
- panel pushes windows out of its way
-etc etc
But it can probably be refine in many ways

Change values in the scripts to suit your set up

To show the panel

xfconf-query --channel 'xfce4-panel' --property '/panels/panel-1/autohide-behavior' --type int --set 0

for ((i=1; i<100; i=i+10))
do
xfconf-query --channel 'xfce4-panel' --property '/panels/panel-1/background-alpha' --type int --set $i
xfconf-query --channel 'xfce4-panel' --property '/panels/panel-1/size' --type int --set $i / 2
done

To hide the panel

for ((i=100; i>10; i=i-10))
do
xfconf-query --channel 'xfce4-panel' --property '/panels/panel-1/background-alpha' --type int --set $i
xfconf-query --channel 'xfce4-panel' --property '/panels/panel-1/size' --type int --set $i / 2
done

xfconf-query --channel 'xfce4-panel' --property '/panels/panel-1/autohide-behavior' --type int --set 2

Change the hide and show time to a minimum: https://git.xfce.org/xfce/xfce4-panel/t … .gtkrc-2.0

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.021 seconds, 7 queries executed - Memory usage: 545.72 KiB (Peak: 546.56 KiB) ]