You are not logged in.

#1 2020-03-30 15:12:18

devourer
Member
Registered: 2009-10-21
Posts: 12

Alternative web browser in desktop entry

I'm running Xfce on a shared computer and Firefox is the default browser that everybody in the household uses. I personally prefer Google Chrome and as such, I was wondering if it's possible to instruct a .desktop shortcut to set Chrome as the browser of choice for a specific application, so that when I click on a link it doesn't open in Firefox.
I tried the following after going through the wiki for a bit, but it didn't work:

[Desktop Entry]
Encoding=UTF-8
Name=Rambox
Comment=Free and Open Source messaging and emailing app that combines common web applications into one.
Exec=env BROWSER=/usr/bin/google-chrome-stable rambox -- %u
StartupWMClass=Rambox
Icon=rambox
Terminal=false
Type=Application
Categories=Network;
X-Desktop-File-Install-Version=0.24
Name[en_US]=Rambox

Is there a way to do this?

Thanks in advance.

Offline

#2 2020-03-30 15:19:29

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,524
Website

Re: Alternative web browser in desktop entry

Why does everbody in the house use the same user?  Create your own user and configure settings as you'd like.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

Board footer

Powered by FluxBB