Re: [Trisquel-users] Executable script won't execute in panel

2015-10-22 Thread moxalt
> it's silly to have more lines in the license than the script itself... So GNU Hello basically.

Re: [Trisquel-users] Executable script won't execute in panel

2015-10-21 Thread gnuser
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

Re: [Trisquel-users] Executable script won't execute in panel

2015-10-20 Thread jbar
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

Re: [Trisquel-users] Executable script won't execute in panel

2015-10-20 Thread gnuser
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

Re: [Trisquel-users] Executable script won't execute in panel

2015-10-16 Thread gnuser
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

Re: [Trisquel-users] Executable script won't execute in panel

2015-10-16 Thread t8mf4nu6lizp
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.

Re: [Trisquel-users] Executable script won't execute in panel

2015-10-16 Thread keiseiyamashita
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.

Re: [Trisquel-users] Executable script won't execute in panel

2015-10-15 Thread keiseiyamashita
What do you have in your command box for launching the script?

[Trisquel-users] Executable script won't execute in panel

2015-10-15 Thread gnuser
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

Re: [Trisquel-users] Executable script won't execute in panel

2015-10-15 Thread keiseiyamashita
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?

Re: [Trisquel-users] Executable script won't execute in panel

2015-10-15 Thread gnuser
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.

Re: [Trisquel-users] Executable script won't execute in panel

2015-10-15 Thread t8mf4nu6lizp
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.