Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
up vote 16 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/

sudo nano /etc/guest-session/

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.