Re: Script vs command line behaviour

2016-10-12 Thread Gene Heskett
; around to # making a stop script for it. > > > # So kill the process the old fashioned way > > > ps -ef | grep svnserve | grep -v grep | awk '{print $2}' | xargs > > > kill -9 > > > > Please consider replacing this with some variant of: > > > > p

Re: Script vs command line behaviour

2016-10-12 Thread Nicolas George
Le primidi 21 vendémiaire, an CCXXV, Mark Fletcher a écrit : > Fetchmail isn't set up as a service through systemd, although mysql and > svnserve are. fetchmail is just started from this script (or supposed to > be!) and launched by hand from the command line when that fails. > &

Re: Script vs command line behaviour

2016-10-12 Thread Mark Fletcher
informative messages? How long did >they run before terminating, if they did terminate? > Fetchmail isn't set up as a service through systemd, although mysql and svnserve are. fetchmail is just started from this script (or supposed to be!) and launched by hand from the command

Re: Script vs command line behaviour

2016-10-12 Thread Mark Fletcher
On Wed, Oct 12, 2016 at 08:40:12AM -0400, Greg Wooledge wrote: > On Wed, Oct 12, 2016 at 09:34:22PM +0900, Mark Fletcher wrote: > > # The systemctl stop for svnserve may not work as I haven't got around to > > # making a stop script for it. > > # So kill the process the old

Re: Script vs command line behaviour

2016-10-12 Thread Greg Wooledge
send those somewhere else. Or maybe it has its own default logging location outside of the syslog() infrastructure. 3) If the current logs are not detailed enough, look for fetchmail-specific options to increase logging verbosity. 4) Log what your backup script does. Since it's a shell sc

Re: Script vs command line behaviour

2016-10-12 Thread Frédéric Marchal
On Wednesday 12 October 2016 08:40:12 Greg Wooledge wrote: > And stop using -9 (SIGKILL). Forever. Pretend it never existed. That's a bit harsh. The tool exists for a good reason :-) "Unix was not designed to stop you from doing stupid things, because that would also stop you from doing

Re: Script vs command line behaviour

2016-10-12 Thread Greg Wooledge
On Wed, Oct 12, 2016 at 09:34:22PM +0900, Mark Fletcher wrote: > # The systemctl stop for svnserve may not work as I haven't got around to > # making a stop script for it. > # So kill the process the old fashioned way > ps -ef | grep svnserve | grep -v grep | awk '{print $2}' | x

Script vs command line behaviour

2016-10-12 Thread Mark Fletcher
Greetings I am observing a strange behaviour and I am wondering what stupid thing I have done that is causing it. A shell command that is supposed to start fetchmail running every 15 minutes works fine run from the command line, but has no effect when run from inside a script. I am running

Re: My bash script is missing something - what?

2016-10-10 Thread Tony Baldwin
Forwarded Message Subject: Re: My bash script is missing something - what? To: Richard Owlett <rowl...@cloud85.net> References: <57fb8f79.9010...@cloud85.net> From: Anthony Baldwin <baldwinling...@gmx.com> Message-ID: <3e26c189-eab5-d400-c3c7-5cc1d7321.

Re: My bash script is missing something - what?

2016-10-10 Thread gricketson
On 2016-10-10 10:57, Greg Wooledge wrote: > On Mon, Oct 10, 2016 at 11:51:37AM -0400, songbird wrote: >> Richard Owlett wrote: >> > I have a trivial bash script named test.sh which has been marked >> > as executable. > >> also remember that test itself is a

Re: PROGRESS - was [Re: My bash script is missing something - what?]

2016-10-10 Thread Greg Wooledge
On Mon, Oct 10, 2016 at 05:19:34PM +0100, Peter Hillier-Brook wrote: > Ignoring your youth, you need to precede your script with a valid path > such as './' :-) He did.

Re: PROGRESS - was [Re: My bash script is missing something - what?]

2016-10-10 Thread Peter Hillier-Brook
programming course preceded Mr. Torvalds' birth, old tools > and I share some underlying assumptions. Besides one of my projects > requires dash ;/ Ignoring your youth, you need to precede your script with a valid path such as './' :-)

Re: My bash script is missing something - what?

2016-10-10 Thread Greg Wooledge
On Mon, Oct 10, 2016 at 11:51:37AM -0400, songbird wrote: > Richard Owlett wrote: > > I have a trivial bash script named test.sh which has been marked > > as executable. > also remember that test itself is a builtin > or binary on some systems. It's required by POSIX, so

Re: My bash script is missing something - what?

2016-10-10 Thread songbird
Richard Owlett wrote: > I have a trivial bash script named test.sh which has been marked > as executable. > Its contents are: > > #!/bin/bash > cat /etc/debian_version > mount | grep 'on / ' > > In a terminal I type: > > test.sh > > The response is: >

Re: PROGRESS - was [Re: My bash script is missing something - what?]

2016-10-10 Thread Richard Owlett
On 10/10/2016 10:04 AM, Nicolas George wrote: Le nonidi 19 vendémiaire, an CCXXV, Richard Owlett a écrit : 1. What Debian oriented Bash Tutorial should I be reading? My first tutorial advice: do not do bash. I advise to do either or both of: learn standard sh for portable scripts and for more

Re: PROGRESS - was [Re: My bash script is missing something - what?]

2016-10-10 Thread Richard Owlett
On 10/10/2016 10:01 AM, Greg Wooledge wrote: On Mon, Oct 10, 2016 at 09:58:44AM -0500, Richard Owlett wrote: 1. What Debian oriented Bash Tutorial should I be reading? http://mywiki.wooledge.org/BashGuide is decent. Now bookmarked. Neglected to do so last time I was looking. However, I

Re: PROGRESS - was [Re: My bash script is missing something - what?]

2016-10-10 Thread Nicolas George
Le nonidi 19 vendémiaire, an CCXXV, Richard Owlett a écrit : > 1. What Debian oriented Bash Tutorial should I be reading? My first tutorial advice: do not do bash. I advise to do either or both of: learn standard sh for portable scripts and for more advanced scripting learn a modern shell less

Re: PROGRESS - was [Re: My bash script is missing something - what?]

2016-10-10 Thread Greg Wooledge
On Mon, Oct 10, 2016 at 09:58:44AM -0500, Richard Owlett wrote: > 1. What Debian oriented Bash Tutorial should I be reading? http://mywiki.wooledge.org/BashGuide is decent. However, I might be slightly biased.

PROGRESS - was [Re: My bash script is missing something - what?]

