Bug#489932: [Pkg-bluetooth-maintainers] Bug#489932: /usr/bin/bluetooth-applet: bluetooth-applet does not accept files

2008-07-14 Thread Marius Mikucionis
2008/7/12 Filippo Giunchedi [EMAIL PROTECTED]:
 Hi,

 On Tue, Jul 08, 2008 at 09:36:45PM +0200, Marius Mikucionis wrote:
 There's a revealing discussion here:
 http://article.gmane.org/gmane.linux.bluez.devel/15680

 and here:
 http://www.spinics.net/lists/bluez-devel/msg00180.html

 a simple workaround is to install xdg-user-dirs package and run
 xdg-user-dirs-update as a user.

 the proposed patch has been applied to bluez-gnome 0.27 which I'm about to
 upload.

I have not seen the patch, but I hope that it is more explicit about
what files and directories are involved.
IMHO, the best solution would be to give a warning popup window (i.e.
not all users are aware of command line and I don't think they have
to).


 I've added a README.Debian in the form of:

 bluez-gnome for Debian
 ==

 In case bluetooth-applet fails to receive files try starting bluetooth-applet
 from the command line, it should output

 G_USER_DIRECTORY_DOWNLOAD is not set

 or

 G_USER_DIRECTORY_PUBLIC_SHARE is not set

 in this case check if ~/.config/user-dirs.dirs contains the correct
 directories, if that file doesn't exist installing the xdg-user-dirs package
 and running /usr/bin/xdg-user-dirs-update will create it.

 would be that ok?

Well, it's a bit cryptic but it is fair enough for this README. I am
not quite sure if a common
user will go for README file after experiencing that bluetooth does
not quite work.

In other words, I am myself quite happy now that I've found the roots
of the problem, fixed it, and it does not bother me any more,
but one should think about usability issues in general and make sure
that errors like that don't go *unannounced*, leaving the user
*uninformed*.

Maybe gnome is already aiming at it and will nail such problems
automagically in a longer run, but this is just beyond my knowledge,
thus you will have to decide it yourself if that fix is OK.

Thanks for your effort.

Marius



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#489932: [Pkg-bluetooth-maintainers] Bug#489932: /usr/bin/bluetooth-applet: bluetooth-applet does not accept files

2008-07-12 Thread Filippo Giunchedi
Hi,

On Tue, Jul 08, 2008 at 09:36:45PM +0200, Marius Mikucionis wrote:
 There's a revealing discussion here:
 http://article.gmane.org/gmane.linux.bluez.devel/15680
 
 and here:
 http://www.spinics.net/lists/bluez-devel/msg00180.html
 
 a simple workaround is to install xdg-user-dirs package and run
 xdg-user-dirs-update as a user.

the proposed patch has been applied to bluez-gnome 0.27 which I'm about to
upload.

 
 I propose to include xdg-user-dirs-update as dependency for bluez-gnome,
 or at least as a recomendation, because it cannot work without the config 
 file created by xdg-user-dirs-update.

I'm reluctant to do this, see below.

 
 It might be the case that the bug does not appear if gnome is 
 installed fresh, however I installed whole Debian fresh, and moved my
 home directory from an old system and thus this still came out 
 as a problem.

This is right, nowadays gnome tracks movements of user dirs and updates xdg user
dirs accordingly.

I've added a README.Debian in the form of:

bluez-gnome for Debian
==

In case bluetooth-applet fails to receive files try starting bluetooth-applet
from the command line, it should output

G_USER_DIRECTORY_DOWNLOAD is not set

or

G_USER_DIRECTORY_PUBLIC_SHARE is not set

in this case check if ~/.config/user-dirs.dirs contains the correct
directories, if that file doesn't exist installing the xdg-user-dirs package
and running /usr/bin/xdg-user-dirs-update will create it. 

would be that ok?

filippo
--
Filippo Giunchedi - http://esaurito.net
PGP key: 0x6B79D401
random quote follows:

The only way to get rid of a temptation is to yield to it.
-- Oscar Wilde



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]