[PLUG] How to launch script when user logs in?

Richard Owlett rowlett at cloud85.net
Mon Jun 26 11:08:51 UTC 2017


Thank you. I already had it marked as executable and also had a link to 
it on my desktop so I can manually run it after each login.

I think I found instructions yesterday but had unrelated system 
problems. I will get back to it later today.

On 06/25/2017 07:15 PM, Tom wrote:
> In graphical file browser:
>   1. navigate to your script and select it.
>   2. make it executable in Properties - most likely by right clicking
> on said script
>   3. click or double click on your script should run it (depending on
> your file browser)
> On command line:
>   1. cd yourScriptDirectory
>   2. make the script executable by: chmod u+x yourScriptName
>   3. Execute the script by: ./yourScriptName
> How to write script to execute is another matter most likely for
> Google/....
> Hope that this is what you were looking for,
> Tomas
> On Sun, 2017-06-25 at 01:10 -0500, Richard Owlett wrote:
>> Oops. Should have mentioned I'm using MATE desktop.
>> Just glanced at man pages for Xsession and xinit.
>> That should get me going in right direction.
>> Will have to read carefully in morning when awake ;/
>> Thank you.
>>
>>
>>
>> On 06/25/2017 12:16 AM, Cryptomonkeys.org wrote:
>>> Depends on whether its shell or graphical. If the former, something
>>> like .cshrc, .bashrc (.login?), etc.
>>> If graphical, probably depends on the environment, but I’ve done it
>>> with .xsession in the past.
>>>
>>>
>>>> On Jun 24, 2017, at 8:35 AM, Richard Owlett <rowlett at cloud85.net>
>>>> wrote:
>>>>
>>>> If it makes a difference, I'm using Debian Stretch.
>>>> How do I launch a script which is stored in a sub-directory of
>>>> the
>>>> user's home directory?
>>>> What should I have read?
>>>> TIA
>>>>





More information about the PLUG mailing list