Giter Site home page Giter Site logo

fildem's Introduction

Fildem

Global menu for Gnome

Buy Me A Coffee

Fildem

This project is a fork of gnomehud with the addition of a global menu bar. It consists of a Gnome Shell extension and an external program, you must install both for the application to work.

You can also bring a HUD menu with Alt + Space (on Xorg).

This is a prototype, as I don’t know if people will like it or how long it will last until devs nuke it, so feel free to let me know your opinion.

Installation

Extension

To install the extension, download it from the Gnome extensions website.

Ubuntu

Download the .deb file from the releases section and run sudo apt install ./fildem_*.deb

Arch

Download the .zst file from the releases section and run sudo pacman -U ./python3-fildem*.zst

Configuration

In order for the application to work, you must configure the following files (applies to all operating systems):

  • Create the file ~/.gtkrc-2.0 and append gtk-modules="appmenu-gtk-module"
  • The file ~/.config/gtk-3.0/settings.ini should have the line gtk-modules="appmenu-gtk-module" under [Settings]. If it doesn’t exist create it and paste the following
[Settings]
gtk-modules="appmenu-gtk-module"

Running

After installation you’ll have two executables, fildem and fildem-hud. To check if it works use the first one. fildem-hud is for using the HUD, if you are on Xorg, you already have it bound to Alt + Space. If you are on Wayland, you can bind some keybinding to that command.

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, like this:

Screenshot from 2021-06-17 11-09-00

you can tweak the "Button padding" in the preferences window of the extension (accessible from the tweak tool).

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 create 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 questions on how to get it to work, please don’t create an issue, use this discussion.

fildem's People

Contributors

gonzaarcr avatar nbelakovski avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fildem's Issues

Didnot work in popos 20.04

I tried the installation instructions but failed to make it work. If you have some more instructions plz tell. The menubar was removed but I couldn't view in the top panel.

Unable to launch from anywhere but terminal

I'm at a huge loss and cannot figure this out.

I'm running RebornOS (AKA Manjaro but not), and have looked at #5 to help with dependency problems and all.

Now it works! Except with the big problem as it just refuses to launch from anywhere besides the terminal. I've never had this issue with anything before. Trying to run it anywhere but in the command-line just results in nothing.

I'm just trying to add this to an autostart desktop entry. I would prefer not having to keep a terminal open.

Can't install the modules

When running: sudo apt install unity-gtk2-module unity-gtk3-module appmenu-gtk3-module
I get that:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
unity-gtk2-module is already the newest version (0.0.0+18.04.20171202-0ubuntu2).
unity-gtk3-module is already the newest version (0.0.0+18.04.20171202-0ubuntu2).
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 appmenu-gtk3-module : Conflicts: appmenu-gtk3
 unity-gtk3-module : Conflicts: appmenu-gtk3
E: Unable to correct problems, you have held broken packages.

And when i try to run the run.sh i get:

Gtk-Message: 21:45:56.048: Failed to load module "appmenu-gtk-module"
Gtk-Message: 21:45:56.219: Failed to load module "appmenu-gtk-module"

How can i fix?

Erro in ./run.sh

