> it's silly to have more lines in the license than the script itself...
So GNU Hello basically.
I can agree with the principle, but i think it's silly to have more lines in
the license than the script itself...
I will probably go with the do what the fuck you want license :P
GNUser said: "anyone feel free to use my script it you need/like it :)"
I know that's a small script, but it's a good habit adding a free license to
it
https://www.gnu.org/licenses/license-recommendations.html
Thanks to everyone who replied!
Well, I am not sure what happened, I tried lembas' suggestion, bash -c
/path/to/script, and it gave me an error, I went around a few tries and
eventually got it to work.
For someone going through the same: I think the problem is I hadn't made the
script
Not really. It runs the script when I double click the file, but if I drag
the file to the lower panel, creating a "shrotcut", clicking it will just
open gedit.
I can't believe I will really have to put my scripts into a specific folder
in linux (which I forgot which one, will have to
It's probably best you set the pref to "ask".
One way is to use bash -c "path/to/script" as the target of the shortcut.
Instead of dragging the file there, try right-clicking on the panel itself
and creating a custom launcher. You should use the path to your script as the
command. That is what works for me. Other than that, I'm not sure what could
be different in our set-ups.
What do you have in your command box for launching the script?
Hey.
I made this script:
"
#!/bin/bash
# this script will automatically turn touchpad clicks on and off
if [ "$(synclient -l | grep 'TapButton1' | awk '{print $3}')" == 0 ];
then
synclient TapButton1=1
else
synclient TapButton1=0
fi
"
When I was using debian, I just made the script executable
I just created a script to test this out and it works fine. I assume you are
using something close to Trisquel's default GNOME 3 configuration?
Thanks for the help.
Indeed, I am using the standard Trisquel DE, gnome 3 fallback mode.
I just right clicked the script file, permissions, allow this to be run as
executable. But I can only execute it from the terminal.
If i double click it or try to use it from a launcher, it opens in gedit.
Does this help?gsettings set org.gnome.nautilus.preferences
executable-text-activation launch
Now be careful because you now run scripts when you double click them.
12 matches
Mail list logo