Bugzilla – Bug 1998
Unhardcode SlimTray targets
Last modified: 2009-09-08 09:26:41 UTC
I like using SlimTray to launch a browser window to SlimServer. But SlimTray is hardcoded to point at the file named 'SlimServer Web Interface.url'. Since this file is a URL shortcut, it will always be opened by the default web browser. I'd like to be able to use a another browser. Make the link in SlimTray configurable - maybe by using a slimtray.pref file containing the link. Then you could use a .lnk shortcut file that itself points at "C:\Program Files\Mozilla Firefox\firefox.exe http://localhost:9000". There might be some other items to throw in a slimtray.pref file. I think the SlimServer service name is also hardcoded. When I set up Perl to run SlimServer as a service under Windows using SrvAny.exe I had to make sure it used the same service name that is used by the Windows installer for the compiled exe.
What if the .url file was a .lnk file that had a URL in it by default, but could be updated to a .lnk?
That would probably work. But I don't think a Windows shortcut (.lnk file) can point to anything except a file or directory. What you'd probably have to do is keep the .url file you have now and create a .lnk file pointing at it. Have SlimTray launch the .lnk.
Alas, this isn't going to make it to 6.2.
If there's additional interest in this enhancement, we may consider reopening it, or accepting patches.