How do I make .rtf files be displayed by default instead of being prompted to run or display?
It says "No such file or directory" below. How can I fix the problem?
I want all .rtf files displayed automatically by default. I will never run them. I want to open them directly by double-clicking on them without having to answer the question "Do you want to run XXXXX.rtf or display its contents?"
matthew@matthew-pc:~$ chmod -x /media/matthew/Device/*.rtf
chmod: cannot access '/media/matthew/Device/*.rtf': No such file or directory
matthew@matthew-pc:~$ cd /media/matthew/Device/
matthew@matthew-pc:/media/matthew/Device$
matthew@matthew-pc:~$ ls -l /media/matthew/Device
total 66
drwxrwxrwx 1 matthew matthew 4096 Dec 31 06:33 '✟ 8 GB USB 記憶體'
-rwxrwxrwx 1 matthew matthew 10037 Jan 1 20:00 Commands.txt
-rwxrwxrwx 1 matthew matthew 212 Oct 9 2016 desktop.ini
-rwxrwxrwx 1 matthew matthew 1110 Jan 1 20:00 'GIGABYTE - 捷徑.lnk'
drwxrwxrwx 1 matthew matthew 8192 Jan 23 13:51 'Mint 19'
-rwxrwxrwx 1 matthew matthew 557 Jan 1 20:00 '● My files.lnk'
drwxrwxrwx 1 matthew matthew 0 Dec 28 22:31 'Pending tray'
linux-mint
New contributor
add a comment |
It says "No such file or directory" below. How can I fix the problem?
I want all .rtf files displayed automatically by default. I will never run them. I want to open them directly by double-clicking on them without having to answer the question "Do you want to run XXXXX.rtf or display its contents?"
matthew@matthew-pc:~$ chmod -x /media/matthew/Device/*.rtf
chmod: cannot access '/media/matthew/Device/*.rtf': No such file or directory
matthew@matthew-pc:~$ cd /media/matthew/Device/
matthew@matthew-pc:/media/matthew/Device$
matthew@matthew-pc:~$ ls -l /media/matthew/Device
total 66
drwxrwxrwx 1 matthew matthew 4096 Dec 31 06:33 '✟ 8 GB USB 記憶體'
-rwxrwxrwx 1 matthew matthew 10037 Jan 1 20:00 Commands.txt
-rwxrwxrwx 1 matthew matthew 212 Oct 9 2016 desktop.ini
-rwxrwxrwx 1 matthew matthew 1110 Jan 1 20:00 'GIGABYTE - 捷徑.lnk'
drwxrwxrwx 1 matthew matthew 8192 Jan 23 13:51 'Mint 19'
-rwxrwxrwx 1 matthew matthew 557 Jan 1 20:00 '● My files.lnk'
drwxrwxrwx 1 matthew matthew 0 Dec 28 22:31 'Pending tray'
linux-mint
New contributor
1
What is the output ofls -l /media/matthew/Device
?
– P_Yadav
27 mins ago
And also there are no files ending withrtf
, what do you want to access then?
– P_Yadav
23 mins ago
All .rtf files are inside folders.
– Matthew Wai
21 mins ago
How you want to open them, like on login, or while opening the terminal.
– P_Yadav
17 mins ago
Please read my edited question again.
– Matthew Wai
12 mins ago
add a comment |
It says "No such file or directory" below. How can I fix the problem?
I want all .rtf files displayed automatically by default. I will never run them. I want to open them directly by double-clicking on them without having to answer the question "Do you want to run XXXXX.rtf or display its contents?"
matthew@matthew-pc:~$ chmod -x /media/matthew/Device/*.rtf
chmod: cannot access '/media/matthew/Device/*.rtf': No such file or directory
matthew@matthew-pc:~$ cd /media/matthew/Device/
matthew@matthew-pc:/media/matthew/Device$
matthew@matthew-pc:~$ ls -l /media/matthew/Device
total 66
drwxrwxrwx 1 matthew matthew 4096 Dec 31 06:33 '✟ 8 GB USB 記憶體'
-rwxrwxrwx 1 matthew matthew 10037 Jan 1 20:00 Commands.txt
-rwxrwxrwx 1 matthew matthew 212 Oct 9 2016 desktop.ini
-rwxrwxrwx 1 matthew matthew 1110 Jan 1 20:00 'GIGABYTE - 捷徑.lnk'
drwxrwxrwx 1 matthew matthew 8192 Jan 23 13:51 'Mint 19'
-rwxrwxrwx 1 matthew matthew 557 Jan 1 20:00 '● My files.lnk'
drwxrwxrwx 1 matthew matthew 0 Dec 28 22:31 'Pending tray'
linux-mint
New contributor
It says "No such file or directory" below. How can I fix the problem?
I want all .rtf files displayed automatically by default. I will never run them. I want to open them directly by double-clicking on them without having to answer the question "Do you want to run XXXXX.rtf or display its contents?"
matthew@matthew-pc:~$ chmod -x /media/matthew/Device/*.rtf
chmod: cannot access '/media/matthew/Device/*.rtf': No such file or directory
matthew@matthew-pc:~$ cd /media/matthew/Device/
matthew@matthew-pc:/media/matthew/Device$
matthew@matthew-pc:~$ ls -l /media/matthew/Device
total 66
drwxrwxrwx 1 matthew matthew 4096 Dec 31 06:33 '✟ 8 GB USB 記憶體'
-rwxrwxrwx 1 matthew matthew 10037 Jan 1 20:00 Commands.txt
-rwxrwxrwx 1 matthew matthew 212 Oct 9 2016 desktop.ini
-rwxrwxrwx 1 matthew matthew 1110 Jan 1 20:00 'GIGABYTE - 捷徑.lnk'
drwxrwxrwx 1 matthew matthew 8192 Jan 23 13:51 'Mint 19'
-rwxrwxrwx 1 matthew matthew 557 Jan 1 20:00 '● My files.lnk'
drwxrwxrwx 1 matthew matthew 0 Dec 28 22:31 'Pending tray'
linux-mint
linux-mint
New contributor
New contributor
edited 11 mins ago
Olorin
2,034415
2,034415
New contributor
asked 32 mins ago
Matthew WaiMatthew Wai
1011
1011
New contributor
New contributor
1
What is the output ofls -l /media/matthew/Device
?
– P_Yadav
27 mins ago
And also there are no files ending withrtf
, what do you want to access then?
– P_Yadav
23 mins ago
All .rtf files are inside folders.
– Matthew Wai
21 mins ago
How you want to open them, like on login, or while opening the terminal.
– P_Yadav
17 mins ago
Please read my edited question again.
– Matthew Wai
12 mins ago
add a comment |
1
What is the output ofls -l /media/matthew/Device
?
– P_Yadav
27 mins ago
And also there are no files ending withrtf
, what do you want to access then?
– P_Yadav
23 mins ago
All .rtf files are inside folders.
– Matthew Wai
21 mins ago
How you want to open them, like on login, or while opening the terminal.
– P_Yadav
17 mins ago
Please read my edited question again.
– Matthew Wai
12 mins ago
1
1
What is the output of
ls -l /media/matthew/Device
?– P_Yadav
27 mins ago
What is the output of
ls -l /media/matthew/Device
?– P_Yadav
27 mins ago
And also there are no files ending with
rtf
, what do you want to access then?– P_Yadav
23 mins ago
And also there are no files ending with
rtf
, what do you want to access then?– P_Yadav
23 mins ago
All .rtf files are inside folders.
– Matthew Wai
21 mins ago
All .rtf files are inside folders.
– Matthew Wai
21 mins ago
How you want to open them, like on login, or while opening the terminal.
– P_Yadav
17 mins ago
How you want to open them, like on login, or while opening the terminal.
– P_Yadav
17 mins ago
Please read my edited question again.
– Matthew Wai
12 mins ago
Please read my edited question again.
– Matthew Wai
12 mins ago
add a comment |
1 Answer
1
active
oldest
votes
To find all the files with this extention you can try command like:
find /media/matthew/Device -type f -name "*.rtf"
because by default ls
will not display files in subfolders
Yes, your command can list all .rtf files. But how can I make them be displayed by default? What is the command?
– Matthew Wai
3 mins ago
@MatthewWai what do you mean "by default"? Do you want to edit them in kind of graphic environment? If so please edit your questions and add those details
– Romeo Ninov
37 secs ago
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Matthew Wai is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f496126%2fhow-do-i-make-rtf-files-be-displayed-by-default-instead-of-being-prompted-to-ru%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
To find all the files with this extention you can try command like:
find /media/matthew/Device -type f -name "*.rtf"
because by default ls
will not display files in subfolders
Yes, your command can list all .rtf files. But how can I make them be displayed by default? What is the command?
– Matthew Wai
3 mins ago
@MatthewWai what do you mean "by default"? Do you want to edit them in kind of graphic environment? If so please edit your questions and add those details
– Romeo Ninov
37 secs ago
add a comment |
To find all the files with this extention you can try command like:
find /media/matthew/Device -type f -name "*.rtf"
because by default ls
will not display files in subfolders
Yes, your command can list all .rtf files. But how can I make them be displayed by default? What is the command?
– Matthew Wai
3 mins ago
@MatthewWai what do you mean "by default"? Do you want to edit them in kind of graphic environment? If so please edit your questions and add those details
– Romeo Ninov
37 secs ago
add a comment |
To find all the files with this extention you can try command like:
find /media/matthew/Device -type f -name "*.rtf"
because by default ls
will not display files in subfolders
To find all the files with this extention you can try command like:
find /media/matthew/Device -type f -name "*.rtf"
because by default ls
will not display files in subfolders
answered 8 mins ago
Romeo NinovRomeo Ninov
5,77331928
5,77331928
Yes, your command can list all .rtf files. But how can I make them be displayed by default? What is the command?
– Matthew Wai
3 mins ago
@MatthewWai what do you mean "by default"? Do you want to edit them in kind of graphic environment? If so please edit your questions and add those details
– Romeo Ninov
37 secs ago
add a comment |
Yes, your command can list all .rtf files. But how can I make them be displayed by default? What is the command?
– Matthew Wai
3 mins ago
@MatthewWai what do you mean "by default"? Do you want to edit them in kind of graphic environment? If so please edit your questions and add those details
– Romeo Ninov
37 secs ago
Yes, your command can list all .rtf files. But how can I make them be displayed by default? What is the command?
– Matthew Wai
3 mins ago
Yes, your command can list all .rtf files. But how can I make them be displayed by default? What is the command?
– Matthew Wai
3 mins ago
@MatthewWai what do you mean "by default"? Do you want to edit them in kind of graphic environment? If so please edit your questions and add those details
– Romeo Ninov
37 secs ago
@MatthewWai what do you mean "by default"? Do you want to edit them in kind of graphic environment? If so please edit your questions and add those details
– Romeo Ninov
37 secs ago
add a comment |
Matthew Wai is a new contributor. Be nice, and check out our Code of Conduct.
Matthew Wai is a new contributor. Be nice, and check out our Code of Conduct.
Matthew Wai is a new contributor. Be nice, and check out our Code of Conduct.
Matthew Wai is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f496126%2fhow-do-i-make-rtf-files-be-displayed-by-default-instead-of-being-prompted-to-ru%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
What is the output of
ls -l /media/matthew/Device
?– P_Yadav
27 mins ago
And also there are no files ending with
rtf
, what do you want to access then?– P_Yadav
23 mins ago
All .rtf files are inside folders.
– Matthew Wai
21 mins ago
How you want to open them, like on login, or while opening the terminal.
– P_Yadav
17 mins ago
Please read my edited question again.
– Matthew Wai
12 mins ago