Note that there are some explanatory texts on larger screens.

plurals
  1. PO'RUN' in Linux Mint wont work
    primarykey
    data
    text
    <p>when i double click on an executable file, it wont run after i click RUN. i have tried it with a couple of .sh files and some downloaded software, does anyone know why?</p> <p>a particular .sh file i need to run is a zenity menu. When i try in terminal it just says </p> <pre><code>sh: Can't open TaskC.sh </code></pre> <p>thats after i use </p> <pre><code>sh TaskC.sh </code></pre> <p>in the file i have used the properties to make it executable and used </p> <pre><code>chmod 755 TaskC.sh </code></pre> <ol> <li>Does anyone know how i can run it without the terminal?</li> <li>Anyone know how i can get the .sh to run in the terminal?</li> </ol> <p>my code just incase thats the problem</p> <pre><code>#!/bin/bash #GUI for TaskB menu chmod 755 TaskC.sh temp='mktemp -t temp.XXXXXX' temp2='mktemp -t temp2.XXXXX' function software { sudo get-apt install gparted gnome-desk-utility zenity --text-info --title "Install Software" --filename=$temp --width 750 --height 10} function create { touch &gt; Desktop/CET103Demo.txt zenity --text-info --Title "Create CET103Demo.txt" --filename=$temp --width 300 --height 500} function delete { rm Desktop/CET103Demo.txt zenity --text-info --title "Remove CET103Demo.txt" --filename=$temp --width 300 --height 500} function search { grep -H -r "BASH" /home/mintuser/.profile zenity --text-info --Title "Search BASH" --filename=$temp --width 300 --height 500} while [ 1 ] do zenity --list --radiolist --title "TaskC Menu" --column "Select" --column "Menu Selection" FALSE "Install Software" FALSE "Create file" FALSE "Remove File" FALSE "Search BASH" False "Exit" &gt; $temp2 if [ $? -eq 1 ] then break fi selection ='cat $temp2' case $selection in "Install Software") software;; "Create File") create;; "Remove File") delete;; "Search BASH") search;; Exit) break ;; *) zenity --info "Sorry, invalid selection" esac done $ </code></pre> <p>many thanks </p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload