Xfce Forum

Sub domains
 

You are not logged in.

#1 2019-05-20 17:16:58

ctac
Member
Registered: 2017-05-08
Posts: 33

[Solved] xfce4-panel : option not documented

Hi,
xfce4-panel 4.12.2 (Xfce 4.12) on debian testing
I find scripts in /usr/bin like xfce4-popup-...
There is one name xfce4-popup-applicationsmenu which works every time.
A line in this script is :

/usr/bin/xfce4-panel --plugin-event=applicationsmenu:popup:bool:$ATPOINTER

It seems to me that applicationsmenu is a desktop file in /usr/share/xfce4/panel/plugins/
This directory get a lot of desktop file. I try a lot of them with no avail.
popup is a event and I think clock has not this event.
I try with change, delete, ... but nothing happen except to break my system.
So what are the events for each plugins but it is the next question.

Only one work with me and is the subject of the question.
I create on panel1 a launcher with 3 launchers so there is a arrow on it to show the other lauchers.
I try to show the menu with this 3 lauchers when I click on it like if i click on the arrow.
I add this command on the launcher:

/usr/bin/xfce4-panel --plugin-event=launcher:popup

and all is OK. When I click on it, the menu is show with my 3 launchers. Very nice but :
If I add another launcher with launchers on it and set the command like the other.
Always the first menu is show, so my question is :
Is it possible to tell in the command what launcher I want to popup like this :

/usr/bin/xfce4-panel --plugin-event=launcher2:popup

Thanks.

Last edited by ctac (2019-05-22 14:25:46)

Offline

#2 2019-05-20 20:39:13

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 5,445

Re: [Solved] xfce4-panel : option not documented

ctac wrote:

I try a lot of them with no avail.
popup is a event and I think clock has not this event.

Yes, the plugin itself needs to support the plugin-event. For example, the launcher plugin supports both the "popup" and "disable-tooltips" remote events (see: https://git.xfce.org/xfce/xfce4-panel/t … er.c#n1187). Also, genmon supports the "refresh" remote event.

Is it possible to tell in the command what launcher I want to popup like this :

/usr/bin/xfce4-panel --plugin-event=launcher2:popup

If you hover your mouse over the launcher in Panel Properties > Items tab, you'll see the widget name. It will be something like "launcher-2". Use that name instead:

/usr/bin/xfce4-panel --plugin-event=launcher-2:popup

Offline

Board footer

Powered by FluxBB