Xfce Top Menu Plugin

Here is where you can post tips and tricks to share with other users of MX. Do not ask for help in this Forum.
Message
Author
User avatar
rover
Posts: 25
Joined: Tue Sep 29, 2015 1:10 pm

Xfce Top Menu Plugin

#1 Post by rover »

Greetings everyone
Using global app menu in xfce may be a little esoteric , appealling to those who whish a macos/unity , look and feel , so i just want to share the way i made it work for me , hoping it may be useful to anyone who wants to try it .

Using top menu is not as simple as installing the plugin . Some extra work is needed and it took some searching to figure out.
The solution i found comes from this page https://linuxdicasesuporte.blogspot.com ... xde-e.html .

Step 1 . Install the plugin xfce4-topmenu-plugin , from synaptic with the necessary dependencies .
Step 2. Add to panel
Step 3. In the location /etc/profile.d ,create a text document named topmenu-gtk.sh ( so our full path will be /etc/profile.d/topmenu-gtk.sh) containing the following

Code: Select all

#!/bin/sh
export GTK_MODULES=$GTK_MODULES:topmenu-gtk-module
Step 4. On /etc/environment , add this line

Code: Select all

echo "GTK_MODULES=topmenu-gtk-module" >> /etc/environment
Step 5. Log out -log in , and you're done .

The end result looks like this
Image.

Am I happy with it ? Well yes and no . I am happy because it works , but it does not follow panel transparency , you need to have an opaque panel . Also the plugin developer mentions , in his page two more plugins , one for qt applications and one for Firefox , but i was not able to locate them in the repos or in debian package pages .

Hope this post may help anyone who wants to use this plugin , and please add/correct , any other way you might have found on this

Best Regards

User avatar
Protokol
Posts: 18
Joined: Fri Apr 13, 2018 10:46 am

Re: Xfce Top Menu Plugin

#2 Post by Protokol »

thanks, it was working great with MXlinux 17 but now I switched to MXlinux 18, it's not working any more...
Hewlett-Packard Compaq Presario CQ71 Notebook
Kernel: 4.19.0-12-amd64 x86_64
Desktop: MX-19.2_x64 patito feo May 31 2020
Graphics: Intel Mobile 4 Series Integrated Graphics
Ram : 4GB

User avatar
rover
Posts: 25
Joined: Tue Sep 29, 2015 1:10 pm

Re: Xfce Top Menu Plugin

#3 Post by rover »

@ Protokol Hi ! Sorry for late reply .
Glad you could use it , sorry to hear it doesn't work anymore on MX-18.
Since i'm , at the moment , doing a fresh MX install , i 'll have a look myself , and let you know if i find something new.
Best Regards

User avatar
manyroads
Posts: 2603
Joined: Sat Jun 30, 2018 6:33 pm

Re: Xfce Top Menu Plugin

#4 Post by manyroads »

Just curious...what's the advantage of topmenu over xfce-panel and whiskermenu or something as simple as Plank?
Pax vobiscum,
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken

User avatar
Laurentius
Posts: 96
Joined: Sat Jan 20, 2018 9:44 pm

Re: Xfce Top Menu Plugin

#5 Post by Laurentius »

manyroads wrote: Thu Feb 28, 2019 7:23 pm Just curious...what's the advantage of topmenu over xfce-panel and whiskermenu or something as simple as Plank?
They are different things. It is not an app launcher nor an alternative panel. It just a plugin for xfce4-panel to get the "menu bar" (file, edit, view, help, etc.) of an application shown on the panel itself instead of the traditional desktop way that places the menu bar inside the window of an application window -just under the window border of an application.

What "advantages" could be on this configuration? Well, to save some vertical pixels on the screen, if you have a small display, may be. Sometimes I miss this feature on xfce, when working with "tiled" windows on my notebook.
But I feel it more as a design concept, which you may find comfortable or not. I like it. I liked it when I used Ubuntu-Unity.

User avatar
rover
Posts: 25
Joined: Tue Sep 29, 2015 1:10 pm

Re: Xfce Top Menu Plugin

#6 Post by rover »

@ Protokol Hi !
Please check xfce4-appmenu-plugin from the MX Test Repo . It seems to be based on vala-appmenu (but i could be wrong).
Plus it seems to work out of the box with no need for any deep level configuring .

It looks like this
Image

Hope this helps
Best Regards

User avatar
MAYBL8
MX Packager
Posts: 599
Joined: Thu Dec 31, 2009 2:48 pm

Re: Xfce Top Menu Plugin

#7 Post by MAYBL8 »

I'm trying this (xfce4-appmenu-plugin) but I can't get the Menu items at the top.
Do you know if compiz causes issues with this package? I am running compiz also.

User avatar
rover
Posts: 25
Joined: Tue Sep 29, 2015 1:10 pm

Re: Xfce Top Menu Plugin

#8 Post by rover »

@MAYBL8 Hi! This plugin seems to be more like a "pseudo" mac menu plugin , and less of a global menu implementation .
It seems , somewhat similar in behavior to xfce4-windowck-plugin.
I tested mine in a bit of a hurry , using the xfwm window manager , with the same results you mention , so i don't think it has anything to do with compiz .
Hope this helps you .

Best Regards

User avatar
MAYBL8
MX Packager
Posts: 599
Joined: Thu Dec 31, 2009 2:48 pm

Re: Xfce Top Menu Plugin

#9 Post by MAYBL8 »

I haven't tested every package I have but LibreOffice for whatever reason shows its menu at the top.

User avatar
stevedude
Posts: 68
Joined: Sat Aug 11, 2018 8:19 pm

Re: Xfce Top Menu Plugin

#10 Post by stevedude »

I haven't tried this myself, but I came across this article if it helps: http://www.webupd8.org/2017/02/alternat ... e-and.html

They mention installation of the xfce4-vala-appmenu-plugin from the website repo. Love to hear if this works, I may also switch to a Global menu having migrated from Ubuntu which also had that feature a few yrs back.
OS:MX-19.2_x64|Kernel:4.15.0-1-amd64 x86_64|Xfce 4.14.2|Mobo:TUF X470-PLUS|CPU AMD Ryzen 5, 2600 MHz
Graphics:GeForce GTX 1060,driver:nvidia v:390.77|Audio:NVIDIA snd_hda_intel
Netwrk:Realtek RTL8111|Seagate:ST2000DM006, 1.82 TB|Mem:15.6 GB

Post Reply

Return to “Tips & Tricks by users”