Erro:
/run.sh: linha 6: [: =: esperava operador unário
Traceback (most recent call last):
File "./command.py", line 6, in
from handlers.default import HudMenu
File "/home/guilhermelopes/.local/share/fildem/handlers/default.py", line 16, in
from utils.window import WindowActions, backend
File "/home/guilhermelopes/.local/share/fildem/utils/window.py", line 16, in
backend = os.environ['XDG_SESSION_TYPE']
File "/usr/lib/python3.8/os.py", line 675, in getitem
raise KeyError(key) from None
KeyError: 'XDG_SESSION_TYPE'

Global menu without support for JAVA applications

Hi, it looks like it doesn't have support for JAVA applications, like the ides of jetbrains (PyCharm, Intelij etc). I know that it must be a very complex obstacle to solve this, because when I use another global menu in XFCE, it had this lack of support for these applications.

Problems running the extension on Debian

Hi, I recently installed this extension, I have managed to make it work but when i run ./run.sh nothing comes up on the top bar, furthermore if I press Alt + space it brings up the menu but in the terminal it says:
Gnome HUD: WARNING: (Firefox ESR) No menu items available!
This happens with every application I try to run, any idea of what might be causing it?
Running debian 10 with gnome shell 3.38.2.
Keep up the good work!!!

Libreoffice math menubar

There isn't any refresh to the math menubar when you create a formula in libreoffice-write. You have to click on the desktop and again on the window to refresh the global menu.

Menu doesn't close if clicking out

Sorry for bothering again!
I noticed a misbehaviour which I imagine you are aware of, so I'm not sure it's possible to fix.
When you open a menu, the only way to have it close is by clicking again in the menu area, it doesn't close if you click anywhere else in the screen, as it's usual with app menus. Guess it's a limitation due to Gnome...

Anyway I'm using Fildem these days and I love it!

Text color

Hi @gonzaarcr , happy new year, I hope you passed nice holidays!

I have a question, I know it depends on the GTK theme but I was wondering if you had some fix or suggestion for it.
Lately I'm using the adwaita theme, which is light during daytime and I have it switch to dark version at night time.
When using the light version, the menu exported by Fildem has dark text, so it's hard to read on the black top panel.
Is there some setting that could be added or edited in Fildem to have the menu exported with another text color or do I need to change the whole theme settings? I would prefer to avoid this way due to updates that might break it again or similar issues.

Thank you again!

run.sh can't detect fuzzysearch and won't run as a result

Hi!

I'm having issues with the installation. When I try to run "run.sh" it tells me that fuzzysearch isn't found, but when I run pip3 install fuzzysearch the output is

Requirement already satisfied: fuzzysearch in /home//.local/lib/python3.8/site-packages (0.7.3)
Requirement already satisfied: attrs>=19.3 in /home//.local/lib/python3.8/site-packages (from fuzzysearch) (20.2.0)

so it's apparently installed, but run.sh can't find it. Any ideas or fixes?
Untitledscreen

Lag when cursor enter or leave panel

I have the extension installed in arch with gnome wayland. When I move my cursor in or out the panel with extension enabled, the cursor will hang on the edge of panel for a second. The problem persist even after I disable the extension. The problem only disappear after I reboot.

2021-02-01.19-51-25.mp4

Fedora dependencies?

I'm currently running fedora 33. Are there any chances someone already found out the dependencies?

Visual Studio Code: Menu items don't execute the command

Description

The menu shows correctly for VS Code but clicking an action doesn't execute it. I see an error in the output of run.sh.

Error

(-c:5518): Gtk-WARNING **: 19:37:30.331: no trigger event for menu popup
Traceback (most recent call last):
  File "/home/nayaabkhan/Downloads/Fildem-master/handlers/global_menu.py", line 356, in <lambda>
    callback = lambda a, b: self.dbus_menu.activate(path)
  File "/home/nayaabkhan/Downloads/Fildem-master/utils/menu.py", line 375, in activate
    self.appmenu.activate(selection)
  File "/home/nayaabkhan/Downloads/Fildem-master/utils/menu.py", line 198, in activate
    self.interface.Event(action, 'clicked', 0, 0)
  File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 141, in __call__
    return self._connection.call_blocking(self._named_service,
  File "/usr/lib/python3/dist-packages/dbus/connection.py", line 652, in call_blocking
    reply_message = self.send_message_with_reply_and_block(
dbus.exceptions.DBusException: org.gtk.GDBus.UnmappedGError.Quark._LIBDBUSMENU_2dGLIB.Code0: The ID supplied 277 does not refer to a menu item we have

ubuntu 20.04 ?

ALthought i was did all the tutorial, I can't do it show up on top bar ...
It can only show all Menu in hud.
Unbuntu 20.04
With whitesur gtk gdm theme , did you anyone solve it ?

Start the script at boot

Hello, after successfully using your script, I started to study how to start your script at boot, but all failed. Therefore, I would like to ask how you solved the problem of booting the script. My questions are as follows: When the script is started on boot, the sudo permission is used, and the script running under this permission fails.

Problems running the ./run.sh command

Hello, there is a problem, when I run the command ./run.sh in the terminal, nothing happens, it does not appear an error message and does not change the top bar

Packaged Installation

Hi, I know this is a time-consuming action, but it would be a very helpful action if some people just maintain packages for Arch, Ubuntu and etc, since manual updating is a real pain !
I have to check this repository every single day to see if any update is available, and after that i have to update extension files and also the startup script and etc, ,it's like im installing the package for the first time with every single commit

It would be better if someone could maintain packages and do the updating stuffs, I might be able to do it for AUR since im on arch currently, but for ubuntu anyone's volunteery would be appreciated

Installation problem

Hello, I can’t find unity-gtk2-module unity-gtk3-module during installation. I have a Debian 10 gnome 3.38.1 system. Can I use this plugin?

Applications that do not work

I was thinking to open up an issue for applications that do not work. Maybe you can dig deeper and improve this extension. I am testing many apps for our custom TROMjaro Linux, so I can be helpful in this regards.

I am testing these apps with all of the recommended packages installed.

  • Krita: appimage works, flatpak not working despite having the Qt4 libraries installed on my system.
  • Audacity
  • Many Gnome apps do not work since they have a hamburger menu. No way to fix that?
  • Thunderbird
  • QTox
  • Pitivi

Why not just roll the menubar into the hud?

I've had this idea for years now: why not just put the actual menubar in the hud?

The global menu only works when it's actually global and, given the incongruities of UI on Linux, that's simply not in the cards. It was possible on Unity, but these days many apps don't have menubars (and don't benefit from menubars).

Furthermore, an always visible global menubar presents technical problems that seem to be insuperable. First, you have to draw it immediately once an app window comes in focus. Some apps can be slow to export their menus, which leaves you with a bugged global menu. On KDE, I've observerved several cases where the global menu is bugged but rofi-hud still works. Second it can be taxing performance-wise, especially on Gnome. Third, relying to gjs means it will probably break with the next update. Finally, multiple monitors presents a challenge of where to draw the global menu. Gnome to my knowledge doesn't allow you to even draw a panel on a secondary monitor, never mind place a menubar into it.

What if you just draw the menubar inside the pop-up hud, on demand? A "global hud" makes much more sense, especially on gnome. Even gnome apps that don't have menubars can still export a hud (see https://github.com/p-e-w/plotinus, though this will be impossible with gtk 4). The HUD paradigm is much more universal, since it comprises 1) apps with menubars 2) apps without menubars but which can be hacked to export HUD items (plotinus) 3) apps that provide their own HUDs (IDEs and text editors). So here you'd just have to draw a menubar in the hud for category (1) and get a reasonably consistent UX. Virtually every app can have a HUD, making the HUD much more "global" concept than a "global menu".

Also, a hud popup with a menubar can be displayed on the same monitor as the actual window, instead of having the user potentially traverse thousands of pixels to get to the global menu. And you're no longer dependent on gjs.

So why not just put the menubar in the hud? The user hits a shortcut and they can access menu items with both search and point-click. It would be even better if you could say Alt+Click a window and get the HUD+menu popup displayed, but I'm not sure how feasible that is.

Some applications don't export their menus first when the app is launched.

I've noticed that some applications don't export their menus first when the app is launched, but it works when I minimize the app and maximize it again or click anywhere in desktop. Overall it's require a refresh to export the menus. Here I am mentioning only those applications in which i'm facing this issue.

  • Visual Studio Code
  • Google Chrome
  • Slack Desktop
  • Brave Web Browser
  • Postman(Some times)
  • Telegram(Some times)

OS :- Ubuntu 20.04

For reference adding some snapshots:-
104096690-0242d700-52c2-11eb-9399-03a68471cd23
104097132-23a3c300-52c2-11eb-8a7c-ef4ba3f1c4a3

new problem😭

I used pip3 install fuzzysearch, but I reported an error in sudo ./run.sh, and it couldn't find the module named "fuzzysearch"

Latest Manjaro Update broke it - but you can fix it

Just a heads up, the latest Manjaro Update broke it. Following my instructions:

  1. Download the repo and install the extension copying/moving the [email protected] folder into ~/.local/share/gnome-shell/extensions
  2. Install: sudo pacman -S bamf appmenu-gtk-module libkeybinder3 libdbusmenu-gtk2 libdbusmenu-gtk3 libdbusmenu-qt5
  3. Install: pip3 install fuzzysearch
  4. Go to extensions and enable "fildemGMenu"
  5. Reboot your computer
  6. Go to the repo folder, and from within, open it in terminal then do: ./run.sh
  7. Test to see if works, if not,
  8. Reboot.
  9. Do step nr 6 again. If works:
  10. Create a .desktop file in .local/share/applications and name it "global-menu-and-hud". Inside it paste this:
[Desktop Entry]
Encoding=UTF-8
Name=GlobalMenu
Comment=TROMjaro Global Menu
Type=Application
Icon=global-menu-and-hud
Exec=bash -c "add here the path where the run.sh file is"
Terminal=false
Categories=Application;Programme;[Desktop Entry]
  1. Save and Alt + F2 the type "r" to reboot the desktop
  2. Search in the menu to see if the file is there
  3. Via Tweaks add it to Startup at boot

Made it work again by redoing the part 2 and 3 then rebooting the computer. For those who come from Manjaro...

Gnome 40 compatibility

Hi again @gonzaarcr !

I'm enjoying your extension a lot, have managed to make it work almost perfectly, adjusting it to my needs.
I have a question though, since Gnome 40 has been released and will slowly start to get pushed into various distributions, how is this gonna work with it? Have you thought about issues and/or possible solutions to that, or are you planning of not developing it for Gnome 40? (I really hope not since I am totally fond of global menu and love Fildem!)

Thank you and best wishes!

Some Errors with STM32CubeIDE (aka Eclipse)

I get this error with STM32CubeIDE (witch use Eclipse to implement)

Traceback (most recent call last):
File "/home/caglarbingol/Downloads/Fildem-master/utils/window.py", line 119, in _window_switched_bamf
cls._call_all_listeners(win)
File "/home/caglarbingol/Downloads/Fildem-master/utils/window.py", line 129, in _call_all_listeners
callback(window)
File "/home/caglarbingol/Downloads/Fildem-master/utils/menu.py", line 273, in on_window_switched
self._init_window()
File "/home/caglarbingol/Downloads/Fildem-master/utils/menu.py", line 269, in _init_window
self._update()
File "/home/caglarbingol/Downloads/Fildem-master/utils/menu.py", line 309, in _update
self._update_menus()
File "/home/caglarbingol/Downloads/Fildem-master/utils/menu.py", line 304, in _update_menus
self.gtkmenu.get_results()
File "/home/caglarbingol/Downloads/Fildem-master/utils/menu.py", line 93, in get_results
interface.End([x for x in range(1024)])
File "/usr/lib/python3.8/site-packages/dbus/proxies.py", line 141, in call
return self._connection.call_blocking(self._named_service,
File "/usr/lib/python3.8/site-packages/dbus/connection.py", line 652, in call_blocking
reply_message = self.send_message_with_reply_and_block(
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying

XDG_SESSION_TYPE Error

Hello, here is something error on my computer, and I need some help.

I have already set up those dependence, also the [email protected] folder to extensions folder.

Then I copy all these files to ~/.fildem and run sudo sh run.sh, and then I get the following things in my terminal:

run.sh: 3: [: =: unexpected operator
Traceback (most recent call last):
  File "./command.py", line 7, in <module>
    from handlers.default import HudMenu
  File "/home/weixikai/.fildem/handlers/default.py", line 16, in <module>
    from utils.menu import WindowActions
  File "/home/weixikai/.fildem/utils/menu.py", line 10, in <module>
    from utils.window import WindowManager
  File "/home/weixikai/.fildem/utils/window.py", line 18, in <module>
    backend = os.environ['XDG_SESSION_TYPE']
  File "/usr/lib/python3.8/os.py", line 675, in __getitem__
    raise KeyError(key) from None
KeyError: 'XDG_SESSION_TYPE'

Then the program exit.

Also I opened this extension in tweaks, but nothing happened.

That's all. Thank you.

Menu item not corresponding spacially

Hello!
finally someone tried again to giva a globalmenu to Gnome Shell, god bless you! Thank you so much!
Starting using it now, I have a couple of questions.

Firstly, I'm having some visual issues. The most important is that the menus don't always exactly correspond with the item I select, I'm having this problem especially with VLC, less on Libreoffice, wierdly. It seems like the menu items visible on the bar don't correspond spacially with the actual buttons (I attach an image, cannot see the cursor but it actually was on the "video" menu item, while the "subtitles" menu was appearing).

Schermata da 2020-11-27 14-53-44

Also I'm using the same Gnome-shell theme as in your screenshot, Yaru-dark, but I don't see the buttons as themed as yours. I don't know if this is relevant, I just say it because once, opening VLC, I saw the menu "yaru-themed" for some seconds and the buttons indeed seemed to correspond. I haven't been able to reproduce this again though.

Second thing, I cannot seem to have the HUD working, alt-space just opens the standard window menu. I'm mentioning this in case it could be related to the other issue, it's not really fundamental for me as I don't use this function so much.

BTW thank you so much again!

EDIT: well, while switching to VLC to take the screenshot actually the themed menu appeared again for some seconds and the menu items rightly corresponded. It's like something is drawing other menu items over the top bar, hiding the "right" ones.

Schermata da 2020-11-27 15-01-40

EDIT 2: If of any interest, I get this error in terminal :
(-c:21173): Gtk-WARNING **: 14:46:44.872: no trigger event for menu popup

vivaldi menu not working

Could it be possible to update this or is there something i'm doing wrong ? For example gimp or notepadqq are working fine
:)
Capture d’écran de 2021-02-14 17-18-26

Top menu does not appear anymore

Everything works except the top menu seems to not appear anymore. I am using the latest Manjaro Gnome. Is this a known issue?

Menu residuals after using the menu in LibreOffice

After I closed LibreOffice, it looks like the global menu got polluted with residuals from it. I can't see the menu of any other app when I hover the top bar and when I randomly click in the area where the menu was previously displayed, the menu under the cursor opens up (the menu I clicked on is still not visible).

To fix the issue I need to close LibreOffice at least once again (event though it's not running) through the Exit option in the File menu. Also the menu disappears after first use if I switch temporarily to another application.

I'm on Arch, Gnome Shell 3.38.4, LibreOffice Community 7.1.2.2.

Has anyone else observed the same in LibreOffice or other applications?

KeyError: 'XDG_SESSION_TYPE'

sudo ./run.sh brings this error:

./run.sh: line 3: [: =: unary operator expected
Traceback (most recent call last):
File "./command.py", line 7, in
from handlers.default import HudMenu
File ".../Fildem-master/handlers/default.py", line 16, in
from utils.menu import WindowActions
File ".../Fildem-master/utils/menu.py", line 10, in
from utils.window import WindowManager
File ".../Fildem-master/utils/window.py", line 18, in
backend = os.environ['XDG_SESSION_TYPE']
File "/usr/lib/python3.8/os.py", line 675, in getitem
raise KeyError(key) from None
KeyError: 'XDG_SESSION_TYPE'

after looking around i edit run.sh in this way:

#!/bin/bash

if [[ $XDG_SESSION_TYPE == 'x11' ]]; then
export UBUNTU_MENUPROXY=0; python3 ./command.py
else
export UBUNTU_MENUPROXY=0; export GDK_BACKEND=x11; python3 ./command.py
fi

but the error persist in part:

Traceback (most recent call last):
File "./command.py", line 7, in
from handlers.default import HudMenu
File ".../Fildem-master/handlers/default.py", line 16, in
from utils.menu import WindowActions
File ".../Fildem-master/utils/menu.py", line 10, in
from utils.window import WindowManager
File ".../Fildem-master/utils/window.py", line 18, in
backend = os.environ['XDG_SESSION_TYPE']
File "/usr/lib/python3.8/os.py", line 675, in getitem
raise KeyError(key) from None
KeyError: 'XDG_SESSION_TYPE'

Installation problem.

I am unable to install it correctly. I have followed all the instructions, but it still does not work in my system. Can you please make it little bit easy.
OS: Ubuntu 20.04 LTS

Firefox Oddities

Description

Here's how the global menu looks with Firefox, with the appmenu patch applied (firefox-appmenu on the AUR):
image
Clicking on "Label Empty" after some time reveals what should be in the menu bar: File, Edit, View, etc., each having their own additional dropdown.

Steps to reproduce

  1. Install firefox-appmenu from the AUR on Arch
  2. Run the run.sh script with the extension installed

Desired behavior

Global menubar should show File, Edit, View, etc. options directly.

Clarification needed

¿Does this work on vanilla GNOME Shell?

Arch Linux

(I ask, because I'm not getting the menu, even with run.sh, the stock bar with the clock and date just stays there)

Various python errors prevent run.sh from working

I tried running run.sh like stated in the readme, but there were errors. Here's the output of pyflakes, showing different errors and what not

./keybinder.py:4:1 'dbus' imported but unused
./utils/window.py:82:13 undefined name 'self'
./utils/window.py:83:4 local variable 'signal' is assigned to but never used
./utils/window.py:100:37 undefined name 'window_data'
./utils/window.py:100:18 undefined name 'window_data'
./utils/window.py:102:40 undefined name 'window_data'
./utils/menu.py:7:1 'gi.repository.Gio' imported but unused
./utils/menu.py:9:1 'gi.repository.GLib' imported but unused
./utils/menu.py:11:1 'utils.fuzzy.match_replace' imported but unused
./utils/menu.py:208:3 local variable 'signal' is assigned to but never used
./utils/menu.py:281:4 local variable 'e' is assigned to but never used
./utils/menu.py:318:3 local variable 'signal' is assigned to but never used
./utils/appindicator.py:8:1 'gi.repository.Gdk' imported but unused
./utils/appindicator.py:59:3 local variable 'ac' is assigned to but never used
./handlers/global_menu.py:10:1 'gi.repository.GLib' imported but unused
./handlers/global_menu.py:11:1 'gi.repository.GObject' imported but unused
./handlers/global_menu.py:13:1 'utils.service.BUS_NAME' imported but unused
./handlers/global_menu.py:13:1 'utils.service.BUS_PATH' imported but unused
./handlers/global_menu.py:14:1 'utils.fuzzy.FuzzyMatch' imported but unused
./handlers/global_menu.py:15:1 'utils.fuzzy.normalize_string' imported but unused
./handlers/global_menu.py:16:1 'utils.fuzzy.match_replace' imported but unused
./handlers/global_menu.py:234:3 local variable 'tstamp' is assigned to but never used
./handlers/global_menu.py:253:3 local variable 'tstamp' is assigned to but never used
./handlers/global_menu.py:319:3 local variable 'ac' is assigned to but never used

Only first item visible - "File" and often doesn't work at all

Hi,
This seems like a great extension but it doesn't seem to be working correctly for me.
It's truncated the application name text permanently, and only the first menu item is visible - ("File").
If I attempt to click on "File" I get an error in run.sh saying:

(-c:4904): Gtk-WARNING **: 19:12:18.007: Theme parsing error: gtk.css:6329:10: 'height' is not a valid property name
Gnome HUD: WARNING: () No menu items available!

It does not crash however - I wonder if it's some dependency issue or something as I am using arch. Sometimes it refuses to work altogether and cannot see any menu items or name truncation. Would love to see this working as I've migrated to GNOME from KDE due to significantly better touchscreen support and it's the one thing I'm missing.
Thanks!

Global Menu for Jetbrains Apps

Hi, AFAIK Jetbrains apps used to integrate with Jayatana in-order to work with vala-panel and etc, since last year they anounced NativeLinuxMenu in their experimental features that is enabled by default, meaning that they do export menu

But i couldn't get Jetbrains Apps Menus working with Fildem, It would be nice to get integrated and im looking forward to it

I also have to mention that Jetbrains Apps are not like other java apps that need Jayatana, they do export their menus themselves, i used to have global menus in xfce using vala-panel-appmenu and having vala-panel-appmenu-registrar

Way to support this project financially?

Great work! I want to see this project mature and be maintained well. I think there are many many other people who want that too.

So it would be great, if there was a way to support you, via Github sponsors, Patreon and the like.

thanks!

Traceback error when running run.sh

I've dowloaded the repo and moved [email protected] to my extensions folder, but wen i run ./run.sh i get a Traceback error form python that says:

"""
Traceback (most recent call last):
File "/home/bruno/globalmenu-gnome/Fildem/./command.py", line 6, in
from handlers.default import HudMenu
File "/home/bruno/globalmenu-gnome/Fildem/handlers/default.py", line 1, in
import gi
ModuleNotFoundError: No module named 'gi'
"""

I've tried to install these packages with pip, but had no success.

I'm using pop-os 20.10, gnome is 3.38.3

"""
❯ la ~/.local/share/gnome-shell/extensions/
total 28K
drwxrwxr-x 5 bruno bruno 4.0K Mar 20 10:18 [email protected]
drwxrwxr-x 4 bruno bruno 4.0K Mar 20 10:20 [email protected]
drwxrwxr-x 5 bruno bruno 4.0K Mar 20 13:42 [email protected]
drwxrwxr-x 3 bruno bruno 4.0K Mar 27 14:21 [email protected]
drwxrwxr-x 5 bruno bruno 4.0K Mar 26 12:15 floating-dock@[email protected]
drwxrwxr-x 6 bruno bruno 4.0K Mar 20 13:37 freon@UshakovVasilii_Github.yahoo.com
drwxrwxr-x 7 bruno bruno 4.0K Mar 26 08:42 [email protected]
."""

I need help

Please Help me

Hello please I'm new to linux OS, and and I'm using Ubuntu 20.04,
i will like to implement this global menu on my PC too, but i don't know where or how to start.

First i have installed all the extension in Issue #17
And i have cloned this repo into my pc.
I have also done that setup in the read me of this repo

what is the next thing i need to do so that menu will appear and start working.\

i will appreciate any help

thanks so much

Cannot make it on on TROMjaro

This is another machine I'm testing it on. TROMjaro is a customized Manjaro. So, Arch + Gnome.
I went through all of the install steps and I get this error:

[tio@tio-gl753vd Fildem-master]$ ./run.sh
Traceback (most recent call last):
  File "./command.py", line 6, in <module>
    from handlers.default import HudMenu
  File "/home/tio/Downloads/Fildem-master(1)/Fildem-master/handlers/default.py", line 13, in <module>
    from utils.fuzzy import FuzzyMatch
  File "/home/tio/Downloads/Fildem-master(1)/Fildem-master/utils/fuzzy.py", line 3, in <module>
    from fuzzysearch import find_near_matches
ImportError: cannot import name 'find_near_matches' from 'fuzzysearch' (unknown location)

Thing is, fuzzysearch is installed:

[tio@tio-gl753vd ~]$ sudo pip3 install fuzzysearch
Requirement already satisfied: fuzzysearch in /usr/lib/python3.8/site-packages (0.7.3)
Requirement already satisfied: attrs>=19.3 in /usr/lib/python3.8/site-packages (from fuzzysearch) (20.3.0)

Maybe I messed it up since I first installed via AUR from Pacman, then removed it and installed with pip3. How to fix? :D

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.