personalized shell mode



Hello

I'm using Debian 8 with the default gnome instalation, i have created a personalized gnome session and i want to use a custom shell mode following this links:

http://worldofgnome.org/how-to-create-a-lightweight-custom-gnome-shell-fork/
https://help.gnome.org/admin/system-admin-guide/3.14/session-custom.html.en

The session appear in gdm but when a user login the next message is shown:

Oh no! Something has gone wrong.
A problem has occurred and the system can't recover
Please log out and try again

My configuration is:

/usr/share/gnome-shell/modes/sdg.json  # this is a copy of classic.json

{
    "parentMode": "user",
    "stylesheetName": "gnome-classic.css",
    "enabledExtensions": ["apps-menu gnome-shell-extensions gcampax github com","places-menu gnome-shell-extensions gcampax github com","alternate-tab gnome-shell-extensions gcampax github com","launch-new-instance gnome-shell-extensions gcampax github com","window-list gnome-shell-extensions gcampax github com"],
    "panel": { "left": ["activities", "appMenu"],
               "center": [],
               "right": ["a11y", "keyboard", "dateMenu", "aggregateMenu"]
             }
}

/usr/bin/gnome-session-sdg


#! /bin/sh
env GNOME_SHELL_SESSION_MODE=sdg gnome-session --session gnome-sdg "$@"


/usr/share/xsessions/gnome-sdg.desktop

[Desktop Entry]
Name=GNOME SDG
Name[es]=GNOME SDG
Exec=gnome-session-sdg
TryExec=gnome-session
Icon=
Type=Application
DesktopNames=GNOME-SDG;GNOME

/usr/share/applications/gnome-shell-sdg.desktop

[Desktop Entry]
Type=Application
Name=GNOME Shell SDG
Name[es]=GNOME Shell SDG
Exec=/usr/bin/gnome-shell
TryExec=/usr/bin/gnome-shell
X-GNOME-Bugzilla-Bugzilla=GNOME
X-GNOME-Bugzilla-Product=gnome-shell
X-GNOME-Bugzilla-Component=general
X-GNOME-Bugzilla-Version=3.14.2
Categories=GNOME;GTK;Core;
>NoDisplay=true
X-GNOME-Autostart-Phase=WindowManager
X-GNOME-Provides=panel;windowmanager;
X-GNOME-Autostart-Notify=true
X-GNOME-AutoRestart=false

/usr/share/gnome-session/sessions/gnome-sdg.session

[GNOME Session]
Name=GNOME SDG
Name[es]=GNOME SDG
RequiredComponents=gnome-shell-sdg;gnome-settings-daemon;

If i use in "/usr/bin/gnome-session-sdg" script "GNOME_SHELL_SESSION_MODE=classic" it works with the classic shell mode, but i want a custom shell mode to use other extensions.

I'm omitting something in my configuration?

Thanks for the help
--
Jorge Ernesto Guevara Cuenca


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]