Package gnome-watchdog - cleans up gnome user session

Philipp Hanselmann philipp at schoolnet.na
Wed Nov 7 17:42:12 GMT 2007


Hi David,

I haven't tested it, but I don't see any reason why it should not work 
with Gusty.

Since we have implemented it the performance of Edubuntu increased!

Maybe have also a look an that script:

http://www.morokeni.ch/edubuntu/start-prog

 The script it's prevents that user starting the same program more than 
once. Is the program already started a message box comes up and informs 
about the already running program. Additionally it's counting how many 
multimedia/games applications like TuxType, TuxMath, Gcompris, Supertux 
already running. If he counts more than 2 of them he pops up a message 
box, which gives an option to kill the already running ones.
This script is only working for the  programs, if you edit their  
*.desktop files found in the folder /usr/share/applications.
Every of this programs will start then indirectly by start-prog.


Example based on Tuxmath:

1.) copy the start-prog file to /usr/bin

2.) give execute permission to this file
chmod 755 /usr/bin/start-prog

3.) Than edit file tuxmath.desktop file in the  folder 
/usr/share/applications

4.) Change the Exec line to
Exec=/usr/bin/start-prog  tuxmath --window

5.) edit the start-prog file and add the program to the array 
CRTITICAL_APPS.

6.) Do steps 3-5 for all critical program which should be monitored.

Note: The dialog boxes needs the program/package gtkdialog !

I think after you have implemented this together with gnome-watchdog. 
There is no need anymore to tell the students to close some programs.

Good luck!

Philipp



David Van Assche schrieb:
> This is very cool, definetly useful for any real world scenario. Its a
> constant daily task to kill processes and/or show teachers and
> students how to do this themselves... Its very common for firefox not
> to start due to the 'you are already running another session of
> firefox' message. This will seriously reduce administration times...
> good work... just one question... will it work on Gutsy ? :-)
>
> David
>
> On Nov 5, 2007 4:38 AM, Richard Doyle <rdoyle at islandnetworks.com> wrote:
>   
>> On Sun, 2007-11-04 at 22:26 +0100, Philipp Hanselmann wrote:
>>     
>>> Hi,
>>>
>>> Like we have only P4 server which supporting up to 20 thin clients
>>>
>>> I did a lot of tricks to get Edubuntu working including sound!
>>>
>>> So I had the issues that a user gnome session doesn't get cleaned up
>>> after a user logged out ...
>>>
>>> For that I wrote the program gnome-watchdog which is working up to now
>>> with Feisty ( with deacticated ldm encryption LDM_DIRECTX = True)
>>>
>>> You can download this package from here:
>>> www.morokeni.ch/edubuntu/gnome-watchdog_0.9.2_i386.deb
>>>
>>>
>>> I hope it's useful. For more information about the package see below ...
>>>       
>> Thanks! I'll give it a try this week.
>>
>>     
>>> Philipp
>>>       
>>
>> --
>> edubuntu-users mailing list
>> edubuntu-users at lists.ubuntu.com
>> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/edubuntu-users
>>
>>     
>
>
>
>   


-- 
SchoolNet NA - Youth Empowerment through Information and Communication Technology

SchoolNet Namibia provides sustainable, low cost technology solutions and internet access, as well as technical support, training services and rich educational content to schools, community-based educational organisations, and educational practitioners throughout Namibia.

www.schoolnet.na






More information about the edubuntu-users mailing list