On Sat, Jan 28, 2012 at 10:27:36AM +0000, Andrew Benton wrote: > On Sat, 28 Jan 2012 03:24:13 +0000 > Ken Moffat <[email protected]> wrote: > > > Is it appropriate to add .desktop files to patches- ? Perhaps in a > > dot-desktop directory ? > > Patches are a nuisance to maintain, the desktop files could be created > with a cat. I prefer a cat 'cos it makes the information visible on the > page and so it's easier for people to tweak it to their needs. > > cat > /usr/share/applications/firefox.desktop << "HERE" > [Desktop Entry] > Encoding=UTF-8 > Type=Application > Name=Firefox > Comment=Browse The Web > Icon=firefox > Exec=firefox > Categories=Network;GTK;Application;Browser; > StartupNotify=true > Terminal=false > HERE
Using cat is good (and this .desktop a lot shorter than some of the .desktop files I've got here - it's the translations that take up the space and led me to think of using a patch). Thanks for adding these. ĸen -- das eine Mal als Tragödie, das andere Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
