open gedit from terminal without blocking
# & is used to run the file in the background
# Warning: this command will close the gedit if you close terminal
gedit filename &
# to stop gedit from closing even after you closed the terminal
# add disown
gedit filename & disown