Hi,

If I remember correctly, the smartboard processes are started from
/etc/xdg/autostart/ when user logs in. You can either remove the smart
files from there if you do not want it to autostart at all or you can
modify them to check if there's a smarboard connected before they
start.

I cannot check the exact files right now, but I hope this helps if you
want to add the check for a connected smartboard. I haven't tried this
with ltsp-pnp, so some caveats may remain. There are probably tens of
other ways to accomplish the same.

First modify the /etc/xdg/autostart/ files (smart_1-_Service.desktop
and smart_1-_Tools.desktop if I remember correctly). Change the Exec
lines to point to new scripts that you'll create. If I remember
correctly, the .desktop files point normally to the smartboard
binaries.

Next create two scripts that start the smartboard service and tools
after checking that a smartboard is connected.

------------/usr/local/bin/start_smart_tools -------------------------------
#!/bin/sh

# do not start smartboard stuff if we do not have a smartboard connected

if ! lsusb | awk '$6 ~ /^0b8c:/' | grep -q .; then
exit 1
fi

exec "/opt/SMART Technologies/SMART Product Drivers/bin/SMART Board Tools" \
     "$@"
-------------------------------------------


------- /usr/local/bin/start_smart_service ------------------------------------
#!/bin/sh

# do not start smartboard stuff if we do not have a smartboard connected
if ! lsusb | awk '$6 ~ /^0b8c:/' | grep -q .; then
exit 1
fi

exec "/opt/SMART Technologies/SMART Product Drivers/bin/SMARTBoardService" \
     "$@"
-------------------------------------------

Remember to make the scripts executable.


Happy hacking!

Veli-Matti


2015-02-07 21:58 GMT+02:00 David Groos <djgr...@gmail.com>:
> Hi All,
>
> I'm in a new school/classroom and have set up 30 ltsp-pnp, 12.04 FAT
> clients, pretty simple! Even have the Linux version of smartboard software
> working. Actually, that's one of the issues, I don't want this application
> to show up on client computers, only on the server. I've read of the
> solution of adding  RM_SYSTEM_SERVICES directive to the lts.conf but I
> imagine that isn't for things like applications. Any ideas?
>
> Thanks,
> David G
>
> --
> edubuntu-users mailing list
> edubuntu-users@lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/edubuntu-users
>

-- 
edubuntu-users mailing list
edubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/edubuntu-users

Reply via email to