kdm configuration (fluxbox startup)

This is a discussion on kdm configuration (fluxbox startup) within the Debian forums, part of the Linux category; I'm running Debian Sarge with kdm (4:3.3.32). According to the kde help center, the kdm configuration file is $KDEDIR/share/config/kdmrc, but I found it in another location at /etc/kde3/kdm However in ...

Go Back   FixUnix - Unix Linux Forum > Unix > Linux > Debian

FixUnix.com - Unix Linux Forums

Unix Content Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 10-06-2007, 08:24 AM
Default kdm configuration (fluxbox startup)

I'm running Debian Sarge with kdm (4:3.3.32). According to the kde help
center, the kdm configuration file is $KDEDIR/share/config/kdmrc, but I
found it in another location at /etc/kde3/kdm
However in /etc/kde3/kdm/kdmrc, I cannot find the SessionTypes key
(mentionned in the help center) ?!

I would like to add a few startup commands (for example xmodmap
$HOME/.xmodmaprc, ...). With kde 3.3, I use the $HOME/.kde/Autostart
directory to put my startup scripts. However this is specific to kde. For
fluxbox, I tried $HOME/.fluxbox/startup but it doesn't work.

Thanks
Reply With Quote
  #2  
Old 10-06-2007, 08:24 AM
Default Re: kdm configuration (fluxbox startup)

On 11/12/2006 04:05 AM, pirouz wrote:
> I'm running Debian Sarge with kdm (4:3.3.32). According to the kde help
> center, the kdm configuration file is $KDEDIR/share/config/kdmrc, but I
> found it in another location at /etc/kde3/kdm
> However in /etc/kde3/kdm/kdmrc, I cannot find the SessionTypes key
> (mentionned in the help center) ?!
>
> I would like to add a few startup commands (for example xmodmap
> $HOME/.xmodmaprc, ...). With kde 3.3, I use the $HOME/.kde/Autostart
> directory to put my startup scripts. However this is specific to kde. For
> fluxbox, I tried $HOME/.fluxbox/startup but it doesn't work.
>
> Thanks


You can put such scripts in /etc/X11/Xsession.d/


--
paduille.4060.mumia.w@earthlink.net
Reply With Quote
  #3  
Old 10-06-2007, 08:24 AM
Default Re: kdm configuration (fluxbox startup)

Mumia W. (reading news) wrote:

> On 11/12/2006 04:05 AM, pirouz wrote:
>> I'm running Debian Sarge with kdm (4:3.3.32). According to the kde help
>> center, the kdm configuration file is $KDEDIR/share/config/kdmrc, but I
>> found it in another location at /etc/kde3/kdm
>> However in /etc/kde3/kdm/kdmrc, I cannot find the SessionTypes key
>> (mentionned in the help center) ?!
>>
>> I would like to add a few startup commands (for example xmodmap
>> $HOME/.xmodmaprc, ...). With kde 3.3, I use the $HOME/.kde/Autostart
>> directory to put my startup scripts. However this is specific to kde. For
>> fluxbox, I tried $HOME/.fluxbox/startup but it doesn't work.
>>
>> Thanks

>
> You can put such scripts in /etc/X11/Xsession.d/
>
>


I created a script in /etc/X11/Xsession.d/ to read my .bash_profile, and I
added some startup commands to the bash_profile. It works : my bash_profile
is executed !
Thanks
Reply With Quote
  #4  
Old 10-06-2007, 08:24 AM
Default Re: kdm configuration (fluxbox startup)

On 11/12/2006 02:29 PM, pirouz wrote:
> Mumia W. (reading news) wrote:
>
>> On 11/12/2006 04:05 AM, pirouz wrote:
>>> I'm running Debian Sarge with kdm (4:3.3.32). According to the kde help
>>> center, the kdm configuration file is $KDEDIR/share/config/kdmrc, but I
>>> found it in another location at /etc/kde3/kdm
>>> However in /etc/kde3/kdm/kdmrc, I cannot find the SessionTypes key
>>> (mentionned in the help center) ?!
>>>
>>> I would like to add a few startup commands (for example xmodmap
>>> $HOME/.xmodmaprc, ...). With kde 3.3, I use the $HOME/.kde/Autostart
>>> directory to put my startup scripts. However this is specific to kde. For
>>> fluxbox, I tried $HOME/.fluxbox/startup but it doesn't work.
>>>
>>> Thanks

>> You can put such scripts in /etc/X11/Xsession.d/
>>
>>

>
> I created a script in /etc/X11/Xsession.d/ to read my .bash_profile, and I
> added some startup commands to the bash_profile. It works : my bash_profile
> is executed !
> Thanks


You don't want to do that. The scripts in /etc/X11/Xsession.d/ are
executed for any user, so your .bash_profile will also be executed when
any other user logs in--that's unsafe.

Any scripts you put into /etc/X11/Xsession.d/ should be pretty much
self-contained, e.g.:

--------/etc/X11/Xsession.d/43-xmodmap----------
#!/bin/sh
xmodmap -e '...'
-----------end-------------


--
paduille.4060.mumia.w@earthlink.net
Reply With Quote
Reply

Thread Tools


All times are GMT -5. The time now is 03:45 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Ad Management by RedTyger