diff options
Diffstat (limited to 'public/purdue-cs-login.md')
-rw-r--r-- | public/purdue-cs-login.md | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/public/purdue-cs-login.md b/public/purdue-cs-login.md index a8c0189..81111ca 100644 --- a/public/purdue-cs-login.md +++ b/public/purdue-cs-login.md @@ -45,18 +45,18 @@ default). If you look at the GDM login screen, it has a "Sessions" button that opens a prompt where you can select any of several sessions: - - _L_ast session - - _1_. MATE (`mate.desktop`; `Exec=mate-session`) - - _2_. CS Default Session (`default.desktop`; `Exec=default`) - - _3_. Custom Session (`custom.desktop`; `Exec=custom`) - - _4_. FVWM2 (`fvwm2.desktop`; `Exec=fvwm2`) - - _5_. gnome.desktop (`gnome.desktop`; `Exec=gnome-session`) - - _6_. KDE (`kde.desktop`, `Exec=startkde`) - - Failsafe _M_ATE (`ShowGnomeFailsafeSession=true`) - - Failsafe _T_erminal (`ShowXtermFailsafeSession=true`) + - Last session + - 1. MATE (`mate.desktop`; `Exec=mate-session`) + - 2. CS Default Session (`default.desktop`; `Exec=default`) + - 3. Custom Session (`custom.desktop`; `Exec=custom`) + - 4. FVWM2 (`fvwm2.desktop`; `Exec=fvwm2`) + - 5. gnome.desktop (`gnome.desktop`; `Exec=gnome-session`) + - 6. KDE (`kde.desktop`, `Exec=startkde`) + - Failsafe MATE (`ShowGnomeFailsafeSession=true`) + - Failsafe Terminal (`ShowXtermFailsafeSession=true`) The main 6 are configured by the `.desktop` files in -`SessionDesktopDir=/usr/local/share/xsessions`). The last 2 are +`SessionDesktopDir=/usr/local/share/xsessions`; the last 2 are auto-generated. The reason `ShowGnomeFailsafeSession` correctly generates a Mate session instead of a Gnome session is because of the patch @@ -68,9 +68,10 @@ related to the aforementioned patch, but I can't find anything in the patch that looks like it would screw that up; at least not without a better understanding of GDM's code. -Which of the main 6 are used by default ("Last Session") is configured +Which of the main 6 is used by default ("Last Session") is configured with `~/.dmrc:Session`, which contains the basename of the associated -`.desktop` file (that is, without any directory part or file extension). +`.desktop` file (that is, without any directory part or file +extension). Every one of the `.desktop` files sets `Type=XSession`, which means that instead of running the argument in `Exec=` directly, it passes it |