2016-10-10 Thread Richard Owlett
this script with a Microsoft Windows program, perhaps? The shebang line (#!/bin/bash) probably ends with a carriage return + line feed, instead of just a line feed. You were on the right track. My editor was gedit under Squeeze. *HOWEVER*, as my original was saved to a flash drive that I also

Re: My bash script is missing something - what?

2016-10-10 Thread Greg Wooledge
On Mon, Oct 10, 2016 at 04:10:22PM +0200, Nicolas George wrote: > Le nonidi 19 vendémiaire, an CCXXV, Greg Wooledge a écrit : > > > That just fails differently by responding: > > > > > > : No such file or directory > > > > Carriage return. Did you

Re: My bash script is missing something - what?

2016-10-10 Thread Nicolas George
Le nonidi 19 vendémiaire, an CCXXV, Greg Wooledge a écrit : > > That just fails differently by responding: > > > > : No such file or directory > > Carriage return. Did you edit this script with a Microsoft Windows > program, perhaps? The shebang line

Re: My bash script is missing something - what?

2016-10-10 Thread Thomas Schmitt
P/Bash-Beginners-Guide/html/sect_02_01.html It states "If you did not put the scripts directory in your PATH, and . (the current directory) is not in the PATH either, you can activate the script like this: ./script_name.sh " So on the first hand it was about the environm

Re: My bash script is missing something - what?

2016-10-10 Thread Greg Wooledge
On Mon, Oct 10, 2016 at 08:10:33AM -0500, Richard Owlett wrote: > On 10/10/2016 8:00 AM, Robert Parker wrote: > >you need to do: > >./test.sh > >instead. > > > > That just fails differently by responding: > > : No such file or directory Car

Re: My bash script is missing something - what?

2016-10-10 Thread Robert Parker
1. You have to be in the directory where the script resides. 2. Then: chmod +x test.sh 3. Then: ./test.sh On Mon, Oct 10, 2016 at 8:10 PM, Richard Owlett <rowl...@cloud85.net> wrote: > On 10/10/2016 8:00 AM, Robert Parker wrote: > >> you need to do: >> ./test.sh >&

Re: My bash script is missing something - what?

2016-10-10 Thread Lars Noodén
On 10/10/2016 04:10 PM, Richard Owlett wrote: > On 10/10/2016 8:00 AM, Robert Parker wrote: >> you need to do: >> ./test.sh >> instead. >> > > That just fails differently by responding: > > : No such file or directory Where ever the script is, it does h

Re: My bash script is missing something - what?

2016-10-10 Thread Richard Owlett
-Beginners-Guide/html/sect_02_01.html as my reference. On Mon, Oct 10, 2016 at 7:54 PM, Richard Owlett <rowl...@cloud85.net <mailto:rowl...@cloud85.net>> wrote: I have a trivial bash script named test.sh which has been marked as executable. Its contents are: #!/bin/

Re: My bash script is missing something - what?

2016-10-10 Thread Robert Parker
you need to do: ./test.sh instead. On Mon, Oct 10, 2016 at 7:54 PM, Richard Owlett <rowl...@cloud85.net> wrote: > I have a trivial bash script named test.sh which has been marked as > executable. > Its contents are: > > #!/bin/bash > cat /etc/debia

My bash script is missing something - what?

2016-10-10 Thread Richard Owlett
I have a trivial bash script named test.sh which has been marked as executable. Its contents are: #!/bin/bash cat /etc/debian_version mount | grep 'on / ' In a terminal I type: test.sh The response is: bash: test.sh: command not found I'm using Squeeze with Gnome2 as DE. What's wrong? TIA

Res: script em Raspbian

2016-10-09 Thread jmhenrique
Olá!  Eu costumo fazer isso no meu debian, para alguns determinados pendrives executar um ou outro script.; utilizo a dupla blkid e udev. Com blkid eu determino o id único  do dispositivo, e cadastro no udev para executar um ou outro comando quando forem inseridos/montados.  No raspbian

Re: script em Raspbian

2016-10-09 Thread Gabriel Ricardo
Amigo, bom dia! Aconselho uma pesquisa sobre "blkid". Os seus 2 problemas você pode usar o blkid para resolver. Referencias rapidas: http://www.hardware.com.br/dicas/ubuntu-uuids.html http://www.cyberciti.biz/faq/linux-finding-using-uuids-to-update-fstab/ Qualquer duvida estamos ai.

Installing mariadb fails in post-install script

2016-10-08 Thread Markus Grunwald
server: mysqld. dpkg: error processing package mariadb-server-10.0 (--configure): subprocess installed post-installation script returned error exit status 7 dpkg: dependency problems prevent configuration of mariadb-server: mariadb-server depends on mariadb-server-10.0 (>= 10.0.27-0+deb8u1); howe

script em Raspbian

2016-10-08 Thread G.Paulo
, espero que ela verifique se há um dispositivo usb (pen drive) conectado. Se houver, roda-se um certo programa (um script que faz um backup); se não houver o dispositivo conectado, roda-se outro programa (que faz aquisição de dados). O problema está em que, logo após o boot, em geral o

Re: Typing Cyrillic script with a UK keyboard in an en-gb setting

2016-10-03 Thread davidson
On Sun, 25 Sep 2016, Brian wrote: On Sat 24 Sep 2016 at 15:07:10 +, david...@freevolt.org wrote: On Sat, 24 Sep 2016, Lisi Reisz wrote: My husband has just asked to do this. His system is vanilla from this point of view. (Mine is in a mess, with a messed-up scim and no foreign fonts

Re: OT sobre if en script de bash

2016-09-28 Thread Antonio Trujillo Carmona
El 27/09/16 a las 15:22, Gonzalo Rivero escribió: > El mar, 27-09-2016 a las 14:24 +0200, Antonio Trujillo Carmona > escribió: >> Siento molestar por algo que parece simple pero llevo hora buscando y >> me >> trae loco algo que no comprendo: >> >> Si en consola pongo: >> >> if [ ${EA:0:1} != '#' ]

Re: Network manager script

2016-09-27 Thread Stephen Allen
On Tue, Sep 27, 2016 at 10:11:38PM +, vincenzo daniele wrote: > I have a problem in my pc with debian. I can't off debian Why freeze with > network manager script dispatcher service Did this just happen after an update recently? I noticed via 'apt-listbugs' that there was a bug

Network manager script

2016-09-27 Thread vincenzo daniele
I have a problem in my pc with debian. I can't off debian Why freeze with network manager script dispatcher service Inviato da iPhone

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-27 Thread Brian
On Tue 27 Sep 2016 at 12:05:37 -0400, Greg Wooledge wrote: > On Tue, Sep 27, 2016 at 04:52:34PM +0100, Brian wrote: > > You need a ~/.xsession file when you need a ~/.xsession file. Isn't it > > one purpose of the wiki to explain how it fits into the traditional X > > configuration and why one

Re: script para copiar

2016-09-27 Thread OddieX
El día 27 de septiembre de 2016, 15:18, Javier Marcon <javiermar...@gmail.com> escribió: > El 27/09/16 a las 15:09, l...@ida.cu escribió: >> Buenas tardes >> >> Tengo un script muy sencillo para copiar de una carpeta a otra pero >> necesito lo siguiente por ej >

Re: script para copiar

2016-09-27 Thread Javier Marcon
El 27/09/16 a las 15:09, l...@ida.cu escribió: > Buenas tardes > > Tengo un script muy sencillo para copiar de una carpeta a otra pero > necesito lo siguiente por ej > > Para copiar uso esto: > cp -R /home/ana /salva > > mkdir /salva - así lo hago pero como av

script para copiar

2016-09-27 Thread luis
Buenas tardes Tengo un script muy sencillo para copiar de una carpeta a otra pero necesito lo siguiente por ej Para copiar uso esto: cp -R /home/ana /salva mkdir /salva - así lo hago pero como averiguar primero si eciste o no para no crearla con el scrip Ahora bien quisiera mejorar esto

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-27 Thread Greg Wooledge
On Tue, Sep 27, 2016 at 04:52:34PM +0100, Brian wrote: > You need a ~/.xsession file when you need a ~/.xsession file. Isn't it > one purpose of the wiki to explain how it fits into the traditional X > configuration and why one might be useful. Instead, we appear to have > ~/.xsessionrc promoted

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-27 Thread Brian
On Tue 27 Sep 2016 at 10:29:44 -0400, Greg Wooledge wrote: > On Tue, Sep 27, 2016 at 03:15:54PM +0100, Brian wrote: > > Ok, let's go along with ~/.xsessionrc being the simplest way for a user > > to configure his X session. I'll follow the advice on the wiki and have > > > > PATH=~/bin:$PATH >

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-27 Thread Greg Wooledge
On Tue, Sep 27, 2016 at 03:15:54PM +0100, Brian wrote: > Ok, let's go along with ~/.xsessionrc being the simplest way for a user > to configure his X session. I'll follow the advice on the wiki and have > > PATH=~/bin:$PATH > xterm & > iceweasel & > exec fvwm No, this is not what I

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-27 Thread Brian
On Mon 26 Sep 2016 at 17:44:17 -0400, Greg Wooledge wrote: > On Mon, Sep 26, 2016 at 10:19:27PM +0100, Brian wrote: > > But now we have > > > > > User configuration may be done in a few different ways. The simplest > > > way is to create a ~/.xsessionrc file,. > > > > The pedantic side of

Re: OT sobre if en script de bash

2016-09-27 Thread Gonzalo Rivero
El mar, 27-09-2016 a las 14:24 +0200, Antonio Trujillo Carmona escribió: > Siento molestar por algo que parece simple pero llevo hora buscando y > me > trae loco algo que no comprendo: > > Si en consola pongo: > > if [ ${EA:0:1} != '#' ] ; then echo "no es comentario ;fi > > Funciona

Re: OT sobre if en script de bash

2016-09-27 Thread fernando sainz
El día 27 de septiembre de 2016, 14:24, Antonio Trujillo Carmona escribió: > Siento molestar por algo que parece simple pero llevo hora buscando y me > trae loco algo que no comprendo: > > Si en consola pongo: > > if [ ${EA:0:1} != '#' ] ; then echo "no

OT sobre if en script de bash

2016-09-27 Thread Antonio Trujillo Carmona
Siento molestar por algo que parece simple pero llevo hora buscando y me trae loco algo que no comprendo: Si en consola pongo: if [ ${EA:0:1} != '#' ] ; then echo "no es comentario ;fi Funciona perfectamente, si pongo este escript: #!/bin/sh PATH=/bin:/usr/bin:/usr/bin/X11 EA="La casa" if [

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-27 Thread Greg Wooledge
On Mon, Sep 26, 2016 at 05:58:59PM -0400, Neal P. Murphy wrote: > A semantic observation (probably unrelated to the aforementioned editing): > "... dot in ..." might be more clearly stated as "... source ( or '.') in > ..." because the action is to source the script

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-27 Thread Greg Wooledge
On Mon, Sep 26, 2016 at 10:46:07PM -0700, Seeker wrote: > It's possible that something changed with gdm3 after I stopped using it, > or that it's been long enough I just don't remember, but I don't > remember any of these in recent years using the .xsession file if you > use a session other

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-26 Thread Seeker
On 9/26/2016 2:44 PM, Greg Wooledge wrote: On Mon, Sep 26, 2016 at 10:19:27PM +0100, Brian wrote: But now we have > User configuration may be done in a few different ways. The simplest > way is to create a ~/.xsessionrc file,. The pedantic side of me asks - why is it the simplest way?

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-26 Thread Neal P. Murphy
): "... dot in ..." might be more clearly stated as "... source ( or '.') in ..." because the action is to source the script into the current shell (thus retaining the defined vars), as opposed to executing the script in another shell or in a subshell (thus the var definitions are lost when the shell or subshell exits).

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-26 Thread Greg Wooledge
ession file, a remnant of those experimental days. Make of this what you will. = # If we're running under gdm, then we do *not* want gnome-session to be # spawned when this script exits. I learned this hack by reading the # /etc

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-26 Thread Brian
On Sun 25 Sep 2016 at 18:55:03 +0100, Brian wrote: > The existence of ~/.xessionrc appears to cause more problems than it > purportedly solves. And it still won't lie down and die. It is determined to take over the traditional role of ~/.xsession and prove its worth. However, kudos for the

Re: Typing Cyrillic script with a UK keyboard in an en-gb setting

2016-09-26 Thread deloptes
Lisi Reisz wrote: > My husband has just asked to do this. His system is vanilla from this > point > of view. (Mine is in a mess, with a messed-up scim and no foreign > fonts "working", but that is another story.) > > Advice please on the best way to achieve this for him. I.e., what do > those

Re: Typing Cyrillic script with a UK keyboard in an en-gb setting

2016-09-25 Thread ken
On 09/24/2016 10:10 AM, Lisi Reisz wrote: My husband has just asked to do this. His system is vanilla from this point of view. (Mine is in a mess, with a messed-up scim and no foreign fonts "working", but that is another story.) Advice please on the best way to achieve this for him. I.e.,

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-25 Thread Brian
On Sat 24 Sep 2016 at 20:38:50 +0100, Brian wrote: > On Fri 23 Sep 2016 at 17:36:11 +0100, Brian wrote: > > I don't think I shall be pointing a user to this wiki page in its > present state. ~/.xessionrc as the primary file for configuring startup of X is not only not necessary but has a

Re: Typing Cyrillic script with a UK keyboard in an en-gb setting

2016-09-25 Thread Brian
On Sat 24 Sep 2016 at 15:07:10 +, david...@freevolt.org wrote: > On Sat, 24 Sep 2016, Lisi Reisz wrote: > > >My husband has just asked to do this. His system is vanilla from this point > >of view. (Mine is in a mess, with a messed-up scim and no foreign > >fonts "working", but that is

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-24 Thread Brian
On Fri 23 Sep 2016 at 17:36:11 +0100, Brian wrote: > ~/.xsessionrc was introduced in 2007 in response to a perceived problem. > If the choice of DE (or WM) and terminal is left in the care of the > system's x-session-manager, x-window-manager and x-terminal-emulator > nothing need be put in

Re: Typing Cyrillic script with a UK keyboard in an en-gb setting

2016-09-24 Thread Christian Seiler
On 09/24/2016 05:07 PM, david...@freevolt.org wrote: > On Sat, 24 Sep 2016, Lisi Reisz wrote: > >> My husband has just asked to do this. His system is vanilla from this point >> of view. (Mine is in a mess, with a messed-up scim and no foreign >> fonts "working", but that is another story.) >>

Re: Typing Cyrillic script with a UK keyboard in an en-gb setting

2016-09-24 Thread Christian Seiler
On 09/24/2016 04:10 PM, Lisi Reisz wrote: > My husband has just asked to do this. His system is vanilla from this point > of view. (Mine is in a mess, with a messed-up scim and no foreign > fonts "working", but that is another story.) > > Advice please on the best way to achieve this for

Re: Typing Cyrillic script with a UK keyboard in an en-gb setting

2016-09-24 Thread davidson
On Sat, 24 Sep 2016, Lisi Reisz wrote: My husband has just asked to do this. His system is vanilla from this point of view. (Mine is in a mess, with a messed-up scim and no foreign fonts "working", but that is another story.) Advice please on the best way to achieve this for him. I.e., what

Typing Cyrillic script with a UK keyboard in an en-gb setting

2016-09-24 Thread Lisi Reisz
My husband has just asked to do this. His system is vanilla from this point of view. (Mine is in a mess, with a messed-up scim and no foreign fonts "working", but that is another story.) Advice please on the best way to achieve this for him. I.e., what do those of you doing this or

Re: Resolved: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-24 Thread Seeker
xprofile/.xprofile to get sourced or not sourced. To the very best of my knowledge ~/.xprofile has never been a feature of Debian's X configuration files in /etc/X11. However, it is acted on by gdm3 in *its* Xsession script. What does dpkg -S /full/path/to/60xprofile give you? It tells me

Re: Resolved: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-23 Thread Brian
manager most of the time. > > > >Will have to look at lxde and kde to see if it is a desktop thing or > >something else. > > > >Later, Seeker > > > > > > > In spite of the existence of 60xprofile and the fact that '~/.xprofile' did > get sourced in

Re: Resolved: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-23 Thread Seeker
On 9/22/2016 6:18 PM, Seeker wrote: On 9/22/2016 10:45 AM, Brian wrote: On Thu 22 Sep 2016 at 12:10:35 -0400, Greg Wooledge wrote: On Thu, Sep 22, 2016 at 09:00:11AM -0700, Seeker wrote: A little late, but personally I would have tried using '~/.xprofile' first. I believe the information

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-23 Thread Brian
On Thu 22 Sep 2016 at 16:19:26 -0400, Greg Wooledge wrote: > I've edited https://wiki.debian.org/LightDM and written > https://wiki.debian.org/Xsession from scratch. I hope this helps other > people who were as lost and confused as I was. > > If you're still wondering what kind of documentation

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-23 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Sep 23, 2016 at 11:31:20AM +0200, to...@tuxteam.de wrote: [...] > > It makes a big difference for remote applications, since they will see the > > .Xresources from the server but the .Xdefaults from the client. Forgot to say that

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-23 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Sep 23, 2016 at 08:57:18AM +, Curt wrote: [...] > Nicolas Georges gave some interesting information once when I said that > .Xdefaults was "deprecated" concerning what is read by what where and > why (went over my head, of course). > >

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-23 Thread Curt
On 2016-09-22, Dominic Knight wrote: > On Thu, 2016-09-22 at 16:19 -0400, Greg Wooledge wrote: >> I've edited https://wiki.debian.org/LightDM and written >> https://wiki.debian.org/Xsession from scratch.  I hope this helps >> other >> people who were as lost and confused as

Re: Resolved: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-22 Thread Seeker
On 9/22/2016 10:45 AM, Brian wrote: On Thu 22 Sep 2016 at 12:10:35 -0400, Greg Wooledge wrote: On Thu, Sep 22, 2016 at 09:00:11AM -0700, Seeker wrote: A little late, but personally I would have tried using '~/.xprofile' first. I believe the information about this from the Arch Wiki applies

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-22 Thread Dominic Knight
On Thu, 2016-09-22 at 16:19 -0400, Greg Wooledge wrote: > I've edited https://wiki.debian.org/LightDM and written > https://wiki.debian.org/Xsession from scratch.  I hope this helps > other > people who were as lost and confused as I was. > > If you're still wondering what kind of documentation I

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-22 Thread Greg Wooledge
I've edited https://wiki.debian.org/LightDM and written https://wiki.debian.org/Xsession from scratch. I hope this helps other people who were as lost and confused as I was. If you're still wondering what kind of documentation I was looking for, you may use https://wiki.debian.org/Xsession as

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-22 Thread Brian
On Thu 22 Sep 2016 at 09:11:53 -0400, Greg Wooledge wrote: > On Wed, Sep 21, 2016 at 09:19:11PM -0500, David Wright wrote: > > But I don't understand the concept of "user configuration" for a DM. > > Wouldn't that be like a user configuring /etc/issue, the login prompt > > or /etc/motd ? > > By

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-22 Thread Brian
On Thu 22 Sep 2016 at 09:11:53 -0400, Greg Wooledge wrote: > On Wed, Sep 21, 2016 at 09:19:11PM -0500, David Wright wrote: > > > I'm not a DE or DM user, so I'm know very little about them. > > Yes, THIS is the problem! You, and I, and everyone else on the guru side > are just completely

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-22 Thread Tixy
On Thu, 2016-09-22 at 10:56 -0400, Greg Wooledge wrote: > On Thu, Sep 22, 2016 at 03:15:40PM +0100, Tixy wrote: > > I edit ~/.xsessionrc to have a single line: > > > > . /home/tixy/.profile > > [...] how did you learn about it? Reading the debian-user list for many years :-) -- Tixy

Re: Resolved: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-22 Thread Brian
On Thu 22 Sep 2016 at 12:10:35 -0400, Greg Wooledge wrote: > On Thu, Sep 22, 2016 at 09:00:11AM -0700, Seeker wrote: > > A little late, but personally I would have tried using '~/.xprofile' > > first. > > > > I believe the information about this from the Arch Wiki applies equally > > to Debian.

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-22 Thread Brian
/.profile > > > >Which program reads ~/.xsessionrc and how did you learn about it? > >Which man page describes it? Does its existence merely "add on" to some > >system-wide default script, or does it fully replace a system-wide script? > > Apparently, thi

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-22 Thread Seeker
On 9/21/2016 12:07 PM, Anthony Baldwin wrote: On 09/21/2016 11:05 AM, Greg Wooledge wrote: On Wed, Sep 21, 2016 at 10:49:13AM -0400, Tony Baldwin wrote: it seems that I am using lightdm. I know of absolutely no documentation for configuring lightdm as a user. I suspect that the software

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-22 Thread Ric Moore
On 09/22/2016 09:59 AM, Greg Wooledge wrote: On Thu, Sep 22, 2016 at 02:50:30PM +0100, Brian wrote: To read the manual apt-get download lightdm works every time. Hmm, well. $ cd /tmp $ apt-get download lightdm $ ls, man dpkg, ... $ dpkg -x lightdm_1.10.3-3_amd64.deb ldm $ gzip -dc

Re: Resolved: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-22 Thread Greg Wooledge
On Thu, Sep 22, 2016 at 09:00:11AM -0700, Seeker wrote: > A little late, but personally I would have tried using '~/.xprofile' > first. > > I believe the information about this from the Arch Wiki applies equally > to Debian. > > https://wiki.archlinux.org/index.php/xprofile wooledg@wooledg:~$

Re: Resolved: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-22 Thread Seeker
On 9/22/2016 8:25 AM, Tony Baldwin wrote: On 09/22/2016 10:15 AM, Tixy wrote: On Thu, 2016-09-22 at 09:11 -0400, Greg Wooledge wrote: On Wed, Sep 21, 2016 at 09:19:11PM -0500, David Wright wrote: But I don't understand the concept of "user configuration" for a DM. Wouldn't that be like a user

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-22 Thread Brian
and how did you learn about it? Don't know about Tixy but the knowledge came to me in a dream. > Which man page describes it? Xsession(5). > Does its existence merely "add on" to some > system-wide default script, or does it fully r

Resolved: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-22 Thread Tony Baldwin
On 09/22/2016 10:15 AM, Tixy wrote: On Thu, 2016-09-22 at 09:11 -0400, Greg Wooledge wrote: On Wed, Sep 21, 2016 at 09:19:11PM -0500, David Wright wrote: But I don't understand the concept of "user configuration" for a DM. Wouldn't that be like a user configuring /etc/issue, the login prompt

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-22 Thread Darac Marjal
its existence merely "add on" to some system-wide default script, or does it fully replace a system-wide script? Apparently, this is the "New Method" as detailed in the Debian Reference Manual: https://www.debian.org/doc/manuals/debian-reference/ch07.en.html#_customizing_the_

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-22 Thread Greg Wooledge
system-wide default script, or does it fully replace a system-wide script? > Which makes X sessions include the same profile as standard login > shells. Bash's initialization is a bit more complex than that. It will look for three different files (.bash_profile or .bash_login or .profile)

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-22 Thread Brian
On Thu 22 Sep 2016 at 09:59:07 -0400, Greg Wooledge wrote: > On Thu, Sep 22, 2016 at 02:50:30PM +0100, Brian wrote: > > To read the manual > > > > apt-get download lightdm > > > > works every time. > > Hmm, well. Worked, didn't it? A two second operation. > $ cd /tmp > $ apt-get download

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-22 Thread Tixy
On Thu, 2016-09-22 at 09:11 -0400, Greg Wooledge wrote: > On Wed, Sep 21, 2016 at 09:19:11PM -0500, David Wright wrote: > > But I don't understand the concept of "user configuration" for a DM. > > Wouldn't that be like a user configuring /etc/issue, the login > prompt > > or /etc/motd ? > > By

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-22 Thread Greg Wooledge
On Thu, Sep 22, 2016 at 02:50:30PM +0100, Brian wrote: > To read the manual > > apt-get download lightdm > > works every time. Hmm, well. $ cd /tmp $ apt-get download lightdm $ ls, man dpkg, ... $ dpkg -x lightdm_1.10.3-3_amd64.deb ldm $ gzip -dc ldm/usr/share/man/man1/lightdm.1.gz | nroff

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-22 Thread Brian
On Thu 22 Sep 2016 at 09:11:53 -0400, Greg Wooledge wrote: > Don't believe me? I know none of us has lightdm installed, so here is > a man page, allegedly from Debian wheezy: > > http://www.unix.com/man-page/debian/1/lightdm/ > > It takes several tries for me even to find *that*, probably

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-22 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, Sep 22, 2016 at 09:11:53AM -0400, Greg Wooledge wrote: [...] > Don't believe me? I know none of us has lightdm installed, so here is > a man page, allegedly from Debian wheezy: > > http://www.unix.com/man-page/debian/1/lightdm/ > > It

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-22 Thread Greg Wooledge
rting point from which answers can be determined. It hasn't happened yet. > I'm not a DE or DM user, so I'm know very little about them. Yes, THIS is the problem! You, and I, and everyone else on the guru side are just completely stumped. When the answer to "how do I run a thing at login&q

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-21 Thread David Wright
On Wed 21 Sep 2016 at 15:07:09 (-0400), Anthony Baldwin wrote: > On 09/21/2016 11:05 AM, Greg Wooledge wrote: > >On Wed, Sep 21, 2016 at 10:49:13AM -0400, Tony Baldwin wrote: > >>it seems that I am using lightdm. > > > >I know of absolutely no documentation for configuring lightdm as a > >user. I

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-21 Thread Anthony Baldwin
On 09/21/2016 11:05 AM, Greg Wooledge wrote: On Wed, Sep 21, 2016 at 10:49:13AM -0400, Tony Baldwin wrote: it seems that I am using lightdm. I know of absolutely no documentation for configuring lightdm as a user. I suspect that the software *has* no user configuration at all, because every

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-21 Thread Greg Wooledge
On Wed, Sep 21, 2016 at 10:49:13AM -0400, Tony Baldwin wrote: > it seems that I am using lightdm. I know of absolutely no documentation for configuring lightdm as a user. I suspect that the software *has* no user configuration at all, because every search I've ever done has come up with nothing.

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-21 Thread Tony Baldwin
my subject included a call-out to openbox users (not that I don't appreciate others trying to help). But the script IS in ~/bin/ $ which bid /home/tony/bin/bid and that dir IS in my $PATH: $ echo $PATH /home/tony/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games Now here's the real

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-21 Thread Greg Wooledge
and some others I get this: > Failed to execute child process (no such file or directory) And you believe it's because of a PATH mismatch. OK. I don't have experience with whichever desktop or window manager this is. > But the script IS in ~/bin/ > $ which bid > /home/tony/bin/bid &g

Re: Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-21 Thread Darac Marjal
, and some others I get this: Failed to execute child process (no such file or directory) But the script IS in ~/bin/ $ which bid /home/tony/bin/bid and that dir IS in my $PATH: $ echo $PATH /home/tony/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games and it IS executable: $ ls -la bin/ | grep

Failed to execute child process (no such file or directory), but the script DOES exist in $HOME/bin, openbox users, especially take a look, please.

2016-09-21 Thread Tony Baldwin
(no such file or directory) But the script IS in ~/bin/ $ which bid /home/tony/bin/bid and that dir IS in my $PATH: $ echo $PATH /home/tony/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games and it IS executable: $ ls -la bin/ | grep bid -rwxr-xr-x 1 tony tony 142 Oct 4 2012 bid I

Re: Crontab doesn't complete a script

2016-09-19 Thread Clive Menzies
Hi Thomas The absolute path was the answer. Your explanation has added to my limited knowledge :-) Thanks Clive On 19/09/16 23:04, Thomas Schmitt wrote: Hi, Clive Menzies wrote: rsync_opts="-av --exclude-from=exclude_list --delete --delete-excluded"

Re: Crontab doesn't complete a script

2016-09-19 Thread Thomas Schmitt
Hi, Clive Menzies wrote: > rsync_opts="-av --exclude-from=exclude_list --delete --delete-excluded" > exclude_list=/root/uhuru_backup/exclude_list > rsync: failed to open exclude file exclude_list: No such file or directory (2) The decisive difference between dialog and cron could be

<    5   6   7   8   9   10   11   12   13   14   >