I have a
.desktop file to start Youtube-Viewer which is an application that runs in terminal.
The command to use is something like
It works when I fire that in a terminal, but I want to add it in a
.desktop file (and put that in
~/.share/applications). In Linux Mint, which I use in parallel, a such desktop file works:
[Desktop Entry] Name=Youtube-viewer Exec=bash -c 'youtube-viewer --video-player=mplayer' Icon=youtube-viewer Terminal=true Type=Application Categories=AudioVideo;Player;Recorder;
But that does not work as it should in elementary OS, it just does nothing.
What am I missing here?
I don't know why the line
Exec=bash -c 'youtube-viewer --video-player=mplayer' isn't working, but what works is
Exec=pantheon-terminal -e 'youtube-viewer --video-player=mplayer'.
A script like
#!/bin/bash bash -c 'youtube-viewer --video-player=mplayer'
But this works:
#!/bin/bash pantheon-terminal -e 'youtube-viewer --video-player=mplayer'