associating an application with a file type

1,737 views
Skip to first unread message

Udvarias Ur

unread,
May 29, 2012, 7:16:34 PM5/29/12
to Krusader users
I'm new to this list, so you'll have to forgive me for not observing rules I'm not aware of.

I starting using
Krusader version 2.4.0-beta1 "Migration" for about 6 months now on Ubuntu 11.10. I chose it because It works like Norton Commander and Windows Commander.

There is one thing that I have not been able to find, that was extremely useful in the others. The ability to associate a particular type of file with a
particular application. Just like Norton and Windows Commander, Krusader has default applications associated with different file types. i.e. .jpg files are loaded into Firefox. In Windows Commander, and I believe Norton as well, it was possible to reconfigure it to load .jpg files with a an image viewer instead.

Can that be done in
Krusader? If so, how?
-- 
Udvarias Ur

This letter was generated and sent from Thunderbird on Ubuntu Linux.

Richard Kelters

unread,
May 31, 2012, 2:48:02 AM5/31/12
to krusade...@googlegroups.com
Hi Ur,

Right-mouse-click on a file in Krusader-> Open with ... -> Other ... -> [here]
Select the app and check option 'Remember application association for this type of file'.

Richard
--
You received this message because you are subscribed to the Google Groups "krusader-users" group.
To post to this group, send email to krusade...@googlegroups.com.
To unsubscribe from this group, send email to krusader-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/krusader-users?hl=en.

rusi

unread,
Jun 1, 2012, 12:37:23 AM6/1/12
to krusader-users
On May 31, 11:48 am, Richard Kelters <richard.kelt...@gmail.com>
wrote:
> Hi Ur,
>
> Right-mouse-click on a file in Krusader-> Open with ... -> Other ... ->
> [here]
> Select the app and check option 'Remember application association for
> this type of file'.
>
> Richard

Ive a similar issue. By default emacs opens when I hit return on a
txt file.
Ive no idea where that is coming from -- cant find it in any of the
menus.
Of course I can right-click and open with something faster like kate
but simple enter still uses emacs

Richard Kelters

unread,
Jun 1, 2012, 3:42:10 AM6/1/12
to krusade...@googlegroups.com
I don't have emacs installed, could it be an emacs specific problem ...

Udvarias Ur

unread,
Jun 1, 2012, 9:37:34 AM6/1/12
to krusade...@googlegroups.com
Dear Richard,

Thank you very much. I've tried your instructions, they worked fabulously. Honestly, I don't understand why I missed that check box all this time.

On 12-05-31 02:48 AM, Richard Kelters wrote:
Hi Ur,

Right-mouse-click on a file in Krusader-> Open with ... -> Other ... -> [here]
Select the app and check option 'Remember application association for this type of file'.

Richard
.
.
.

The ability to associate a particular type of file with a particular application.
.
.
.

Rustom Mody

unread,
Jun 1, 2012, 11:52:58 AM6/1/12
to krusade...@googlegroups.com
On Fri, Jun 1, 2012 at 1:12 PM, Richard Kelters <richard...@gmail.com> wrote:
I don't have emacs installed, could it be an emacs specific problem ...


Sorry if I did not make it clear -- krusader is starting emacs when I hit return on a txt file.  Theres no emacs running otherwise.  Are you saying thats an emacs issue?

IOW my question is simply: krusader has some logic to do something when a return is hit and surely has some configuration that says what that "something" is. Where to find it? For example some programs use the shell variable EDITOR. I checked I dont seem to have any such set.
 

On 06/01/2012 06:37 AM, rusi wrote:
On May 31, 11:48 am, Richard Kelters<richard.kelt...@gmail.com>
wrote:
Hi Ur,

Right-mouse-click on a file in Krusader->  Open with ... ->  Other ... ->
[here]
Select the app and check option 'Remember application association for
this type of file'.

Richard
Ive a similar issue.  By default emacs opens when I hit return on a
txt file.
Ive no idea where that is coming from -- cant find it in any of the
menus.
Of course I can right-click and open with something faster like kate
but simple enter still uses emacs


