Tuesday, July 21, 2009

Netbook mode - not playing nicely with Classic Desktop mode

I've been playing around with the netbook-remix package on various machines, aiming to have both netbook desktop management and normal desktop management on the same machine ant to be able to choose between them on demand. The netbook stuff is actually not bad if you hook up your laptop (or netbook for that matter) to your TV as a media-player/web-browser thingy. Especially if you remote control your mouse with a Bluetooth application from your phone, it's great to be able to see what application your starting from a distance.

In the case where a machine is installed from the Ubuntu Netbook distribution and where the switch-desktop package is installed on-top this works somewhat well. But if one starts the other way around with a normal Ubuntu Desktop disto and then install the netbook-remix and switch-desktop one ends up with a situation where all windows are always started maximized no matter which mode you switch to or even which VM you run.

I.e. no matter which desktop mode you select with the Switch Desktop Mode utility, or if you add your own ~/.xinitrc, the issue with the maximized windows remains (!).

Usually one can google around and find at least a couple of persons who's stumbled across the same problem that oneself has, but in this case - nothing.

Anyway, to keep a long story short, here's what I did to resolve this particular issue.

In the folder /etc/xdg/autostart/ there used to be two files:

maximus-autostart.desktop
netbook-launcher.desktop

I removed the first one and after restarting gdm everything works as usual. This leads me to believe that this is some sort of ugly-patch because the compiz maximumize in the CCMS was disabled and it does no difference if it's set or not.

I'm not an expert in either X, VM's, DM's or Gnome and I dare not say what the xdm structure is or what it's good for.

References

No comments:

Post a Comment