If I directly put this command on terminal he works →
Code: Select all
$ bash -x /home/joao/.config/tempo.sh
Code: Select all
[Desktop Entry]
Name=Tempo-Chaves
Exec=bash -c /home/joao/.config/tempo.sh
Comment=
Icon=
NoDisplay=false
Type=Application
Terminal=true
Categories=Utility;
Code: Select all
#!/usr/bin/env bash
curl https://wttr.in/chaves
If you have time please take a look on my questions about it in other forums and see all modifictations that I already do on script, on Exec line of launcher and in the sintax of script code or launcher →
https://www.linuxquestions.org/question ... ost6074945
https://ubuntuforums.org/showthread.php ... st13922693
https://gnulinuxvagos.es/topic/9846-com ... ia-script/
I use lxmenu editor to put the launcher inside menu of LXDE directly → http://lxmed.sourceforge.net/
I have other scripts that work well as menu launcher like a compton launcher (activate)→
Code: Select all
#!/bin/bash
compton -c -r 16 -l -24 -t -12 -G -b