Jump to content


Preferred application in XFCE not persisting

xfce arch linux

  • Please log in to reply
10 replies to this topic

#1 OFFLINE   Neil P

Neil P

    Resident Pyromaniac

  • Forum Moderators
  • 2,254 posts

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.

:(

#2 OFFLINE   securitybreach

securitybreach

    CLI Phreak

  • Forum Admins
  • 12,849 posts

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

Posted ImagePosted Image
Posted Image π
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   Neil P

Neil P

    Resident Pyromaniac

  • Forum Moderators
  • 2,254 posts

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   securitybreach

securitybreach

    CLI Phreak

  • Forum Admins
  • 12,849 posts

Posted 15 July 2012 - 11:52 PM

View PostNeil 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 :thumbsup:
Posted ImagePosted Image
Posted Image π
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   Neil P

Neil P

    Resident Pyromaniac

  • Forum Moderators
  • 2,254 posts

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   securitybreach

securitybreach

    CLI Phreak

  • Forum Admins
  • 12,849 posts

Posted 16 July 2012 - 12:00 AM

View PostNeil 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.
Posted ImagePosted Image
Posted Image π
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   Neil P

Neil P

    Resident Pyromaniac

  • Forum Moderators
  • 2,254 posts

Posted 16 July 2012 - 12:29 AM

View Postsecuritybreach, on 16 July 2012 - 12:00 AM, said:

Try going into the Chrome settings and click the box under Default Browser.
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.

#8 OFFLINE   securitybreach

securitybreach

    CLI Phreak

  • Forum Admins
  • 12,849 posts

Posted 16 July 2012 - 12:45 AM

View PostNeil 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 :thumbsup:
Posted ImagePosted Image
Posted Image π
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   Urmas

Urmas

    GUI Penguin

  • Forum Admins
  • 4,020 posts

Posted 16 July 2012 - 03:19 AM

Found this:



#10 ONLINE   V.T. Eric Layton

V.T. Eric Layton

    Nocturnal Slacker

  • Forum Admins
  • 14,851 posts

Posted 16 July 2012 - 12:41 PM

So, is it OK now, Neil?

Posted Image


#11 OFFLINE   Neil P

Neil P

    Resident Pyromaniac

  • Forum Moderators
  • 2,254 posts

Posted 16 July 2012 - 02:12 PM

View PostV.T. Eric Layton, on 16 July 2012 - 12:41 PM, said:

So, is it OK now, Neil?
Yeah, it seems to be working fine now. The problem, I guess, was with Chrome trying to set itself as default. Once I set it in XFCE and ignore Chrome itself, it works.





Also tagged with one or more of these keywords: xfce, arch linux

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users