Score:1

Ho do I enable the Bash Pop Up Window?

nu flag

I want to run a .sh file in the Terminal. Apparently there is a pop up for that: pop-up window providing launch options for a shell script

I don't get that pop up when right clicking the .sh file and the way shown here doesn't work: If I right click "files", there is nothing like "Select Preferences".

Can someone help me enable that pop up?

What I see when right clicking the "Files" program when it's closed:

If open this, this is what I see:

Right clicking on my .sh file looks like this, even after doing this command:

chmod +x meinscript.sh

"Run as a Program" doesn't open the terminal that I need.

Mike avatar
rw flag
See my updated answer. You need to open the File Manager and then click on the "Files" caption in the top left hand corner.
Luuk avatar
cn flag
The preferences option for files changes in Ubuntu 22, see: [Can't access Nautilus (File) settings/preferences on Ubuntu 22.04 LTS](https://askubuntu.com/questions/1416824/cant-access-nautilus-file-settings-preferences-on-ubuntu-22-04-lts) "....Several options are not anymore exposed, or have been removed, including the behavior when clicking executables,...."
Score:-1
rw flag

Don't right click on the .sh file... Right click on the word "Files" in the top left hand corner of the Files Window. Then select Preferences, etc.

You will have to ensure the .sh file is executable first...

Launch a Terminal window, cd into the directory of the .sh file and run:

chmod +x filename.sh

That will make it executable by EVERYONE... You might want to limit it to either User (u), Group (g) or Other (o).

So, for just the user you would run:

chmod u+x filename.sh

Click on this...

Right clicking on the above and clicking "Preferences" will load the following:

enter image description here

NOTE: The above is for Ubuntu 18.04, for 20.04 the same Preferences can be found in the button with the three horizontal lines as shown here:

enter image description here

Clicking on that and selecting "Preferences" will load the following window:

enter image description here

Phili Boy avatar
nu flag
Still don't see "Preferences" only "All Windows, New Windows, Documents, Download, Music, Pictures, Videos, Remove from Favorites and Quit" if the Programm "Files" is open. And if closed: "New WIndows and Remove from Favorites"
Mike avatar
rw flag
@PhiliBoy Your not clicking on the right part of the window.
Phili Boy avatar
nu flag
https://i.stack.imgur.com/vQfZu.jpg This is my dektop where can I find that icon?
Mike avatar
rw flag
@PhiliBoy - Ok your on a different version. See the three horizontal lines on the right hand side - click on those and go to Preferences. I'll add it to my answer
Phili Boy avatar
nu flag
After going to the Prefernces I can't choose betwen the tabs "Views" "Behaviour" etc. I just have one menu: https://i.stack.imgur.com/Guk9n.png. In there there is no such thing as "Executable Text Files". I have Ubuntu 22.04.3 LTS I should have probably said that earlier.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.