You are not logged in.

1

Wednesday, June 22nd 2005, 8:04am

kde startup

hi all.
I was trying o run a script at kde's startup. A script written by myself which executes kompmgr with a few options. I placed it in ~/.kde/Autostart/ but when I start kde, kword pops up showing the content of my script.

When I put only a symbolic link to kompmgr in ~/.kde/Autostart/ everything works fine and the program runs at kde's startup. However, I would like to use some options there when runing kompmgr. That's why I wrote the script. It looks like

Source code

1
kompmgr -O 0.1 -D 1

and is executable. Very simple but doesn't start at kde's startup.

Do I make an obvious mistake and I cann't see it?
Thanx for any suggestion.

M.

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

2

Wednesday, June 22nd 2005, 8:56am

Does it contain the proper first line (which shell it should be executed with)?

Can you run it manually?

Cheers,
_
Qt/KDE Developer
Debian User

3

Wednesday, June 22nd 2005, 10:34am

manually runs fine. This is how actually I am doing it now. But its kinda annoying to run this command every time I start my KDE. I would like to have it loaded automatically.

All the script contains is what I said above. One line only. What is that about the proper first line?

Cheers,
M.

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

4

Wednesday, June 22nd 2005, 12:17pm

I don't believe that you could execute the script manually if you only have one line in it.
How is the system supposed to know which script interpreter it should invoke?

For example for bash it would be

Source code

1
2
#!/bin/bash
kompmgr -O 0.1 -D 1


Cheers,
_
Qt/KDE Developer
Debian User

5

Wednesday, June 22nd 2005, 2:04pm

you're right. I added that line and now it's working.

Thanx alot for the help
Cheers
M