[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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 when running
> >> various applications like terminal emulators.
> >>
> >>
> >>> (Yes, I know, it's a PAIN to log out and back in,
> >>> at least for me, and> it sounded like for you too...
> >>> but it's required for this test to be meaningful.
> >>>
> >>> logging out and back in may as well be a reboot.
> 
>   I sometimes update the  .xsessionrc  file
>   for various reasons and then source it
>   to activate the changes without logging out
>   or restarting ....
> 
>     sk@jhp1  03:52 PM  ~
>     $ echo "export SKUNK='pee euuu' " >> .xsessionrc
> 
>     sk@jhp1  03:53 PM  ~
>     $ echo $SKUNK
> 
>     sk@jhp1  03:53 PM  ~
>     $ source .xsessionrc
> 
>     sk@jhp1  03:53 PM  ~
>     $ echo $SKUNK
>     pee euuu

Two problems here:

Other sessions are unaware of the change made in one; and
the point of this thread is to find a location where Gene's
".profile" file is run regardless of how he logs in. This
doesn't test that.

Cheers,
David.


Reply to: