LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   KDM Configuration (https://www.linuxquestions.org/questions/slackware-14/kdm-configuration-536088/)

JMJ_coder 03-09-2007 03:28 PM

KDM Configuration
 
Hello,

I am currently running KDM. It has the option to change between session types, which is the different Desktop Enviroments and Window Managers. One of my options is FVWM. I installed FVWM Themes and would like to use them, but I need to change the command called on from fvwm2 to fvwm-themes-start. The problem is that I cannot find where the config file I need to edit is. It seems that the normal xsessions and xinit files all point to startkde, so I assume that there is a specific program KDE calls on to start KDM and a script to offer the different session types. That is probably what I need to edit and I need to know where it is located. I found some config files in /opt/kde but I didn't seem to find anything that had the different session commands. Any advice? Does XDM offer a quick change between Desktop Enviroments and Window Managers - if so I may consider switching.

GrapefruiTgirl 03-09-2007 08:04 PM

My KDM offers a pulldown menu which allows me to pick from blackbox, fvwm, Ice, about a dozen in total.
It's KDE 3.5.4.
From the Control Center --> Login manager you should be able to set the login do display that pulldown menu, which itself offers to set the default session as your choice, or as the last type used, etc.
Hopefully this helps, if I've understood you.
Also, have a look in etc/rc.4 for the DM which is started and in which order.
I think you're on the right track by looking in /opt too for settings, and also look through /etc/X11R6/...

acummings 03-10-2007 12:02 AM

al@p3srv:/etc/X11/xinit$ pwd
/etc/X11/xinit
al@p3srv:/etc/X11/xinit$ cat xinitrc.fvwm2
#!/bin/sh
# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws
# <snipped>
# start some nice programs
xsetroot -solid SteelBlue
fvwm2
# end

I'm (somewhat) guessing -- but the last line above is your fvwm2 command that you asked "where is it".

So, 1. , KDM probably calls whichever xinitrc.xxxx (in same folder xinit there are more of these xinitrc.xxx for other win managers)

Probably then (next), 2. , that (for fvwm2) xinitrc.fvwm2 is responsible for launching fvwm2

(somewhat of a guess -- in just looking at the setup)
--

al@p3srv:/etc/X11/fvwm2$ pwd
/etc/X11/fvwm2
al@p3srv:/etc/X11/fvwm2$ ls
system.fvwm2rc

That appears to be the settings file itself. (not what launches fvwm2, not the fvwm2 command)

--
Alan.

XGizzmo 03-10-2007 06:25 AM

It looks like fvwm-themes-start does not exist on a stock slackware install.

XGizzmo 03-10-2007 06:28 AM

It looks like fvwm-themes-start does not exist on a stock slackware install.
but you can try this command as root
Quote:

root@slacker:/# updatedb && locate fvwm-themes-start

JMJ_coder 03-11-2007 02:41 PM

Hello,

I already updated the xinitrc.fvwm, but to no avail. It almost seems that KDE is running the other enviroments (FVWM, XFCE, etc.) within a shell of KDE, so that KDE is running in the background and almost like it is emulating the other enviroments. I have tried to find where to change the default window manager (like you do when you first install and it asks for your preference) but to no avail so far.

simcox1 03-11-2007 02:51 PM

Quote:

Originally Posted by JMJ_coder
I have tried to find where to change the default window manager (like you do when you first install and it asks for your preference) but to no avail so far.

Do you mean 'xwmconfig' ? It's listed in /var/log/setup.

I don't know what changes kdm makes to running X, but it always messes up my settings. A lot of programs no longer run under root, like emacs, and I have to sort out mouse settings as well. So I usually give up eventually and go back to run level 3.

JMJ_coder 03-11-2007 04:08 PM

Hello,

Quote:

Originally Posted by simcox1
Do you mean 'xwmconfig' ? It's listed in /var/log/setup.

Yeah, I finally found it - but it did not do anything.

Quote:

Originally Posted by simcox1
I don't know what changes kdm makes to running X, but it always messes up my settings. A lot of programs no longer run under root, like emacs, and I have to sort out mouse settings as well. So I usually give up eventually and go back to run level 3.

Well, I finally edited /etc/rc.d/rc.4 and commented out all the other dm's except for xdm - so that is what I am running now. It gets me into X, but I will probably try to customize it to my liking later on when I have some free time.

I also manually edited /etc/X11/xinit/xinitrc and commented out startkde and entered fvwm-themes-start. I just have to edit the file when I want to move back and forth, for the time being.

simcox1 03-11-2007 04:58 PM

My /etc/X11/xinit/xinitrc.fvwm2 file ends with this:

xsetroot -solid SteelBlue
fvwm2

Can't you just edit that to the command you want to start with? Also, the file /etc/X11/xinit/xinitrc is just a symbolic link to whatever the default window manager is, as set by xwmconfig. So presumeably you could just change that to link to xinitrc.fvwm2, which you can edit. Wether kdm will take any notice I don't know.


All times are GMT -5. The time now is 12:20 AM.