You are not logged in.

#1 2009-04-26 07:11:41

MoonSwan
Member
From: Great White North
Registered: 2008-01-23
Posts: 881

[SOLVED] Add Jwm to KDM session list

I have searched the web, the help files for KDM and this forum for an hour or two by now and all I want to do is add the "JWM" wm to my KDM session list.  This wasn't hard in KDE 3, you just edited a config file or made a desktop file in the /opt directory.  Unfortunately I cannot find an equivalent way of doing this with KDE 4. 

I have also looked at the kdmrc file & associated files within the /usr/share/configs/kdm folder.  You used to also be able to do what I want using the KDE configuration centre but again this functionality was removed.  I am getting a bit frustrated here and don't know where else to look for an answer.

TIA
MS

Last edited by MoonSwan (2009-06-04 03:14:19)

Offline

#2 2009-04-26 11:43:09

Xabre
Member
From: Serbia
Registered: 2009-03-19
Posts: 749

Re: [SOLVED] Add Jwm to KDM session list

/etc/X11/sessions wink

Offline

#3 2009-04-26 21:33:38

MoonSwan
Member
From: Great White North
Registered: 2008-01-23
Posts: 881

Re: [SOLVED] Add Jwm to KDM session list

Yay I feel like an idiot!  Thank you Xabre.  smile

Offline

#4 2009-04-27 05:11:38

MoonSwan
Member
From: Great White North
Registered: 2008-01-23
Posts: 881

Re: [SOLVED] Add Jwm to KDM session list

And now I feel like a bigger idiot.  I created a desktop file in the /etc/X11/sessions directory, correct permissions & all but I still get nothing showing up in the sessions list for the KDM screen.  Here's the file I wrote:

cat /etc/X11/sessions/jwm.desktop
[Desktop Entry]
Encoding=UTF-8
Type=XSession
Exec=/usr/bin/jwm
TryExec=/usr/bin/startx
Name=JWM
Name[xx]=xxJWMxx
Comment=Joe's Window Manager

What am I doing wrong?

Offline

#5 2009-06-04 03:14:00

MoonSwan
Member
From: Great White North
Registered: 2008-01-23
Posts: 881

Re: [SOLVED] Add Jwm to KDM session list

I have finally solved this issue and the only reason I found it was due to chance by looking at the Xorg entry on the Arch wiki.

I was told to add my jwm.desktop file to /etc/X11/sessions.  This is, however, incorrect when dealing with KDE 4 it seems.  Instead you must add your file to /usr/share/config/kdm/sessions.  If you want you can also do a chmod +x to the file, though I don't think its necessary.

Feels nice to solve a long-standing issue I've had with KDE 4.  Now to go conquer the world!  big_smile

Offline

Board footer

Powered by FluxBB