Is there a way to set the default program that is called up when a file in a File Manager is double clicked?
Example: If a .TXT is opened, I would like it to be opened in the notepad program. However, it seems to open the LibreOffice Writer. I've noticed the Open with option lists LibreOffice Writer at the top of the list of options. I feel that is because it is the first in the list alphabetically. However LibreOffice Writer is a bit of an overkill for a .TXT file.
Thanks for the assist... Gandalf
[Solved] Default program
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
[Solved] Default program
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 4 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
-
- Level 5
- Posts: 798
- Joined: Thu Oct 04, 2012 7:24 pm
- Location: California
- Contact:
Re: Default program
Gandalf the White wrote:Is there a way to set the default program that is called up when a file in a File Manager is double clicked?
Example: If a .TXT is opened, I would like it to be opened in the notepad program. However, it seems to open the LibreOffice Writer. I've noticed the Open with option lists LibreOffice Writer at the top of the list of options. I feel that is because it is the first in the list alphabetically. However LibreOffice Writer is a bit of an overkill for a .TXT file.
Thanks for the assist... Gandalf
Do you mean notepad as in the Windows program or the default text editor in Cinnamon?
For making something default just right click the file choose properties and on the "Open With" tab choose the default text editor gedit or click the add button and add gedit as default program to open txt files. You can even choose notepad if you have installed.
Re: Default program
The way I read the original post there are 2 questions:
[1] How do I associate an application with a file type?
There used to be a way to do this in Gnome2 but our Gnome Overlords took it away so what I do is install something they can't touch - the XFCE file manager Thunar:
Then open Thunar > right click any *.txt file > Open with other application > and you will see this pop-up:
Once you make the association in Thunar it will apply to everything else.
As a side benefit you will also get another Gnome2 option that has vanished in Gnome3 and that's "Use a Cusom Command" which may be the way you answer question 2 of your post.
[2] How do I associate a Wine application with a file type.
That I do not know as I do not use Wine, sorry.
[1] How do I associate an application with a file type?
There used to be a way to do this in Gnome2 but our Gnome Overlords took it away so what I do is install something they can't touch - the XFCE file manager Thunar:
Code: Select all
sudo apt-get install thunar
As a side benefit you will also get another Gnome2 option that has vanished in Gnome3 and that's "Use a Cusom Command" which may be the way you answer question 2 of your post.
[2] How do I associate a Wine application with a file type.
That I do not know as I do not use Wine, sorry.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
Re: Default program
Altar, you hit the nail on the head.
sudo apt-get install thunar is just what I was looking for.
I tested it and it worked.
Thanks for the assist.
sudo apt-get install thunar is just what I was looking for.
I tested it and it worked.
Thanks for the assist.