I start music or video with right click and "open with" in thunarThunar (xfceXfce). For every entry, there is a *.desktop*.desktop file in ~/.local/share/applications/~/.local/share/applications or /usr/share/applications/usr/share/applications. I want to start an application with a pipe and save the output in a file.
This works in terminal:
mpv file.mp4 > log 2>&1 But that doesn't work when iI add the same line to the desktop file:
Exec=mpv file.mp4 > log 2>&1 The file is started, but there is no output. How can iI do this? Is there something special when using desktop files? also starting with terminal=trueterminal=true, but that don'tdidn't work.