Re: Change Desktop Right Click Menu Items



On Sat, 2005-08-13 at 14:43 +0200, Christian Neumair wrote:
> Sven J. schrieb:
> 
> >- now i noticed that this only works for files choosed in nautilus
> >windows grmpf
> >  
> >
> 
> The desktop is a window as well. Currently, we just don't convert 
> "x-nautilus-desktop:///" to the location of the physical desktop 
> directory. There is a bug report [1]. I'd appreciate if you could test 
> the attached patch and give some feedback.  I don't think that the 
> attached patch fixes the selected files' location yet.
> 
> [1] http://bugzilla.gnome.org/show_bug.cgi?id=148545

Sadly I must report that I've done nothing else with the bug report or
patch, and in fact I had no idea people even commented on the bug
report. *sigh* I really need to keep up to speed with these things more.

So, no the patch doesn't work nor do I know what to really do about it
considering I seriously do not have the time to devote to solving a
problem I still bang my head on from time to time.

However, for the interested, I wrote a Perl module called UI::Dialog
that has a Nautilus backend and will translate the desktop URIs for you
(amongst other things). The relevant documentation can be found here:
http://search.cpan.org/~kck/UI-Dialog/lib/UI/Dialog/Backend/Nautilus.pod
http://search.cpan.org/~kck/UI-Dialog

It's not the best solution for the problem but suffices for me because
all of my Nautilus Scripts are written in Perl and not Bash.

I've also got some template Perl scripts that I use which have both
command line argument and nautilus uri support pre-cooked using
UI::Dialog, GetOpt::Long and Pod2Usage. If anyone is interested in these
types of things, I'll upload them somewhere and post links.

-- 
Kevin C. Krinke <kckrinke opendoorsoftware com>
Open Door Software Inc.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]