You are not logged in.
Pages: 1
How can I tell apps running under Openbox to use Chromium instead of Firefox as the browser to open when an http link is clicked on? IOW, how do I tell Openbox what my default browser is. Or is that not something that Openbox deals with?
Offline
What ever browser you are using in the settings has an option to check. then it should use that if checked.
Linux ArchLinux 3.2.8-1-ARCH
#1 SMP PREEMPT Mon Feb 27 21:51:46 CET 2012 x86_64 AMD FX(tm)-8120 Eight-Core Processor AuthenticAMD GNU/Linux
8192MB DDR3 1300MHz | Asus m5a97 | GeForce GTX 550 Ti | 120 GB SSD
Offline
Just one little problem with that:
Firefox does not seem to have this issue
Offline
You need two things: export DE=xfce permanently in your environment (you can put this in .config/openbox/autostart.sh so it will be set every time you start openbox-session) and xfce-settings package.
Then start xfce4-settings-manager. Go to preferred applications and set your browser of choice. I'm not sure but maybe you'll need xdg-utils package also.
Last edited by ArchArael (2010-01-11 17:21:30)
Offline
All you need is Exo, and to set Chromium as default in exo-preferred-applications, and you'll be good.
Last edited by Wintervenom (2010-01-11 17:28:13)
Offline
that seems to work for Chromium & Choqok, but Thunderbird links are still opening in Firefox. At least the link drag'n'drop works fine.
Offline
All you need is Exo, and to set Chromium as default in exo-preferred-applications, and you'll be good.
Ah...I see now. The icon Preferred applications in the xfce4-settings-manager starts exo-preferred-applications. Thank you for this information. This makes xfce4-settings obsolete on my machine.
Offline
Thunderbird might have to be told to use the desktop default in a settings panel, and if that doesn't work, you could try setting it manually and putting in the command "exo-open --launch=WebBrowser" if you're using the xfce/exo approach
Offline
exo-preferred-applications didn't list Chromium as an option (only Firefox) so I chose other and pointed it to /usr/bin/chromium-browser. However, Pidgin still opens links with Firefox (even though instructed to use the default browser). Also, Firefox itself seems to believe it is the default browser.
I didn't add the DE=xfce line, seeing my desktop environment is not xfce.
What do I do now? How does the system even determine default applications (as in URL handlers and MIME apps)? When I download something in Chromium and try to open it, it always tries to use Firefox to open it. Firefox has absolutely no default programs to open anything with, it just gives me the option to save something or choose a program from /usr/bin. How do I setup the default programs in a DE-less environment?
Last edited by robrene (2010-01-11 22:35:35)
Offline
I didn't add the DE=xfce line, seeing my desktop environment is not xfce.
I also use openbox and DE=xfce is just to make applications read xfce settings (in my case every application (skype, thunderbird, terminal ecc) opens links in my default browser which is defined in exo preferences panel). Exporting this variable doesn't affect your openbox session at all.
Offline
Alright. Just curious though, what other options do I have instead of xfce? I've read about xdg instead of exo for example, but that project doesn't seem very mature yet. What are the other possibilities?
Offline
Offline
Pages: 1