-
-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
HUD should be activated via a single press of the ALT key #1
Comments
@flexiondotorg, most certainly - I'll take a look at this! |
So as discussed in Slack, just get |
@flexiondotorg - I created #2 to address this issue. It allows the user to use I've traced the issue down to a section in the main event handler function of Marco, where the event window is not being detected properly for synthetic events coming from a different client, so Marco thinks it's a global shortcut, instead of a window shortcut. X wasn't really created with that use-case in mind, so the fix involves tricking the system into thinking that the event originated in a different window and that the previous grab never really happened. Compiz already does this, but the code is a huge ball of C++, so it's taking me a while to parse through all the cruft. I also suspect python-xlib is not entirely blameless, but I'd have to test the theory using a pure-C version of the global keybinder (i.e. brisk-menu). As soon as I have a fix for Marco, I'll send it in and proceed to update a bunch of MATE programs that use global keybindings (mate-menu, brisk-menu, mate-hud). Eventually I'd like to update the keybinder library to support modifiers-as-triggers (which then means I'll have to update all those programs again, but I'll take it one step at a time until then). Anyway, there you go 😛 |
Closed via 55f4cf4 |
@vkareh EDIT: You can ignore bellow 😅 . I realized that in dconf (first time using it), the Alt_L shortcut wasn't working because it MUST be P.S. waterfox 56.2.3 doesn't work but hey, not a big problem. A little background. I am on Kde Neon here, not mate... but hey! It works. I only needed to install @vkareh Ok... but let's say I DON'T want it to be JUST ALT. In my case I use alt for a lot of other shortcuts and that means I need to do alt + key*2 (the 2nd press of the key actually makes the shortcut behave). Even Also I did modify dpi a bit, |
@RaitaroH - hah, good thing you figured that out! Also, to fix the need to use double-keys for any |
@vkareh No... I think I didn't express myself well.
On another note, mate-hud crashes (process still running) from time to time... this IS REALLY BAD because the |
huh, interesting... Since X11 does not accept modifier keys as shortcuts (Alt is a modifier key) it has very strange behavior (like needing double-key presses: Alt+key+key). We therefore have those whitelisted keys. However, I have a feeling that |
@vkareh I see. I made a special shortcut that hopefully will kill mate-hud in case it crashes again. I mapped mate-hud to alt-space to avoid conflicts so hopefully that will be nice now. |
do let me know if it keeps crashing, especially if you can see any errors in your logs! we've discussed being able to use mate-hud in other desktop environments, so this could be useful :) |
|
Oh and... the autostart does not work on it's own. I needed to add it manually. |
This is MATE HUD, which provides a way to run menubar commands through
rofi
, much like the Unity 7 Heads-Up Display (HUD). It should feature in Ubuntu MATE 17.10 soon.However, to activate it I'm using keybinder 3.0 and the Ctrl + Alt + Space binding. The Unity 7 HUD is activated via a single press of the Alt key, much like how Super key works. Would you be interested in take a look to see if MATE HUD can be update to support activation via release of the Alt key with no other keys having been pressed while Alt was depressed?
You can test on a VM running Ubuntu MATE 17.10 daily.
mate-applet-appmenu
sudo apt-add-repository ppa:ubuntu-mate-deb/global-menu
sudo apt update
sudo apt install mate-hud mate-applet-appmenu
@vkareh Given you recent involvement I wondered if you might be able to take a look at this?
The text was updated successfully, but these errors were encountered: