# Chiron on linux

**URL:** <https://www.ruby-forum.com/t/chiron-on-linux/184845>\
**Category:** IronRuby\
**Created:** [March 9, 2010, 1:46pm UTC](https://www.ruby-forum.com/t/chiron-on-linux/184845 "2010-03-09T13:46:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![barby](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/c57346/32.png) [@barby](https://www.ruby-forum.com/u/barby)\
**Post date:** [March 9, 2010, 1:46pm UTC](https://www.ruby-forum.com/t/chiron-on-linux/184845/1 "2010-03-09T13:46:31Z")

</div>

Hi

the chiron /b command works on mac and windows but AFAIK it doesn’t on  
linux based systems.

On debian and ubuntu systems often there is a package xdg-open installed  
which provides the same functionality as start on windows and open on  
mac.  
So if you check for the existence of xdg-open the experience on linux  
can be similar to the one on the other OS’es.

Ruby code:  
system “xdg-open #{chiron\_url}” if `which xdg-open`.chomp != “”

Cheers  
Ivan

---

<div class="post-metadata">

**Author:** ![barby](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/c57346/32.png) [@barby](https://www.ruby-forum.com/u/barby)\
**Post date:** [March 9, 2010, 3:01pm UTC](https://www.ruby-forum.com/t/chiron-on-linux/184845/2 "2010-03-09T15:01:28Z")

</div>

Ivan,

Shouldn’t that be a Mono bug then? Chiron just uses the .NET APIs for  
starting a process:

```
ProcessStartInfo startInfo = new 

```

ProcessStartInfo(“[http://localhost:2060](http://localhost:2060)”);  
startInfo.UseShellExecute = true;  
Process p = new Process();  
p.StartInfo = startInfo;  
p.Start();

Are you still using Chiron for SL development? If so, any reason why  
you’re still using it? Or are you using it just because it’s a  
convenient local web-server?

~Jimmy

* * *

From: removed\_email\_address@domain.invalid  
[removed\_email\_address@domain.invalid] on behalf of Ivan Porto C.  
[removed\_email\_address@domain.invalid]  
Sent: Monday, March 08, 2010 11:27 PM  
To: removed\_email\_address@domain.invalid  
Subject: [Ironruby-core] Chiron on linux

Hi

the chiron /b command works on mac and windows but AFAIK it doesn’t on  
linux based systems.

On debian and ubuntu systems often there is a package xdg-open installed  
which provides the same functionality as start on windows and open on  
mac.  
So if you check for the existence of xdg-open the experience on linux  
can be similar to the one on the other OS’es.

Ruby code:  
system “xdg-open #{chiron\_url}” if `which xdg-open`.chomp != “”

Cheers  
Ivan

---

<div class="post-metadata">

**Author:** ![barby](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/c57346/32.png) [@barby](https://www.ruby-forum.com/u/barby)\
**Post date:** [March 9, 2010, 5:44pm UTC](https://www.ruby-forum.com/t/chiron-on-linux/184845/3 "2010-03-09T17:44:11Z")

</div>

## nah I was reviewing the chapter on silverlight earlier. I’m not doing much silverlight at all 🙂

Met vriendelijke groeten - Best regards - Salutations  
Ivan Porto C.  
Web: [http://whiterabbitconsulting.eu](http://whiterabbitconsulting.eu) - [http://flanders.co.nz](http://flanders.co.nz)  
Twitter: [http://twitter.com/casualjim](http://twitter.com/casualjim)  
Author of IronRuby in Action ([IronRuby in Action - Ivan Porto Carrero and Adam Burmister | Manning](http://manning.com/carrero))  
Microsoft IronRuby/C# MVP

On Tue, Mar 9, 2010 at 3:00 PM, Jimmy S. \<

---

<div class="post-metadata">

**Author:** ![barby](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/c57346/32.png) [@barby](https://www.ruby-forum.com/u/barby)\
**Post date:** [March 31, 2010, 9:19am UTC](https://www.ruby-forum.com/t/chiron-on-linux/184845/4 "2010-03-31T09:19:59Z")

</div>

FYI, Chiron’s switches can either be prefixed by a “/” or a “-” … so  
you can use a dash if that feels more natural:

mono Chiron.exe -b

From: removed\_email\_address@domain.invalid  
[[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)] On Behalf Of Ivan Porto  
Carrero  
Sent: Monday, March 08, 2010 11:27 PM  
To: removed\_email\_address@domain.invalid  
Subject: [Ironruby-core] Chiron on linux

Hi

the chiron /b command works on mac and windows but AFAIK it doesn’t on  
linux based systems.

On debian and ubuntu systems often there is a package xdg-open installed  
which provides the same functionality as start on windows and open on  
mac.  
So if you check for the existence of xdg-open the experience on linux  
can be similar to the one on the other OS’es.

Ruby code:  
system “xdg-open #{chiron\_url}” if `which xdg-open`.chomp != “”

Cheers  
Ivan
