Xfce Forum

Sub domains
 

You are not logged in.

#1 2018-04-25 18:17:42

oakbert
Member
Registered: 2018-04-24
Posts: 8

xfce4-panel : how to disable right-click menu show "Separator|Panel" ?

I am using xfce 4.12 in xUbuntu 16.04 64 bit.

Is it possible to disable right-click menu show "Separator|Panel" on xfce4-panel?

Here is my .config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml file:

<?xml version="1.0" encoding="UTF-8"?>

<channel name="xfce4-panel" version="1.0">
  <property name="panels" type="uint" value="1">
    <property name="panel-0" type="empty">
      <property name="position" type="string" value="p=6;x=0;y=0"/>
      <property name="length" type="uint" value="100"/>
      <property name="position-locked" type="bool" value="true"/>
      <property name="plugin-ids" type="array">
      </property>
      <property name="background-style" type="uint" value="0"/>
      <property name="background-alpha" type="uint" value="80"/>
      <property name="size" type="uint" value="24"/>
      <property name="length-adjust" type="bool" value="true"/>
      <property name="span-monitors" type="bool" value="false"/>
      <property name="enter-opacity" type="uint" value="100"/>
      <property name="leave-opacity" type="uint" value="100"/>
      <property name="mode" type="uint" value="0"/>
      <property name="autohide-behavior" type="uint" value="0"/>
    </property>
  </property>
  <property name="plugins" type="empty">
    <property name="plugin-1" type="string" value="whiskermenu"/>
    <property name="plugin-2" type="string" value="tasklist">
      <property name="flat-buttons" type="bool" value="true"/>
    </property>
  </property>
  <property name="configver" type="int" value="2"/>
</channel>

Offline

#2 2018-04-25 19:58:39

MountainDewManiac
Member
From: Where Mr. Bankruptcy is Prez
Registered: 2013-03-24
Posts: 1,115

Re: xfce4-panel : how to disable right-click menu show "Separator|Panel" ?

Removing the separator from your panel would do it, lol. But then all your items might run together?

Regards,
MDM


Mountain Dew Maniac

How to Ask for Help <=== Click on this link

Offline

#3 2018-04-25 20:36:04

oakbert
Member
Registered: 2018-04-24
Posts: 8

Re: xfce4-panel : how to disable right-click menu show "Separator|Panel" ?

trace down to:
/libxfce4panel/xfce-panel-plugin.c

  /* plugin right-click menu */
  GtkMenu             *menu;

   * This signal is emmitted when the About entry in the right-click
   * menu is clicked. Plugin writes can use it to show information
   * about the plugin and display credits of the developers, translators
   * and other contributors.


xfce_panel_plugin_menu_show_about()
xfce_panel_plugin_menu_show_configure() and
xfce_titled_dialog_new ().

Not sure which one control the panel_plug right click.
Did I searched the wrong place?

Any help are welcome.

Offline

#4 2018-04-25 21:09:06

oakbert
Member
Registered: 2018-04-24
Posts: 8

Re: xfce4-panel : how to disable right-click menu show "Separator|Panel" ?

MountainDewManiac wrote:

Removing the separator from your panel would do it, lol. But then all your items might run together?

Regards,
MDM

Thanks for reply.

I do not want remove the separator.
I want remove anything showed when I right click the Panel empty space.

Including: About|Help|Logout.

But still keep the right click task manager function.

Offline

Board footer

Powered by FluxBB