You are not logged in.

#1 2008-10-25 21:29:13

imag1narynumber
Member
From: Connecticut
Registered: 2008-07-23
Posts: 56

Why can't I get a tiling WM listed in KDM?

I've included exec dwm or exec xmonad in my .xinitrc.  I've added dwm.desktop or xmonad.desktop in /usr/share/xsessions

As example:

[Desktop Entry]
Encoding=UTF-8
Type=XSession
Exec=/usr/bin/dwm
TryExec=/usr/bin/dwm
Name=DWM
Comment=DWM window manager

Yet I've not gotten either to show in my session list in KDM.  Any thoughts?

Offline

#2 2008-10-25 23:34:00

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: Why can't I get a tiling WM listed in KDM?

Maybe try /etc/X11/sessions


The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...

Offline

#3 2008-10-26 00:18:51

imag1narynumber
Member
From: Connecticut
Registered: 2008-07-23
Posts: 56

Re: Why can't I get a tiling WM listed in KDM?

Okay, I added that dwm.desktop file to /etc/X11/sessions/ and nothing.

Offline

#4 2008-10-26 08:27:11

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: Why can't I get a tiling WM listed in KDM?

Maybe try GDM. If it shows up there, then it's something KDM related, if it doesn't show up, then compare your dwm.desktop to other .desktop files for X sessions. You must have an error somewhere then.

Last edited by moljac024 (2008-10-26 08:29:53)


The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...

Offline

#5 2008-10-26 08:38:21

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: Why can't I get a tiling WM listed in KDM?

Look at /usr/share/config/kdm/kdmrc (for kde4)

SessionsDirs=/usr/share/config/kdm/sessions,/usr/share/apps/kdm/sessions

Offline

#6 2008-10-26 08:53:17

robertp
Member
From: Warszawa, Poland
Registered: 2007-09-11
Posts: 123

Re: Why can't I get a tiling WM listed in KDM?

bender02 wrote:

Look at /usr/share/config/kdm/kdmrc (for kde4)

SessionsDirs=/usr/share/config/kdm/sessions,/usr/share/apps/kdm/sessions

You are right but configuration files should NEVER be placed in /usr directory. I don't understand why KDE developers did this but it is a violation of rules.

@imag1narynumber: Switch to GDM as suggested moljac024. It should use sessions from /etc/X11/sessions.

Offline

#7 2008-10-26 09:31:10

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: Why can't I get a tiling WM listed in KDM?

I don't know why, since it's so, I'd just suggest editing kdmrc and adding /etc/X11/sessions directory to the list. By the way, kdmrc is treated as a config file by pacman (it's preserved on updates).

EDIT: There's plenty of other kde config files in /usr/share/config, so I guess if one uses kde, better get used to the kde devs' quirk of placing config files to weird places...

Last edited by bender02 (2008-10-26 09:34:20)

Offline

#8 2008-10-26 15:11:08

imag1narynumber
Member
From: Connecticut
Registered: 2008-07-23
Posts: 56

Re: Why can't I get a tiling WM listed in KDM?

Excellent, thanks!  I added dwm.desktop and xmonad.desktop to the enormous list of desktops in /usr/share/apps/kdm/sessions/.  Explains why PekWM and awesome were listed so readily and not these.

Offline

#9 2008-11-05 16:46:34

Llama
Banned
From: St.-Petersburg, Russia
Registered: 2008-03-03
Posts: 1,379

Re: Why can't I get a tiling WM listed in KDM?

Probably a dumb question: imag1narynumber, where did you get your xmonad.desktop file in the first place?

Offline

#10 2008-11-05 23:23:09

imag1narynumber
Member
From: Connecticut
Registered: 2008-07-23
Posts: 56

Re: Why can't I get a tiling WM listed in KDM?

Llama, I just opened a .desktop file that I knew was good and worked off of that.  The xmonad.hs file I got off of the website was outdated, but their mailing list was very helpful and it looks like they're going to update things a bit.

Offline

#11 2009-01-28 09:44:48

DonVla
Member
From: Bonn, Germany
Registered: 2007-06-07
Posts: 997

Re: Why can't I get a tiling WM listed in KDM?

explicitly:
append "/usr/share/xsessions,/etc/X11/sessions" in /usr/share/config/kdm/kdmrc (about line 280):

# The directories containing session type definitions in .desktop format,
# ordered by falling priority.
# Default is "/usr/share/apps/kdm/sessions"
SessionsDirs=/usr/share/config/kdm/sessions,/usr/share/apps/kdm/sessions,/usr/share/xsessions,/etc/X11/sessions

Offline

Board footer

Powered by FluxBB