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 01-06-2014, 11:58 PM   #1
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Rep: Reputation: 195Reputation: 195
i3wm - deluge is opening firefox instead of thunar


I just migrated from XFCE to i3wm and since I am happy with thunar I am still using it, when I click "Open folder" on firefox it goes fine (it opens thunar) but when I do that on deluge it opens firefox (it used to open thunar when I was using xfce). I did search google but I couldn't find something that helped me.

Last edited by moisespedro; 01-08-2014 at 04:31 PM.
 
Old 01-07-2014, 12:20 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
i3 is not responsible for filetype associations, so you will first have to look if there is an option in Deluge to specify the program to use.
 
Old 01-07-2014, 01:20 AM   #3
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Original Poster
Rep: Reputation: 195Reputation: 195
Nope, no option at all and it works fine under XFCE
 
Old 01-07-2014, 01:26 AM   #4
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,419

Rep: Reputation: 4367Reputation: 4367Reputation: 4367Reputation: 4367Reputation: 4367Reputation: 4367Reputation: 4367Reputation: 4367Reputation: 4367Reputation: 4367Reputation: 4367
not really sure how i3 works, but you can have a shot at xdg-open (available by default in Slackware).

Last edited by ponce; 01-07-2014 at 02:00 AM.
 
Old 01-07-2014, 12:17 PM   #5
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Original Poster
Rep: Reputation: 195Reputation: 195
Isn't xdg for the whole system? If so it should already be working, I guess.
 
Old 01-08-2014, 11:49 AM   #6
dunric
Member
 
Registered: Jul 2004
Distribution: Void Linux, former Slackware
Posts: 498

Rep: Reputation: 100Reputation: 100
Quote:
Originally Posted by moisespedro View Post
Isn't xdg for the whole system? If so it should already be working, I guess.
Nope. By default xdg-utils do use settings from user's profile first then system ones as a fallback. This way you can f.E. customize your own file associations without touching system defaults.
 
Old 01-08-2014, 04:30 PM   #7
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Original Poster
Rep: Reputation: 195Reputation: 195
For some reason, xdg broke under i3 but it was easy to fix it (just manually setting the default apps with xdg).
 
Old 01-08-2014, 04:48 PM   #8
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
Sorry, I'm confused. Call me silly but I don't understand your original post. Where do you click "Open Folder". In Firefox or Thunar? I can't see such an option on either of them? Are you just talking about clicking on a directory icon in thunar? Then you try to click 'Open Folder' in Deluge and it opens Firefox instead of Thunar? That confuses me even further - Deluge is a bit torrent client - in what context would you 'Open Folder' in Deluge?

Bearing in mind that other posters responded to your post, it's just me having problems comprehending your question

On a separate note, how exactly did you fix it?
 
Old 01-08-2014, 04:58 PM   #9
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Original Poster
Rep: Reputation: 195Reputation: 195
Quote:
Originally Posted by sycamorex View Post
Sorry, I'm confused. Call me silly but I don't understand your original post. Where do you click "Open Folder". In Firefox or Thunar? I can't see such an option on either of them? Are you just talking about clicking on a directory icon in thunar? Then you try to click 'Open Folder' in Deluge and it opens Firefox instead of Thunar? That confuses me even further - Deluge is a bit torrent client - in what context would you 'Open Folder' in Deluge?

Bearing in mind that other posters responded to your post, it's just me having problems comprehending your question

On a separate note, how exactly did you fix it?
Deluge has an option to open the downloaded file folder For some reason, under i3 (it wasn't happening under xfce) it was opening firefox instead of thunar.
deluge screenshot
("abrir pasta" is open folder in english)
Fixed with this

Last edited by moisespedro; 01-08-2014 at 04:59 PM.
 
Old 01-08-2014, 05:00 PM   #10
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
OK. Makes sense now. Thanks for the clarification.
 
Old 01-09-2014, 09:44 AM   #11
dunric
Member
 
Registered: Jul 2004
Distribution: Void Linux, former Slackware
Posts: 498

Rep: Reputation: 100Reputation: 100
Quote:
Originally Posted by moisespedro View Post
Deluge has an option to open the downloaded file folder For some reason, under i3 (it wasn't happening under xfce) it was opening firefox instead of thunar.
deluge screenshot
("abrir pasta" is open folder in english)
Fixed with this
For clarification sake i3 has absolutely nothing to do with mime/filetype associations. It may Xfce updates/sets them for you (update-desktop-database & update-mime-database come to mind).
 
Old 01-09-2014, 01:19 PM   #12
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
Quote:
Originally Posted by dunric View Post
For clarification sake i3 has absolutely nothing to do with mime/filetype associations. It may Xfce updates/sets them for you (update-desktop-database & update-mime-database come to mind).
Yes, that's what I assumed. Xfce just goes this extra mile and does it for the user.
 
  


Reply


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
Thunar custom action: navigate to directory instead of opening new window. Teufel Linux - Desktop 1 04-04-2013 06:20 PM
i3wm/i3status users (Slackware) - problems with wifi status display? sycamorex Slackware 1 04-02-2013 05:23 PM
[Solved] i3wm, Pop-ups tadevokle Linux - Desktop 6 10-08-2011 06:34 PM
Thunar,Firefox 'save page as' taking ages to appear on screen harmattan *BSD 1 11-20-2009 02:29 AM
Firefox opening by itself phil66 Ubuntu 3 05-31-2008 03:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:33 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration