I am using XFCE4 (4.10) as my desktop environment in Arch. When I click on the "Web Browser" shortcut in the dock, it asks, every time, what application to use. I want it to use google-chrome. I select it. On startup, Chrome says "Chrome isn't your default browser, would you like it to be" (or whatever the message is), I say yes, make default. On subsequent relaunches, I go through the same thing. The setting never sticks. Setting it through Settings -> Preferred Applications doesn't matter either. What am I doing wrong? Is it a permissions thing? I don't even know where to look. Searching google just takes me to the documentation on how it's supposed to work.
Preferred application in XFCE not persisting
Started by
Neil P
, Jul 15 2012 11:28 PM
xfce arch linux
10 replies to this topic
#1 OFFLINE
Posted 15 July 2012 - 11:28 PM
In yet another of what I'm sure are simple questions:
I am using XFCE4 (4.10) as my desktop environment in Arch. When I click on the "Web Browser" shortcut in the dock, it asks, every time, what application to use. I want it to use google-chrome. I select it. On startup, Chrome says "Chrome isn't your default browser, would you like it to be" (or whatever the message is), I say yes, make default. On subsequent relaunches, I go through the same thing. The setting never sticks. Setting it through Settings -> Preferred Applications doesn't matter either. What am I doing wrong? Is it a permissions thing? I don't even know where to look. Searching google just takes me to the documentation on how it's supposed to work.
I am using XFCE4 (4.10) as my desktop environment in Arch. When I click on the "Web Browser" shortcut in the dock, it asks, every time, what application to use. I want it to use google-chrome. I select it. On startup, Chrome says "Chrome isn't your default browser, would you like it to be" (or whatever the message is), I say yes, make default. On subsequent relaunches, I go through the same thing. The setting never sticks. Setting it through Settings -> Preferred Applications doesn't matter either. What am I doing wrong? Is it a permissions thing? I don't even know where to look. Searching google just takes me to the documentation on how it's supposed to work.
#2 OFFLINE
Posted 15 July 2012 - 11:44 PM
I do not know how to do graphically but try running this command as user to set chrome as the default browser:
xdg-settings set default-web-browser google-chrome.desktop


π ∞Comhack.com/CNI Radio/Linux User #363317/G+/Configs
"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984
#3 OFFLINE
Posted 15 July 2012 - 11:51 PM
Hmm. I ran the command and shut down Chrome and tried to launch it. The set preferred application dialog came up again. I picked Chrome and closed it. Launched again, and this time Chrome launched. I don't know if it's set default. I'm going to try starting xfce again and see if it works.
#4 OFFLINE
Posted 15 July 2012 - 11:52 PM
Neil P, on 15 July 2012 - 11:51 PM, said:
Hmm. I ran the command and shut down Chrome and tried to launch it. The set preferred application dialog came up again. I picked Chrome and closed it. Launched again, and this time Chrome launched. I don't know if it's set default. I'm going to try starting xfce again and see if it works.
Hopefully that fixed it for you


π ∞Comhack.com/CNI Radio/Linux User #363317/G+/Configs
"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984
#5 OFFLINE
Posted 15 July 2012 - 11:56 PM
I think it worked. I restarted xfce and it still worked, and I even rebooted and it worked. Chrome doesn't see itself as default (it still pops up the message) but it launches each time. Thanks!
#6 OFFLINE
Posted 16 July 2012 - 12:00 AM
Neil P, on 15 July 2012 - 11:56 PM, said:
I think it worked. I restarted xfce and it still worked, and I even rebooted and it worked. Chrome doesn't see itself as default (it still pops up the message) but it launches each time. Thanks!
Try going into the Chrome settings and click the box under Default Browser.


π ∞Comhack.com/CNI Radio/Linux User #363317/G+/Configs
"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984
#7 OFFLINE
Posted 16 July 2012 - 12:29 AM
securitybreach, on 16 July 2012 - 12:00 AM, said:
Try going into the Chrome settings and click the box under Default Browser.
#8 OFFLINE
Posted 16 July 2012 - 12:45 AM
Neil P, on 16 July 2012 - 12:29 AM, said:
Ok. It seems that Chrome somehow borks it. Setting it in Chrome is what causes the selector to come up when I launch "Web Browser". So I told Chrome to never ask me.
Sounds like an issue with your Xfce version but I dunno. As long as it works, whatever


π ∞Comhack.com/CNI Radio/Linux User #363317/G+/Configs
"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984
#9 OFFLINE
Posted 16 July 2012 - 03:19 AM
Found this:
#10 ONLINE
Posted 16 July 2012 - 12:41 PM
So, is it OK now, Neil?
![]()
#11 OFFLINE
Also tagged with one or more of these keywords: xfce, arch linux
arch linux
The Highlands →
Bruno's All Things Linux →
Screen Resolution issue with xrandrStarted by ichase , 19 Apr 2013 |
|
|
||
qemu
The Highlands →
Bruno's All Things Linux →
QEMU Arch LinuxStarted by ichase , 14 Mar 2013 |
|
|
||
The Highlands →
Bruno's All Things Linux →
[arch-announce] qt4 replaces qtStarted by ichase , 01 Mar 2013 |
|
|
||
The Highlands →
Bruno's All Things Linux →
[arch-announce] Changes to LVMStarted by ichase , 12 Feb 2013 |
|
|
||
arch linux
The Highlands →
Bruno's All Things Linux →
[arch-announce] Final sysvinit deprecation warningStarted by ichase , 04 Feb 2013 |
|
|
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users










