KDE startup (was: KDE Improvement??)

Brian T. Schellenberger bts at babbleon.org
Sat Aug 10 13:26:00 BST 2002

On Saturday 10 August 2002 01:52 am, Brad Potts wrote:
| On Thursday 08 August 2002 11:28 pm, you wrote:

| > ... put that into my startup folder on my desktop so that they are
| > automatically executed on login.
| When you say a startup folder on your desktop, what do you mean?  

Hmmm . . . this is odd.  *I* Have a ~/Desktop/Startup file, but it's actually 
a *file*, not a *folder* at all.  It *does* seem to automatically execute, 
though.  But now that I look around, I've realized that this isn't standard 
KDE behavior at all; it's something I setup by hand myself so long ago that 
I'd completely forgotten about it.

So that was bad advice.  I'm not really not doing very well in this thread.  I 
mean I keep eventually giving you good advice but with a lot of bad advice 
and errors mixed in to make it harder along the way.

|I know
| how to add it to the startup folder in windows, but I can't seem to find
| that in KDE.  I feel like an idiot cause I've been looking everywhere and
| can't figure it out.  I even tried adding the following line to my
| /etc/rc.d/rc.local file since I was told you could exectue stuff here at
| startup......
| xmodmap -e "keycode 117=F29"
| But had no luck with this.  

That won't work because when /etc/rc.d/rc.local executes X hasn't started up 
yet.  (Even if you use kdm or xdm, X is essentially restarted when you log 
in, so all these settings are lost.)

So you have to set the xmodmap after you are logged in.  There are lots of 
ways to do this, actually; it would also work to put it in your .profile or 
.cshrc or whatever else your shell's startup script is called, but I 
confusedly thought that the startup folder was the "standard" way to do this 
sort of thing so I suggested it.

Looking now, I'm not sure if I know why my current setup works.

Surely somebody else knows what the "standard" way is to do things at KDE 
startup time.  I mean, there *must* be a way, right?

In the meantime, as long as you normally startup up a konsole or other shell 
as part of your normal session, it should work to put it in your shell's 
startup script.  That does mean it keeps getting re-executed every time you 
start up a new shell, but this should be harmless, just a bit inelegant.

Brian, the man from Babble-On . . . .   bts at babbleon.org (personal)

http://www.eff.org                      http://www.programming-freedom.org 

This message is from the kde mailing list.
Account management:  http://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

More information about the kde mailing list