I am running with
vanilla-gnome-desktop, using GNOME Classic on Ubuntu 18.04.
When pressing Super and entering
KeePass plus Enter, the
~/Desktop/KeePass.desktop file is opened in an editor (
gedit in my case). Curiously when - after enabling showing of the desktop symbols (
gsettings set org.gnome.desktop.background show-desktop-icons true) - I double click the very same item on the desktop, the application opens as expected. While showing up in the launcher, the
.desktop file is shown with the proper app icon (just like on the desktop itself) and it shows up with the path to
~/Desktop (expanded, though).
What gives? And how do I get the launcher to invoke the program described by the
Possibly relevant information:
$ cat ~/Desktop/KeePass.desktop |sed 's|'$(whoami)'|username|g' #!/usr/bin/env xdg-open [Desktop Entry] Version=1.0 Type=Application Terminal=false Icon[en_US]=/home/username/bin/KeePass/KeePass_icon.png Exec=mono /home/username/bin/KeePass/KeePass.exe Name[en_US]=KeePass Name=KeePass Icon=/home/username/bin/KeePass/KeePass_icon.png X-Desktop-File-Install-Version=0.23
$ ls -l bin/KeePass/KeePass.exe Desktop/KeePass.desktop |sed 's|'$(whoami)'|username|g' -rwxr-xr-x 1 username username 3315280 2019-09-22 21:27 bin/KeePass/KeePass.exe -rwxr-xr-x 1 username username 302 2019-09-22 21:27 Desktop/KeePass.desktop
desktop-file-validate Desktop/KeePass.desktop comes back empty with 0 exit code. As far as I recall I used
desktop-file-edit to initially create said
.desktop file, but I had added
mono to the
Exec line so as to not confuse the system, because I am also using Wine and Crossover for certain applications.