Re: startup script

2012-07-06 Thread Andrei POPESCU
On Lu, 02 iul 12, 19:14:45, Tony van der Hoff wrote: > > > Neither of those variables is set here, so ~/.config/autostart looks > promising. Sadly, putting the link to my script in there doesn't cause > it to be run on login. ~/.config/autostart is for .desktop files. You can use one to call your

Re: startup script

2012-07-02 Thread Tony van der Hoff
On 02/07/12 20:39, rjc wrote: > > Try here: > http://docs.kde.org/stable/en/kde-workspace/kcontrol/autostart/index.html > Ah, thanks. -- Tony van der Hoff | mailto:t...@vanderhoff.org Ariège, France | -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of

Re: startup script

2012-07-02 Thread rjc
On Mon, Jul 02, 2012 at 06:14:45PM BST, Tony van der Hoff wrote: > >> As mentioned, I have a link to that script in ~/kde/autostart. > >> Unfortunately it doesn't autostart. > > > > And it won't. > > Why not? You chastise me for giving insufficient information, but you're > equally terse ;) Sorr

Re: startup script

2012-07-02 Thread Tony van der Hoff
Thanks, rjc, for a very informative post. Unfortunately, my setup (Stock Debian 6.0.5) doesn't seem to agree with your description. On 01/07/12 19:31, rjc wrote: > >> The reason I asked here is because I previously tried doing exactly what >> you suggest by putting a link in ~/.kde/Autostart to th

Re: startup script

2012-07-02 Thread rjc
On Mon, Jul 02, 2012 at 04:38:50AM BST, Andrei POPESCU wrote: > On Du, 01 iul 12, 18:31:24, rjc wrote: > > > > Desktop Environments or Window Managers do not run $SHELL startup > > files, nor should they. > No, but some display managers do :) > At least gdm (and gdm3 IIRC) and kdm do this, which s

Re: startup script

2012-07-01 Thread Andrei POPESCU
On Du, 01 iul 12, 18:31:24, rjc wrote: > > Desktop Environments or Window Managers do not run $SHELL startup > files, nor should they. No, but some display managers do :) At least gdm (and gdm3 IIRC) and kdm do this, which should cover most users. Kind regards, Andrei -- Offtopic discussions a

Re: startup script

2012-07-01 Thread rjc
On Sun, Jul 01, 2012 at 02:05:47PM BST, Tony van der Hoff wrote: > Thanks, Claudius. This is primarily for KDE, but I would expect it to > work for a console login as well. Does KDE try to run ~/.bashrc or > ~/.profile? No it doesn't. Desktop Environments or Window Managers do not run $SHELL star

Re: startup script

2012-07-01 Thread Claudius Hubig
Hello Tony, Tony van der Hoff wrote: > On 01/07/12 13:01, Claudius Hubig wrote: > Thanks, Claudius. This is primarily for KDE, but I would expect it to > work for a console login as well. Does KDE try to run ~/.bashrc or > ~/.profile? I doubt that it runs .bashrc, but it may well run .profile. I

Re: startup script

2012-07-01 Thread Tony van der Hoff
On 01/07/12 13:01, Claudius Hubig wrote: > Hello Tony, > > Tony van der Hoff wrote: >> Hi, >> >> I have a script (non gui) which I want to run each time I log in. Which >> is the correct way to do this? > > Log in on a TTY/console or into a desktop environment? KDE, Xfce and > GNOME all have aut

Re: startup script

2012-07-01 Thread Claudius Hubig
Hello Tony, Tony van der Hoff wrote: > Hi, > > I have a script (non gui) which I want to run each time I log in. Which > is the correct way to do this? Log in on a TTY/console or into a desktop environment? KDE, Xfce and GNOME all have autostart settings, other non-DE graphical interfaces usual

Re: startup script

2012-07-01 Thread Hormatzhan Yiltiz
Put it in your $HOME, create the script with the first line: #! /bin/bash # This is your script called myScript echo "my script is running!" # you may not need this line! then put this line in your ~/.profile file: # include .bashrc if it exists if [ -f "$HOME/.myScript" ]; then . "$

Re: Startup script not working

2011-08-19 Thread Brian
On Fri 19 Aug 2011 at 06:39:05 -0400, Jesse Sheidlower wrote: > > I'm running Xfce under wheezy on a desktop system. I have two monitors > permanently attached to the computer; that is, I never need to do any > configuration on the fly. > > To set up dual-head, I run the simple command > > x

Re: Startup script ?

2004-01-07 Thread Paul Morgan
On Wed, 07 Jan 2004 08:09:49 +0200, Marc Hultquist wrote: > Just wanted to ask > > Ok well using apt-get through the proxy here at work, finally started > working, basically I had to import a global variable I.E export > http_proxy="blabla/" > > Now what I wanted to ask, is how do I create a sta

Re: Startup script ?

2004-01-07 Thread Miquel van Smoorenburg
In article <[EMAIL PROTECTED]>, Kent West <[EMAIL PROTECTED]> wrote: >Marc Hultquist wrote: > >> Ok well using apt-get through the proxy here at work, finally started >> working, basically I had to import a global variable I.E export >> http_proxy="blabla/" >> >> Now what I wanted to ask, is h

Re: Startup script ?

2004-01-07 Thread Lucas Bergman
"Marc Hultquist" <[EMAIL PROTECTED]> writes: > Ok well using apt-get through the proxy here at work, finally > started working, basically I had to import a global variable > > I.E export http_proxy="blabla/" > > Now what I wanted to ask, is how do I create a startup script in > Debian, so that whe

Re: Startup script ?

2004-01-07 Thread Kent West
Marc Hultquist wrote: Ok well using apt-get through the proxy here at work, finally started working, basically I had to import a global variable I.E export http_proxy="blabla/" Now what I wanted to ask, is how do I create a startup script in Debian, so that whenever the machine is re-started,