LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-20-2017, 01:05 PM   #1
BW-userx
Senior Member
 
Registered: Sep 2013
Location: MID-SOUTH USA
Distribution: Void Linux / Slackware 14.2
Posts: 3,340

Rep: Reputation: 578Reputation: 578Reputation: 578Reputation: 578Reputation: 578Reputation: 578
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.
 
Old 03-20-2017, 01:39 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2 on Lenovo Thinkpad W520
Posts: 7,166

Rep: Reputation: 2273Reputation: 2273Reputation: 2273Reputation: 2273Reputation: 2273Reputation: 2273Reputation: 2273Reputation: 2273Reputation: 2273Reputation: 2273Reputation: 2273
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
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[~]$

Last edited by Didier Spaier; 03-20-2017 at 01:54 PM.
 
Old 03-20-2017, 01:45 PM   #3
BW-userx
Senior Member
 
Registered: Sep 2013
Location: MID-SOUTH USA
Distribution: Void Linux / Slackware 14.2
Posts: 3,340

Original Poster
Rep: Reputation: 578Reputation: 578Reputation: 578Reputation: 578Reputation: 578Reputation: 578
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!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sound available only after login via gdm ralfbutler Linux - Software 1 09-05-2009 08:02 AM
GDM: Access login credentials after login elchupanebre Linux - Desktop 5 10-30-2008 04:53 AM
cant login via gdm linuxmandrake Ubuntu 4 02-15-2006 04:01 PM
gdm login help moschi Linux - Newbie 2 07-03-2004 12:30 PM
X login using GDM koyi Slackware 2 07-24-2003 11:00 PM


All times are GMT -5. The time now is 06:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration