Github GitHub - gonzaarcr/Fildem: Fildem global menu
source link: https://github.com/gonzaarcr/Fildem
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Fildem
Global menu for Gnome
This project is a fork of gnomehud with the adition of a global menu bar. To install it you have to download this repo and install the extension copying/moving the [email protected]
folder into ~/.local/share/gnome-shell/extensions
. Then, you have to run the app with ./run.sh
.
You can also bring a HUD menu with Alt + Space.
This is a prototype, as I don’t know if people will like or how much it will last until devs nuke it, so fell free to let me know your opinion.
installation
Ubuntu 20
You can install the modules with
sudo apt install libbamf3-dev bamfdaemon libkeybinder-3.0-dev appmenu-gtk2-module appmenu-gtk3-module unity-gtk-module-common
And install the python dependency:
pip3 install fuzzysearch
And then configure the following files:
- Create the file
~/.gtkrc-2.0
and appendgtk-modules="appmenu-gtk-module"
- The file
~/.config/gtk-3.0/settings.ini
should have the linegtk-modules="appmenu-gtk-module"
under [Settings]. If it doesn’t exist create it and paste the following
[Settings]
gtk-modules="appmenu-gtk-module"
I got it to run on a vm, since Arch is so customizable I can’t guaranted it will work on all system, but the modules installed were
pacman -S bamf appmenu-gtk-module libkeybinder3 libdbusmenu-gtk2 libdbusmenu-gtk3 libdbusmenu-qt5
You also have to install fuzzysearch
with pip (pip3 install fuzzysearch
) and edit the files explained on the Ubuntu section.
Customization
Menu always visible
By default, the menu is visible when you hover the mouse on the panel. If you want the menu to be always visible, unselect “Show menu only when the mouse is over the panel” in the preferences of the extension.
AppMenu Button always visible
The AppMenu button shows the application name or window title (if you have some extension) in the panel. By default, the fildem extension hides that label when the menu is being shown. If you want it to be always visible, you can unselect “Hide App Menu label” in the preferences of the extension.
Reduce space between buttons
If the menu shown on the panel is shifted with relation to the one that appears, you can tweak the padding in the preferences window of the extension.
Remove space in between buttons
In some gnome themes, the buttons have a small spacing between them. This can make the buttons easy to miss and unfocusing our window if it’s not maximized. To fix this, add this somewhere on your gnome-shell.css
theme:
#panel #panelLeft {
spacing: 0px; }
#panel #panelLeft .panel-button {
spacing: 0px; }
Running the program at startup
If you manage to make the program work and want to have it running automatically at startup you can add an entry to gnome-session-properties
with the name of the program and the path to execute it.
Create a shortcut for the HUD on Wayland
Since it’s not possible to creat a shortcut from the app on Wayland, you have to create it yourself. Go to Settings → Keyboard Shorcuts and create a shortcut that executes inithud.sh
.
State of the Apps
To see a list of apps that work check the wiki
Installation troubleshooting
If you have any question on to get it to work, please don’t create an issue, use this discussion.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK