4

I have a simple script I want to be able to run from a Desktop entry on Ubuntu 19.10. I followed these directions and created a .desktop file but I'm getting an error saying it is invalid. Here is the error

enter image description here

Here is the script

#!/usr/bin/env bash
lsusb
read -p ""

And here is the .desktop file:

[Desktop Entry]
Name=lsusb
Comment=Comment
Exec=/home/user/lsusb.sh
Terminal=true
Type=Application 
Icon=

Did I miss something?

Kulfy
  • 18,154
flashburn
  • 213
  • 1
  • 3
  • 6

1 Answers1

5

From comments:

The error was because of extra whitespace after Application in Type key. It seems Application (notice the extra whitespace) isn't an identified value for Type key in desktop entry.

Kulfy
  • 18,154