Originally Posted by
victorhooi
I am trying to write a simple wrapper around FreeRDP, so that a user can launch this when double-clicking on it within Ubuntu (GNOME).
However, double-clicking on either a Bash shell script, or .desktop file no longer seems to work in Ubuntu.
Is this intended behaviour?
(There's a discussion of this
https://askubuntu.com/questions/1184...-desktop-files - apparently it broke in Ubuntu 19.10, and hasn't been fixed since?)
Is there any way to get it working, or some way to run a command in a script file, by double-clicking on it within Ubuntu?
Double click script works here (if you set preferences in nautilus and of course set file to executable) but .desktop files don't. Ubuntu 20.04. One alternative is to use nemo as your file manager. Install nemo and run this in the terminal
Code:
xdg-mime default nemo.desktop inode/directory application/x-gnome-saved-search
To reverse, go to ~/.config/mimeapps.list and remove this line in the [Default Applications] section.
Code:
inode/directory=nemo.desktop
If you find that nemo doesn't refresh itself as I have in one of my laptops, add this line to /etc/sysctl.conf and reboot
Code:
fs.inotify.max_user_watches=524288
Bookmarks