Managing Mono and Windows.Forms in openSUSE 11.2 GNOME

The KDE desktop in openSUSE 11.2 did not install Mono by default. The GNOME installation included several .NET applications: Banshee, Beagle, F-Spot, GNOME Do, Tasque and Tomboy.

This was similar to openSUSE 11.1, with GNOME Do added in 11.2. The applications also pulled in Mono’s Windows.Forms support package, mono-winforms, through their package dependencies.

Removing Mono and dependent applications

For an installation without Mono applications, first remove Mono and the packages that depend on it:

Shell
chris@wks1004925:~> sudo zypper remove mono

root's password:
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following packages are going to be REMOVED:
  art-sharp2 avahi-mono banshee-1 banshee-1-backend-engine-gstreamer banshee-1-backend-platform-gnome 
  banshee-1-backend-platform-unix banshee-1-client-classic banshee-1-core banshee-1-extensions-default beagle 
  beagle-evolution beagle-gui beagle-index evolution-sharp flickrnet f-spot gconf-sharp2 glade-sharp2 glib-sharp2 
  gmime-sharp gnome-desktop-sharp2 gnome-do gnome-do-plugins gnome-keyring-sharp gnome-panel-sharp gnome-sharp2 
  gnome-vfs-sharp2 gsf-sharp gtk-sharp2 mono-addins mono-core mono-data mono-data-sqlite mono-nunit mono-web mono-winforms 
  mono-zeroconf mono-zeroconf-provider-avahi ndesk-dbus ndesk-dbus-glib notify-sharp rsvg2-sharp taglib-sharp tasque tomboy 
  wnck-sharp 

46 packages to remove.
After the operation, 126.0 MiB will be freed.
Continue? [y/n/?] (y):

Then lock Mono to prevent the package manager from installing it again:

Shell
sudo zypper al *mono*

Install alternative applications for any removed tools that you still need.

Observation after reboot

After removing Mono and rebooting this test installation, GDM did not load completely: the username field was missing and the restart and shutdown buttons did not respond. This occurred in VirtualBox, and I did not establish whether it was caused by the package changes or the virtual machine.