LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Where does gdm look to get the login WM in its listings? (https://www.linuxquestions.org/questions/slackware-14/where-does-gdm-look-to-get-the-login-wm-in-its-listings-4175602211/)

BW-userx 03-20-2017 01:05 PM

Where does gdm look to get the login WM in its listings?
 
where does gdm get its desktop files for the list of WM/DT to pick from? Because
Code:

userx@slackwhere⚡️/usr/share/xsessions⚡️$ ls
kde-plasma-safe.desktop  kde-plasma.desktop  xfce.desktop

that is all that is in there and I am not wanting to have to rewrite every desktop file again for all of the WM I have installed on Slack. This is for lxdm login manager.

I say GDM login manager only because I think that is the default one when changing Slack to run level 4 - it got a be pulling them from somewhere to know what to put in its listings.

Didier Spaier 03-20-2017 01:39 PM

Slint uses lxdm by default and yes, I put the .desktop files in /usr/share/xsessions. For instance (Caveat: system used for testing, not all listed WM/DE are shipped in Slint version 14.2 yet)[1]
Code:

didier[~]$ ls /slint64/usr/share/xsessions/
LXDE.desktop            kde-plasma.desktop      twm.desktop
blackbox.desktop        mate.desktop            wmaker.desktop
fluxbox.desktop          openbox-gnome.desktop    xfce.desktop
fvwm.desktop            openbox-kde.desktop
kde-plasma-safe.desktop  openbox-session.desktop

TIP: if a WM/DE doesn't ship with its own .desktop, in most cases you will find one for it in /usr/share/apps/kdm/sessions

Oh and as gdm is not shipped in Slackware the default there is kdm, or xdm if kdm is not available. But if you install gdm it will be used instead. See /etc/rc.d/rc.4

[1]But in my everyday system I have installed even more :D
Code:

didier[~]$ ls /usr/share/xsessions/
LXDE.desktop            i3.desktop              kde-plasma.desktop
blackbox.desktop        icewm-session.desktop    twm.desktop
fluxbox.desktop        icewm.desktop            wmaker.desktop
fvwm.desktop            jwm.desktop              xfce.desktop
i3-with-shmlog.desktop  kde-plasma-safe.desktop
didier[~]$


BW-userx 03-20-2017 01:45 PM

Ha ah That's where them little buggers are at
Code:

userx@slackwhere⚡️~⚡️$ ls /usr/share/apps/kdm/sessions
9wm.desktop        enlightenment.desktop  matchbox.desktop  sawfish.desktop
aewm++.desktop    evilwm.desktop        metacity.desktop  subtle.desktop
aewm.desktop      fluxbox.desktop        mwm.desktop        twm.desktop
afterstep.desktop  flwm.desktop          olvwm.desktop      ude.desktop
amaterus.desktop  fvwm.desktop          olwm.desktop      vtwm.desktop
amiwm.desktop      fvwm95.desktop        openbox.desktop    w9wm.desktop
asclassic.desktop  gnome.desktop          oroborus.desktop  waimea.desktop
blackbox.desktop  golem.desktop          phluid.desktop    wm2.desktop
cde.desktop        icewm.desktop          pwm.desktop        wmaker.desktop
ctwm.desktop      ion.desktop            qvwm.desktop
cwwm.desktop      larswm.desktop        ratpoison.desktop
e16.desktop        lwm.desktop            sapphire.desktop

thanks!


All times are GMT -5. The time now is 05:42 PM.