Xfce Forum

Sub domains
 

You are not logged in.

#1 2025-03-14 07:40:00

D.dave
Member
Registered: 2019-12-06
Posts: 92
LinuxFirefox 136.0

Remove "Log Out" from the context menu of the panel?

This one:
8QX4.png

I've already found two instructions:
https://bbs.archlinux.org/viewtopic.php?id=257451
https://wiki.xfce.org/howto/customize-m … _menu_file

To summarize:
I opened /home/dave/.config/menus/xfce-applications.menu and I removed every reference to "Log Out" (except the one for the Whisker Menu)
Saved the file, and executed xfce4-panel -r

But such logout as shown in the image, is still present.
Am I miss something? There is another method?

Thank you.


OS: Manjaro x86_64
DE: Xfce 4.20

Offline

#2 2025-03-14 17:20:29

k3dAR
Member
From: Czech Republic
Registered: 2022-07-27
Posts: 109
LinuxChrome 134.0

Re: Remove "Log Out" from the context menu of the panel?

Don't thing editing ~/.config/menus/xfce-applications.menu help you, this file is used for Applications panel applet or Application in right-click-on-desktop context menu, maybe for xfce4-appfinder, but not for xfce4-panel menu on your screenshot, this be i think defined in source code of xfce4-panel

Added later 04 min 14 s:
i think this is part in source code for adding Log out item:
https://gitlab.xfce.org/xfce/xfce4-pane … eads#L1331

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.020 seconds, 7 queries executed - Memory usage: 522.98 KiB (Peak: 529.99 KiB) ]