[MeeGo-dev] Changes to uxlaunch in Trunk: configuration will need changes.
marko.saukko at cybercom.com
Sun Jun 19 23:23:05 PDT 2011
On 06/20/2011 07:30 AM, Kok, Auke-jan H wrote:
> What changed exactly? Well, the biggest change is that there is no
> hardcoded session table anymore, and so now each session needs to be
> defined in a session definition file instead. That means that instead
> of telling uxlaunch "start /usr/bin/mutter --sm-disable", you'll now
> tell it to 'start the x-meego-nb' session, and something will instruct
> uxlaunch that that implies 'mutter' etc.
> Also, the new code allows the USER to entirely override this and
> create their own session definition, and completely different than
> what the main system defines as default. Yes, that's right, you can
> change your own desktop without root permissions.
Will the user who's home is read be still determined by entry in
> This is done through generic xsession desktop files. A lot of DE's
> already ship them (xfce, xbmc, even gnome) and so we're reusing this
> mechanism for maximum flexibility. Session files are named
> 'foo.desktop' and list an Exec= key that will be started as the
> session process. The 'foo' part is assumed to define the 'session
> name'. This allows uxlaunch to hide applications through the
> OnlyShowIn and NotShowIn fields as it did before.
Currently uxlaunch has the xopts in the /etc/sysconfig/uxlaunch, could
this be moved to the UX .desktop file as well or even better could we
provide Xorg parameters as dynamic files in some directory as on touch
devices you don't want to see mouse cursor and netbooks you want,
something that is also more hardware thing. So information that hardware
adaptation pattern/package group might contain.
Currently there is following hack in .ks files
> The impact for most people will be nil, except two groups:
> Release engineering& people who make images: You'll have to rewrite
> the kickstart files and uxlaunch configs.
> - The appropriate UX package needs to install a
> "/usr/share/xsessions/sessionname.desktop" file
> The "sessionname" should be consistent with MeeGo's naming
> convention: acceptable are "x-meego-nb", "x-meego-hs", "x-meego-tb",
> "x-meego-tv", "x-meego-ivi", others need to be discussed first as
> there is an impact on all packages if you make something up, and your
> UX might not work properly. (autostart files will be filtered
This is probably something that the UX specific pattern/package group
> - Selecting a default session is done through symlinking in the
> kickstart file: The %post section needs to execute a line like this:
> ln -sf x-meego-nb.desktop /usr/share/applications/default.desktop
> This symlink *must never* be part of an installed package.
Maybe a patch for mic2? Currently there are following lines in .ks file
that do some magics in this area:
desktop --autologinuser=meego --defaultdesktop=DUI
More information about the MeeGo-dev