You are not logged in.

#1 2009-06-22 18:05:31

Meyithi
Member
From: Wirral, UK
Registered: 2009-06-21
Posts: 550
Website

[Solved]Terminating startup scripts

Hi

I'm starting Conky up from within Gnome using the following:-

#!/bin/bash
# Delayed Conky Start

sleep 20 && conky

This works fine when I set it to run through the Gnome "Startup Applications" however the script continues to run when Conky starts and just sits idle (http://www.meyithi.com/graphics/sm.png).

Is there a way I can terminate the script after Conky has launched?

Last edited by Meyithi (2009-06-22 18:24:10)


The mind roams more freely in empty rooms.
dwm - colours - ncmpcpp - system
irc://irc.freenode.net:meyithi

Offline

#2 2009-06-22 18:16:17

FrozenFox
Member
From: College Station, TX
Registered: 2008-03-23
Posts: 422
Website

Re: [Solved]Terminating startup scripts

Not sure if itll work for you, but it seems to work on a "sleep 5 then run konqueror in the background then exit" script for me..  try..

#!/bin/bash
sleep 20
conky &
sleep 3 # no idea how long conky takes for you to start up tongue
exit

Last edited by FrozenFox (2009-06-22 18:18:08)

Offline

#3 2009-06-22 18:23:54

Meyithi
Member
From: Wirral, UK
Registered: 2009-06-21
Posts: 550
Website

Re: [Solved]Terminating startup scripts

FrozenFox wrote:

Not sure if itll work for you, but it seems to work on a "sleep 5 then run konqueror in the background then exit" script for me..  try..

Cool, that works well!  Many thanks for the help.


The mind roams more freely in empty rooms.
dwm - colours - ncmpcpp - system
irc://irc.freenode.net:meyithi

Offline

Board footer

Powered by FluxBB