El Mié 05 Jun 2002 19:54, michael stone escribió:
I am implementing a new Linux lab at my University and would like the default KDE setup to be a little different than the SuSE default. More specifically, I want to alter some stuff in the K menu, add/delete some panel buttons and change the desktop image. Is there a way that I can use a user account to alter everything how I want it, then copy some config files somewhere? I tried putting the .kde* folders in /etc/skel, but they still got overwritten when KDE started for a new user.
Thanks.
Hi Michael, To change the menu for all users you have to modify the general kde menu that is in /opt/kde3/share/applnk. If you want to add a new icon that is not present there, you have to create a new .desktop file and you may specify the following fields: [Desktop Entry] Encoding=UTF-8 Name= #name of the application in menu GenericName[i18n]= #text within brackets in menu, i18n is the code of the # language you're using, [en] I suppose... :-) Exec= #name of the application o execute, you can specify full path Icon= #name of the icon of the applicatio, you can specify full path. !! If #you don't put anything here you're entry won't be displayed in the menu Type=Application Terminal=0 #whether the application has to be executed in a console. 0 for #none To add a new menu or submenu, simply create a new folder and assign it an icon you like. For the folder to be displayed you must at least put a .desktop file in it. The /opt/kde3/share/applnk is merged with the personal user-kde directory to generate the menu for each user. If the ~/.kde/share/applnk doesn't contain any entry, the whole /opt/kde3/share/applnk menu will be displayed. If it contains different entryes, this ones will be displayed next to the ones of the general kde menu. If it contains an entry that is in the same folder or subfolder of the general menu and has the same name, the entry won't be displayed in the menu. For exemple, if you have: /opt/kde3/share/applnk/Applications/[empy] and ~/.kde/share/applnk/Applications/xmms.desktop The xmms entry will be displayed in the folder Applications of the Kmenu but if you have: /opt/kde3/share/applnk/Applications/xmms.desktop and ~/.kde/share/applnk/Applications/xmms.desktop The xmms entry won't appear in the menu. Note: I did this by eliminating the Suse menu and using the Kmenu, if you want to use the Suse menu you'll have to change the enries in the Suse menu. I've uninstalled it and now I can't remember where it was stored but if you can find it, things works the same as for the Kmenu. Respect to the icons on the desktop, I don't know hot to add new ones. Ther's a script in /opt/kde3/bin (startkde) written for suse that substitute the original (opt/kde3/bin/startkde.original) that do the job of creating the new desktop icons when a user login for the first time. But as I don't know very well bash script programming I decided to create my own icons manually and I uninstalled the suse theme. This way only a Trash icon is created on the desktop. If you know bash programming I think it wouldn't be difficult to understand the suse script and change it to create your own desktop icons. Hope this help. -- Chau, Ale. _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com