Re: Bash invocation, was Re: 60-serial.rules, broken

2023-06-10 Thread gene heskett
On 6/9/23 16:01, David Wright wrote: On Fri 09 Jun 2023 at 09:41:23 (-0400), gene heskett wrote: On 6/9/23 06:51, David Wright wrote: On Fri 09 Jun 2023 at 06:20:07 (-0400), gene heskett wrote: On 6/9/23 00:46, to...@tuxteam.de wrote: On Thu, Jun 08, 2023 at 09:08:59PM -0400, gene heskett

Re: Bash invocation, was Re: 60-serial.rules, broken

2023-06-10 Thread gene heskett
On 6/10/23 15:27, Cousin Stanley wrote: Cousin Stanley wrote >> >> $ source .xsessionrc >> On 2023-06-10 10:10, gene heskett wrote: > A neat trick, thanks.   You're welcome. > I've reached that age where I can't remember what, > if anything I had for breakfast most

Re: Bash invocation, was Re: 60-serial.rules, broken

2023-06-10 Thread Cousin Stanley
Cousin Stanley wrote >> >> $ source .xsessionrc >> On 2023-06-10 10:10, gene heskett wrote: > A neat trick, thanks. You're welcome. > I've reached that age where I can't remember what, > if anything I had for breakfast most mornings. I'm on the way Birthday

Re: Bash invocation, was Re: 60-serial.rules, broken

2023-06-10 Thread gene heskett
On 6/9/23 19:36, Cousin Stanley wrote: On 2023-06-09 13:00, gene heskett wrote: >> Did you log out and back in, or did you simply start >> a new XFCE4 terminal within an existing session? >> >> The .xsessionrc file is only read >> during X session startup, not when running >> various

Re: Bash invocation, was Re: 60-serial.rules, broken

2023-06-10 Thread Cousin Stanley
>> Cousin Stanley wrote >> I sometimes update the .xsessionrc file for various reasons and then source it to activate the changes without logging out or restarting On 2023-06-10 00:20, David Wright wrote: > Two problems here: > > Other sessions are unaware of the

Re: Bash invocation, was Re: 60-serial.rules, broken

2023-06-10 Thread David Wright
On Fri 09 Jun 2023 at 16:17:50 (-0700), Cousin Stanley wrote: > On 2023-06-09 13:00, gene heskett wrote: > > >> Did you log out and back in, or did you simply start > >> a new XFCE4 terminal within an existing session? > >> > >> The .xsessionrc file is only read > >> during X session startup, not

Re: Bash invocation, was Re: 60-serial.rules, broken

2023-06-09 Thread Cousin Stanley
On 2023-06-09 13:00, gene heskett wrote: >> Did you log out and back in, or did you simply start >> a new XFCE4 terminal within an existing session? >> >> The .xsessionrc file is only read >> during X session startup, not when running >> various applications like terminal emulators. >> >> >>>

Re: Bash invocation, was Re: 60-serial.rules, broken

2023-06-09 Thread David Wright
On Fri 09 Jun 2023 at 09:41:23 (-0400), gene heskett wrote: > On 6/9/23 06:51, David Wright wrote: > > On Fri 09 Jun 2023 at 06:20:07 (-0400), gene heskett wrote: > > > On 6/9/23 00:46, to...@tuxteam.de wrote: > > > > On Thu, Jun 08, 2023 at 09:08:59PM -0400, gene heskett wrote: > > > > > > > >

Re: Bash invocation, was Re: 60-serial.rules, broken

2023-06-09 Thread gene heskett
On 6/9/23 11:40, Greg Wooledge wrote: On Fri, Jun 09, 2023 at 09:47:56AM -0400, gene heskett wrote: On 6/9/23 09:33, Greg Wooledge wrote: Start with .xsessionrc (the Debian hack) and see if that works. Put a PATH modification in there, and also put something like export GENETEST=hello in a

Re: Bash invocation, was Re: 60-serial.rules, broken

2023-06-09 Thread Greg Wooledge
On Fri, Jun 09, 2023 at 09:47:56AM -0400, gene heskett wrote: > On 6/9/23 09:33, Greg Wooledge wrote: > > Start with .xsessionrc (the Debian hack) and see if that works. Put a > > PATH modification in there, and also put something like > > > > export GENETEST=hello > > > in a $HOME/.xsessionrc

Re: Bash invocation, was Re: 60-serial.rules, broken

