|
|
|
#1 (permalink) | ||||||||||||
|
Audiophile
|
Well I have a few lines of code that i'd like to execute whenever i double click it but I don't know what extension to use and how to do it, can someone help me. I also want it to not be dependent on using some coding in the terminal to get it started, only a double click thing.
|
||||||||||||
|
|
|
|
#2 (permalink) | ||||||||||||
|
Mmmm! Toast!
|
I don't follow how you'd catch a double click in a terminal.
do you mean you want to write a bash script which fires whenever you double click? double click your desktop, a window, anything?
__________________
Rocket 3 down-payment fund: [|||||||||] $6k e6750 @ 3.2 Ghz (400x8) - 7k ppd GPU+SMP Want to reduce the plethora of duplicate threads with the same subject/answers?
|
||||||||||||
|
|
|
|
#3 (permalink) | ||||||||||||
|
Audiophile
|
no i want to make a file with some terminal codes so that when i double click my created file, it opens terminal and runs the code i want it to without me having to do so.
Last edited by F3t1sh : 02-20-08 at 04:08 PM. |
||||||||||||
|
|
|
|
#4 (permalink) | ||||||||||||
|
Mmmm! Toast!
|
ooh!
ok no problem. create the file... Code:
#!/bin/bash xterm & or chmod 755 filename double click from your filemanager and yo'ure good to go.
__________________
Rocket 3 down-payment fund: [|||||||||] $6k e6750 @ 3.2 Ghz (400x8) - 7k ppd GPU+SMP Want to reduce the plethora of duplicate threads with the same subject/answers?
|
||||||||||||
|
|
|
|
#5 (permalink) | ||||||||||||
|
Audiophile
|
I do that and nothing happens.
Im using it to start my folding client. so the commands im using are: Code:
cd ~/home/penguin/folding/FAH/ chmod +x FAH504-Linux.exe ./FAH504-Linux.exe Code:
#!/bin/bash cd ~/home/penguin/folding/FAH/ chmod +x FAH504-Linux.exe ./FAH504-Linux.exe
|
||||||||||||
|
|
|
|
#6 (permalink) | ||||||||||||
|
Audiophile
|
Oh, I can't use it to start the client off my desktop?
|
||||||||||||
|
|
|
|
#7 (permalink) | ||||||||||||
|
Mmmm! Toast!
|
you also didn't say you were running the FAH client.
this didn't help? http://fahwiki.net/index.php/Running...lient_on_Linux
__________________
Rocket 3 down-payment fund: [|||||||||] $6k e6750 @ 3.2 Ghz (400x8) - 7k ppd GPU+SMP Want to reduce the plethora of duplicate threads with the same subject/answers?
|
||||||||||||
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|