hardpixel / gnome-hud Goto Github PK
View Code? Open in Web Editor NEWUnity like HUD menu for the GNOME Desktop Environment using rofi menu.
License: GNU General Public License v3.0
Unity like HUD menu for the GNOME Desktop Environment using rofi menu.
License: GNU General Public License v3.0
https://github.com/p-e-w/plotinus
A lot of gnome 3 applications are beginning to move options out of the main menu-bar. The plotinus program is able to collect all actions exposed via dbus. Seems like it would be a good idea to concatenate ALL actions, not just those in the menu.
It should work like a menubar, but it should be activated on mouse-over OR on click, to improve usability. In order for the menubar to be activated on mouse-over, the cursor must move after the HUD is opened. This is to avoid accidental activation of the menubar by a cursor that happens to be positioned in the area where the HUD draws the menubar. This is the process:
Alternately, upon opening the HUD, the cursor can be made to jump to a specific location near the HUD popup but not directly over the menubar area. Below, the cursor is configured to jump just beyond the upper-left hand corner of the HUD:
The menus should always close when the user starts typing, to minimize interference with the search interface.
There should be a config option (in some file) to disable the activate on hover functionality and just use activate on click (like a regular menubar). If cursor jumping is used in the solution, there should be an option to disable that as well.
The solution should be implemented for both X11 and Wayland (Wayland solution will be compatible with Gnome Shell only).
Will this work with the appmenu-gtk modules?
I'm trying to use gnome-hud with 2 monitors, and when pressing Ctrl + Alt + Space to open the GTK3 menu dialog, it's shown about 90% on my left (secondary) monitor, while the rest is displayed on the right monitor. This happens the same each time, no matter where the focused window (the window who's menus I want to search) is positioned.
Screenshot: https://i.imgur.com/yNhnec0.jpg (as you can see, it covers the dock on the right-hand side monitor).
This bug does not occur when using gnome-hud with rofi.
I'm using Ubuntu 18.10 with Gnome Shell 3.30.1 and the latest gnome-hud 1.3.0.
https://gitlab.com/lestcape/Gnome-Global-AppMenu/issues
Gnome shell has some serious issues with lagging and any menu applet that is integrated into the shell is going to be slow to the point of being unusable. For example the lestcape's global menu applet is slow to open, slows down the activities preview, and freezes the shell and/or application interface while the menu is being drawn and may cause the entire shell to hang. This is inherent in Gnome 3 so there is no way around these problems.
It will also fail to work on certain applications, meaning that you end up with menu bars in different places, resulting in lots of inconsistency.
I therefore recommend releasing a simple searchable menu that doesn't attempt to draw any menus in the panel. Will you consider just releasing a cross-platform HUD that depends on rofi and nothing more? Simpler to develop and much simpler to maintain.
Edit: can't you just run vala panel + hud on top of gnome shell? You'd just have to place it on top of gnome panel.
I'm currently running Gnome 3.32 on Fedora 30 on Wayland and when I try running gnomehud I get an error:
** (-c:4381): WARNING **: 00:35:03.461: Binding 'space' failed!
Any ideas what might be wrong? Ctrl + alt + space combo isn't bound to anything.
Hi,
I just found out about this very cool application! I have two questions/issues though:
<Ctrl><Alt>Space
?Thanks!
How do you get started?
Only the Quit menu is displayed. Would bu nice to see the errors (if any) if I run it from command line
I am using it with Fedora 28/ i3wm
This will allow the program to be used as a complete replacement for the menubar.
As discussed here:
https://wiki.gnome.org/Design/Playground/HUD
Or is this the code for the basic HUD:
https://extensions.gnome.org/extension/1250/gnome-global-application-menu/
This is a question, as this is not an issue with gnome-hud itself, but it is related to its setup.
After setting up gnome-hud in Ubuntu (and installing its dependencies), I no longer get a menu in Qt application windows (I've observed this with VLC and VirtualBox, I'm not sure if it affects Qt4 apps too). I get this error when running VLC, after setting up gnome-hud:
$ vlc
VLC media player 3.0.4 Vetinari (revision 3.0.4-0-gf615db6332)
[0000560cb0969630] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
Failed to unregister window menu, reason: org.freedesktop.DBus.Error.UnknownMethod ("Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/dbus/service.py", line 654, in _message_cb
(candidate_method, parent_method) = _method_lookup(self, method_name, interface_name)
File "/usr/lib/python3/dist-packages/dbus/service.py", line 246, in _method_lookup
raise UnknownMethodException('%s is not a valid method of interface %s' % (method_name, dbus_interface))
dbus.exceptions.UnknownMethodException: org.freedesktop.DBus.Error.UnknownMethod: Unknown method: UnregisterWindow is not a valid method of interface com.canonical.AppMenu.Registrar
")
[0000560cb09fedc0] main playlist: playlist is empty
Failed to unregister window menu, reason: org.freedesktop.DBus.Error.UnknownMethod ("Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/dbus/service.py", line 654, in _message_cb
(candidate_method, parent_method) = _method_lookup(self, method_name, interface_name)
File "/usr/lib/python3/dist-packages/dbus/service.py", line 246, in _method_lookup
raise UnknownMethodException('%s is not a valid method of interface %s' % (method_name, dbus_interface))
dbus.exceptions.UnknownMethodException: org.freedesktop.DBus.Error.UnknownMethod: Unknown method: UnregisterWindow is not a valid method of interface com.canonical.AppMenu.Registrar
")
QObject::~QObject: Timers cannot be stopped from another thread
Do you know a way to get the menu back in Qt applications or what could be causing this?
I love this approach and I miss HUD so much. It was the best feature in linux at that time...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.