2023-06-09 Thread gene heskett
On 6/9/23 10:23, to...@tuxteam.de wrote: On Fri, Jun 09, 2023 at 09:47:56AM -0400, gene heskett wrote: On 6/9/23 09:33, Greg Wooledge wrote: On Fri, Jun 09, 2023 at 09:25:25AM -0400, gene heskett wrote: On 6/9/23 07:33, Greg Wooledge wrote: Finally, remember that .xsession is run by /bin/sh,

Re: Bash invocation, was Re: 60-serial.rules, broken

2023-06-09 Thread gene heskett
On 6/9/23 10:22, to...@tuxteam.de wrote: On Fri, Jun 09, 2023 at 09:47:56AM -0400, gene heskett wrote: On 6/9/23 09:33, Greg Wooledge wrote: On Fri, Jun 09, 2023 at 09:25:25AM -0400, gene heskett wrote: On 6/9/23 07:33, Greg Wooledge wrote: Finally, remember that .xsession is run by /bin/sh,

Re: Bash invocation, was Re: 60-serial.rules, broken

2023-06-09 Thread tomas
On Fri, Jun 09, 2023 at 09:47:56AM -0400, gene heskett wrote: > On 6/9/23 09:33, Greg Wooledge wrote: > > On Fri, Jun 09, 2023 at 09:25:25AM -0400, gene heskett wrote: > > > On 6/9/23 07:33, Greg Wooledge wrote: > > > > Finally, remember that .xsession is run by /bin/sh, not by your login > > > >

Re: Bash invocation, was Re: 60-serial.rules, broken

2023-06-09 Thread gene heskett
On 6/9/23 09:33, Greg Wooledge wrote: On Fri, Jun 09, 2023 at 09:25:25AM -0400, gene heskett wrote: On 6/9/23 07:33, Greg Wooledge wrote: Finally, remember that .xsession is run by /bin/sh, not by your login shell. So, if you've got bash syntax in .profile (or anything it dots in, such as

Re: Bash invocation, was Re: 60-serial.rules, broken

2023-06-09 Thread gene heskett
On 6/9/23 06:51, David Wright wrote: On Fri 09 Jun 2023 at 06:20:07 (-0400), gene heskett wrote: On 6/9/23 00:46, to...@tuxteam.de wrote: On Thu, Jun 08, 2023 at 09:08:59PM -0400, gene heskett wrote: [...] Perhaps I've ben mistaken, but the files in /etc/udev/rules.d are not the same as

Re: Bash invocation, was Re: 60-serial.rules, broken

2023-06-09 Thread Greg Wooledge
On Fri, Jun 09, 2023 at 09:25:25AM -0400, gene heskett wrote: > On 6/9/23 07:33, Greg Wooledge wrote: > > Finally, remember that .xsession is run by /bin/sh, not by your login > > shell. So, if you've got bash syntax in .profile (or anything it dots > > in, such as .bashrc), then you cannot

Re: Bash invocation, was Re: 60-serial.rules, broken

2023-06-09 Thread gene heskett
On 6/9/23 07:33, Greg Wooledge wrote: On Fri, Jun 09, 2023 at 11:51:15AM +0100, David Wright wrote: On Fri 09 Jun 2023 at 06:20:07 (-0400), gene heskett wrote: Change of subject: I have a mod I make to the $PATH which I've put in .profile, but I've failed to find a place to make it autoexec

Re: Bash invocation, was Re: 60-serial.rules, broken

2023-06-09 Thread songbird
Greg Wooledge wrote: ... > I must have said this a hundred times, but... it depends on HOW you login. yes! login vs. non-login. the rest left in because it is useful and notable. > The only times .profile is read are when you have a login shell (from a > pure text console login, or an ssh

Re: Bash invocation, was Re: 60-serial.rules, broken

2023-06-09 Thread Greg Wooledge
On Fri, Jun 09, 2023 at 11:51:15AM +0100, David Wright wrote: > On Fri 09 Jun 2023 at 06:20:07 (-0400), gene heskett wrote: > > Change of subject: > > > > I have a mod I make to the $PATH which I've put in .profile, but I've > > failed to find a place to make it autoexec when I login. And I'm

Bash invocation, was Re: 60-serial.rules, broken

2023-06-09 Thread David Wright
On Fri 09 Jun 2023 at 06:20:07 (-0400), gene heskett wrote: > On 6/9/23 00:46, to...@tuxteam.de wrote: > > On Thu, Jun 08, 2023 at 09:08:59PM -0400, gene heskett wrote: > > > > [...] > > > > > Perhaps I've ben mistaken, but the files in /etc/udev/rules.d are not the > > > same as