1
Warning: First I am new, please don't kill me. I searched for right click executes for the past two hours and didn't find what I am looking for.
I am trying to make a program that you right click on a file (clamAV's newest system) and have it run. I have no idea how to make the right click work. I know once the right click runs and pulls the path name/filename it will look like this.
$ chmod 700 [filename]
$ ./[filename]
When the file executes, if there is an error, it will present the error with a gui message.
The reason: I have noticed that windows has quick access to files that are designed to execute. This is awesome because it's easy to use. If a file is not inside the repos, it takes a lot of code for the average non-techy person to learn, and use. I am good at giving a good sales pitch with linux and people switch. After a while though, they want to switch back because the simple stuff like installing non-repos programs take a lot of code, something they either never had to do with windows or can't remember doing with windows.
The question: So, my question is, can someone point me to the right way of doing this. I'm not asking for you to do it, i'm looking for someone to help me with resources so i can learn it. I have a book, but it's not really helpful with gui.
Thank you for you help, the people i convince to switch to Linux will also thank you.
I'm using gnome desktop. I can right click a blah.sh file and select
Open
. Then I can select eitherRun
orRun in Terminal
. – Jess – 2013-03-29T03:13:08.420Actually, you might also convince your people to sometimes use the terminal (and type commands inside); it is a very useful tool, which cannot always be replaced by a GUI. I do agree that teaching that is harder! – Basile Starynkevitch – 2013-03-29T06:25:18.020