I am working on a desktop shortcut for my users that will ask for a password and decrypt all files in a specific directory. I am using Ubuntu 20.04. I have a .desktop file written:
[Desktop Entry]
Name=Decrypt Files
Exec=gnome-terminal --working-directory="/home/user/Desktop/Encrypted Files" -- ccrypt -d `ls`
Terminal=False
Icon=utilities-terminal
The .desktop file is located in the users' ~/Desktop directory, and has been made executable with chmod +x decryptfiles.desktop
. But this file does nothing when clicked on. There is no option to 'allow launching' when right clicked.
How do I create a desktop icon which launches a terminal program in Ubuntu 20.04?
I have a test environment that I can use graphical applications to test, but for the final product I can only work in a terminal. This is because I am using Cubic to create a custom .iso.
Terminal=False
toTerminal=True
to have it run in the terminal. – Terrance Jun 15 '21 at 00:35gnome-terminal
takes care of that. – ambitiose_sed_ineptum Jun 15 '21 at 03:52;$SHELL
to the end of your command to keep the terminal open. – Terrance Jun 15 '21 at 13:06;$SHELL
will allow you to see if it actually ran properly. – Terrance Jun 15 '21 at 14:31The desktop file does not run at all, that is my only question.
– ambitiose_sed_ineptum Jun 15 '21 at 14:40Version=1.0
andType=Application
, which if you look in your linked answer those lines are there as well. – Terrance Jun 15 '21 at 14:44