2014-06-21 0:04 GMT+09:00 Yamaban
On Fri, 20 Jun 2014 16:49, John Layt
wrote: On 20 June 2014 14:07, 1xx
wrote:
Ubuntu customizes it to "{$HOME}/PDF". Fedora customizes it to "{$DESKTOP}".
Using /var/spool/cups-pdf is *very* un-discoverable to the average new user and shouldn't be used. Using the name "CUPS" in anything should also be discouraged as the average user doesn't know what that is (nor should they ever need to learn). Placing it somewhere in their home directory is not only more obvious but also probably more secure. I'd suggest not to use $Desktop though as modern KDE doesn't show desktop icons by default, so something like {$HOME}/PDF or "{$HOME}/Documents/PDF Printer" makes most sense to me.
From the security aspect, either create a 'run-as-user' wrapper and allow writing in $HOME (I'd prefer a subdir, like {$HOME}/PDF or "{$HOME}/Documents/PDF_Printer") or, let it run as root, and use /var/spool/cups-pdf/$USER/ with a link created in $HOME, see preferred names above, pointing there.
Although it swerves from a subject for discussion,
Xdg user directories (Desktop, Documents...) are un-userfriendly.
https://wiki.archlinux.org/index.php/Xdg_user_directories
I think that us-ascii users hardly feels a problem.
But, the other characters cannot be displayed by console.
At CJK, we cannot input characters by console.
Therefore, we can not even cd to Xdg user directories.
By GUI, when IME breaks down, we can not cd to them too.
Then, in Japan, many people changed to English directories.
http://lists.opensuse.org/archive/opensuse-ja/2013-02/msg00013.html
Therefore, I am opposed to the proposal
which makes files or directories to Xdg user directories.
I like $HOME/PDF.
--
1xx