[PLUG] Problem with MATE desktop (esp "help" system) - was [Re: How to launch script when user logs in?]

Richard Owlett rowlett at cloud85.net
Tue Jun 27 15:42:28 UTC 2017


I am using the MATE desktop on Debian Stretch.
I wish to run a user specific script each time a specific user logs in.
The script is known to work because I manually run it each and every 
time I login.

The MATE help system lacks a usable index making finding a specific 
option difficult.

One eventually arrives at
Desktop User Guide » Desktop Sessions » Setting Programs to Start 
Automatically When You Log In »
which has a section titled "Startup Programs Tab" which says "You can 
use the Startup Programs tab to add, modify, and remove startup programs."

The previous screen had said "The Sessions preference tool allows you to 
define which programs are started automatically when you log in."

*NOWHERE* does the "help system" give Debian applicable instructions for 
getting to this "Sessions preference tool". Elsewhere in the "help 
system" reference is made to something similar called "System Manager". 
But nothing on how to access it either.

Guidance from a MATE user would be appreciated.
TIA




On 06/26/2017 06:08 AM, Richard Owlett wrote:
> 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