Xfce Forum

Sub domains
 

You are not logged in.

#1 2024-07-19 18:35:31

Clio
Member
Registered: 2011-01-25
Posts: 102

[solved] custom-actions with submenu

Hello all,

My system: Debian Sid Kernel 6.1.98
Xfce Vers. 4.18
Thunar Vers. 4.18.8

I have set up the mounting of usb devices without gvfs and udisks2 in the custom-actions in thunar. All devices have labels and can therefore be clearly assigned.
I have used the option of submenus and this also works without errors. If you look at the screenshot 1, you can see all the functions such as mount and umount and the device names.
Unfortunately, however, no name is assigned to the main action or the top hierarchy. The field remains empty, only the cursor makes the action visible.
Is it possible to assign a name to this main action as well?
The screenshot 2 for such a user action stands for all other actions in this area. 

Info: I actually use spacefm with udevil as my main file manager on xfce. Therefore I do not want any additional gvfs and udisks2 on my system, because spacefm does not use these programs.
Unfortunately thunar can't handle udevil, hence this way via a custom action.

Thanks for a hint if my 'cosmetic problem' can be solved.   

1)
https://www.directupload.eu/file/d/8620 … ys_png.htm

2)
https://www.directupload.eu/file/d/8620 … fc_png.htm

Last edited by Clio (2024-07-20 16:42:13)

Offline

#2 2024-07-19 19:09:50

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

Re: [solved] custom-actions with submenu

If you remove the forward slash before the submenu name it should appear again. However, I'm not able to nest submenus. Does nesting work for you?

Edit: I got submenu nesting to work - you need to specify the full path to the submenu in the one field. For example:

Level0/Level1/Level2

Last edited by ToZ (2024-07-19 21:09:51)


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 2024-07-20 12:38:16

Clio
Member
Registered: 2011-01-25
Posts: 102

Re: [solved] custom-actions with submenu

Hello ToZ,
thank you for your answer. I have added a better screenshot, which you can enlarge.
Yes, the nesting works for me. But I didn't understand your reference to the levels or complete paths. Unfortunately, your example doesn't help me either.
Which paths are meant? /media/Backup or /usr/bin/thunar or the user's home? I do not understand it.
Maybe you can explain it again.

https://imgur.com/a/SHzVgu6

Offline

#4 2024-07-20 14:38:40

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

Re: [solved] custom-actions with submenu

Where you have "/mount", in the custom action properties (for the submenu entry) you need to have something before the slash. For example:

Backup/mount

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 2024-07-20 15:13:11

Clio
Member
Registered: 2011-01-25
Posts: 102

Re: [solved] custom-actions with submenu

Dear ToZ,
that was the solution!
Thank you very much for that!

This is how it looks now:
https://imgur.com/a/QVQM3vm

Geräte is german for devices...

kind regards
Clio

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.014 seconds, 9 queries executed - Memory usage: 534.91 KiB (Peak: 535.75 KiB) ]