LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 04-19-2013, 06:07 AM   #1
gtludwig
Member
 
Registered: Oct 2005
Location: Brazil
Distribution: Slackware64-current
Posts: 219

Rep: Reputation: 16
how to define preferred applications on mate-desktop?


My mate-desktop install would be working great if not for a little detail that bugs me a bit. Whenever I try to open a link I received on a email or via skype, it starts Firefox. I've installed chromium and would like to define it as my default web browsing application.
I know I should be able to define it on System > Preferences > Preferred Applications, but the Internet pane options are grayed out.
 
Old 04-19-2013, 08:58 AM   #2
eggshell
LQ Newbie
 
Registered: Jan 2012
Posts: 11

Rep: Reputation: Disabled
Sound to me like you could use a good application launcher. You should be able to find one be searching for "launcher" or install alacarte or desktop-edit-entry

http://www.makeuseof.com/tag/edit-sy...lacarte-linux/

http://www.micahcarrick.com/applicat...n-gnome-3.html
 
Old 04-19-2013, 09:27 AM   #3
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,520

Rep: Reputation: 407Reputation: 407Reputation: 407Reputation: 407Reputation: 407
Hm.. i don't have this problem
i could check the Internet pane options, but i don't have chromium, only Chrome
it seems it only affects people using Chromium
 
Old 04-19-2013, 03:49 PM   #4
joncr
Member
 
Registered: Jun 2012
Posts: 73

Rep: Reputation: Disabled
Grayed out here, too.
 
Old 04-19-2013, 04:30 PM   #5
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,572

Rep: Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394
No problem here. Did you guys remember to remove the non-Mate entries from your "Startup Applications?"
 
Old 04-19-2013, 05:07 PM   #6
joncr
Member
 
Registered: Jun 2012
Posts: 73

Rep: Reputation: Disabled
The browser entry is active after I cleaned out all the Gnome entries in Startup Apps. (Have never been sure which, if any, of them MATE needs.) The Mail Reader entry remains grayed out.

Are the entries in ~/.config/autostart synonymous with the entries displayed in Startup Applications? I ask because, after deselecting and removing the Gnome apps from Startups, they still have entries in autostart.
 
Old 04-22-2013, 07:16 AM   #7
gtludwig
Member
 
Registered: Oct 2005
Location: Brazil
Distribution: Slackware64-current
Posts: 219

Original Poster
Rep: Reputation: 16
Hi all,
Still no luck here. I've cleaned Startup Applications from all obvious gnome related entries, killed X and logged off and back in (I normally use runlevel 3), and still both select boxes for internet on Preferred Applications are grayed out.
I believe this might have something to do with my user's home folder being the same from when I was using KDE (AlienBob's build), then XFCE4 and now (after reinstalling Slackware64-current on a partition I assigned to / and used the same partition as my user's home folder).
 
Old 04-22-2013, 10:49 AM   #8
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,520

Rep: Reputation: 407Reputation: 407Reputation: 407Reputation: 407Reputation: 407
I would test with a newly created user to find out
usually a polluted home directory can cause 'side effect' with MATE
 
Old 04-22-2013, 01:04 PM   #9
joncr
Member
 
Registered: Jun 2012
Posts: 73

Rep: Reputation: Disabled
No change here with a new user. "Browser" offers Chrome, but won't display other options (should show Firefox). "Mail Reader" is grayed out and inactive. If I click a mailto: link in Chrome, Firefox and the Thunderbird both open.

I'm on clean Slackware 14 with MATE 1.6, both installed less than a week ago. I've been through $HOME pretty thoroughly and don't see anything that might be confusing matters. No stray KDE or XFCE or GTK files, just the usual detritus that accumulates.

When a change is made via "Preferred Applications", what file is updated?

But, Willy, that's all I can find to fret about. Many thanks to you all for pulling MATE together for Slackware. It's pretty nice.
 
Old 04-22-2013, 02:35 PM   #10
chess
Member
 
Registered: Mar 2002
Location: 127.0.0.1
Distribution: Slackware, OpenBSD, FreeBSD
Posts: 728

Rep: Reputation: 168Reputation: 168
I believe one file that impacts this is $HOME/.local/share/applications/mimeapps.list which is configured by xdg-open. Check out: https://wiki.archlinux.org/index.php...t_Applications I know that I've run into the issue once or twice before too, and a workaround was to manually edit that file and put in my list of preferred applications. Similar discussion in the Mint forums: http://forums.linuxmint.com/viewtopic.php?f=198&t=99629
 
Old 04-22-2013, 04:49 PM   #11
joncr
Member
 
Registered: Jun 2012
Posts: 73

Rep: Reputation: Disabled
Thanks, Chess. I played with mimeapps.list earlier, adding mime type entries, etc., without seeing any change. Ditto when I temporarily removed it. (An empty file was created at the next login.) Also tried the ideas at the Arch wiki to no avail.

Googling around, it's evident that other folks have had this problem for some time. It's not a big deal for me, since I don't often click on mailto links. Chrome is functioning as the default browser, even if it says it can't figure out if it is or is not.
 
Old 04-22-2013, 05:02 PM   #12
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with Slackware 14.
Posts: 2,592

Rep: Reputation: 535Reputation: 535Reputation: 535Reputation: 535Reputation: 535Reputation: 535
Do you mean this?

Last edited by k3lt01; 07-15-2014 at 02:18 AM.
 
Old 04-22-2013, 05:07 PM   #13
joncr
Member
 
Registered: Jun 2012
Posts: 73

Rep: Reputation: Disabled
Quote:
Originally Posted by k3lt01 View Post
Do you mean this?

Yes.
 
Old 04-22-2013, 05:40 PM   #14
chess
Member
 
Registered: Mar 2002
Location: 127.0.0.1
Distribution: Slackware, OpenBSD, FreeBSD
Posts: 728

Rep: Reputation: 168Reputation: 168
If you add entries like the following then other applications should show up in the Preferred Applications menu:

[Added Associations]
x-scheme-handler/http=google-chrome.desktop;
x-scheme-handler/https=google-chrome.desktop;
x-scheme-handler/about=google-chrome.desktop;
x-scheme-handler/http=mozilla-firefox.desktop;
x-scheme-handler/https=mozilla-firefox.desktop;
x-scheme-handler/about=mozilla-firefox.desktop;
x-scheme-handler/mailto=claws-mail.desktop;
application/x-extension-eml=claws-mail.desktop;
message/rfc822=claws-mail.desktop;
x-scheme-handler/mailto=mozilla-thunderbird.desktop;
application/x-extension-eml=mozilla-thunderbird.desktop;
message/rfc822=mozilla-thunderbird.desktop;
 
Old 04-22-2013, 05:50 PM   #15
joncr
Member
 
Registered: Jun 2012
Posts: 73

Rep: Reputation: Disabled
That looks like the solution.

The difference: No semi-colons at the end of lines in my mimeapps.list after the install. After I add the semi-colons, Preferred Applications works as expected.

Thanks!
 
  


Reply

Tags
mate, mateslackbuilds, preferred applications


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Change the default and Preferred applications in GNOME LXer Syndicated Linux News 0 09-14-2009 06:00 AM
gnome preferred applications config location toni_uk Linux - Desktop 1 03-08-2009 08:55 AM
Preferred Applications/Program defaults for FC3 dubya Fedora 3 03-19-2005 01:26 PM
Gnome Preferred Applications - New Tab in Opera avarweth Linux - Software 0 01-26-2004 04:05 PM
htmlview and preferred applications zyzzyr Fedora 0 12-21-2003 09:28 AM


All times are GMT -5. The time now is 06:41 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration