View previous topic :: View next topic |
Author |
Message |
soNNe n00b
Joined: 26 May 2003 Posts: 64 Location: Odense, Denmark
|
Posted: Wed Sep 03, 2003 9:08 pm Post subject: how to get my .xsession to work |
|
|
i use kde and kdm
when i log in as a normal user i want it to run .xsession in the users homedir
i figured out to make my /etc/X11/Sessions/kde-3.1.2 script like this
Code: |
#! /bin/sh
if [ -f $HOME/.xsession ]; then
/bin/sh $HOME/.xsession
fi
/usr/kde/3.1/bin/startkde
|
thats cool BUT when i log in and the kde-3.1.2 scripts is executed the $HOME variable
is "/root" and not the home dir of the user who logs in
How is it possible to run programs when kde starts. i want kopete and various other programs to start. but .xinitrc and .xsession doesn't work when using kdm
Anyone who can help? |
|
Back to top |
|
|
d3vlin Tux's lil' helper
Joined: 02 Apr 2003 Posts: 134
|
Posted: Mon Sep 22, 2003 8:16 am Post subject: |
|
|
If I recall right the way to do this is by putting scripts for the programs to autoload on a new session in ~/.kde???/Autostart/
Good luck! |
|
Back to top |
|
|
thunder Retired Dev
Joined: 01 Sep 2003 Posts: 164 Location: Wroclaw, PL
|
Posted: Mon Sep 22, 2003 8:28 am Post subject: |
|
|
yeah but not everybody use kde for example i use fluxbox and then i must edit ~/.fluxbox/* files _________________ Damian Florczyk
Gentoo/NetBSD development lead |
|
Back to top |
|
|
|