2

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.

0 Answers0