Sample Header Ad - 728x90

Dolphin service menu to run konsole command with copied data in working directory

0 votes
1 answer
120 views
I would like to combine these two elements that I already use: - Konsole terminal running a yt-dlp command in order to download from a copied link (like konsole -e yt-dlp 8 %u) - A Dolphin service menu to open Konsole at a specific location (konsole --workdir %f) I would like a Dolphin service menu to open Konsole at a specific location AND run the yt-dlp command. enter image description here I need that when I quickly want to run that command on a USB-stick or other removable device, without the need to manually copy its location or of copying the file there after download, etc. How to combine the %f and/or %u parameters here? After --workdir they are referring to the directory that is open in Dolphin, and after yt-dlp they are referring to the copied download link, so that a line like Exec=konsole --workdir -e yt-dlp 8 %u doesn't work.
Asked by cipricus (1779 rep)
Nov 27, 2023, 10:09 AM
Last activity: Nov 27, 2023, 10:22 AM