You are not logged in.

#1 2007-10-21 19:19:40

nucleuswizard
Member
From: Serbia
Registered: 2007-10-07
Posts: 79

How to run THIS command at start up?

How to run this command at start up

feh --bg-scale `dcop kdesktop KBackgroundIface currentWallpaper 1`

to be run at boot.In which extension to save and where to put,how to link???

Offline

#2 2007-10-21 19:27:54

tuxing
Member
From: Berlin/Germany
Registered: 2007-06-27
Posts: 34

Re: How to run THIS command at start up?

try to include your command(s) in /etc/rc.local. That file will be execed after all the other rc.* stuff..
Also you can put your cammands in a runlevel dependend rc.* file, but note that this my be owerwritten on the next system upgrade!
best solution may be /etc/rc.local

good luck!


GNU/Linux is not only another operating system. It is freedom from any point view!

Offline

#3 2007-10-21 19:30:03

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,718
Website

Re: How to run THIS command at start up?

You may also be able to add it to your ~/.bashrc

R.

Offline

#4 2007-10-21 19:35:08

pelle.k
Member
From: Åre, Sweden (EU)
Registered: 2006-04-30
Posts: 667

Re: How to run THIS command at start up?

What are you trying to do?
Everything put in rc.local is run as root, and that might not be what you want to do...

Are you running kde (dcop is mainly a kde component)? If so, put that command in a text file, like this;

#! /bin/sh
feh --bg-scale `dcop kdesktop KBackgroundIface currentWallpaper 1`

make it executable with "chmod +x <filename>" and put it in .kde/Autostart

Last edited by pelle.k (2007-10-21 19:36:08)


"Your beliefs can be like fences that surround you.
You must first see them or you will not even realize that you are not free, simply because you will not see beyond the fences.
They will represent the boundaries of your experience."

SETH / Jane Roberts

Offline

#5 2007-10-21 20:03:38

nucleuswizard
Member
From: Serbia
Registered: 2007-10-07
Posts: 79

Re: How to run THIS command at start up?

pelle.k wrote:

What are you trying to do?
Everything put in rc.local is run as root, and that might not be what you want to do...

Are you running kde (dcop is mainly a kde component)? If so, put that command in a text file, like this;

#! /bin/sh
feh --bg-scale `dcop kdesktop KBackgroundIface currentWallpaper 1`

make it executable with "chmod +x <filename>" and put it in .kde/Autostart

That is I wanted,thanks!!!!!

Offline

#6 2007-10-21 20:06:00

tuxing
Member
From: Berlin/Germany
Registered: 2007-06-27
Posts: 34

Re: How to run THIS command at start up?

seems the best solutions came from ralvez and pelle.k, so go with them...

have luck! tongue


GNU/Linux is not only another operating system. It is freedom from any point view!

Offline

Board footer

Powered by FluxBB