FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Edubuntu User

 
 
LinkBack Thread Tools
 
Old 09-08-2010, 04:30 AM
Kees
 
Default edubuntu-menu-editor

I am trying to assign a menu structure to a group of users, using the
'menu-editor' and the 'edubuntu-menu-editor profile manager' but I must
be doing something wrong here. I am doing the following"

* New Edubuntu 10.04 install with LTSP according to:
https://wiki.ubuntu.com/edubuntu/installLTSPlucid
* Create new user (modelstudent)
* Create new group (student) and assign modelstudent to it
* Edit and save menu: StudentMenu.tar.gz
* Assign Menu to group 'student'

(at the point even tried rebooting, ltsp-update-*)

* Log in on LTSP terminal, and just get the full menu

How can I get the edited menu for all students in group 'student'? I
have searched and googled a lot in the last few days, but the
documentation on this seems extremely sparse.

If anyone can help me that would be much appreciated.

Thanks,

Kees

--
edubuntu-users mailing list
edubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/edubuntu-users
 
Old 09-08-2010, 05:07 AM
Joseph Hartman
 
Default edubuntu-menu-editor

I got it to work a while back. If I recall there are two apps to make it happen. The first allows you to specify which menus and sub menus appear for the user. Make your choices using the check boxes and save as the menu as a tarball on the desktop. Then open the second app. This one allows you to assign the tarball configuration to a specific group or user. If memory serves there are three windows in the second app, the left displays the users and or groups while the right side shows the tarball and the bottom shows the pairings between the two. You must first import the tarball. To do so right click in the blank space of the right side window and select "import" or whatever. Browse to the desktop and select the tarball to import it. If I recall you must change the browser to look for "all files" before it will see the tarball. Once you have imported the tarball into the second app, click and drag it from the right side of the second app window onto the user/group in the left side window. If this is done correctly then a new entry should show up on the bottom window of the second app. Click file and save to save the configuration and you should be ready to rock. I encountered a few bugs, but for the most part it worked as advertised, although I only ever used it for specific users, not groups. Let us know how it goes. Best regards, -Joe



On Sep 7, 2010 9:30 PM, "Kees" <keesvonk@gmail.com> wrote:> I am trying to assign a menu structure to a group of users, using the
> 'menu-editor' and the 'edubuntu-menu-editor profile manager' but I must

> be doing something wrong here. I am doing the following"
>
> * New Edubuntu 10.04 install with LTSP according to:
> https://wiki.ubuntu.com/edubuntu/installLTSPlucid

> * Create new user (modelstudent)
> * Create new group (student) and assign modelstudent to it
> * Edit and save menu: StudentMenu.tar.gz
> * Assign Menu to group 'student'
>
> (at the point even tried rebooting, ltsp-update-*)

>
> * Log in on LTSP terminal, and just get the full menu
>
> How can I get the edited menu for all students in group 'student'? I
> have searched and googled a lot in the last few days, but the

> documentation on this seems extremely sparse.
>
> If anyone can help me that would be much appreciated.
>
> Thanks,
>
> Kees
>
> --
> 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
 
Old 09-08-2010, 06:08 AM
Kees
 
Default edubuntu-menu-editor

On 08/09/10 13:07, Joseph Hartman wrote:
> I got it to work a while back. If I recall there are two apps to make it
> happen. The first allows you to specify which menus and sub menus appear
> for the user. Make your choices using the check boxes and save as the
> menu as a tarball on the desktop. Then open the second app. This one
> allows you to assign the tarball configuration to a specific group or
> user. If memory serves there are three windows in the second app, the
> left displays the users and or groups while the right side shows the
> tarball and the bottom shows the pairings between the two. You must
> first import the tarball. To do so right click in the blank space of the
> right side window and select "import" or whatever. Browse to the desktop
> and select the tarball to import it. If I recall you must change the
> browser to look for "all files" before it will see the tarball. Once you
> have imported the tarball into the second app, click and drag it from
> the right side of the second app window onto the user/group in the left
> side window. If this is done correctly then a new entry should show up
> on the bottom window of the second app. Click file and save to save the
> configuration and you should be ready to rock. I encountered a few bugs,
> but for the most part it worked as advertised, although I only ever used
> it for specific users, not groups. Let us know how it goes. Best
> regards, -Joe

This exactly what I am doing and it does not seem to have any effect.

Maybe the problem is that I am assigning it to a group, but it seems to
suggest that is what you can do.

Thank you for your help though.

Kees

(btw if you name the tarball <anything>.tar.gz it will see it
immediately in the browser, any other extension and you need to select
'all files', even with .tgz)

>
> On Sep 7, 2010 9:30 PM, "Kees" <keesvonk@gmail.com
> <mailto:keesvonk@gmail.com>> wrote:
>> I am trying to assign a menu structure to a group of users, using the
>> 'menu-editor' and the 'edubuntu-menu-editor profile manager' but I must
>> be doing something wrong here. I am doing the following"
>>
>> * New Edubuntu 10.04 install with LTSP according to:
>> https://wiki.ubuntu.com/edubuntu/installLTSPlucid
>> * Create new user (modelstudent)
>> * Create new group (student) and assign modelstudent to it
>> * Edit and save menu: StudentMenu.tar.gz
>> * Assign Menu to group 'student'
>>
>> (at the point even tried rebooting, ltsp-update-*)
>>
>> * Log in on LTSP terminal, and just get the full menu
>>
>> How can I get the edited menu for all students in group 'student'? I
>> have searched and googled a lot in the last few days, but the
>> documentation on this seems extremely sparse.
>>
>> If anyone can help me that would be much appreciated.
>>
>> Thanks,
>>
>> Kees
>>
>> --
>> edubuntu-users mailing list
>> edubuntu-users@lists.ubuntu.com <mailto: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
 
Old 09-08-2010, 12:52 PM
"Marc Garipy"
 
Default edubuntu-menu-editor

Hello Kees,

Can you send me your menu.tar.gz file of your menu
and /etc/desktop-profiles/*.listing please.

It's supposed to work correctly for groups unless you fall into this
bug : https://bugs.launchpad.net/menueditor/+bug/619226

Thanks

Marc

On Wed, 2010-09-08 at 14:08 +0800, Kees wrote:
> On 08/09/10 13:07, Joseph Hartman wrote:
> > I got it to work a while back. If I recall there are two apps to make it
> > happen. The first allows you to specify which menus and sub menus appear
> > for the user. Make your choices using the check boxes and save as the
> > menu as a tarball on the desktop. Then open the second app. This one
> > allows you to assign the tarball configuration to a specific group or
> > user. If memory serves there are three windows in the second app, the
> > left displays the users and or groups while the right side shows the
> > tarball and the bottom shows the pairings between the two. You must
> > first import the tarball. To do so right click in the blank space of the
> > right side window and select "import" or whatever. Browse to the desktop
> > and select the tarball to import it. If I recall you must change the
> > browser to look for "all files" before it will see the tarball. Once you
> > have imported the tarball into the second app, click and drag it from
> > the right side of the second app window onto the user/group in the left
> > side window. If this is done correctly then a new entry should show up
> > on the bottom window of the second app. Click file and save to save the
> > configuration and you should be ready to rock. I encountered a few bugs,
> > but for the most part it worked as advertised, although I only ever used
> > it for specific users, not groups. Let us know how it goes. Best
> > regards, -Joe
>
> This exactly what I am doing and it does not seem to have any effect.
>
> Maybe the problem is that I am assigning it to a group, but it seems to
> suggest that is what you can do.
>
> Thank you for your help though.
>
> Kees
>
> (btw if you name the tarball <anything>.tar.gz it will see it
> immediately in the browser, any other extension and you need to select
> 'all files', even with .tgz)
>
> >
> > On Sep 7, 2010 9:30 PM, "Kees" <keesvonk@gmail.com
> > <mailto:keesvonk@gmail.com>> wrote:
> >> I am trying to assign a menu structure to a group of users, using the
> >> 'menu-editor' and the 'edubuntu-menu-editor profile manager' but I must
> >> be doing something wrong here. I am doing the following"
> >>
> >> * New Edubuntu 10.04 install with LTSP according to:
> >> https://wiki.ubuntu.com/edubuntu/installLTSPlucid
> >> * Create new user (modelstudent)
> >> * Create new group (student) and assign modelstudent to it
> >> * Edit and save menu: StudentMenu.tar.gz
> >> * Assign Menu to group 'student'
> >>
> >> (at the point even tried rebooting, ltsp-update-*)
> >>
> >> * Log in on LTSP terminal, and just get the full menu
> >>
> >> How can I get the edited menu for all students in group 'student'? I
> >> have searched and googled a lot in the last few days, but the
> >> documentation on this seems extremely sparse.
> >>
> >> If anyone can help me that would be much appreciated.
> >>
> >> Thanks,
> >>
> >> Kees
> >>
> >> --
> >> edubuntu-users mailing list
> >> edubuntu-users@lists.ubuntu.com <mailto: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
 
Old 09-10-2010, 04:31 AM
Nick Fenger
 
Default edubuntu-menu-editor

Kees,


I worked with one of my seniors last year on this. �It took us a long time to dig through the gnome documentation to figure this out. Below is what we came up with, tested on jaunty and we have successfully implemented this in lucid. I have not checked out the edubuntu-menu-editor yet but if it works it will save us from this tedious manual process.


Custom Gnome Menus

Overview:

Basically you are going to create your own menu directory structure that mirrors the system's with a custom menus file in /opt/tcs/menu/tcs.menu (tcs is short for our school's name trillium charter school) /opt/tcs/ is where we put all of our customizations. Also in /opt/tcs you have folders for .desktop and .directory files. You will then�reference�this custom menu set by adding a line to the system menu file here:�/etc/xdg/menus/applications.menu. Your new menu items will effectively merge with the system menu items while allowing you to easily move your menu to a new system or fat client chroot.


Here is what to do:


/opt/tcs/menus you have 2 directories and 1 file

applications and desktop-directories �and the tcs.menu file (see contents below)


place all .desktop files in the applications directory and all .directory files in desktop-directories I suppose you could give permissions to these files to your 'student' group so they would only show up for students although we have not done this.





Examples of .desktop files are found in /usr/share/applications


Examples of .directory files are found in /usr/share/desktop-directories

You can copy an existing menu structure from the system, customize it for your needs.




Next: create /opt/tcs/menus/tcs.menu as below with�/opt/tcs/menus/ replaced with your custom menu location:




<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 0.8//EN"


"http://www.freedesktop.org/standards/menu-spec/menu-0.8.dtd">





<Menu>


<!-- Set Location For TCS menus -->


<DirectoryDir>/opt/tcs/menus/desktop-directories</DirectoryDir>


<AppDir>/opt/tcs/menus/applications</AppDir>





<!-- Main Menu Level -->


<Name>Trillium</Name>


<Include>


�<Category>tcs-main</Category>


</Include>


<!-- Development Tools -->


�<Menu>


���<Name>Development</Name>


����<Menu>


�����<Name>alan</Name>


�����<Directory>tcs-alan.directory</Directory>


�����<Include>


������<Category>tcs-alan</Category>


�����</Include>


����</Menu>


���<Menu>


�����<Name>html</Name>


�����<Directory>tcs-html.directory</Directory>


�����<Include>


������<Category>tcs-html</Category>


�����</Include>


����</Menu>


���<Menu>


�����<Name>Scratch</Name>


�����<Directory>tcs-scratch.directory</Directory>


�����<Include>


������<Category>scratch</Category>


�����</Include>


����</Menu>


���</Menu> <!-- End Development Tools -->


</Menu> <!-- End Main Menu Level -->








Lastly, reference tcs.menu (the file above) in the system applications menu:





Make the addition below in:


/etc/xdg/menus/applications.menu





Add this line:


<MergeFile type="path">/opt/tcs/menus/tcs.menu</MergeFile>


After the <Directory> Entry as shown below..


...


<Menu>


�<Name>Applications</Name>


�<Directory>X-GNOME-Menu-Applications.directory</Directory>


�<MergeFile type="path">/opt/tcs/menus/tcs.menu</MergeFile>





Works!


-Nick (and my recent graduate Keaton)





Nick Fenger
-Information Technology

Trillium Charter School
http://www.trilliumcharterschool.org







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

Thread Tools




All times are GMT. The time now is 01:28 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org