Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Is it possible to change the default applications that appear on the Launcher for guest sessions?

For example:

  • Remove : Amazon webapp, Ubuntu One, System Options
  • Add : Stellarium

(Ubuntu 12.04 and newer).

Thank you for your time and answers.

share|improve this question

1 Answer 1

up vote 15 down vote accepted

Create the folder /etc/guest-session/ if it doesn't exist

sudo mkdir /etc/guest-session/

Then open file /etc/guest-session/prefs.sh

sudo nano /etc/guest-session/prefs.sh

and add the following content


cat << EOF > "$FILE"
[Desktop Entry]
Name=Configure launcher items
Exec=gsettings set com.canonical.Unity.Launcher favorites "['application://firefox.desktop', 'application://nautilus.desktop', 'application://stellarium.desktop']"

chown -R "$USER:$USER" "$FILE"

Change the application://... items to whatever you want to appear in the Launcher.

This creates a autostart command for the guest session that changes the launcher item.

You can get the current launcher items using

gsettings get com.canonical.Unity.Launcher favorites 
share|improve this answer
Awesome thanks! –  Dustin Sep 20 '13 at 21:36

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.