--
You received this message because you are subscribed to the Google Groups "krusader-users" group.
To post to this group, send email to krusader-users@googlegroups.com.
To unsubscribe from this group, send email to krusader-users+unsubscribe@googlegroups.com.

Richard Kelters

unread,
Jun 1, 2012, 5:35:29 PM6/1/12
to krusade...@googlegroups.com
What happens when you hit enter on a txt file in  Ubuntu native file explorer (Nautulis orso)?

Just to outrule any OS-emacs dependencies.


On 06/01/2012 05:52 PM, Rustom Mody wrote:
On Fri, Jun 1, 2012 at 1:12 PM, Richard Kelters <richard...@gmail.com> wrote:
I don't have emacs installed, could it be an emacs specific problem ...


Sorry if I did not make it clear -- krusader is starting emacs when I hit return on a txt file.  Theres no emacs running otherwise.  Are you saying thats an emacs issue?

IOW my question is simply: krusader has some logic to do something when a return is hit and surely has some configuration that says what that "something" is. Where to find it? For example some programs use the shell variable EDITOR. I checked I dont seem to have any such set.
 

On 06/01/2012 06:37 AM, rusi wrote:
On May 31, 11:48 am, Richard Kelters<richard.kelt...@gmail.com>
wrote:
Hi Ur,

Right-mouse-click on a file in Krusader->  Open with ... ->  Other ... ->
[here]
Select the app and check option 'Remember application association for
this type of file'.

Richard
Ive a similar issue.  By default emacs opens when I hit return on a
txt file.
Ive no idea where that is coming from -- cant find it in any of the
menus.
Of course I can right-click and open with something faster like kate
but simple enter still uses emacs


--
You received this message because you are subscribed to the Google Groups "krusader-users" group.
To post to this group, send email to krusade...@googlegroups.com.
To unsubscribe from this group, send email to krusader-user...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/krusader-users?hl=en.

--
You received this message because you are subscribed to the Google Groups "krusader-users" group.
To post to this group, send email to krusade...@googlegroups.com.
To unsubscribe from this group, send email to krusader-user...@googlegroups.com.

Rustom Mody

unread,
Jun 1, 2012, 11:27:34 PM6/1/12
to krusade...@googlegroups.com


On Sat, Jun 2, 2012 at 3:05 AM, Richard Kelters <richard...@gmail.com> wrote:
What happens when you hit enter on a txt file in  Ubuntu native file explorer (Nautulis orso)?

Just to outrule any OS-emacs dependencies.

The same! -- emacs opened.
So its some kind of default external editor but its not the EDITOR varliable
Seems to be some file association at gnome-level.

Thanks for the debugging help

Rustom Mody

unread,
Jun 1, 2012, 11:34:27 PM6/1/12
to krusade...@googlegroups.com

Ok I changed the file association in nautilus and now its changed in krusader
Thanks again!

Ciro Santilli

unread,
Apr 24, 2014, 8:00:00 AM4/24/14
to krusade...@googlegroups.com
How does Krusader decide what how to open things? Internal list, or external tool? I wish it would use the standard xdg-open, but it does not.

Yuri Chornoivan

unread,
Apr 24, 2014, 8:08:41 AM4/24/14
to krusade...@googlegroups.com
Thu, 24 Apr 2014 15:00:00 +0300 було написано Ciro Santilli <ciro.s...@gmail.com>:


How does Krusader decide what how to open things? Internal list, or external tool? I wish it would use the standard xdg-open, but it does not.

Hi,

There is a KDE System Settings module for this:


It is also possible to make it manually:

$HOME/.local/share/applications/mimeapps.list

Hope this helps.

Best regards,
Yuri

peter u

unread,
Mar 14, 2018, 10:37:06 AM3/14/18
to krusader-users
This works when I am in the main window but how do i set it when using the Search Files option? I am trying to search for and view a pdf file. When i go to the Results tab and open it, i get this "PDF was opened with UTF-8 encoding but contained invalid characters.
It is set to read-only mode, as saving might destroy its content.
Either reopen the file with the correct encoding chosen or enable the read-write mode again in the menu to be able to edit it." 

I just want to open it in Document Viewer.
Reply all
Reply to author
Forward
0 new messages