Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


 
Forums » Tech and Talk » OS and Software » All Things Macintosh » Dubl-Click RC5
Search Topic:
Uniqs:
830
Share Topic:
RSS topic:
toggle:
flat / full
normal / watch
Posting:
Post a:
Post a:
New Job....I'll commemorate it with RC5 »
« Personal LaserWriter 300  
AuthorAll Replies


Johnny
Premium
join:2001-06-27
Atlanta, GA
·Comcast


 Dubl-Click RC5

It's pretty simple - just set the application for the "dnetc" app to be Terminal, and it automagically works - it will launch Terminal and start RC5 when you double-click the dnetc app.

It's possible to use QuicKeys' "execute Terminal command" to start RC5 in the background without a Terminal window showing. If this happens accidently by some other means (like putting dnetc in the Startup items without making it a Terminal app), then you will get only 50% of the throughput when you launch it in the Terminal, and have to check ProcessViewer to see the other instance of dnetc (unless you say otherwise in the prefs, dnetc will run as many instances of itself as you launch).
--

>>Johnny



Cocoa coder in training

[text was edited by author 2002-03-24 11:59:16]


Mauricio9
Premium
join:2001-12-04
Vancouver, BC
Why would you need to start RC5, anyways? Does that mean you ever stop it? Beware the RC5 police...


Johnny
Premium
join:2001-06-27
Atlanta, GA
·Comcast

said by mdrelichman:
Why would you need to start RC5, anyways? Does that mean you ever stop it? Beware the RC5 police...
If a new app or Software Update requires a restart because it launches a daemon or has a kernel extension, I was always forgetting to relaunch RC5. Dragging the dnetc file into the terminal window and hitting enter works, but the focus doesn't shift to the terminal when you drag - requires a click in the window. Now can just put dnetc in the Dock and go.

Hmm - come to think of it, now that dnetc has an app associated with it, it might work to be put into the login items.
--

>>Johnny

Cocoa coder in training


tmpchaos
Requiescat in pace
Premium,Mod
join:2000-04-28
Hoboken, NJ
clubs:

Host:
All Things Macintosh
Team RC5
Digital Imaging
Digital Imaging Te..
reply to Mauricio9
said by mdrelichman:
Why would you need to start RC5, anyways? Does that mean you ever stop it? Beware TXLonghorn...
--
Did YOU use all your thumbs yesterday?
***FAQ***


Johnny
Premium
join:2001-06-27
Atlanta, GA
·Comcast

reply to Johnny
Click for full size
It works to put it into the login items.


Homunculus
Pipsquack
Premium
join:2000-12-14
Dar al-Harb
clubs:
reply to Johnny
hmmm weird, when I go into Show Info - Open with application, I cant select Terminal... its dimmed out... *shrug*
--
Pipsquack!


Johnny
Premium
join:2001-06-27
Atlanta, GA
Not to worry, dude - change the popup to all applications instead of recommended applications and ye shall find.
--

>>Johnny

Cocoa coder in training


Homunculus
Pipsquack
Premium
join:2000-12-14
Dar al-Harb
clubs:


Oooooh! Blonde moment!

ok now i need a cool OSX RC5 icon so i can put it in the dock... anybody?
--
Pipsquack!

[text was edited by author 2002-03-25 00:07:17]


Johnny
Premium
join:2001-06-27
Atlanta, GA
·Comcast

Untitled1.zip 30,861 bytes
(Untitled1.psd)
Copy and paste into the get info.


Homunculus
Pipsquack
Premium
join:2000-12-14
Dar al-Harb
clubs:
ya read my mind JL, thats the one I put in.
--
Pipsquack!


cow-friend

@xnet.co

reply to Johnny
What if I want the dnetc client ALWAYS running on the machine, not just when I'm logged in.

Is there a way to include its startup command in /etc/rc.local or an equivalent on Mac OS X.

I tried putting this in rc.local, but it doesnt seem to work:

/Users/cowfriend/distributed-net/dnetc -quiet

Suggestions?


Tex Longhorn
45-35
Premium,MVM
join:2001-01-05
San Diego, CA
clubs:
·RoadRunner Cable

reply to Homunculus
Here are some more.





And for more, check out the Official distributed.net Logos.
--
The few. The proud. The Moorines.


Tex Longhorn
45-35
Premium,MVM
join:2001-01-05
San Diego, CA
clubs:
·RoadRunner Cable

Click for full size
two more


Tex Longhorn
45-35
Premium,MVM
join:2001-01-05
San Diego, CA
clubs:
·RoadRunner Cable

Click for full size
and the last two


JJ
Beat It, Bill
Premium,MVM
join:2000-02-18
Madison, WI


reply to cow-friend
said by cow-friend:
What if I want the dnetc client ALWAYS running on the machine, not just when I'm logged in.

Well, using TextEditor or whatever create a file that looks like this:

#!/bin/sh
/Users/you/your_dnetc_folder/dnetc

Save the file as 'start_rc5.command'

In terminal type: 'chmod 755 start_rc5.command'

Then go the login pref pane and add rc5_start.command to the login items window. RC5 will survive a logout, but keep in mind that it will start a new client every time you log in, so if you log in and out a lot you will have quite a few clients running. I've been thinking about writing a script that checks for a running client first, then quits if it finds one without starting another but I haven't gotten around to it yet.

edit
Actually if you use this:

#!/bin/sh
kill `ps aux | grep dnetc | grep -v grep | awk '{print $2}'`
/Users/you/your_dnetc_folder/dnetc

it should kill any running clients before starting another. Not elegant, but it works.

--
Tutto vedo e molto manca.


[text was edited by author 2002-04-17 11:24:39]


LowJack

join:2000-07-19
Seattle, WA
reply to Johnny
those cows are "utterly" fantastic!*

*yes you can smack me for that
Forums » Tech and Talk » OS and Software » All Things MacintoshNew Job....I'll commemorate it with RC5 »
« Personal LaserWriter 300  


Friday, 27-Nov 13:14:28 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 10 years online! © 1999-2009 dslreports.com.republican-creole
page compression OFF
Most commented news this week
· [117] Time Warner Cable Fires Broadside At Broadcasters
· [109] New AT&T Ad Campaign Hits Back At Verizon
· [95] Apple Joins AT&T Verizon Snark Fest
· [87] New Bill Takes Aim At Higher Verizon ETFs
· [70] TiVo Sees Record Customer Losses
· [68] In-Flight Internet Headed For Bumpy Landing?
· [60] Thanksgiving Open Thread
· [38] EFF Wages War On Fine Print
· [38] ICANN Slams DNS Redirection
· [36] Senators Want ACTA Made Public
Most people now reading
· SSD [Computer Hardware Discussion/Reviews]
· Windows 7 boot manager editing questions [Microsoft Help]
· Newegg Black Friday Sale started [Users Find Hot Deals]
· Bell Response to PIPEDA Request [TekSavvy]
· Only firefox accesses Internet? [Security]
· Bell offering 175M service :) [TekSavvy]
· [Newsgroups] Newzleech down? [Filesharing Software]
· IPComms Free DIDs now with sip registration maybe?? [VOIP Tech Chat]
· New exploit masquerades as Flash Player upgrade [Security]
· [ PVP] 3.2 DK PvP D/W Spec... [World of Warcraft]