Im using an .desktop file to launch an .sh file that launchs multiple programs.So i want to open a .png file with the .sh file, but i use some terminal commands and it dont show it. Here is an example of the .sh file im using:
!/bin/sh
start four terminal sessions in the background
gnome-terminal
gnome-terminal
gnome-terminal
/directory/pngfile.pngI also used:
mirage pngfile.pngSorry for my bad english, im from South America
So, how can i open an .png file with an .sh file?
61 Answer
The answer for my question is to use:
cd /directory/
eog pngfile.pngeog is a real image viewer. One hour looking the answer myself.
This also works:
xdg-open pngfile.pngmuru gave me this command.
3