Hi Jakub,

add a line

NoDisplay=true

to your .desktop file in /etc/xdg/autostart, so it doesnt show up in the
users disable autostart applications dialog (or whatever its called,
dont remember exactly)

also I would suggest putting scripts like these into /usr/local/bin, not
/usr/bin

regards, Bettina

Am 22.01.2015 um 12:32 schrieb Jakub Stoppa:
> Hi Michael,
> 
> Already have that set up, but what I'm trying to understand is where to
> put login scripts that get executed on user login.  I'm able to do
> individual login scripts, but  I just cant figure out how to call a
> global login script (for all users).
> 
> I'm looking to expand on this script down the road as needs arise.  Here
> is my current script (tested and working fine when I run it manually or
> when being called by my autostart entry.
> 
> I popped it into /usr/bin
> 
>     #! /bin/sh
> 
>     ln -sf /audiobooks /home/$USER/Desktop
> 
> 
> 
> 
> And my autostart entry in  /etc/xdg/autostart/tc-student.desktop
> 
>     [Desktop Entry]
>     Name=TC Student Startup
>     Comment=TC Student Startup
>     Exec=/usr/bin/tc-student.sh
>     Terminal=false
> 
> 
> 
> This method works for me, but like I mentioned earlier, I don't want the
> users to be able to disable this through the GUI.
> 
> To tell you the truth, I don't know if this is best practice, how I'm
> doing this right now.  Is /usr/bin the right folder to put in a global
> script?


-- 
Universitätsbibliothek Augsburg
Referat Datenverarbeitung
86135 Augsburg
Tel. +49 821 598-5370
Fax  +49 821 598-5407
[email protected]
http://www.bibliothek.uni-augsburg.de

------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to