Crear unha sesión personalizada
To create your own session with customized configuration, follow these steps:
-
Create a .desktop file in /etc/X11/sessions/new-session.desktop. Make sure that the file specifies the following entries:
[Desktop Entry] Encoding=UTF-8 Type=Application Name=Sesión personalizada Comment=Esta é a súa sesión personalizada Exec=gnome-session --session=new-sessionThe Exec entry specifies the command, possibly with arguments, to execute. You can run the custom session with the gnome-session --session=new-session command.
For more information on the parameters that you can use with gnome-session, see the gnome-session man page.
-
Create a custom session file in /usr/share/gnome-session/sessions/new-session.session where you can specify the name and required components for the session:
[GNOME Session] Name=Sesión personalizada RequiredComponents=gnome-shell-classic;gnome-settings-daemon;Note that any item that you specify in RequiredComponents needs to have its corresponding .desktop file in /usr/share/applications/.
After configuring the custom session files, the new session will be available in the session list on the GDM login screen.
Fallos coñecidos
En sistemas Debian ou baseados en Debian, pode producirse o seguinte erro:
Xsession: non é posíbel iniciar ""
Xsession --- "" non atopado; usando a sesión
predeterminada.Should this happen to you, follow these steps to change the /etc/X11/Xsession.d/20x11-common_process-args file:
Cambie STARTUP_FULL_PATH=$(/usr/bin/which "$1"|| true) a STARTUP_FULL_PATH=$(/usr/bin/which $1 || true)
Cambie STARTUP="$1" a STARTUP=$1