You are not logged in.
I write a lot of scripts, and somehow seem to have messed something up today, or maybe when I updated or something.
I did some googling, but couldn't find any solution that really works for me.
I really don't want to have to make a desktop file for each script.
tried chmod -x.
made sure they are executable in properties.
even went as far as editing ./config/mimeapps.list
no luck
any help is appreciated.
-- Moved here from "Scripts etc", which is not a place for help requests --
Last edited by damo (2020-04-01 00:04:55)
Offline
Have you put them in ~/bin?
Offline
" shell script opens in (some other thing)" - is not very descriptive of your problem ![]()
...
any help is appreciated.
What have you done to your system today?
How are you starting the scripts? What commands are you using when trying to start them in a terminal?
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
tried chmod -x.
made sure they are executable in properties.
even went as far as editing ./config/mimeapps.list
This sounds like you are running them by klicking them in your graphical file-manager.
If you instead open an terminal and run them, you would get usefull information.
// Regards rbh
Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu
Offline
tried chmod -x
That means you are removing the executable bit.
Try
chmod +x somefileOffline
Have you put them in ~/bin?
No the scripts should not be in ~/bin
These are scripts I wrote for some c++ debugging stuff (to make things a little easier for me)
" shell script opens in (some other thing)" - is not very descriptive of your problem
qwerty wrote:...
any help is appreciated.What have you done to your system today?
How are you starting the scripts? What commands are you using when trying to start them in a terminal?
When I right click it shows open in bl-text editor (which is what it opens in) I think this is somehow the problem?
apt-get update, apt-get full-upgrade
more specifically updated the bunsen labs keyring so I can get bl updates
qwerty wrote:tried chmod -x.
made sure they are executable in properties.
even went as far as editing ./config/mimeapps.listThis sounds like you are running them by klicking them in your graphical file-manager.
If you instead open an terminal and run them, you would get usefull information.
Yes. They should be clickable in file manager.
If I run in terminal it just runs the script as it should. What kind of info should I be seeing?
qwerty wrote:tried chmod -x
That means you are removing the executable bit.
Trychmod +x somefile
oops typo. I wrote - instead of + for some reason
Offline
...
Yes. They should be clickable in file manager.If I run in terminal it just runs the script as it should. What kind of info should I be seeing?
...
That is the information that we needed.
Have you googled for eg "thunar execute script?". The first hit gives a possible answer, as described here: https://docs.xfce.org/xfce/thunar/hidden-settings
You need to set /misc-exec-shell-scripts-by-default to true.
See what the thunar settings are with
xfconf-query -l -c thunarIf you don't see /misc-exec-shell-scripts-by-default then close thunar completely and set the value:
thunar -q
xfconf-query --channel thunar --property /misc-exec-shell-scripts-by-default --create --type bool --set trueBe Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
qwerty wrote:...
Yes. They should be clickable in file manager.If I run in terminal it just runs the script as it should. What kind of info should I be seeing?
...That is the information that we needed.
Have you googled for eg "thunar execute script?". The first hit gives a possible answer, as described here: https://docs.xfce.org/xfce/thunar/hidden-settings
You need to set /misc-exec-shell-scripts-by-default to true.
See what the thunar settings are with
xfconf-query -l -c thunarIf you don't see /misc-exec-shell-scripts-by-default then close thunar completely and set the value:
thunar -q xfconf-query --channel thunar --property /misc-exec-shell-scripts-by-default --create --type bool --set true
Thank you so much!
Offline