On Mon, Apr 26, 2010 at 5:54 PM, narendra sisodiya < [email protected]> wrote:
> > > On Mon, Apr 26, 2010 at 3:01 PM, Alok Singh Mahor <[email protected]>wrote: > >> >> >> On Mon, Apr 26, 2010 at 2:31 PM, narendra sisodiya < >> [email protected]> wrote: >> >>> Do anybody have any idea? >>> >> open alacarte and then put the entry(gnome-control-center) where you want >> to display >> >>> >>> > > Thanks, but I was asking how to do it from command line ? > > -- > ┌─────────────────────────┐ > │ Narendra Sisodiya ( नरेन्द्र सिसोदिया ) > │ Society for Knowledge Commons > │ Web : http://narendra.techfandu.org > └─────────────────────────┘ > > -- > l...@iitd - http://tinyurl.com/ycueutm > To add a menu for all users, perform the following steps: Create a directory entry file for the item that you want to add. Place the directory entry file in the $XDG_DATA_DIRS/desktop-directories directory. Locate the $XDG_CONFIG_DIRS/menus/applications.menu file. In the .menu file, add a <Menu> element for the new menu. For more information on . Create a <Name> element below <Menu>. The content of the element should contain the name for the menu. Create a <Directory> element below <Menu>. The content of the element should contain the name of the directory entry file. PS: 1. $XDG_DATA_DIRS is /usr/share for me. 2. $XDG_CONFIG_DIRS is /home/<username>/.config/menus also see /etc/xdg/menus I think this can help. I am trying it myself too... -- Regards, Manohar Bhattarai Blogs :- https://manoharbhattarai.wordpress.com/ http://manoharbhattarai.blogspot.com/ http://manoharbhattarai.posterous.com/ Twitter :- http://twitter.com/manoharmailme/ -- l...@iitd - http://tinyurl.com/ycueutm Subscription settings: http://groups.google.com/group/iitdlug/subscribe?hl=en
