On my OS, there is no way to manually set the brightness, so I wrote a small shell script to do so:
#!/bin/sh
echo -n "Set Brightness To (from 0 to 100):"
read answer
echo $((answer * 8 + 50))>/sys/class/backlight/intel_backlight/brightness
But the problem is that running the script directly from the GUI runs it without prompting for user input on the terminal (answer = 0), and right clicking to run in terminal is necessary for the script to prompt for user input.
How can one display the terminal directly when executing said script?