You are not logged in.
More of an autism thingy than a real issue, but is it possible to remove those options from the right-click panel submenu?
Offline
Some info here:
https://wiki.xfce.org/howto/customize-menu
add:
I'd probably go for the option of copying the default menu to my local user and change in panel settings to use the local modified menu. All to keep installed files as they are.
Last edited by TheSgtBilko (2020-07-18 19:06:58)
Offline
That works for the application menu, but not for the panel menu. Dunno, maybe it's hard coded.
Offline
Shouldn't it work when you edit the according .desktop files?
https://wiki.xfce.org/howto/customize-m … nu_entries
Offline
It's hardcoded. Check out panel-window.c around line 3000 from the xfce4-panel source code. You'd have to modify the code and rebuild the package to remove it.
Offline
I just tested following: https://wiki.xfce.org/howto/customize-m … _menu_file
Create "menus" folder under your users ".config" folder
Copy /etc/xdg/menus/xfce-applications.menu to the newly created menus folder.
In the copied file, remove the lines in first "Layout" section for: xfce4-about.desktop and xfce4-session-logout.desktop
Seems to work fine!
To temporarily revert, rename the new file.
To permanently revert, remove the new file.
Offline
It's hardcoded. Check out panel-window.c around line 3000 from the xfce4-panel source code. You'd have to modify the code and rebuild the package to remove it.
AFAIU (the link I posted earlier) it can be masked by dropping edited (NoDisplay=true) .desktop files in ~/.local/share/applications.
Last edited by ondoho (2020-07-20 22:17:46)
Offline
Maybe i'm wrong, but isn't OP referring to right-clicking the xfce4-panel, then under the Panel submenu:
OP, you need to post a screenshot of what you're talking about.
Offline
Yes, that's exactly what I'm talking about.
Offline
Oh ok I misunderstood!
Well maybe the previous info is valid in a different use case ![]()
Offline