A while back I wrote about TopMenu, a panel plugin that provides global menu (AppMenu) support for MATE, then also included support for Xfce and LXDE.
- Firefox Translation Addon
- Mate Translate Edge
- Firefox Auto Translate
- Mate Translate Firefox
- Mate Translate App
- Mate Translate Chrome
- Mate Translate To English
The problem with TopMenu is that it only partially supports GTK3, it doesn't support LibreOffice, and with Ubuntu 16.04, it doesn't support Qt (4 or 5) applications.
なお、Mate TranslateはFirefoxだけでなくChromeやEdge、Operaといった各種ブラウザでも使用可能。 異なるブラウザ間で履歴を同期させることもできるとの. The type of metadata provided by the meta element can be one of the following. If the name attribute is set, the meta element provides document-level metadata, applying to the whole page.
Here's where Vala Panel AppMenu comes in.
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.
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.
As a result, Vala Panel AppMenu provides global menu support for GTK2, GTK3, Qt4 and Qt5 applications, as well as applications like Firefox, Thunderbird, Google Chrome / Chromium, and LibreOffice.
For MATE, Vala Panel AppMenu requires MATE Panel built with GTK3 (so for Ubuntu, it requires Ubuntu MATE 16.10 and newer). Its README also mentions that to build Vala Panel AppMenu, you'll need GTK 3.12 or newer, GLib 2.40 or newer, valac 0.24 or newer and libbamf 0.5.0 or newer.
Here's Vala Panel AppMenu in action with Chromium, Firefox, Gedit (GTK3), LibreOffice, VLC (Qt5), and Thunar (GTK2):
Here's an Ubuntu MATE 16.10 screenshot as well:
Vala Panel AppMenu is not perfect though, and I did encounter a few issues in my test:
- when no window is focused / the desktop is empty, a menu containing 'Desktop' and 'Files' is displayed by the Vala AppMenu applet. These menu items don't work, at least in Ubuntu, and using them can cause the Xfce / MATE panel to crash;
- Qt5 supports the AppMenu feature by default, without using any additional packages (I'm not sure which version introduced this feature), however, there's a bug with this and Vala AppMenu which causes the global menu for Qt5 applications to be displayed for a few seconds after the app is closed. This doesn't occur if the appmenu-qt5 package is installed though;
- MATE only: GTK2 applications have the menu displayed on both the panel and in the application window. If someone can find a way to solve this, please let us know in the comments!;
- MATE only: there's no easy way of moving the applet to the desired position, but it can be done using Dconf Editor;
- there's no way of changing the global menu font color, and that can be problematic with some themes. For example, the menu font is dark on a dark panel background using the default Xubuntu 16.04 theme (Greybird). This doesn't occur with Numix GTK theme (which is installed by default in Xubuntu) or Greybird in Xubuntu 16.10.
You may also want to check out the Vala Panel AppMenu issues page on GitHub.
Install and set up Vala AppMenu in Ubuntu (MATE/Xubuntu) or Linux Mint (Xfce) via PPA
If you don't use Ubuntu or Linux Mint, you can grab the Vala Panel AppMenu source from GitHub.
Arch Linux users can install Vala Panel AppMenu via AUR.
For Ubuntu or Linux Mint, see the instructions below.
Vala AppMenu is available in the WebUpd8 MATE and Xfce PPA.
![Firefox Firefox](https://i.gzn.jp/img/2020/06/29/mate-translate-review/img-snap04310.png)
For Ubuntu MATE, the plugin is only available for Ubuntu 16.10, because it requires MATE Panel built with GTK3, and that is only the case for Ubuntu 16.10 and newer.
For Xfce, the Vala AppMenu plugin is available for Xubuntu 16.10 and 16.04, as well as Linux Mint Xfce 18.x.
To add the WebUpd8 MATE and Xfce PPA and update the software sources, use the following commands:
Then, install the Vala AppMenu plugin / applet:
- for Xfce (Xubuntu 16.10, 16.04 / Linux Mint Xfce 18.x):
- for MATE (Ubuntu MATE 16.10):
2. Disable the menu from being displayed in application windows (so it's only displayed on the panel; without this, you'll get double menus, in both the panel and application windows).
2.A. for Xfce, simply run the command below:2.B. for MATE, you'll need to edit the ~/.config/gtk-3.0/settings.ini file (if this file doesn't exist, create it) and in this file, add the following under '[Settings]':
Here are step by step instructions for doing this. Firstly, create the ~/.config/gtk-3.0/ folder in case it doesn't exist, by using the following command:
Then open ~/.config/gtk-3.0/settings.ini with Pluma text editor:
If this file has a '[Settings]' section, paste under it the following:
If the file is empty, paste the following in this file:
.. and save the file.
Unfortunately, for MATE, this will not disable the menu from being displayed in app windows for GTK2 (I mentioned this in the issues section above).
3. Restart the session (logout, then log back in).
4. Add the Vala AppMenu applet to the panel (and how to change its position on the MATE panel).
4.A. For Xfce, right click the panel on which you want to add Vala AppMenu to, and select Panel > Panel Preferences (I prefer this to directly adding the applet to the panel, because it also allows moving it to the desired position), and on the Items tab, click '+' and add 'AppMenu Plugin' to the panel:
You can move Vala AppMenu to the desired position on the panel via the Items tab from the Xfce4 Panel Preferences.
If you have TopMenu installed, make sure you don't mix the two!
4.B. For MATE, right click the panel, select 'Add to panel', then search for 'Global Application Menu' and click 'Add':
Unfortunately there's no easy way of moving the applet to the desired position on the panel. That's because the Vala Panel AppMenu responds in the same way to both left and right click, and there's no area to access its context menu.
Firefox Translation Addon
To change the global menu position on the MATE panel, you'll need Dconf Editor, which can be installed using the following command:
Next, launch Dconf Editor, navigate to org > mate > panel > objects and in the 'objects' tree, you should see some items called 'object-1', 'object-2' and so on. Start from the last object and see which has the 'applet-iid' value set to 'AppMenuAppletFactory:AppMenuApplet'.
Note: you may have multiple applets ('object-1', 'object-2', etc.) with the 'applet-iid' value of 'AppMenuApplet..' - in that case you'll need to change the settings for the last one (the higher number).
Mate Translate Edge
The 'position' value represents the number of pixels between the left-hand side of the panel and the applet position. So once you find the right applet, change its position value to suit your needs (try to approximate it, if the other applets are locked, a lower value than the actual position will work in some cases).
In my case, I have a menu, a Firefox launcher, and a separator and I want to move the global menu next to them, so I set the 'position' value to '100':
After you change the position, you'll need to restart the MATE panel to apply the changes (or logout/login). To do this, open a terminal and type:
5. Optional: enable Vala Appmenu (global menu) for Firefox and Thunderbird.
By default, Vala AppMenu will only display the Thunderbird and Firefox Unity actions (quicklists) on the panel. To enable the full Firefox and Thunderbird menu on the panel, you must launch Firefox and Thunderbird with 'UBUNTU_MENUPROXY=0'.
You can do this automatically (by copying the Firefox and Thunderbird .desktop files from /usr/share/applications to
Firefox Auto Translate
~/.local/share/applications/ so they are not overwritten when they receive updates, and modify the .desktop files there) for both Firefox and Thunderbird, by using the commands below:Undo the changes
Below you'll find the exact steps required to undo the changes made by following the instructions mentioned above.
1. Remove Vala AppMenu:
If you are sure (Important! don't remove these packages if you also use Unity) that the Unity GTK module and AppMenu packages are not used by any other packages on your system, also purge them by using the following command:
2. Undo the MATE/Xfce menu disable settings
2.A. For Xfce, use the following commands:
2.B. For MATE, open ~/.config/gtk-3.0/settings.ini with a text editor - the command below uses Pluma to open this file:
And from this file, remove the following two lines:
If this file was created by following the instructions in this article (was empty or it didn't exist before), you can simply remove it by using the following command:
3. Restart the session (logout, then log back in)
4. If you applied the optional Thunderbird and Firefox tweaks mentioned above, you can undo this step by simply removing their .desktop files from ~/.local/share/applications/
Mate Translate Firefox
. To do this from a terminal, use the following commands:Thanks to WebUupd8 reader omg2090 for the tip and information (check out his comment for how to build this from source and an extra tweak).
Mozilla Firefox, very much like Linux, is free and open-source software. Mozilla claims to be a non-profit company as well. If you’re wondering where I’m leading with this, it is the fact that Mozilla Firefox is the default browser for Ubuntu and some other Linux distributions. And now you know why Firefox fits so nicely into the philosophy of Linux. Philosophy aside, Firefox is but a piece of software. This means it can bug out sometimes. This may make you want to uninstall Firefox. In the hope that when you install Firefox again, the problem would be gone. Or maybe you’ve found a browser that you like better and just want to get rid of Firefox now.
Whatever your reasons, uninstalling Firefox is not something very difficult compared to other app uninstallations on Ubuntu. Compared to uninstalling firefox from a Mac or Windows though it is a bit more complicated. If you simply uninstall Firefox, with the intention to install it again, you will find the new installation still has the same settings and preferences that made things worse in the first place. This is because uninstalling firefox the traditional way does not remove the settings and preferences which are saved elsewhere in other folders. Before we take a look at how you can get rid of Firefox completely along with all its stored data, you’ll need something.
How to Uninstall and Install Firefox on Ubuntu
Install GKSu
Mate Translate App
GKSu is a library that provides a Gtk+ frontend to su and sudo.
Removing the data stored by firefox involves deleting files created by Firefox in the root directories. You can do this via the terminal without any need for GKSu. However, if you prefer to do things with a graphical interface you will need to install GKSu in case you don’t already have it. To install it simply enter the following in a terminal: Quartzcode 1 66 44.
How to remove uninstall Firefox on Ubuntu
- In a terminal window, run the following command:
- Once that is done, launch your file browser and head to the home directory. It’d be preferable to launch it with root permissions since some of the folders that need to be removed can’t be removed without root access. This is where GKSu comes in handy. Simply execute the following command to launch Nautilus, the default file manager in Ubuntu, as a root app.
- Delete the folder named .mozilla if it is still there. This is a hidden folder so you will have to make sure hidden files and folders are visible in order to see it. If you were having trouble with adobe flash player on Firefox, you may also want to delete the folders named .macromedia and .adobe, if present. These folders generally contain the flash cookies stored by the browser.
- Now let’s remove folders in the root directories. First, delete the folder named firefox inside etc (/etc/firefox/). This is where your preferences and user profiles are stored.
- Similarly, go to the /usr/lib/ folder and delete the folders named firefox and firefox-addons there. It’s possible that you may not find these folders there anymore.
- Reboot your computer to get rid of any temporary files.
Mate Translate Chrome
How to install Firefox again
You can now install the same Firefox again, or you can install a different version of Firefox such as one of the daily builds or betas. The daily builds are not really very stable and you might be frustrated even if you just use Firefox as a secondary browser. So we’d rather not recommend it. Beta builds are relatively more stable, and usable as well.
Mate Translate To English
Install Firefox stable
Run this command in a terminal:
Install Firefox official beta
If you would like to test out beta versions, you can just install Firefox with the command mentioned above and then upgrade to a beta. Iconjar 2 2 0 air filter. This requires adding the official Firefox beta PPA.
Google paintings. So, you now know how to install and uninstall the Firefox browser on Ubuntu. You can now enjoy dark mode on any website you want easily.