trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: August 2019

Re: [trinity-users] System Tray Dropbox opens wrong application

From: Nick Koretsky <nick_koretsky@...>
Date: Mon, 5 Aug 2019 01:20:56 +0300
On Sun, 4 Aug 2019 15:41:46 -0600 (MDT)
"Marvin Jones via trinity-users" <trinity-users@...>
wrote:

> On Sun, 4 Aug 2019, Marvin Jones wrote:
> >On Sun, 4 Aug 2019, Nick Koretsky wrote:  
> >>On Sun, 4 Aug 2019, Marvin Jones wrote:  
> >>>
> >>> Clicking on the System Tray object brings up the Dropbox menu.
> >>> Then clicking on "Open Dropbox Folder" brings up Kid3 !!!!
> >>> (kid3: the mp3 sound tag editor)  
> >>
> >>inode/directory probably
> >>
> >>But, i doubt DropBox honors TDE settings. Most probably it uses
> >>xdg-open. You'll have to play with xdg-mime to set correct default
> >>file manager  
> >
> >By golly, I believe you pinned it down!  With your guidance
> >I guessed at what was going on "behind the curtain" and entered:
> >
> >	$ xdg-open $HOME/Dropbox
> >
> >and Kid3 opened up in the Dropbox directory!
> >
> >Now to find out how to strip kid3 from the assignment in xdg-mime --
> >having never dealt with xdg-open / xdg-mime before.  
> 
> Well, maybe it's not inode/directory
> Tho' you would think so.
> 
> jonesy@nix5:~$ xdg-mime query filetype Dropbox
> inode/directory
> jonesy@nix5:~$ xdg-mime query default inode/directory
> konqueror.desktop
> 
> I think xdg-xxxxxx is a rabbit hole I don't want to bother going down.
> 
> I can live with Dropbox's other access options.


Well, xdg-mime is a somewhat mysterious thingie, but you can try mess with
mime directly. Either by finding kid3 .desktop file and removing
inode/directory (or whatever dropbox hooks with, it could be some kind of
uri), or edit/create mimeapps.list

-- 
  Nick Koretsky (nick.koretsky@...)