[SOLVED] Xfce terminal open links with wrong browser.

After installing Opera as second browser, xfce terminal began to open links with it, instead of my default browser - Firefox.
I right click on an URL, choose 'Open Link' and it opens in Opera.
Firefox is set as default browser in Settings -> Preferred Applications -> Web Browser
xdg-open http://archlinux.org
- opens Firefox
exo-open http://archlinux.org
- opens Firefox
After quick search through xfce terminal sources i found it uses some function - gtk_show_uri.
I googled it, found that topic: https://bbs.archlinux.org/viewtopic.php?id=140028 and tried the solution:
cat ~/.local/share/applications/mimeapps.list
[Added Associations]
x-scheme-handler/mailto=exo-mail-reader.desktop
x-scheme-handler/http=firefox-browser.desktop
strangely it doesn't help.
After all righ click url in terminal and 'Open Link' still uses Opera.
Any ideas? What else can i do to find out a reason?
Last edited by spacetekk (2015-01-04 11:41:53)

Tried BROWSER envar - doesnt help, and as i understand it must work only for cli apps.
Editing of  ~/.config/mimeapps.list doesnt help eather:
cat ~/.config/mimeapps.list
[Default Applications]
text/vcard=firefox.desktop
text/html=firefox.desktop
[Added Associations]
text/vcard=firefox.desktop;
text/html=firefox.desktop
but maybe it's not correct.
After that i tried to strace xfce4-terminal:
poll([{fd=4, events=POLLIN}], 1, 4294967295) = 1 ([{fd=4, revents=POLLIN}])
recvmsg(4, {msg_name(0)=NULL, msg_iov(1)=[{"\34\0.\331!\t`\2N\1\0\0\330\336\7\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 352
recvmsg(4, 0x7fff5ad349d0, 0) = -1 EAGAIN (Resource temporarily unavailable)
stat("/home/user/.local/share//mime/mime.cache", 0x7fff5ad34470) = -1 ENOENT (No such file or directory)
stat("/home/user/.local/share//mime/globs", 0x7fff5ad34470) = -1 ENOENT (No such file or directory)
stat("/home/user/.local/share//mime/magic", 0x7fff5ad34470) = -1 ENOENT (No such file or directory)
stat("/usr/local/share/mime/mime.cache", 0x7fff5ad34470) = -1 ENOENT (No such file or directory)
stat("/usr/local/share/mime/globs", 0x7fff5ad34470) = -1 ENOENT (No such file or directory)
stat("/usr/local/share/mime/magic", 0x7fff5ad34470) = -1 ENOENT (No such file or directory)
stat("/usr/share/mime/mime.cache", {st_mode=S_IFREG|0644, st_size=115108, ...}) = 0
open("/usr/share/applications/opera.desktop", O_RDONLY) = 13
fstat(13, {st_mode=S_IFREG|0644, st_size=550, ...}) = 0
read(13, "[Desktop Entry]\nVersion=1.0\nName"..., 4096) = 550
read(13, "", 4096) = 0
close(13) = 0
access("/usr/local/sbin/opera", X_OK) = -1 ENOENT (No such file or directory)
access("/usr/local/bin/opera", X_OK) = -1 ENOENT (No such file or directory)
access("/usr/bin/opera", X_OK) = 0
getuid() = 1000
stat("/usr/bin/opera", {st_mode=S_IFREG|0755, st_size=416, ...}) = 0
access("/usr/local/sbin/opera", X_OK) = -1 ENOENT (No such file or directory)
access("/usr/local/bin/opera", X_OK) = -1 ENOENT (No such file or directory)
access("/usr/bin/opera", X_OK) = 0
getuid() = 1000
stat("/usr/bin/opera", {st_mode=S_IFREG|0755, st_size=416, ...}) = 0
pipe2([13, 19], 0) = 0
pipe2([20, 21], 0) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fd725cf1bd0) = 1469
close(19) = 0
close(21) = 0
wait4(1469, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 1469
and it's strange but as i can understand it uses some mime cache file located at /usr/local/share/mime/mime.cache
and before that some other non existing files, but i dont see there any familiar config files.

Similar Messages

  • Apple doesn't allow Mail users to open links with Chrome

    Apple doesn't allow Mail users to open links with Chrome, Chrome is the deafult browser and it seems that there is a blockage for 3rd party browser, not very nice !!!!!!

    Apple doesn't allow Mail users to open links with Chrome, Chrome is the deafult browser and it seems that there is a blockage for 3rd party browser, not very nice !!!!!!

  • Can not open links while in browser?

    So, I can't click on links with the cursor while I am in browser,  if it highlights the link I can right click and hit open link, but can not just click with the trackball, does anyone know how to fix this?

    I asked your device operating system release?
    lol, no, not a virus.
    The most recent OS release you're likely running contains a bug. Just hover over the link and press Menu > Get Link.
    it's be fixed in a later release.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • How can I force Firefox to override javascript when opening links with ctrl+click?

    There are certain sites that always open up a link in the active window despite said links being opened by ctrl+clicking it. Basically what happens is that a java script on the site forces the active window to load the link while at the same time Firefox follows the ctrl+click command and loads it in a new tab. You end up with two tabs with the same information and always have to go back in your original tab to be able to open other links.
    Usually you can open the link the way you want by right-clicking and selecting 'Open Link in New Tab' but for some reason ctrl+click is treated as if it was a regular click. How can I stop this from happening and force Firefox to ONLY load the new tab?
    This problem is not specific to the version of Firefox I'm using or the operating system, but seems to be caused by java script on the site. Disabling java scripts makes the problem go away but sometimes it also disables the sites.

    If you're trying to protect your browser from hackers, I'd recommend setting up a master password for your saved passwords. Other than that, your anti-virus and firewall are responsible for keeping your computer safe.
    If you're trying to protect your browser from someone else (i.e. somebody who can physically use the computer) just lock your entire computer with a password. If someone else has to use it, you could try letting them use the guest account.

  • Discoverer Viewer Open Link in New Browser Window

    We have created cubes with links to details (using Manage Links).
    When selecting the link from Discoverer Plus OLAP, a new browser window opens.
    When selecting the link from Discoverer Viewer, it opens within the same browser window.
    How can we force Discoverer Viewer to open a link in a new browser window?
    We tried adding the TARGET="_blank" to the link but that only gets added to the last parameter (or passed as a parameter).
    Unlike Discoverer Plus parameter, there is no _popup option.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    This article by Ted Padova will give you the JavaScript code that will accomplish this: http://acrobatusers.com/blogs/tedpadova/opening-pdfs-new-browser-windows

  • XFCE terminal opens in background

    What I mean by background is usually I just click the terminal shortcut and start typing.  Now I have to click in the window first.  This also happens with the file manager shortcut.  This is a regression although I'm not sure what update caused it.  The problem appears to be with the "exo-open" program that the shortcuts in the quickbar (and also with the "terminal emulator" and "file manager" shortcuts in the Applications menu.)  The "exo-open" program opens whatever terminal or file manager you have set as default.
    If I go down to system > Xfce Terminal or Thunar file manager which opens those programs directly I don't have this problem.  They open in the foreground.  The quickbar "exo-open" shortcuts used to do that same.  I'm wondering what changed.
    Last edited by weirddan455 (2015-03-21 00:36:48)

    Nevermind found the regression.  Looks like exo is its own package and was just updated two days ago.  Downgraded from exo-0.10.4-1 to exo-0.10.3-2 and the problem went away.
    EDIT:  And bug report opened https://bugs.archlinux.org/task/44282
    Not sure whether this should also be reported upstream.
    Last edited by weirddan455 (2015-03-21 00:48:04)

  • Open links with an app

    I have a Samsung S3, Android version 4.1.2 and using Firefox 25.
    When I was using the default Internet app, every time I clicked on a youtube or play store link, it would ask me what program I would like to open it with.
    But when I do the same in Firefox, it goes to the mobile site automatically. Can I change this?

    hello Juiceman77, i think google would have to fix this on their server side and treat firefox on android as a mobile browser and send the right intent to open the appropriate android apps: https://support.mozilla.org/en-US/questions/961564#answer-444901

  • ADF RichTextEditor opening links in new browser - how to do it?

    Hi, If I add a link in ADF RichTextEditor, how do I make it open in a new browser window when clicked on it? Essentially, I want RichTextEditor to insert "target=_blank" attribute in the achor element rendered.
    Of course, I can ask the user to go to source mode and do it themselves, however, I was hoping that in the WYSIWYG mode, RichTextEditor would give me the options for specifying the target.
    Is this possible?
    BTW, I dont want to process the value of the RichTextEditor at the backend and insert the target programmatically.
    Thanks.

    The question is: how do I detect if the clientaborts
    the downloading by pressing the stop button on theweb
    browser?Short answere: You dont.It doesn't terminate the socket? How/when does the socket get closed on the client side then?

  • Want to open link in new browser

    hi
    can anyone tell me how to set a link so that when someone
    clicks on it the website it is linked to opens in a new browser. I
    could not find the place in dreamweaver to tell it to do that.
    thanks
    edward

    On 11 May 2008 in macromedia.dreamweaver, egc2224 wrote:
    > can anyone tell me how to set a link so that when
    someone clicks on
    > it the website it is linked to opens in a new browser. I
    could not
    > find the place in dreamweaver to tell it to do that.
    F1 > Open Browser Window behavior
    The other alternative is to add a target="_blank" attribute
    to the link
    tag, but that's deprecated. It should also be noted that many
    modern
    browsers open new windows in new tabs, not new windows, and
    you have no
    control over that.
    Joe Makowiec
    http://makowiec.net/
    Email:
    http://makowiec.net/contact.php

  • Open EP7 with Mobile Browser

    Dear all,
    we want to open the whole Portal Content (EP 7 SPS11) from a  Mobile device (Microsoft Mobile 5 Internet Explorer). These devices are already in our intranet-network.
    We got the several mentioned iview error "iView is not compatible with your browser, operating system or device...". We know that the browser is not in the SAP PAM, but if it is possible, we do not want to implement SAP Mobile Infrastructure. We want to display the whole portal content (that already includes some R/3-Views.)
    Does anybody knows a solution? A scenario, perhaps an additional server which routes the request from the mobile browser to the SAP Portal in that way, that the SAP Portal accepts it?
    Regards
    W. Pauly

    Hi Wiebke,
    You need to change the property Supported User Agents for all objects you need to access with MS Mobile IE. The procedure is the same as enabling your portal to be indexed by Web Search Engines for external facing portals, which is described here: http://help.sap.com/saphelp_nw04s/helpdata/en/44/ccf6bf687f3b9ae10000000a1553f6/frameset.htm.
    This will technically allow all browsers to access the portal. Note that SAP does not support them, and especially in the case of mobile browsers, you may have issues regarding screen size and scripts (maybe fix this by creating a custom framework page+custom navigation iviews?).
    Regards,
    Johan

  • [SOLVED] xfce4-terminal opened unfocused when called by exo-open

    xfce4-terminal opened unfocused when called by
    exo-open --launch TerminalEmulator
    Last edited by D101101 (2015-03-22 19:30:49)

    Thank you, this was driving me crazy.  When I went to open a xfce-terminal (not xterm), it would not "focus" on it.. it was driving me nuts.
    Needless to say, I checked, and rechecked, and rechecked my settings for focus.. probably messing something up in the process, all because exo was bugged (!!!??).
    (bump me, but now they got to fix Thunar.  Thunar is not updating files in folders.)
    Please see https://bbs.archlinux.org/viewtopic.php?id=194955
    Last edited by Kilzool (2015-03-23 04:42:48)

  • [SOLVED] custom terminal (urxvt) settings with vim

    Hi all,
    I want to run vim in a terminal (urxvt) session with XRESOURCES settings different than the default, located at ~/.Xresources.
    I'm doing this because when I run vim I want different font settings as well as some other urxvt settings
    How can I do this?
    I have a second xresources file called .Xresources-vim
    I tried setting the environment variable XRESOURCES=.Xresources-vim, and ran vim on the same line, but it doesn't pick up on the alternate urxvt settings.
    If I change XRESOURCES as above and run urxvt on the same line, i get the custom settings
    So I want to somehow execute vim with one key combination and get it into a urxvt session with the custom settings
    any ideas?
    Best,
    Alan
    Last edited by beitme (2013-09-05 04:08:45)

    You can also just have a different class specifier in your Xresources file, so you'd have settings for URxvt*<option>: setting, and urxvt-vim.<option>: setting.  Then call as "urxvt -name urxvt-vim -e vim" and it will take all the urxvt-vim settings from Xresources.
    But if this is for different color settings, you do know that vim syntax highlighting can use 256 colors, right?  So you wouldn't need to reset the 16 base colors.

  • Open link in a browser from jTexPane hyperlink

    Hi,
    I create a hyperlink in a jTextPane, and it's like this:
    jTextPane1.setContentType("text/html");
    jTextPane1.setText("<a href=http://www.yahoo.com>Yahoo!</a>");
    It's working, but then the yahoo page is displayed in that jTextPane1..How do I change it so that the page is opened in a default browser?
    Thanks for your time.

    Heres a little snippet that might do what you are after ... NB: this runs an linux box that has the application firefox in its path, thus able to run ... you might need to use the full path of iexplorer eg c:/windows/program ...etc
    hope this helps
    public class run
      public static void main(String[] args) throws Exception
           String url = "http://slashdot.org";
           Process p = Runtime.getRuntime().exec("firefox " + url);
           p.waitFor();
           System.out.println("Done.");
    }

  • [SOLVED] xfce-panel causing problems with mouse/touchpad

    Since upgrading the packages below  I mouseclicks occasionally do not work.  Also scrolling using the scrollwheel and touchpad doesn't start sometimes. I determined it is not a problem with the mouse or touchpad because 'xev' shows the correct events firing. Also  I see the icon change from arrow to hand when clicking.
    <edit>
    It appears that "xfce4-panel" is the cause. I use tint2 instead of  xfce-panel, but the process running an empty panel is started by default and  somehow interfered with mouse and touchpad events. solved it by removing it from the session, and comment it out in /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml
    </edit>
    [2011-01-19 21:39] synchronizing package lists
    [2011-01-19 21:39] starting full system upgrade
    [2011-01-19 21:57] upgraded libxfce4util (4.8.1-1 -> 4.8.1-1)
    [2011-01-19 21:57] upgraded exo (0.6.0-2 -> 0.6.0-2)
    [2011-01-19 21:57] Generating locales...
    [2011-01-19 21:57] en_US.UTF-8... done
    [2011-01-19 21:57] en_US.ISO-8859-1... done
    [2011-01-19 21:57] nl_NL.UTF-8... done
    [2011-01-19 21:57] nl_NL.ISO-8859-1... done
    [2011-01-19 21:57] Generation complete.
    [2011-01-19 21:57] upgraded glibc (2.12.2-2 -> 2.12.2-2)
    [2011-01-19 21:57] upgraded x264 (20110115-1 -> 20110115-1)
    [2011-01-19 21:57] upgraded ffmpeg (26387-1 -> 26387-1)
    [2011-01-19 21:57] upgraded gdisk (0.6.14-1 -> 0.6.14-1)
    [2011-01-19 21:57] upgraded gstreamer0.10-ugly (0.10.16-2 -> 0.10.16-2)
    [2011-01-19 21:57] upgraded gstreamer0.10-ugly-plugins (0.10.16-2 -> 0.10.16-2)
    [2011-01-19 21:57] upgraded gtk-xfce-engine (2.8.0-1 -> 2.8.0-1)
    [2011-01-19 21:57] upgraded lib32-gcc-libs (4.5.2-4.2 -> 4.5.2-4.2)
    [2011-01-19 21:57] upgraded libjpeg (8.3.0-1 -> 8.3.0-1)
    [2011-01-19 21:57] upgraded xfconf (4.8.0-1 -> 4.8.0-1)
    [2011-01-19 21:57] upgraded libxfcegui4 (4.8.0-1 -> 4.8.0-1)
    [2011-01-19 21:57] upgraded mplayer (32792-1 -> 32792-1)
    [2011-01-19 21:58] when you use a non-reparenting window manager
    [2011-01-19 21:58] set _JAVA_AWT_WM_NONREPARENTING=1 in
    [2011-01-19 21:58] /etc/profile.d/openjdk6.sh
    [2011-01-19 21:58] upgraded openjdk6 (6.b20_1.9.4-1 -> 6.b20_1.9.4-1)
    [2011-01-19 21:58] [2011-01-19 21:58] upgraded openssh (5.6p1-2 -> 5.6p1-2)
    [2011-01-19 21:58] upgraded pcre (8.12-1 -> 8.12-1)
    [2011-01-19 21:58] upgraded terminal (0.4.5-2 -> 0.4.5-2)
    [2011-01-19 21:58] [2011-01-19 21:58] upgraded thunar (1.2.0-1 -> 1.2.0-1)
    [2011-01-19 21:58] upgraded thunar-volman (0.6.0-1 -> 0.6.0-1)
    [2011-01-19 21:58] upgraded udisks (1.0.2-2 -> 1.0.2-2)
    [2011-01-19 21:58] upgraded vim-runtime (7.3.102-1 -> 7.3.102-1)
    [2011-01-19 21:58] upgraded vim (7.3.102-1 -> 7.3.102-1)
    [2011-01-19 21:58] upgraded vlc (1.1.5-3 -> 1.1.5-3)
    [2011-01-19 21:58] [2011-01-19 21:58] upgraded xfburn (0.4.3-3 -> 0.4.3-3)
    [2011-01-19 21:58] upgraded xfce-utils (4.8.0-1 -> 4.8.0-1)
    [2011-01-19 21:58] [2011-01-19 21:58] upgraded xfce4-appfinder (4.8.0-1 -> 4.8.0-1)
    [2011-01-19 21:58] upgraded xfce4-dev-tools (4.8.0-1 -> 4.8.0-1)
    [2011-01-19 21:58] upgraded xfce4-panel (4.8.0-1 -> 4.8.0-1)
    [2011-01-19 21:58] upgraded xfce4-mixer (4.6.1-2 -> 4.6.1-2)
    [2011-01-19 21:58] upgraded xfce4-notifyd (0.2.0-1 -> 0.2.0-1)
    [2011-01-19 21:58] upgraded xfce4-session (4.8.0-1 -> 4.8.0-1)
    [2011-01-19 21:58] upgraded xfce4-settings (4.8.0-1 -> 4.8.0-1)
    [2011-01-19 21:58] upgraded xfdesktop (4.8.0-1 -> 4.8.0-1)
    [2011-01-19 21:58] upgraded xfwm4 (4.8.0-1 -> 4.8.0-1)
    Last edited by rwd (2011-01-23 14:01:25)

    welcome to macbook forum.
    try this link:
    http://docs.info.apple.com/article.html?artnum=17228
    and open your system preference / keyboard and mouse / trackpad tab / and changed the preference (double clicking speed, etc) as you like and try it.
    Good Luck.

  • Open links in new browser window

    We are using Oracle WCI 10.3/Collaboration 10.3 and have a Community Links Portlet (collab portlet) setup. The links open up in the same browser window and to get back to the portal, the user has to hit the back button on the browser. So,
    1) Is there a portal/collaboration configuration that enables links to open up in a new browser window?
    2) Is there a way to hide the address bar when the link opens up in a new window? (the reason for this question is, we may have a link to some applications where we don't want the user going in directly. So, by hiding the address bar, they can't copy the URL and access directly without going in through the portal).
    If there is any better way to do question 2 above, would appreciate the feedback.
    Thanks.

    I was able to figure this out:
    1) In the My Account section, under display preferences, there is an option to "open documents in same window" or "new window". By changing this, links in the Community Links portlet open up in a new browser window.
    2) With a simple javascript example that I found on the internet, I was able to customize the popup browser window with no address bar or menu buttons.
    Edited by: user1301820136 on Jun 26, 2009 9:59 AM

Maybe you are looking for

  • Connecting Laptop to Home Hub by Wi Fi

    Have a BT Home Hub type 2a & run Windows 8.1 Am about to buy my first Laptop to supplement the tower which is connected to the hub by Ethernet cable. Basic question is how do I get the laptop to connect to the Hub by WiFi The laptop is a new one so h

  • Cannot print all pages of Acrobat PDF! eg Cable bill. mWHY????

    All my bills are usually 2 or more pages. When I select "View printable PDF" no problem. However, when I try to print 2 or more pages all I ever get is the first page and in some instances not even that. At those times when I select "Print Preview" o

  • Count the number of words in a field?

    Hi, I am trying to classify records inside of a view by implementing logic that looks at the name associated with that record. I need to know if the record is an individual or a company. So far I have created a case that looks like this: CASE WHEN NA

  • Shutdown composite before SOA server goes down or shuts down

    Hi, i s there any ways where we can shutdown all the composites in a node before we shutdown SOA Node, and similarly bring up all composites after SOA node is up. Shirish

  • J2EE tutorial or books

    Hi, 1) Im new to J2EE programming. Can you suggest me a good site or books which provides me in detail how to program with J2EE with examples, espically deploying a EJB, with any of the application server. 2) I tried the steps provided in the java tu