$ touch ~/bin/runelinks $ gedit ~/bin/runelinks
Last edited by fhsm (2009-06-22 03:05:23)
reviving this thread although i'm simply trying to make firefox my default rather than chromium.
$ sudo update-alternatives --display x-www-browser x-www-browser - auto mode link currently points to /home/driscoll/bin/firefox/firefox /home/driscoll/bin/firefox/firefox - priority 150 /usr/bin/chromium-browser - priority 40 Current 'best' version is '/home/driscoll/bin/firefox/firefox'.
as you can see above, firefox is my x-www-browser but when i right-click "open link" in terminator, the link opens in chromium.
is the problem here that firefox is located in my home dir? should i make a symlink somewhere else and point to it?
if you are using XFCE, you could run
and check the Browser there.
What happens if you open
It creates links to ~/.local/share/xfce4/helpers/
you find your custom-WebBrowser.desktop there
Probably you have lines there like
X-XFCE-CommandsWithParameter=/usr/bin/chromium-browser "%s" X-XFCE-Commands=/usr/bin/chromium-browser "%s"
so you can change them to /usr/bin/firefox "s%"
rebooted the machine this morning and the behavior has returned. now i am perplexed.
both of these commands open firefox:
$ xdg-open http://crunchbanglinux.org $ x-www-browser
and this looks correct:
$ cat .local/share/xfce4/helpers/custom-WebBrowser.desktop [Desktop Entry] NoDisplay=true Version=1.0 Encoding=UTF-8 Type=X-XFCE-Helper X-XFCE-Category=WebBrowser X-XFCE-CommandsWithParameter=~/bin/firefox/firefox "%s" Icon=firefox Name=firefox X-XFCE-Commands=~/bin/firefox/firefox
yet "open link" in terminator still opens chromium!
if you are using bash, you can append this line in .bashrc
Save it. Close terminator, open terminator. Terminator then calls bash, and this sets the right environment for the commands in bash. I guess
Last edited by machinebacon (2011-07-08 20:38:55)
$ env | grep DE DE=xfce DESKTOP_SESSION=wmii $ xdg-settings get default-web-browser firefox.desktop
Also, dealing with the "alternatives" system, I created the following symlinks:
# ln -s /usr/bin/firefox /etc/alternatives/x-www-browser # ln -s /usr/bin/firefox /etc/alternatives/gnome-www-browser
This didn't solve the problem either. o__O