1

Lately, I've been using Xfce more and Unity less. One of the things I miss from Unity is the position of the "menus". (In this case, they say "Media, Edit", etc., what are these called, by the way? Menus?)

In Unity, they are always positioned in the panel at the very top of the screen.

enter image description here

In Xfce, on the other hand, they follow each individual application and window, and are not displayed in the panel by default.

enter image description here

I prefer the way Unity does it. Can I make these menus display in the panel in Xfce too? And maybe even make them disappear from the individual windows?

I believe I'm asking the same thing like this question, only for Xfce rather than GNOME.

2

Run this command to install some packages:

sudo apt install xfce4-topmenu-plugin libtopmenu-client-gtk2-0 libtopmenu-server-gtk2-0 libtopmenu-client-gtk3-0 libtopmenu-server-gtk3-0 topmenu-gtk2 topmenu-gtk3

Create a file by using this command:

pkexec mousepad /etc/profile.d/topmenu-gtk.sh

In the text editor that appears, paste the following:

#!/bin/sh
export GTK_MODULES=$GTK_MODULES:topmenu-gtk-module

Save the document. Log out and in from the system. Right click on the Xfce panel and select Panel, then Add new items. From the list, select "TopMenu". Done!

Attribution: Everything is from this tutorial, which features instructions for MATE and Lubuntu too.

| improve this answer | |
0

Since topmenu now doesn't support apps based on Qt and libreoffice,chrome...

Here's another alternative Vala Panel AppMenu

Vala Panel AppMenu is a global menu panel applet for Xfce, MATE and Vala panels, which uses unity-gtk-module as its backend, and it works with all the applications supported by Unity's AppMenu.

Add repository

sudo add-apt-repository ppa:webupd8team/mate

Install the plugin

sudo apt install xfce4-vala-appmenu-plugin unity-gtk3-module unity-gtk2-module appmenu-qt appmenu-qt5

Disable the menu from being displayed in application windows

xfconf-query -c xsettings -p /Gtk/ShellShowsMenubar -n -t bool -s true
xfconf-query -c xsettings -p /Gtk/ShellShowsAppmenu -n -t bool -s true

Restart the session (logout, then log back in).

Add the Vala AppMenu applet to the panel

Must read for instructions of both XFCE and MATE - Source

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.