palob
palob
Sounds simpler than the current way indeed :+1:
Yes, according to [this](https://wiki.archlinux.org/index.php/Desktop_entries#Application_entry) and my experience (I do this a lot) the local launchers override the global ones.
You mean a backup file in order to make a rollback possible?
But in case there are multiple entries for one app you'd have to save which hardcoded path got fixed somewhere.
Currently though the fixing doesn't persist any app update + you need admin privileges (which not every user have access to). Fiddling about in ``/usr/share/`` *"the realm of the package...
The launcher has got to be elsewhere, otherwise it wouldn't be picked up. AFAIK /opt isn't looked up for launchers.
[Electrum](https://github.com/spesmilo/electrum/blob/c86ef5e8b0dcebf1940a68e8857165e6e4768920/electrum.desktop), [Linphone](https://github.com/BelledonneCommunications/linphone/blob/b3c247b6d73278c0fc35b56839867d93e1c7d296/share/linphone.desktop.in), [Jitsi](https://github.com/jitsi/jitsi/blob/3bf2eae97df480ac5280a5563d3c9870ff952166/resources/install/debian/jitsi.desktop.tmpl), [Codelite](https://github.com/eranif/codelite/blob/c31575d1a98c678b88c36f32aa37e11502f6a092/Runtime/codelite.desktop), [multibootusb](https://github.com/mbusb/multibootusb/blob/258ab7adda3fb17cdebfc154172f2e641ee43f6c/data/multibootusb.desktop), [Pasaffe](http://bazaar.launchpad.net/~mdeslaur/pasaffe/trunk/view/head:/pasaffe.desktop.in), [Syncthing-GTK](https://github.com/syncthing/syncthing-gtk/blob/1a9341a465e80719131a5c8da585a6025212305c/syncthing-gtk.desktop) are fixed upstream. I've reported a while ago. [Emacs](http://git.savannah.gnu.org/cgit/emacs.git/tree/etc/emacs.desktop), [FMIT](https://github.com/gillesdegottex/fmit/blob/43ca465b7740907b8e0ee0c3fcb3055fe7bd7f06/distrib/fmit.desktop), [openSCAD](https://github.com/openscad/openscad/blob/e225f2d3412086ff4ed1de7c9b9cd03531a4dcf3/icons/openscad.desktop) and [Scribus](https://github.com/scribusproject/scribus/blob/0efb28d103a32ed3e09df765b10a9b4c62e89e3c/scribus.desktop) (and probably more) are distribution/packaging issues. Not hardcoded upstream. I've...
[YATE has been fixed upstream.](https://github.com/vir/yate/commit/5abc17061012cccb2e61c3276a34c0aa7b631d4a)
In addition to the [ones above](https://github.com/Foggalong/hardcode-fixer/issues/221#issuecomment-173643301) there are some more which aren't hardcoded upstream (anymore): [FreeCAD](https://github.com/FreeCAD/FreeCAD/blob/a2ef7f244dd5042e42ede94f56a28843d6451034/package/debian/freecad.desktop), [Fritzing](https://github.com/fritzing/fritzing-app/blob/2221efa1519e3c387ff875991d74d79b31d79f52/fritzing.desktop), [GNOME Weather](https://git.gnome.org/browse/gnome-weather/tree/data/org.gnome.Weather.Application.desktop.in), [Pamac](https://github.com/manjaro/pamac/search?utf8=%E2%9C%93&q=desktop), [Scilab](http://gitweb.scilab.org/?p=scilab.git;a=tree;f=scilab/desktop;h=ba9b463ee688dd3a987d49825138ec97a3cd31a0;hb=HEAD)
Same for [Grisbi](https://sourceforge.net/p/grisbi/code/ci/master/tree/share/grisbi.desktop.in), [gtimelog](https://github.com/gtimelog/gtimelog/blob/db732f2bc8564cc10c818896cbb0a2c682cd1268/gtimelog.desktop), [Ninja IDE](https://github.com/ninja-ide/ninja-ide/blob/b4e057617f032eda40438738a55ed1adcbbc8158/build_files/ninja-ide-git.desktop), [QCAD](https://github.com/qcad/qcad/blob/1916f375a5176da68f41a7c67c91a6dfe7025961/qcad.desktop) and [Qucs](https://github.com/Qucs/qucs/blob/989c77243bfd1ee0e78fb9c29384a5b71843f91e/qucs/qucs/qucs.desktop)