PDA

View Full Version : [ubuntu] Use a mono app as a desktop environment?



kaigoh
April 19th, 2010, 01:24 PM
Hi guys.

I have a shell I have written in C# for Windows. I have ported it over to Linux (Ubuntu) and it works well as an app running under Gnome.

What I would like to know is how to use the shell I have written instead of Gnome? What I want is a way of booting straight into my custom shell without the default desktop environment loading.

I have spent the morning searching but am yet to find any solutions.

If anyone can point me in the right direction it would be much appreciated!

Thanks,

Kai.

Stunts
April 19th, 2010, 10:56 PM
Hi there.
I think what you need is to create a session using your sehll that you can login into from GDM (I suppose you are using GDM since it's Ubuntu's default).
You can start by looking here:
http://ubuntuforums.org/showthread.php?t=61135

It's a bit old, but most of it is probably still true today.

You can try here too:
https://wiki.ubuntu.com/CustomXSession

Have fun, and let us know how it turned out!

kaigoh
April 28th, 2010, 12:10 PM
Thanks for the tip Stunts!

Kai.

Stunts
April 28th, 2010, 12:55 PM
You're welcome!

Enjoy!

3rdalbum
April 28th, 2010, 01:24 PM
Hi guys.

I have a shell I have written in C# for Windows. I have ported it over to Linux (Ubuntu) and it works well as an app running under Gnome.

Link? If you need some web space I'd be happy to host/mirror a copy for you on my site.

kaigoh
April 30th, 2010, 09:47 AM
No link just yet because it is a proof of concept project. Thanks for the offer of the hosting though!

Once I have got a bit further with my idea, I'll be sure to update this thread and provide a link.

Thanks,

Kai.

kaigoh
May 11th, 2010, 06:34 PM
Thanks for all the above advice, I've now got my shell running perfectly from the GDM login screen.

However, if I configure the system so that it boots straight into my shell, rather than being run through GDM, the text looks messy and anti-aliasing dosn't work. Any ideas?

Also, I really want a way to totally remove Gnome from the system, including GDM, and have my shell operate as the window manager and the desktop manager. Can someone point me in the direction of how I can go about configuring the system to behave this way? I've searched, but I don't think I'm looking for the right thing.

Thanks,

Kai.

Stunts
May 12th, 2010, 09:01 AM
Hi again kaigoh.
If you are looking to replace GDM, try the lightweight "slim" login manager.
The reason for loosing the anti-aliasing is that that feature is enabled by "gnome-settings-manager". If you're not loading GNOME, then the settings manager don't really apply so you don't get font effects. I'm sure there are other ways to do it tough.
after installing "Slim" just read the man page for it, it's quite detailed if my memory doesn't fail me.
Alternatively you can just start gnome-settings-manager as part of your session. That should get you anti-aliasing back up and running.
Let us know how it turned out.