Results 1 to 3 of 3

Thread: How do you start gnome-panel only in the gnome-fallback session?

  1. #1
    Join Date
    Aug 2014
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    How do you start gnome-panel only in the gnome-fallback session?

    For some reason gnome-panel stopped starting with my gnome-fallback session.
    I use unity mainly so i can't just add it to Startup Applications.
    So I would like to know how to autostart only in the gnome-fallback session.

    PS: Shows as Gnome Flashback at the greeter
    but terminal shows...
    Code:
    @Trusty:~$ echo $DESKTOP_SESSION
    gnome-fallback
    
    @Trusty:~$ ls /usr/share/xsessions
    cairo-dock.desktop  gnome-fallback-compiz.desktop  ubuntu.desktop
    gnome.desktop       gnome-fallback.desktop         xfce.desktop
    Last edited by CantankRus; September 16th, 2014 at 01:49 AM.

  2. #2
    Join Date
    Aug 2014
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: How do you start gnome-panel only in the gnome-fallback session?

    Bumpa-lumpa

  3. #3
    Join Date
    Aug 2014
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: How do you start gnome-panel only in the gnome-fallback session?

    Can't find a solution so just wrote a script and placed in Startup Applications.
    Checks $DESKTOP_SESSION and starts gnome-panel and plank if in a fallback session.
    Code:
    #!/bin/bash
    #set -x
    
    if [[ $DESKTOP_SESSION == "gnome-fallback" || $DESKTOP_SESSION == "gnome-fallback-compiz" ]]
    	then echo "gnome-fallback session"
    		gnome-panel &
    		plank
    	else echo "Not gnome-fallback session"
    fi
    exit 0
    Last edited by CantankRus; September 16th, 2014 at 01:55 AM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •