This question already has an answer here:
When I enter this command in a terminal window, it works as expected:
But it is ineffective when used in a bash script run via a .desktop file.
What can I do to use it like that?
This command (supposed to mount a connected device in the specified folder) is preceded by
mkdir -p "/home/sadi/mnt", and followed by
nautilus --no-desktop --new-window "/home/sadi/mnt" both of which work perfectly both in terminal and in bash script.
type ifuse output =
/home/sadi/usr/bin/ifuse and I have this in my