I've added the following line to the .bashrc
file:
alias midos="sh /home/erkanmdr/Belgeler/midos/midos.sh"
This command works fine in the terminal and tty. But not working in my .desktop shortcut file.
midos.desktop file:
[Desktop Entry]
Name=MiDoS
Exec=midos
Icon=/home/erkanmdr/Belgeler/midos-128.png
Terminal=true
How do I execute my midos
command in the .desktop shortcut file?
Exec=midos
withExec=sh /home/erkanmdr/Belgeler/midos/midos.sh
– c0rp Jul 16 '14 at 15:55sh
withbash
(alias midos="bash /home/erkanmdr/Belgeler/midos/midos.sh") – Sylvain Pineau Jul 16 '14 at 15:57