You are not logged in.
Pages: 1
Hi,
I'm running xfce 4.14 on debian buster. This release of xfce is from MXLinux because the debian files required to generate xfce are too old. This mixed-up installation could make my question unanswerable here.
I set a keyboard shortcut (Super+A) to bring up the applications menu. But it always brings up the desktop menu instead.
The shortcut should run /usr/bin/xfce4-popup-applicationsmenu and I believe it does.
This shell script runs /usr/bin/xfce4-panel --plugin-event=applicationsmenu:popup:bool:$ATPOINTER || xfdesktop --menu
So it looks like xfce4-panel with the plugin-event is failing and so xfdesktop is invoked.
I can test this with /usr/bin/xfce4-panel --plugin-event=applicationsmenu:popup ; echo $? which returns 1.
There is a file /usr/share/xfce4/panel-plugins/applicationsmenu.desktop which I assume is relevant.
It contains:
X-XFCE-Module=applicationsmenu
X-XFCE-Internal=TRUE
X-XFCE-API=2.0
There is a directory /usr/lib/xfce4/panel-plugins but it is empty and pre-dates the 4.14 installation.
There is a directory /usr/lib/x86_64-linux-gnu/xfce4/panel-plugins and it does contain libapplicationsmenu.so which seems relevant.
If I click on "applications" in the panel I do get the proper menu. But if I run xfce4-popup-applicationsmenu I get the desktop menu. This seems wrong to me.
If I check Panel Preferences it just shows "Applications Menu" with no further info.
If I use Settings Editor->xfce4-panel it shows that plugin-1 is applicationsmenu but that is all.
Can anybody see what is wrong here or tell me how I can determine exactly what the mouse click does and how I can emulate this with a keyboard shortcut ?
Thanks,
Steven
Offline
See if ToZ's answer here solves this.
Offline
See if ToZ's answer here solves this.
Hi,
Thanks for the tip but no cigar I'm afraid.
In Panel Preferences if I hover on Applications Menu I get Internal Name: applicationsmenu-1.
But /usr/bin/xfce4-panel --plugin-event=applicationsmenu-1:popup ; echo $? still gives me 1 and no display.
I've just tested with other xfce4-popup-* scripts and they all fail. It looks like my xfce4-panel has problems with all plugin-event operations.
One clue might be that when I use the keyboard to popup the menu the button on the panel darkens. When I try again the button stays dark and the desktop menu appears. To lighten the button I have to click it to popup the menu and then click again to remove it.
Cheers,
Steven
Last edited by phelum (2020-12-05 23:04:40)
Offline
I wonder if ToZ's bug report has anything to do with this.
EDIT: The proper link for that bug report is now here: https://gitlab.xfce.org/xfce/xfce4-panel/-/issues/201
Last edited by MrEen (2020-12-05 23:31:36)
Offline
I wonder if ToZ's bug report has anything to do with this.
Yes, I think it's definitely relevant.
I'll leave this problem for now because I doubt most users will see it because they will always use the mouse. I can't get Super by itself to bring up the menu (probably it is regarded as a modifier key and ignored when not with a normal key) and so most ex-Windows users will resort to the mouse. This makes my shortcut Super+a somewhat useless.
Thanks for all your help here.
Cheers,
Steven
Offline
I'm using an almost 4 year old OS, so things may have changed, but I stay away from the Super key for shortcuts. Of the 4 default uses of the Super key, only 2 work, Super_L pops up WhiskerMenu and Super+P pops up the Display properties window. Super+D is supposed to show the desktop and Super+Tab should switch windows, but neither of those work for me on Mint 18.3
Just wanted to throw that out there as I've seen many others post issues when the Super key is involved in shortcuts.
Offline
Forgot about that bug report. Just tested it again now and it works (I'm running the latest git version of Xfce). The pointer parameter (-p) doesn't though (see https://gitlab.xfce.org/xfce/xfce4-panel/-/issues/297).
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Pages: 1
[ Generated in 0.009 seconds, 7 queries executed - Memory usage: 546.16 KiB (Peak: 547.01 KiB) ]