View Single Post
Posts: 114 | Thanked: 201 times | Joined on Apr 2009
#84
Originally Posted by daperl View Post
Overlay a small icon (or not, in the case of microb) at the bottom-right corner of the globe that represents the actual browser for that link. If you're forcing people to reboot after changing the default browser, this should be picked up nicely.
Interesting idea -- but a reboot shouldn't be necessary to change the default browser (it should take effect the moment you hit OK in the UI). We'd also need to grow some image-processing code. I might take a look at this post-3.2, and patches are of course welcome.

Originally Posted by daperl View Post
And instead of renaming Icon: entries in .desktop files, for instance, just actually overwrite the actual .png files.
It can't be that simple if we want to deal with package upgrades and SSUs correctly. I think you'd dpkg-divert the original icons out of the way, install symlinks to a location the user can write to (so that we don't need to gain root privileges when we change the default browser), and write the modified icons there.

Originally Posted by daperl View Post
Then you could start having 3 or more browsers by centrally configuring them as:

browser (default)
Actual-Name: Tear
Label-Name: Web
browser2
Actual-Name: microb
Label-Name: microb
browser3
Actual-Name: Midori
Label-Name: Midori
...
I don't think Browser Switchboard needs to be involved with this, since all the other browsers will be installing their own menu entries already. We just need to control which is the default browser.
 

The Following 3 Users Say Thank You to steven676 For This Useful Post: