[quote author=rameshvl link=board=9;threadid=6595;start=0#62097 date=1047883320]
im sorry to say that using menu editor will not solve the purpose
i found that it is applicable only for the current user, ie., menu items will be created only for the current user login, when logged in as a diff user, i will not be seeing the same menu item. But what i want is menu items for all the users !!!
I want the menu to be created automatically by the installation script when I install the application, user should see the menu as soon as my application gets installed. So, my script should place the kdelnk (or desktop) files in a proper path.
Hope i will get the solution,
thanks anyway pal
From what I interpret, you're building some kind of app and you want your install script to install desktop links? In that case, I think Gnome stores them in ~/.gnome-desktop, and KDE stores them in ~/Desktop. As for doing it for all users, you could maybe make a script that copies it to everyone's ~/whatever directory. IE (Please excuse terrible code...I'm hardly functional at bash)
REDUNDANT DISCLAIMER: The above code was a complete syntactical guess, start to finish.
for i in 'ls /home'
cp icon.desktop /home/$i/Desktop
cp icon.desktop /home/$i/.gnome-desktop
cp icon.desktop /root/Desktop
cp icon.desktop /root/.gnome-desktop
Does this answer the question?
EDIT: Crap. Sorry. Just reread your post. You wanted the MENU link locations. No idea. But I assume that you ARE building an application and need to find the paths to each desktop's menu, right?