You are not logged in.

#1 2009-10-17 20:18:41

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

setting gnome file associations [SOLVED]

In a nutshell, I'd like to associate .mp3 files with audacious not with totem.  System>Preferences>Preferred Applications doesn't do it me.  How can one set up Gnome so that double-clicking an .mp3 file will load it up in audacious (or any other application for that matter)?

Last edited by graysky (2009-10-17 21:47:18)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#2 2009-10-17 20:41:39

uwinkelvos
Member
Registered: 2009-06-07
Posts: 129

Re: setting gnome file associations [SOLVED]

its so simple that i managed not to find this option for month! smile

right click on a file -> Properties -> Open With -> select app.

Offline

#3 2009-10-17 21:05:47

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: setting gnome file associations [SOLVED]

@uwinkelvos - I found this too, but the option is not remembered.  In other words, it works for that instance only.  If you go through and double-click on another file of that extension, (.mp3 in this case), the default app takes over again.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#4 2009-10-17 21:18:16

some-guy94
Member
Registered: 2009-08-15
Posts: 360

Re: setting gnome file associations [SOLVED]

From: http://wiki.archlinux.org/index.php/Gno … plications
Install gnome-defaults-list (not needed but makes it easier to make /usr/share/applications/default.list to fit your needs)
as root run

cp -p /etc/gnome/defaults.list /usr/share/applications/defaults.list
nano/vi/vim/whatever /usr/share/applications/defaults.list

And adjust it to fit your needs

Offline

#5 2009-10-17 21:47:08

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: setting gnome file associations [SOLVED]

@some-guy - thanks!  I'm assuming these changes will affect all users, no?  I'm interested in having a per-specific configuration for some apps.

Last edited by graysky (2009-10-17 21:54:35)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#6 2009-10-17 21:55:57

some-guy94
Member
Registered: 2009-08-15
Posts: 360

Re: setting gnome file associations [SOLVED]

These will affect globally, for per-user settings, try using ~/.local/applications/default.list

Offline

Board footer

Powered by FluxBB