dalanicolai / gnome-tracker-extension

Ulauncher extension for (deep) search filesystem via the gnome tracker, recoll, docfetcher, locate or calibre index
63 stars 4 forks source link

Allow customising text editor, file browser from preferences #5

Closed protostork closed 5 years ago

protostork commented 5 years ago

Just a small feature addition to allow changing the default file manager and text editor from nautilus and gedit from the preferences. Shouldn't change the basic functionality and config at all, but for people who use something other than gedit or nautilus it could be useful (though sadly some file managers like spacefm, don't work properly with the full path with filename).

Was thinking about using 'xdg-mime query default text/text' to get the system default of the text editor, for instance, but I thought this could be faster, and easier for users to configure.

protostork commented 5 years ago

Sorry about the messy push requests - am having a hard time keeping my local customisations separate from the main branch ;)

gnome-terminal right now doesn't open in the right folder for some reason - I think it may be some issue with 'gnome-terminal --working-directory', not sure. Will investigate and maybe do a separate request if I can figure it out.

dalanicolai commented 5 years ago

Nice work! I guess these extra options have to be added to the manifest.json file also

protostork commented 5 years ago

Thanks! Yes, I'd added the 2 options to manifest.json, which seemed to work ok.

dalanicolai commented 5 years ago

Nice... however the option menu does not seem to work now... but I will investigate a little more

dalanicolai commented 5 years ago

Thanks! Yes, I'd added the 2 options to manifest.json, which seemed to work ok.

Ah... somehow I did not see it... when reviewing the commit... have to learn a little more still

dalanicolai commented 5 years ago

Nice... however the option menu does not seem to work now... but I will investigate a little more

Okay... it started to work again after I restarted ulauncher. So it seems everything is working alright. Thanks!

protostork commented 5 years ago

Cool, super! :)