Skip to content

Allow UCA in drag and drop menu

Submitted by bru..@..il.com

Assigned to Xfce Bug Triage

Link to original bug (#16100)

Description

Allow User Custom Actions for the right click drag menu.

This would require making new % replacements. Here are examples, the letters are debatable.

%l -> The last full path of the first selected file %L -> The last full path of the all selected files (separated by spaces and their own spaces escaped) Optionally, also this: %g -> The directory containing the file passed in %l %G -> The directory containing the files passed in %l

If the nodes are not moved, these options still appear and these substitutions behave the same as their counter-parts %f, %F, %d, %D.

%G is only there for completions sake... It can easily make no sense at all as %G and %g are exact same.

As for deciding if this UCA appears in the drag and drop menu, just search if any of %g, %G, %l, %L are used... At least, as a first intention. There can also be a hidden option about this for whoever wants to customize.

In my use-case, I'd to order a compression of files from one directory to another (In this case, essentially, reducing the total time it takes and possibly not having to have a copy of the same on disk)