I don't get itI was leaning more towards, opening the directory up in a file manager and double click on the .sh file. Hence the screenshot and not a set of instructions.
I don't get itI was leaning more towards, opening the directory up in a file manager and double click on the .sh file. Hence the screenshot and not a set of instructions.
And that's what I was afraid of. Which is why I went as simplest as I know how. If you're lost as to the instructions we have given, I suggest you learn/look up how to run/start scripts and/or executable files within linux. Once you know how to do that, come back here.I don't get it
When he clicks on the .sh file in file-explorer, his text editor will probably open and display the script (as in most cases).And that's what I was afraid of. Which is why I went as simplest as I know how. If you're lost as to the instructions we have given, I suggest you learn/look up how to run/start scripts and/or executable files within linux. Once you know how to do that, come back here.
#!/bin/shWhen he clicks on the .sh file in file-explorer, his text editor will probably open and display the script (as in most cases).
ebenammi's answer works - however, this requires that you know how to open a terminal in the folder or navigate there to execute the script, which must also have the appropriate permissions to be executed and so on and so forth.
Yes, and? Could you finally run it?
That doesn't work. Please do yourself a favor and study how you open/execute scripts within linux. Ask google, visit the homepage of your distro and so on.I ran into this
cd /home/<your username>/downloads
chmod +x Rogue-Like.sh
./Rogue-Like.sh
The last 3 fresh linux distro installs I did defaults .sh in the file manager to asking if the user wanted to execute or execute in a terminal. Those distros were Linux Mint, Garuda and Devuan (non-systemd debian). In order for him to have changed that behavior, he would have had to change the default behavior, which is more complex than either of the answers given to him. The occam's razor is that he doesn't know how to use his own computer as this action is no different than on a mac computer or a windows. Hence why my answer was "learn how to use your computer". I wasn't saying to be flippant (I don't remember the last time I said anything to be flippant.). I was sincerely and neutrally saying that. Again, this is also why I did a screenshot. Giving someone like this too much info will just confuse them as they'll just try random commands, not understanding why they're doing it, and hoping it works.When he clicks on the .sh file in file-explorer, his text editor will probably open and display the script (as in most cases).
ebenammi's answer works - however, this requires that you know how to open a terminal in the folder or navigate there to execute the script, which must also have the appropriate permissions to be executed and so on and so forth.
This is not a linux thing. This works the same on linux, windows or mac.Sorry for being new to Linux, I'm used to windows
I haven't used Linux for quite some time, most recently a Backtrack version to check a network for vulnerabilities (it was based on Debian at the time), and there, the system text editor came up when you clicked on it in the file explorer. No offense, I didn't mean to attack or insult you, I just found your comment funny. Unfortunately, it's probably not funny for the guy mentioned above, who really should learn the basics first before trying to do anything with Linux. It's also amazing that he was able to unzip/untar the game.The guy doesn't understand how to use his own computer. He needs to learn the bare basics, like files and folders, paths, current working directory, before he tackles anything else. Hence my answer.
No worries. I'm not offended. I was just explaining. I did more than a decade of tech support, in person and over the phone, before becoming a programmer. I have a pretty good idea of how most people, especially in the US, think about tech.I haven't used Linux for quite some time, most recently a Backtrack version to check a network for vulnerabilities (it was based on Debian at the time), and there, the system text editor came up when you clicked on it in the file explorer. No offense, I didn't mean to attack or insult you, I just found your comment funny. Unfortunately, it's probably not funny for the guy mentioned above, who really should learn the basics first before trying to do anything with Linux. It's also amazing that he was able to unzip/untar the game.
Yeah, that's one of my first worries, which is why I posted just the .sh and nothing else. If he was like "I don't see that", then I would have had some clue where he's starting from. But "I don't understand" literally means he doesn't understand. But yeah, I get it. To a lot of people, me posting just a screenshot of one file looks/sounds funny. But it's not the first time I've had to do that to get people to understand. Pretty sure I once had to make a screenshot of something to set as a desktop background for them remember what to click on to "start the internet".It's also amazing that he was able to unzip/untar the game.
Do you remember what desktop environment it was? Because I know Gnome, cinnamon, xfce, mate, lxde, lxqt and KDE doesn't (unless the last 4 changed something in the last 10 years).the system text editor came up when you clicked on it in the file explorer.
Its been a while but I'm 99% sure it came with Gnome.Do you remember what desktop environment it was?
That would make sense. Debian defaults to gnome. But the last time I used it (about ten years ago), the file manager still asked you to run .sh files. Maybe they changed, who knows.Its been a while but I'm 99% sure it came with Gnome.
Come to think of it, I may have set the text editor as the default myself because I used to edit scripts back then, but that was almost two decades ago.That would make sense. Debian defaults to gnome. But the last time I used it (about ten years ago), the file manager still asked you to run .sh files. Maybe they changed, who knows.
Ok that is super weird. Maybe is the level of the blue bar is low.View attachment 5463510
The same way (change her -> wardrobe) . I summoned emma in my room for this one