(Initial desktop switching instructions) |
(Adding missing details to Install Handset Packages section) |
||
| Line 10: | Line 10: | ||
# You have an installed and running MeeGo 1.1 or later Netbook image ([http://download.meego.com/trunk-daily/builds/trunk/ Daily images]) | # You have an installed and running MeeGo 1.1 or later Netbook image ([http://download.meego.com/trunk-daily/builds/trunk/ Daily images]) | ||
===Install Handset Packages=== | ===Install Handset Packages=== | ||
| - | + | ====Add the Handset repos==== | |
| - | + | You need to add the appropriate repos to your zypper configs so you can install the Handset packages. This will be different depending on: | |
| - | + | # Your architecture (ARM, ia32, etc.) | |
| - | + | # Your desired stability (Daily vs. Weekly vs. Release repos) | |
| - | + | So, for example, to add the daily handset repos for the ia32 architecture, you could do this: | |
| - | + | sudo cat << EOF > /etc/zypp/repos.d/handset.repo | |
| + | [handset] | ||
| + | name=handset | ||
| + | enabled=1 | ||
| + | autorefresh=0 | ||
| + | baseurl=http://repo.meego.com/MeeGo/builds/trunk/daily/handset/repos/ia32/packages/ | ||
| + | type=rpm-md | ||
| + | gpgcheck=1 | ||
| + | gpgkey=file:/etc/pki/rpm-gpg/RPM-GPG-KEY-meego | ||
| + | EOF | ||
| + | ====Refresh the packages list==== | ||
| + | sudo zypper refesh | ||
| + | ====Install the Handset Desktop packages==== | ||
| + | sudo zypper in -t pattern meego-handset-base-support meego-handset-desktop | ||
==How-To== | ==How-To== | ||
| - | ===Change uxlaunch | + | Now that you have the needed packages installed, we must tell uxlaunch (process that controls the user session startup environment and auto starts configured user session daemons and apps) |
| - | + | ===Change uxlaunch configuration=== | |
| - | + | Edit the /etc/sysconfig/uxlaunch file and comment out the following, existing, entry | |
| - | # | + | sudo sed -i.BAK -ne 's/\(^#\)\(session=.*mcompositor.*$\)/\2/g; s/\(^session=.*mutter.*$\)/#\1/g; p' /etc/sysconfig/uxlaunch |
| - | + | Add a new, Handset specific, entry that will start the windomanager used (mcompositor) | |
| - | + | sudo sh -c "echo 'session=/usr/bin/mcompositor' >> /etc/sysconfig/uxlaunch" | |
| - | + | ===Restart user session=== | |
| - | + | # $ sudo reboot | |
| - | + | #: OR | |
| - | + | # $ sudo telinit 3; sleep 3; sudo telinit 5; | |
==TODO== | ==TODO== | ||
* Development of a single, cross-MeeGo, desktop switcher? | * Development of a single, cross-MeeGo, desktop switcher? | ||
*: This would need to be Qt/Gnome agnostic or independent, since, today at least, the Netbook desktop is Gnome based, while the Handset one is Qt based. | *: This would need to be Qt/Gnome agnostic or independent, since, today at least, the Netbook desktop is Gnome based, while the Handset one is Qt based. | ||
Contents |
At the 2010 MeeGo Conference in Dublin, the question of how to switch from the Netbook to the Handset desktop was asked during the MeeGo Handset UX Roadmap session. The context of the question had to do with using the Lenovo S10-3t Netbooks given away at the conference as platforms for MeeGo Handset development. Sabotage pipped up and offered up his experience as proof that it can be done, and some very basic instructions on how to do so. Since the question continues to come up in Mailing lists and IRC, the specifics on how to switch between desktops are being documented for ongoing reference.
If it proves useful and interesting to others, maybe these will spawn the development of a desktop "switcher" applet/tool... hint, hint ;)
You need to add the appropriate repos to your zypper configs so you can install the Handset packages. This will be different depending on:
So, for example, to add the daily handset repos for the ia32 architecture, you could do this:
sudo cat << EOF > /etc/zypp/repos.d/handset.repo [handset] name=handset enabled=1 autorefresh=0 baseurl=http://repo.meego.com/MeeGo/builds/trunk/daily/handset/repos/ia32/packages/ type=rpm-md gpgcheck=1 gpgkey=file:/etc/pki/rpm-gpg/RPM-GPG-KEY-meego EOF
sudo zypper refesh
sudo zypper in -t pattern meego-handset-base-support meego-handset-desktop
Now that you have the needed packages installed, we must tell uxlaunch (process that controls the user session startup environment and auto starts configured user session daemons and apps)
Edit the /etc/sysconfig/uxlaunch file and comment out the following, existing, entry
sudo sed -i.BAK -ne 's/\(^#\)\(session=.*mcompositor.*$\)/\2/g; s/\(^session=.*mutter.*$\)/#\1/g; p' /etc/sysconfig/uxlaunch
Add a new, Handset specific, entry that will start the windomanager used (mcompositor)
sudo sh -c "echo 'session=/usr/bin/mcompositor' >> /etc/sysconfig/uxlaunch"