I too have been looking for something like this, but I have not found anything as yet. Perhaps it would make for a good enhancment request?
-----Original Message-----
From: Ti Kan [mailto:ti@amb.org]
Sent: Wednesday, August 18, 2004 6:20 AM
To: suse-kde(a)suse.com; suse-linux-e(a)suse.com
Subject: [suse-kde] KDE logout script?
Question:
Is there a way to have KDE run a shell script that I supply to perform some custom clean-ups when I log out? Sort of like an opposite of the Autostart?
-Ti
--
To unsubscribe, email: suse-kde-unsubscribe(a)suse.com
For additional commands, email: suse-kde-help(a)suse.com
Please do not cross-post to suse-linux-e
I am experiencing the same problem. I can start KDE from the console, but not from KDM. It hangs at the kcminit phase for me as well.
It did work until I was playing with my screen saver, which for some reason crashed X completely. After that I started having this hang. I changed the screen saver back thinking that has something to do with the problem, but this had no effect.
Any thoughts on this are much welcomed.
Dan
-----Original Message-----
From: Ti Kan [mailto:ti@amb.org]
Sent: Saturday, August 21, 2004 6:24 PM
To: suse-kde(a)suse.com; suse-linux-e(a)suse.com
Subject: [suse-kde] KDE login hang again
KDE 3.3.0 on SuSE 9.1 here.
I am experiencing a hang at the splash screen again after logging in to KDE. This time, I've done a bit of debugging and found that the culprit is kcminit. In the /opt/kde3/bin/startkde script, there is a line:
LD_BIND_NOW=true kdeinit +kcminit +knotify
If I change this line to skip kcminit as follows, then I can log in just fine:
LD_BIND_NOW=true kdeinit +knotify
Manually running "kdeinit +kcminit" in a kconsole window shows a bunch of messages, and I confirmed that it does not complete and return to the shell prompt. I have to ctrl-C to abort it.
So, 2 questions:
1. Just what does kcminit do? I don't seem to have lost any obvious
functionality without it?
2. Why might kcminit be hanging on my machine?
-Ti
--
To unsubscribe, email: suse-kde-unsubscribe(a)suse.com
For additional commands, email: suse-kde-help(a)suse.com
Please do not cross-post to suse-linux-e
I have SuSE Linux Personal 9.1 and am running KDE. I wanted to try
some other window manager recently, but the damned configuration somehow
only loads KDE. What do I have to edit in these files to be able to
switch window manager sessions at login using KDM?
Copies of the files:
kdmrc:
[General]
AuthDir=/var/lib/xdm/authdir/authfiles/
ConfigVersion=2.0
PidFile=/var/run/kdm.pid
Xservers=/etc/X11/xdm/Xservers
[Shutdown]
HaltCmd=/sbin/halt
LiloCmd=/sbin/lilo
LiloMap=/boot/map
RebootCmd=/sbin/reboot
UseLilo=false
[X-*-Core]
AllowNullPasswd=true
AllowRootLogin=true
AllowShutdown=Root
AuthNames=XDM-AUTHORIZATION-1,MIT-MAGIC-COOKIE-1
AutoReLogin=false
HideMenu=true
Reset=/etc/X11/xdm/Xreset
Resources=/etc/X11/xdm/Xresources
Session=/etc/X11/xdm/Xsession
Setup=/etc/X11/xdm/Xsetup
Startup=/etc/X11/xdm/Xstartup
TerminateServer=true
[X-*-Greeter]
AdminSession=YaSTadminSession
AntiAliasing=true
BackgroundCfg=/etc/opt/kde3/share/config/kdm/backgroundrc
ColorScheme=SuSE
DefaultUser=timby
EchoMode=OneStar
FaceSource=AdminOnly
FailFont=SUSE Sans,12,-1,5,74,0,0,0,0,0
FocusPasswd=false
GUIStyle=
GreetFont=SUSE Sans,17,-1,5,48,0,0,0,0,0
GreetString=Welcome to %h.
GreeterPosFixed=false
GreeterPosX=100
GreeterPosY=100
HiddenUsers=root,nobody,bigsister,gguru
Language=en_US
LogoArea=Clock
LogoPixmap=
MaxShowUID=65000
MinShowUID=500
PreselectUser=None
SelectedUsers=
SessionTypes=default,kde,failsafe
ShowUsers=NotHidden
SortUsers=true
StdFont=SUSE Sans,12,-1,5,48,0,0,0,0,0
UseBackground=true
[X-:*-Core]
AllowNullPasswd=true
AllowRootLogin=true
AllowShutdown=All
NoPassEnable=false
NoPassUsers=
[X-:*-Greeter]
AdminSession=YaSTadminSession
HideMenu=true
[X-:0-Core]
AutoLoginEnable=false
AutoLoginUser=timby
NoPassEnable=false
NoPassUsers=
[X-:0-Greeter]
AdminSession=
LogSource=/dev/xconsole
[Xdmcp]
Enable=false
Willing=/etc/X11/xdm/Xwilling
Xaccess=/etc/X11/xdm/Xaccess
-----------------------------------------------------
XSession:
#!/bin/sh
#
# Xsession: Setup the xsession and start the xsession
# script of the user.
#
# Copyright (c) 1998-2000 SuSE GmbH Nuernberg, Germany.
# please report bugfixes or comments at http://www.suse.de/feedback.
#
# Author: Werner Fink, <werner(a)suse.de>
#
#
# What we do if we are signaled or do not leave this
# script with an appropriate exec call.
#
: ${failsafe="xterm -ls -T Failsafe -geometry 80x24+0+0"}
readonly failsafe
trap "exec $failsafe" EXIT SIGHUP SIGINT SIGPIPE SIGTERM SIGIO
#
# Save our arguments, maybe some of users call
# `set' in their profile files.
#
argv="$@"
#
# Handle the NoChange option of wdm
#
/sbin/pidof -s wdm > /dev/null 2>&1
if test $? -eq 0; then
if test -z "$argv"; then
if test -s $HOME/.wmrc; then
argv=$(<$HOME/.wmrc) #use wm from previous session
fi
else
echo "$argv" > $HOME/.wmrc #save wm
fi
fi
readonly argv
#
# Disable graphical login if normal login is disabled
#
login=false
while read sh; do
if test "$sh" = "$SHELL"; then
login=true
break
fi
done < /etc/shells
if test "$login" != "true" -o "$SHELL" = "/bin/false"; then
trap "exec xmessage -timeout 10 -button okay:1 -center \
\"${0##*/}: Login for $USER is disabled.\"" \
EXIT SIGHUP SIGINT SIGPIPE SIGTERM SIGIO
exit 1
fi
unset sh login
#
# Some bash (1 and 2) settings to avoid trouble with
# personal profile or bashrc files and failed exec calls.
#
test -n "$BASH" && set +o posix
no_exit_on_failed_exec=1
type shopt &> /dev/null && shopt -s execfail
set +e &> /dev/null
#
# Redirect errors to the standard user log files.
#
: ${TMPDIR=/tmp}
for errfile in "$HOME/.xsession-errors" \
"$TMPDIR/xses-$USER" \
"/tmp/xses-$USER"
do
#
# Avoid bad symbolic links
#
case "$errfile" in
/tmp/*|$TMPDIR/*) rm -f $errfile;;
esac
if (rm -f -- "$errfile" && /bin/mktemp "$errfile") 2> /dev/null; then
exec > "$errfile" 2>&1
break
fi
done
#
# Danger: What will the user do with some of the used variables?
# I do not like that ... but even if we source user's files
# we want to find our files and use correct variables.
#
__HOME="$HOME" # Users HOME determined by xdm
__DISPLAY="$DISPLAY" # The DISPLAY set by xdm for this session
__XAUTHORITY="$XAUTHORITY" # Should be empty in the most cases
readonly __HOME __DISPLAY __XAUTHORITY
#
# Read the default system settings.
#
test -r /etc/profile && { . /etc/profile > /dev/null 2>&1; }
set +u > /dev/null 2>&1
#
# Some system defaults
#
: ${XLIBDIR=/usr/X11R6/lib/X11}
: ${OPENWINHOME=/usr/openwin}
readonly XLIBDIR
#
# the users ~/.profile
#
test -r ${HOME}/.profile && { . ${HOME}/.profile > /dev/null 2>&1; }
set +u > /dev/null 2>&1
#
# Restore
#
HOME="$__HOME"
DISPLAY="$__DISPLAY"
XAUTHORITY="$__XAUTHORITY"
TERM=xterm
#
export OPENWINHOME TERM DISPLAY HOME
test -z "$XAUTHORITY" && unset XAUTHORITY || export XAUTHORITY
#
# Check path (paranoid)
#
type -p xdm > /dev/null 2>&1 || PATH=$PATH:/usr/X11R6/bin
#
# Handle arguments given by xdm.
#
set -- $argv
if test $# -ge 1; then
case "$1" in
failsafe)
shift
exec $failsafe
;;
*)
#
# KDM may overwrites this
#
WINDOWMANAGER=$1; export WINDOWMANAGER
if test $# -ge 2 && test -n "$2"; then
LANG=$2; export LANG
fi
shift $#
;;
esac
fi
#
# Some common user and system files,
# do not use `: ${xx=yy}' here.
#
xdefaults=$HOME/.Xdefaults
xresources=$HOME/.Xresources
xmodmap=$HOME/.Xmodmap
session=$HOME/.xsession
xinitrc=$HOME/.xinitrc
openwin=$OPENWINHOME/bin/openwin
errinit=$XLIBDIR/xinit/xinitrc
errsess=$XLIBDIR/xdm/sys.xsession
# errsess=/opt/kde3/share/config/kdm/Xsession
#
# Handle the users Xmodmap and Xresources
#
test -r "$xmodmap" && xmodmap "$xmodmap"
if test -r "$xdefaults" ; then
if test -r "$XLIBDIR/Xresources"; then
xrdb -load -retain "$XLIBDIR/Xresources"
xrdb -I$HOME -merge "$xdefaults"
else
xrdb -I$HOME -load -retain "$xdefaults"
fi
test -r "$xresources" && xrdb -I$HOME -merge "$xresources"
elif test -r "$xresources"; then
if test -r "$XLIBDIR/Xresources"; then
xrdb -load -retain "$XLIBDIR/Xresources"
xrdb -I$HOME -merge "$xresources"
else
xrdb -I$HOME -load -retain "$xresources"
fi
elif test -r "$XLIBDIR/Xresources"; then
xrdb -load -retain "$XLIBDIR/Xresources"
fi
# User session
# If the user doesn't have their own xsession, then run
# xinitrc if they exist
readonly XSESSION_IS_UP=yes
export XSESSION_IS_UP
if test -f $session; then
test -x $session && exec $session
exec /bin/sh $session
elif test -f $xinitrc; then
test -x $xinitrc && exec $xinitrc
exec /bin/sh $xinitrc
elif test -f $errsess; then
test -x $errsess && exec $errsess
exec /bin/sh $errsess $WINDOWMANAGER
elif test -f $errinit; then
test -x $errinit && exec $errinit
exec /bin/sh $errinit
elif test -f $openwin; then
test -x $openwin && exec $openwin
exec /bin/sh $openwin
else
test -n "$WINDOWMANAGER" && exec $WINDOWMANAGER
fi
#
# Call failsafe
#
exit 1
What do I have to edit to make things work? Is there some other file I
should post?
Thx in advance,
--WT
Hallo Liste,
schöne grüsse von kurt garloff, er hat einen kernel gebaut der anscheinend das
problem mit dem hänger beim brennen von audio cds löst. Testet den mal. Liegt
unter ftp://ftp.suse.com/pub/people/garloff/kernel/cd/ zum download.
Bei mir läufts jedenfalls jetzt mit dem kernel.
bye,
MH
--
Die unaufgeforderte Zusendung einer Werbemail an Privatleute verstößt gegen §1
UWG und 823 I BGB (Beschluß des LG Berlin vom 2.8.1998 Az: 16 O 201/98). Jede
kommerzielle Nutzung der übermittelten persönlichen Daten sowie deren
Weitergabe an Dritte ist ausdrücklich untersagt!
gpg key fingerprint: 5F64 4C92 9B77 DE37 D184 C5F9 B013 44E7 27BD 763C
Hi,
After update my SuSE 9.1 to KDE (via YOU) the application
launcher (Alt+F2) is oppening stil on the same workspace.
When i invoke it from on example first workspace, then
cancel, switch to thrird and invoke it again - it appears
on the first workspace. It appearas allways on this workspace,
where the first invoke was made. Volks from de.comp.os.unix.apps.kde
with another distros could not reproduce this problem. Could someone
of you try to reproduce this problem.
Ciao, Raphael
PS: Sorry for my "broken" english :-|
--
o-------------------------------------------------------o
| Komm-Kontroll GmbH www.komm-kontroll.de |
| Postfach 73 01 46 raphael.posmyk(a)komm-kontroll.de |
| D-22121 Hamburg +49 (0)40 67379990 |
o-------------------------------------------------------o
Hi there,
I'm running KDE 3.3.0 on 3 machines now - 1 SuSE 9.0 and 2 SuSE 9.1.
I've got the same problem on both 9.1-machines:
KDE is setting all sound-options to 0.
Everytime I log in I have to do all sound settings again.
I tried to do the settings in YAST - so success.
I tried different mixers - no success.
It must be a KDE 3.3.0 problem because it exists since installing 3.3.0.
But only on SuSE 9.1. 9.0 is running well.
Anyone an idea to solve the problem?
Greetings
Jochen
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
hello list,
is there still a way to get 3.2.3 via Yast (yast-source). If yes, please could
you tell me where?
- --
bb
Gunnar
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFBKOloKqo9GUyFpKYRAq1XAJ9rIJkv5DmSWS5ZA7AQRFbZaZOpbwCgiOpg
0kkg9kqXxJsTLdZF9zVituM=
=TPTq
-----END PGP SIGNATURE-----
hi -
have recently upgraded to kde 3-3 via the Suse RPM updates and everything
seems to have gone fine...only one minor problem:
- konqueror no longer shows previews of any mimetype.
previews are enabled and I have checked the settings for the various filetypes
that should be displaying previews and everything 'seems' to be in order.
has anyone else experienced this problem?...or something similar? Any
suggestions would be welcome - although I usually have previews off, I find
it a useful feature to be able to turn on occasionally via a shortcut key.
thanks,
Chris
Hi all,
I have noticed something new in the present KDE 3.3 release. Try this
and see if it works for you too. Open up Konqueror, the file manager,
home will do and move a file or folder around the window. Did you get
trails? :o)
Refreshing the window or even just moving it slightly will clear the
trails, but I don't think they are suppose to be there?
Lee
--
--- KMail v1.7 --- SuSE Linux Pro v9.1 ---
Registered Linux User #225206
Those Who Dance Are Considered Insane,
by Those That Cannot Hear the Music!