PDA

View Full Version : Evince Desktop Launcher on LiveCD



milady
25th October 2007, 02:46 PM
Hello!

I'm trying to make a custom live CD of Fedora 7 using livecd-tools. I've managed to get all my software installed (even custom programs), but I would like to have desktop launchers (at least for the user documentation which opens with evince)...

Now, I've tried the following in my kickstart file to get this to work, but no luck so far:



sed 's/Exec=evince %U/Exec=evince \/opt\/worldsens\/doc\/wsnet-user.pdf/g' /usr/share/applications/evince.desktop > /home/mycustomuser/Desktop/evince-wsnet.
desktop


I also thought it might be better to put the .desktop file in some other folder that would work for all users... but I'm not sure that exists (I don't have any /usr/share/gnome/desktop on my system :( )

Does anyone have a better idea?

Thanks in advance.