LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-15-2004, 06:10 PM   #1
sovietpower
Member
 
Registered: Jun 2003
Distribution: Slackware64 14.1 and -current
Posts: 207

Rep: Reputation: 30
Add Window Manager to KDM Slackware 10


I recently downloaded Enlightenment and wanted to give it a try. I used to know how to add session types to KDM with earlier versions but I guess KDM is different with the newer versions of KDE. I want to add enlightenment to the menu but I can't seem to find the file that KDM reads the list of managers from. Thx
 
Old 09-15-2004, 06:47 PM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
What you need to find is the .desktop files for KDM. On some systems there under /usr/share/apps/kdm/sessions/ on others /opt/kde/share/apps/kdm/sessions/

You should already find an enlightenment.desktop file. What you need to do is make sure the lines

Exec=enlightenment
TryExec=enlightenment

Point to the actual file to start it.

i.e.
Exec=/usr/local/bin/enlightenment
TryExec=/usr/local/bin/enlightenment
 
Old 09-15-2004, 06:58 PM   #3
sovietpower
Member
 
Registered: Jun 2003
Distribution: Slackware64 14.1 and -current
Posts: 207

Original Poster
Rep: Reputation: 30
I dont need to point to the file to it I need to find the file so I can edit what is shown on the session types list in KDM
 
Old 09-15-2004, 07:02 PM   #4
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
KDM uses these files. There isn't a seprate session list file.

It checks the file pointed to by TryExec to check if the WM or DE is installed, if it finds these executable files, it adds the WM to the session list.

When there selected from the session list and you login, it executes the file pointed to by Exec to start the WM or DE.
 
Old 09-15-2004, 08:39 PM   #5
sovietpower
Member
 
Registered: Jun 2003
Distribution: Slackware64 14.1 and -current
Posts: 207

Original Poster
Rep: Reputation: 30
That didnt work...
 
Old 09-15-2004, 09:23 PM   #6
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
So you've got the names exactly right, and the files do exist?

The most common needed line is /usr/local/enlightenment/bin/enlightenment. To check if you've got the right line try

xinit -e /usr/local/enlightenment/bin/enlightenment

This should start enlightenlemt from a command line.

Last edited by leonscape; 09-15-2004 at 09:25 PM.
 
Old 09-15-2004, 09:24 PM   #7
sovietpower
Member
 
Registered: Jun 2003
Distribution: Slackware64 14.1 and -current
Posts: 207

Original Poster
Rep: Reputation: 30
I didnt put the xinit in but I did put the the other line
 
Old 09-15-2004, 09:26 PM   #8
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
Try starting from a command line with xinit, you shouldn't need that it the .desktop file.
 
Old 09-15-2004, 10:12 PM   #9
sovietpower
Member
 
Registered: Jun 2003
Distribution: Slackware64 14.1 and -current
Posts: 207

Original Poster
Rep: Reputation: 30
Ok here I will post my files I did put the exact file names and it still didnt show up in fact, I use Fluxbox and Fluxbox is under the sessions list yet it doesnt have an xsession file there is no fluxbox.desktop file in usr/share/xsessions/ want to explain that?


Code:
bash-2.05b$ ls
afterstep.desktop       fvwm2.desktop   openwin.desktop
blackbox.desktop        fvwm95.desktop  twm.desktop
enlightenment.desktop   gnome.desktop   windowmaker.desktop
enlightenment.desktop~  kde.desktop     xfce.desktop
Code:
    I    enlightenment.desktop (Read  Row 1    Col 1    8:12  Ctrl-K H for help
[Desktop Entry]
Encoding=UTF-8
Name=Enlightenment
Comment=This session logs you into Enlightenment
TryExec=/usr/local/enlightenment/bin/enlightenment
# no icon yet, only the top three are currently used
Icon=
Type=Application
and yes it does work from a command line
 
Old 09-15-2004, 10:16 PM   #10
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
There seems to be something wrong there heres mine:

Code:
[Desktop Entry]
Encoding=UTF-8
Type=XSession
Exec=/usr/local/enlightenment/bin/enlightenment
TryExec=/usr/local/enlightenment/bin/enlightenment
Name=Enlightenment
Name[bn]=<8F>নলা<87><9F><87>নম<87>ন<8D><9F>
Name[cy]=Goleuni (Enlightenment)
Name[eo]=Lumaĵo
...
and it goes on with other translations and comments. Maybe you should upgrade KDM, or copy the first few lines I have here.
 
Old 09-15-2004, 10:18 PM   #11
sovietpower
Member
 
Registered: Jun 2003
Distribution: Slackware64 14.1 and -current
Posts: 207

Original Poster
Rep: Reputation: 30
Explain why I don't have a fluxbox entry yet I use fluxbox all the time?
 
Old 09-15-2004, 10:24 PM   #12
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
Good question. Maybe Slack have set this up all diffrent, checking for more information I found some people pointing too /etc/kde3/kdmrc

and a line
SessionTypes=default, twm, kde, etc...

Maybe this is whats going on?
 
Old 09-15-2004, 10:25 PM   #13
sovietpower
Member
 
Registered: Jun 2003
Distribution: Slackware64 14.1 and -current
Posts: 207

Original Poster
Rep: Reputation: 30
It used to be like that I changed it last time like that but now since its a different version of KDE it doesnt even have that line in there. KDM is reading what session types to display from another file thats what Im trying to find
 
Old 09-15-2004, 10:37 PM   #14
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
I've managed to find the latest KDM Handbook, I hope this helps. I'm sorry what I suggested has worked for you

Gotta go is 4:30am here
 
Old 09-15-2004, 10:40 PM   #15
sovietpower
Member
 
Registered: Jun 2003
Distribution: Slackware64 14.1 and -current
Posts: 207

Original Poster
Rep: Reputation: 30
sorry to keep you so late yeah I looked through the handbook once already and it didnt help Once again I dont see any entries related to Fluxbox
 
  


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
gdm add window manager el_pajaro! Debian 2 04-30-2005 08:16 PM
add a window manager in kdm nenyo Linux - Software 1 02-05-2005 02:26 AM
Mandrake KDM and a new window manager Law1213 Linux - Software 1 10-27-2004 04:59 PM
KDM window manager drop down listing zugwrack Linux - Newbie 2 03-19-2004 06:19 AM
Add login window manager Sifvion Linux - Software 7 08-03-2002 10:48 AM


All times are GMT -5. The time now is 03:34 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration