Hi all, Here I want to get some input about how to start ospm-applet. There are two way I can see for the time bing:
Solution #1: Use gnome-volume-properties gnome-volume-properties has a printer tab to config when a new printer is plugged, start a program, here we can point it to ospm-applet by default. Solution #2: Start ospm-applet as daemon That is start together with gnome-session, does not show up until there is printer related thing happens, including local printer plug/unplug, printing job event, etc. We could have a gconf key to tell ospm-applet start with gnome-session or not. If we want to ospm-applet as a daemon, this key's default need to be true by default. Here is some advantages and disadvantages between the two solutions: Solution #1: Use gnome-volume-properties Solution #2: Start ospm-applet as daemon Advantages: 1. Easiest way to let ospm-applet run, need not change much on current gnome code. 1. Daemon can get all printing event, automaticly almost Disadvantages 1. won't catch any printing event execpt printer plug, not automaticlly 2. if plug more than one printer, the program will be called multiple times 1. For users who does not use printer frequently, it's resource waste 2. Need patch gnome-session code. Personally, I prefer the #2 one. Any thought or idea? Thanks, Halton. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/printing-discuss/attachments/20070418/6f3049b9/attachment.html>
