Xfce Forum

Sub domains
 

You are not logged in.

#1 2023-07-25 21:10:37

mfischer
Member
Registered: 2023-07-25
Posts: 5

Modify xfdesktop --menu behavior

I would like to customize the entries displayed via `xfdesktop --menu`.

I am NOT referring to the Application Menu, I refer to the entries which appear _above_ "Applications" - the "Open in New Window" down through "Properties".

Google has failed me here - everything ultimately refers back to https://wiki.xfce.org/howto/customize-menu, which is addressing a different question.

`strace` didn't give me any hints either (though I may be blind or ignorant here smile )

Can this be done?

Any suggestions?


TIA

Offline

#2 2023-07-25 22:29:47

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: Modify xfdesktop --menu behavior

Yes and no. Settings Manager > Desktop > Menu - the top half is where can configure some of the options, like displaying the applications menu. Some of the other options may be thunar custom actions - you can disable those in thunar. The rest are hard-coded.

If you set Icon Type to None (on the Icon tab in the same dialog) and disable the application menu, then you won't get anything to display on a right click.


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

#3 2023-07-26 01:16:34

mfischer
Member
Registered: 2023-07-25
Posts: 5

Re: Modify xfdesktop --menu behavior

Well darn.

By "hard-coded", you mean in the C source?

Is there a way to create a completely custom menu, and bind it to mouse/keyboard actions? (as fvwm and I _think_ openbox can do)
If so, then I'd just unset the right-click and keybindings for popping up the standard menu.

TIA.

Offline

#4 2023-07-26 14:45:52

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: Modify xfdesktop --menu behavior

mfischer wrote:

By "hard-coded", you mean in the C source?

Yes.

Is there a way to create a completely custom menu, and bind it to mouse/keyboard actions? (as fvwm and I _think_ openbox can do)
If so, then I'd just unset the right-click and keybindings for popping up the standard menu.

I don't know, honestly. Maybe you could look into dmenu or possibly using zenity/yad to create some sort of menu that you can manipulate and use instead of the default one.


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

#5 2023-07-26 21:39:42

mfischer
Member
Registered: 2023-07-25
Posts: 5

Re: Modify xfdesktop --menu behavior

Thanks - I'll look into those.

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.012 seconds, 7 queries executed - Memory usage: 533.32 KiB (Peak: 534.16 KiB) ]