Hello friends I have a question that at this time I can't find the solution about why this script work if I put the command path in terminal but dont work when I try to launch as launcher menu.
I also put this same question on this forum but we cant find a solution → https://www.linuxquestions.org/quest...er-4175667112/
The scritp is a simple script that I use to see weather directly on terminal and I use curl command to connect to the wttr.in service and put the data of weather on terminal.
This is the script →
Code:
#!/usr/bin/env bash curl https://wttr.in/chaves
I put this code script on a file in one path → /home/joao/.config/tempo.sh
If I launch it directly on terminal (open lxterminal and put /home/joao/.config/tempo.sh) he works
But when put this as a launcher on menu when I click on th icon menu only opens the terminal and do nothing.
I already try many combinations of code in the launcher file and never works.
Example →
Code:
[Desktop Entry]Name=tempo
Exec=bash -c /home/joao/.config/tempo.sh
Comment=
Icon=
NoDisplay=false
Type=Application
Terminal=true
Categories=Utility;
Code:
[Desktop Entry]Name=tempo
Exec=lxterminal -x sh -c "/home/joao/.config/tempo.sh; read foo"
Comment=
Icon=
NoDisplay=false
Type=Application
Terminal=true
Categories=Utility;
I already see permissions to execute and read file etc ...
Never works.
Thaks for any help.
Bookmarks