Hello!
I have a sysvinit script which reads something like this (boring bits
such as error checking and log messages omitted):
#! /bin/sh
### BEGIN INIT INFO
# Provides: mountencfs
# Required-Start:mountall
# Required-Stop:
# Default-Start: S
# Default-Stop:
# X-Interactive: true
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
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
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
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
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
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
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
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
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
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
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
. "$
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?
--
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 "unsubscribe". Trouble? Contac
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
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
xrandr --output HDMI2 --right-of HDMI1
I'd like to run this automatically at bo
On Sunday 14 September 2008 09:12:35 rex wrote:
> Thank you! It worked!
>
> So, what does that & mean?
>
> - Rex
>
> Clifford W. Hansen wrote:
> > On Sunday 14 September 2008 08:35:13 rex wrote:
> >> Hello,
> >>
> >> I have a script that launches a program. If I launch this program
> >> manually,
On Sun, Sep 14, 2008 at 04:05:41AM -0300, Gabriel Parrondo wrote:
> Also, this thread deserves a loud WTF. I mean, the OP seems to know the
> basics about unix administration (he was able to write a shell script,
> at least) but fails at something as basic as running an app in
> background.
There
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Thank you! It worked!
So, what does that & mean?
- - Rex
Clifford W. Hansen wrote:
> On Sunday 14 September 2008 08:35:13 rex wrote:
>> Hello,
>>
>> I have a script that launches a program. If I launch this program
>> manually, it keeps on running
El dom, 14-09-2008 a las 08:46 +0200, Clifford W. Hansen escribió:
> On Sunday 14 September 2008 08:35:13 rex wrote:
> > Hello,
> >
> > I have a script that launches a program. If I launch this program
> > manually, it keeps on running in the shell. It is a webserver, so I
> > need it running all
On Sunday 14 September 2008 08:35:13 rex wrote:
> Hello,
>
> I have a script that launches a program. If I launch this program
> manually, it keeps on running in the shell. It is a webserver, so I
> need it running all the time. However, if I exit the shell, it kills
> the webserver.
>
> I tried
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello,
I have a script that launches a program. If I launch this program
manually, it keeps on running in the shell. It is a webserver, so I
need it running all the time. However, if I exit the shell, it kills
the webserver.
I tried putting links
Martin wrote:
On Sat, Aug 30, 2008 at 5:56 AM, Kent West <[EMAIL PROTECTED]> wrote:
case "$1" in
start)
echo -n "Starting $DESC: "
start-stop-daemon -c $USER --start --quiet --pidfile $PIDFILE --exec
$DAEMON -- $OPT \
> /dev/null
hmm looks to my that either y
Hi,
On Sat, Aug 30, 2008 at 5:56 AM, Kent West <[EMAIL PROTECTED]> wrote:
> I'm trying to run Maple12 from my Debian box. I've hacked a startup script
> together that looks like this:
> case "$1" in
> start)
> echo -n "Starting $DESC: "
I'm trying to run Maple12 from my Debian box. I've hacked a startup
script together that looks like this:
==
#! /bin/sh
# Maple 12
# I hacked this script from a copy of the "lisa" start-up script; no
guarantees that it works properly.
# Kent West, 14 June 200
apache and discover use /bin/sed, not /usr/bin/awk. apache2, alsa, and
hylafax use awk, though...
--
Glenn English
[EMAIL PROTECTED]
GPG ID: D0D7FF20
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
If I start irexec from console, not at sstartup, then it works. As you said I should check if the irexec starts before lircd.On 9/21/05, Simo Kauppi <
[EMAIL PROTECTED]> wrote:On Wed, Sep 21, 2005 at 10:58:47AM +0300, Andras Lorincz wrote:
> Yes, something like that.>> On 9/20/05, Simo Kauppi <[EMA
On Wed, Sep 21, 2005 at 10:58:47AM +0300, Andras Lorincz wrote:
> Yes, something like that.
>
> On 9/20/05, Simo Kauppi <[EMAIL PROTECTED]> wrote:
> >
> > On Mon, Sep 19, 2005 at 01:42:53PM +0300, Andras Lorincz wrote:
> > > Hi,
> > >
> > > The lirc daemon starts at startup and I want to launch t
Yes, something like that.On 9/20/05, Simo Kauppi <[EMAIL PROTECTED]> wrote:
On Mon, Sep 19, 2005 at 01:42:53PM +0300, Andras Lorincz wrote:> Hi,>> The lirc daemon starts at startup and I want to launch the command "irexec> --daemon" too. To achieve this I made a script in /etc/init.d which contains
On Mon, Sep 19, 2005 at 01:42:53PM +0300, Andras Lorincz wrote:
> Hi,
>
> The lirc daemon starts at startup and I want to launch the command "irexec
> --daemon" too. To achieve this I made a script in /etc/init.d which contains
> this:
>
> #!/bin/bash
>
> su lorand -c "irexec --daemon"
>
> th
Hi,
The lirc daemon starts at startup and I want to launch the command
"irexec --daemon" too. To achieve this I made a script in /etc/init.d
which contains this:
#!/bin/bash
su lorand -c "irexec --daemon"
then I ran the command "update-rc.d irexec_stup defaults" (lorand is
the username). After
I have the following in .xsession after going thro' the list help.
[EMAIL PROTECTED]:~$ cat .xsession
#!/bin/bash --login
exec startkde
I have the following in /etc/profile
if [ "`id -u`" -eq 0 ]; then
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:~/bin"
else
On Fri, Mar 26, 2004 at 04:37:18PM +0100, Rudy Gevaert wrote:
>
> Hi,
>
> If anybody has a start up script for nut 2.0, could you then send it
> to me? I compiled it from source.
I don't have one, but I think there is a debian package of (possibly
earlier version) of it. Why not download the p
Hi,
If anybody has a start up script for nut 2.0, could you then send it
to me? I compiled it from source.
Thanks in advance,
Rudy Gevaert
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
On Sun, 2004-03-07 at 16:36, Thomas Carrié wrote:
> Hi,
>
> I've setup SpamAssassin via CPAN but it comes with no init.d startup script.
>
> Could someone send me its debian startup script for spamassassin ?
>
> Thanks
>
You could always download the .deb and e
> I've setup SpamAssassin via CPAN but it comes with no init.d startup script.
>
> Could someone send me its debian startup script for spamassassin ?
Download the .deb, and extract it yourself.
.deb files can be unpacked with 'ar x ' and then do
'tar xzvf data*
've setup SpamAssassin via CPAN but it comes with no init.d startup
> script.
>
> Could someone send me its debian startup script for spamassassin ?
>
> Thanks
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble?
Hi,
I've setup SpamAssassin via CPAN but it comes with no init.d startup script.
Could someone send me its debian startup script for spamassassin ?
Thanks
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
ed to ask, is how do I create a startup script in Debian,
> so that whenever the machine is re-started, rebooted or anything like
> that, that when it boots again that it will get the http_proxy for its
> global variable ? I.E where do I put the script and how do I make it so
> that the s
bla/"
>>
>> Now what I wanted to ask, is how do I create a startup script in
>> Debian, so that whenever the machine is re-started, rebooted or
>> anything like that, that when it boots again that it will get the
>> http_proxy for its global variable ? I.E
"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
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
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
startup script in Debian, so that whenever the mac
anks to both of you.
Paul
->>In response to your message<<-
--received from Moritz Schulte--
>
> peanut butter <[EMAIL PROTECTED]> writes:
>
> > [...] when all is configured and done, the apache startup script is
> > still 0 bytes, ie. I still don't g
peanut butter <[EMAIL PROTECTED]> writes:
> [...] when all is configured and done, the apache startup script is
> still 0 bytes, ie. I still don't get the startup script back. Any
> other ideas?
Have you *re*-installed it?
Now, having this dummy script, the package c
lt;[EMAIL PROTECTED]>
> To: Debian Users
> Subject: apache startup script
>
> Hi, I felt the need to remove the apache installation I had on one
> of my Debian boxes to reinstall it as some things weren't making
> sense or as I would expect so I decided to start from scr
Hi, good suggestion but already attempted this. This does provide dpkg with
what it wants to continue with the apache install and go through the
usual configuration of the same yet, when all is configured and done,
the apache startup script is still 0 bytes, ie. I still don't get
the st
peanut butter <[EMAIL PROTECTED]> writes:
> At some point I deleted the /etc/init.d/apache wanting to "refresh"
> this as well. Now I can't get it back. Upon several attempts to
> re-install "apache" and "apache-common", I get the error:
>
> "Setting up apache (1.3.9-13.2) ...
> update-rc.d: /e
Hi, I felt the need to remove the apache installation I had on one
of my Debian boxes to reinstall it as some things weren't making
sense or as I would expect so I decided to start from scratch (with the
default httpd.conf, etc.).
At some point I deleted the /etc/init.d/apache wanting to "refresh"
ks fine except for having it start
> > on bootup. I'm stuck on trying to get the startup script to run as user
> > 'postgres' instead of as root. I tried to have it issue the command:
> >
> > su postgres '/usr/local/pgsql/bin/pg_ctl -w -D/var/lib/postgres/data -o
> > "-i" start'
> >
>
uld some kind soul help out with this? I built postgres from source
> instead of using the .deb, and all works fine except for having it start
> on bootup. I'm stuck on trying to get the startup script to run as user
> 'postgres' instead of as root. I tried to have it
Could some kind soul help out with this? I built postgres from source
instead of using the .deb, and all works fine except for having it start
on bootup. I'm stuck on trying to get the startup script to run as user
'postgres' instead of as root. I tried to have it issue the comman
Hi Mark!
On Sun, 27 Aug 2000, Mark Simos wrote:
> 1.
> I am trying to install vim on a really bare installation of Debian. I
> have internet access that routes and resolves names fine.
>
> When I type "apt-get install vim vim-rt" or just about any other package
> name i see listed on Debian's si
All,
I am sure these are pretty easy questions, but I am running out ideas.
1.
I am trying to install vim on a really bare installation of Debian. I
have internet access that routes and resolves names fine.
When I type "apt-get install vim vim-rt" or just about any other package
name i see liste
Package: distributed-net-pproxy
Version: 280-2
Severity: normal
startup script seems to be more confued than i am about it. it starts proxy
as user nobody, with running start-stop-daemon. but, "nobody" hasn't got
access rights to /var/run/* or /var/log/*. does that make sense? o
On Wed, 15 Apr 1998, Hamish Moffatt wrote:
> Can anyone suggest why this script doesn't seem to work on 2.1.90?
> It's my /etc/init.d/network. I added the netmask on the route line
> for lo because it seemed to help, but I still get some other errors,
> and ifconfig seems to hang.
>
> #!/bin/sh
>
Can anyone suggest why this script doesn't seem to work on 2.1.90?
It's my /etc/init.d/network. I added the netmask on the route line
for lo because it seemed to help, but I still get some other errors,
and ifconfig seems to hang.
#!/bin/sh
ifconfig lo 127.0.0.1
route add -net 127.0.0.0 netmask 25
cobal wrote:
>
> Hi
>
> The book I have says that the start up shell script (aka autoexec
> billspeak) is called .profile or .login in the home directory. When I
> look (using ls -a) I don't see anything like this. Any thoughts??
This depends (to some extent) on which shell you use. I use ksh
Hi
The book I have says that the start up shell script (aka autoexec
billspeak) is called .profile or .login in the home directory. When I
look (using ls -a) I don't see anything like this. Any thoughts??
One other thing - how about some suggestions for an outstanding book - I
not very happy wi
In article <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> wrote:
>Hello;
>
>After messing up my XDM and essentially locking myself
>out of my system for a while, I have become interested
>in setting up my ethernet card from a startup script.
>
>Does one put the ifc
On Fri, 16 Aug 1996 23:31:49 PDT [EMAIL PROTECTED] wrote:
> Hello;
>
> After messing up my XDM and essentially locking myself
> out of my system for a while, I have become interested
> in setting up my ethernet card from a startup script.
>
> Does one put the ifconfig an
Hello;
After messing up my XDM and essentially locking myself
out of my system for a while, I have become interested
in setting up my ethernet card from a startup script.
Does one put the ifconfig and route statements in the usual
rc.inet1 and reference it somehow from rc6.d, or what?
I
61 matches
Mail list logo