launch program at start up?

This is a discussion on launch program at start up? within the KDE forums, part of the Tools category; Is there a way to launch a program when KDE starts up? OpenSUSE 10.2, KDE 3.5.5 "release 45.10"....

Go Back   Unix Linux Forum > Technologies & Tools > Tools > KDE

FixUnix.com - Unix Linux Forums

Unix Content Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 08-21-2008, 11:56 AM
Default launch program at start up?

Is there a way to launch a program when KDE starts up?

OpenSUSE 10.2, KDE 3.5.5 "release 45.10".
Reply With Quote
  #2  
Old 08-21-2008, 12:10 PM
Default Re: launch program at start up?

droid wrote:

> Is there a way to launch a program when KDE starts up?
>
> OpenSUSE 10.2, KDE 3.5.5 "release 45.10".


Put a soft link in ~/.kde/Autostart directory to the program you want to
start.

HTH

Rob.
Reply With Quote
  #3  
Old 08-21-2008, 12:15 PM
Default Re: launch program at start up?

On Thu, 21 Aug 2008 08:56:39 -0700 (PDT), droid wrote:
> Is there a way to launch a program when KDE starts up?


Yes.

> OpenSUSE 10.2, KDE 3.5.5 "release 45.10".


You might try creating a script in ~/.kde/Autostart/,
setting execute permissions,
then add command(s) to do whatever you like.

Example 1:

echo "xterm -fg black -bg wheat &" > ~/.kde/Autostart/startup
chmod +x ~/.kde/Autostart/startup

The echo line put an xterm command in the file startup.
chmod set execute permission.

Upon next login, kde should find the script, startup, in ~/.kde/Autostart/
and launch xterm with the indicated colors.

Example 2:

If you want the app to start in another window/desktop
startup could look something like

dcop kwin default setCurrentDesktop 3 > /dev/null
sleep 2
xterm -fg black -bg wheat &


That would switch to desktop 3
wait 2 seconds
and launch xterm.
Reply With Quote
  #4  
Old 08-21-2008, 05:57 PM
Default Re: launch program at start up?

I simply moved the application's (JungleDisk Monitor) desktop icon
into ~/.kde/Autostart and it worked. Thanks Rob!
Reply With Quote
  #5  
Old 08-21-2008, 06:10 PM
Default Re: launch program at start up?

At this time I just needed to start Jungledisk Monitor - which runs in
the system tray - so I just moved it's icon to ~/.kde/Autostart/.
But I appreciate the cool tips, Bit Twister!
Reply With Quote
  #6  
Old 08-22-2008, 03:12 AM
Default Re: launch program at start up?

droid wrote:

> Is there a way to launch a program when KDE starts up?
>
> OpenSUSE 10.2, KDE 3.5.5 "release 45.10".


Sure, in your .kde is a folder called Autostart, open it and craete a link to the app you want to run on startup.

HTH
Joerg
--
For email use g m x d o t n e t
Reply With Quote
Reply

Thread Tools


All times are GMT -5. The time now is 10:54 AM.

In an effort to better serve ads to our visitors, cookies are used on Fixunix.com. For more information, check out our Privacy Policy.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Ad Management by RedTyger